JaiaBot 2.6.0+14+g3cab9c46
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"
44#include <boost/units/quantity.hpp>
45#include <boost/units/absolute.hpp>
46#include <boost/units/dimensionless_type.hpp>
47#include <boost/units/make_scaled_unit.hpp>
48
49#include <boost/units/systems/angle/degrees.hpp>
50
51#include <boost/units/systems/temperature/celsius.hpp>
52
53#include <boost/units/systems/si.hpp>
54// @@protoc_insertion_point(includes)
55#include <google/protobuf/port_def.inc>
56#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
57PROTOBUF_NAMESPACE_OPEN
58namespace internal {
59class AnyMetadata;
60} // namespace internal
61PROTOBUF_NAMESPACE_CLOSE
62
63// Internal implementation detail -- do not use these members.
67extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
68namespace jaiabot {
69namespace protobuf {
70class BotStatus;
71struct BotStatusDefaultTypeInternal;
72extern BotStatusDefaultTypeInternal _BotStatus_default_instance_;
73class BotStatus_ActiveLink;
74struct BotStatus_ActiveLinkDefaultTypeInternal;
75extern BotStatus_ActiveLinkDefaultTypeInternal _BotStatus_ActiveLink_default_instance_;
76class BotStatus_Attitude;
77struct BotStatus_AttitudeDefaultTypeInternal;
78extern BotStatus_AttitudeDefaultTypeInternal _BotStatus_Attitude_default_instance_;
79class BotStatus_Speed;
80struct BotStatus_SpeedDefaultTypeInternal;
81extern BotStatus_SpeedDefaultTypeInternal _BotStatus_Speed_default_instance_;
82class Command;
83struct CommandDefaultTypeInternal;
84extern CommandDefaultTypeInternal _Command_default_instance_;
85class CommandCommsResult;
86struct CommandCommsResultDefaultTypeInternal;
87extern CommandCommsResultDefaultTypeInternal _CommandCommsResult_default_instance_;
88class CommandForHub;
89struct CommandForHubDefaultTypeInternal;
90extern CommandForHubDefaultTypeInternal _CommandForHub_default_instance_;
91class ContactUpdate;
92struct ContactUpdateDefaultTypeInternal;
93extern ContactUpdateDefaultTypeInternal _ContactUpdate_default_instance_;
94class DivePacket;
95struct DivePacketDefaultTypeInternal;
96extern DivePacketDefaultTypeInternal _DivePacket_default_instance_;
97class DivePacket_Measurements;
98struct DivePacket_MeasurementsDefaultTypeInternal;
99extern DivePacket_MeasurementsDefaultTypeInternal _DivePacket_Measurements_default_instance_;
100class DivePacket_SubsurfaceCurrentVector;
101struct DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal;
102extern DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal _DivePacket_SubsurfaceCurrentVector_default_instance_;
103class DriftPacket;
104struct DriftPacketDefaultTypeInternal;
105extern DriftPacketDefaultTypeInternal _DriftPacket_default_instance_;
106class DriftPacket_EstimatedDrift;
107struct DriftPacket_EstimatedDriftDefaultTypeInternal;
108extern DriftPacket_EstimatedDriftDefaultTypeInternal _DriftPacket_EstimatedDrift_default_instance_;
109class Hub2HubData;
110struct Hub2HubDataDefaultTypeInternal;
111extern Hub2HubDataDefaultTypeInternal _Hub2HubData_default_instance_;
112class TaskPacket;
113struct TaskPacketDefaultTypeInternal;
114extern TaskPacketDefaultTypeInternal _TaskPacket_default_instance_;
115} // namespace protobuf
116} // namespace jaiabot
117PROTOBUF_NAMESPACE_OPEN
118template<> ::jaiabot::protobuf::BotStatus* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus>(Arena*);
119template<> ::jaiabot::protobuf::BotStatus_ActiveLink* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_ActiveLink>(Arena*);
120template<> ::jaiabot::protobuf::BotStatus_Attitude* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(Arena*);
121template<> ::jaiabot::protobuf::BotStatus_Speed* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(Arena*);
122template<> ::jaiabot::protobuf::Command* Arena::CreateMaybeMessage<::jaiabot::protobuf::Command>(Arena*);
123template<> ::jaiabot::protobuf::CommandCommsResult* Arena::CreateMaybeMessage<::jaiabot::protobuf::CommandCommsResult>(Arena*);
124template<> ::jaiabot::protobuf::CommandForHub* Arena::CreateMaybeMessage<::jaiabot::protobuf::CommandForHub>(Arena*);
125template<> ::jaiabot::protobuf::ContactUpdate* Arena::CreateMaybeMessage<::jaiabot::protobuf::ContactUpdate>(Arena*);
126template<> ::jaiabot::protobuf::DivePacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(Arena*);
127template<> ::jaiabot::protobuf::DivePacket_Measurements* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_Measurements>(Arena*);
128template<> ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector>(Arena*);
129template<> ::jaiabot::protobuf::DriftPacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(Arena*);
130template<> ::jaiabot::protobuf::DriftPacket_EstimatedDrift* Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift>(Arena*);
131template<> ::jaiabot::protobuf::Hub2HubData* Arena::CreateMaybeMessage<::jaiabot::protobuf::Hub2HubData>(Arena*);
132template<> ::jaiabot::protobuf::TaskPacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::TaskPacket>(Arena*);
133PROTOBUF_NAMESPACE_CLOSE
134namespace jaiabot {
135namespace protobuf {
136
163
164const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Command_CommandType_descriptor();
165template<typename T>
166inline const std::string& Command_CommandType_Name(T enum_t_value) {
167 static_assert(::std::is_same<T, Command_CommandType>::value ||
168 ::std::is_integral<T>::value,
169 "Incorrect type passed to function Command_CommandType_Name.");
170 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
171 Command_CommandType_descriptor(), enum_t_value);
172}
174 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Command_CommandType* value) {
175 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Command_CommandType>(
176 Command_CommandType_descriptor(), name, value);
177}
190
191const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CommandForHub_HubCommandType_descriptor();
192template<typename T>
193inline const std::string& CommandForHub_HubCommandType_Name(T enum_t_value) {
194 static_assert(::std::is_same<T, CommandForHub_HubCommandType>::value ||
195 ::std::is_integral<T>::value,
196 "Incorrect type passed to function CommandForHub_HubCommandType_Name.");
197 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
199}
201 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandForHub_HubCommandType* value) {
202 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommandForHub_HubCommandType>(
204}
214
215const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BotStatus_BotType_descriptor();
216template<typename T>
217inline const std::string& BotStatus_BotType_Name(T enum_t_value) {
218 static_assert(::std::is_same<T, BotStatus_BotType>::value ||
219 ::std::is_integral<T>::value,
220 "Incorrect type passed to function BotStatus_BotType_Name.");
221 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
222 BotStatus_BotType_descriptor(), enum_t_value);
223}
225 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BotStatus_BotType* value) {
226 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<BotStatus_BotType>(
227 BotStatus_BotType_descriptor(), name, value);
228}
237
238const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DivePacket_BottomType_descriptor();
239template<typename T>
240inline const std::string& DivePacket_BottomType_Name(T enum_t_value) {
241 static_assert(::std::is_same<T, DivePacket_BottomType>::value ||
242 ::std::is_integral<T>::value,
243 "Incorrect type passed to function DivePacket_BottomType_Name.");
244 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
245 DivePacket_BottomType_descriptor(), enum_t_value);
246}
248 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DivePacket_BottomType* value) {
249 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DivePacket_BottomType>(
250 DivePacket_BottomType_descriptor(), name, value);
251}
260
261const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CommandCommsResult_CommsResult_descriptor();
262template<typename T>
263inline const std::string& CommandCommsResult_CommsResult_Name(T enum_t_value) {
264 static_assert(::std::is_same<T, CommandCommsResult_CommsResult>::value ||
265 ::std::is_integral<T>::value,
266 "Incorrect type passed to function CommandCommsResult_CommsResult_Name.");
267 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
269}
271 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandCommsResult_CommsResult* value) {
272 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommandCommsResult_CommsResult>(
274}
275// ===================================================================
276
277class Command final :
278 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Command) */ {
279 public:
280 inline Command() : Command(nullptr) {}
281 ~Command() override;
282 explicit PROTOBUF_CONSTEXPR Command(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
283
286 : Command() {
287 *this = ::std::move(from);
288 }
289
290 inline Command& operator=(const Command& from) {
291 CopyFrom(from);
292 return *this;
293 }
294 inline Command& operator=(Command&& from) noexcept {
295 if (this == &from) return *this;
296 if (GetOwningArena() == from.GetOwningArena()
298 && GetOwningArena() != nullptr
299 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
300 ) {
301 InternalSwap(&from);
302 } else {
303 CopyFrom(from);
304 }
305 return *this;
306 }
307
308 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
309 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
310 }
311 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
312 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
313 }
314
315 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
316 return GetDescriptor();
317 }
318 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
319 return default_instance().GetMetadata().descriptor;
320 }
321 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
322 return default_instance().GetMetadata().reflection;
323 }
324 static const Command& default_instance() {
326 }
333
334 static inline const Command* internal_default_instance() {
335 return reinterpret_cast<const Command*>(
337 }
338 static constexpr int kIndexInFileMessages =
339 0;
340
341 friend void swap(Command& a, Command& b) {
342 a.Swap(&b);
343 }
344 inline void Swap(Command* other) {
345 if (other == this) return;
346 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
347 if (GetOwningArena() != nullptr &&
348 GetOwningArena() == other->GetOwningArena()) {
349 #else // PROTOBUF_FORCE_COPY_IN_SWAP
350 if (GetOwningArena() == other->GetOwningArena()) {
351 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
352 InternalSwap(other);
353 } else {
354 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
355 }
356 }
358 if (other == this) return;
359 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
360 InternalSwap(other);
361 }
362
363 // implements Message ----------------------------------------------
364
365 Command* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
367 }
368 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
369 void CopyFrom(const Command& from);
370 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
371 void MergeFrom( const Command& from) {
372 Command::MergeImpl(*this, from);
373 }
374 private:
375 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
376 public:
379
381 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
383 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
384 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
385
386 private:
387 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
388 void SharedDtor();
389 void SetCachedSize(int size) const final;
390 void InternalSwap(Command* other);
391
392 private:
393 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
394 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
395 return "jaiabot.protobuf.Command";
396 }
397 protected:
398 explicit Command(::PROTOBUF_NAMESPACE_ID::Arena* arena,
399 bool is_message_owned = false);
400 public:
401
403 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
404
405 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
406
407 // nested types ----------------------------------------------------
408
451 return Command_CommandType_IsValid(value);
452 }
453 static constexpr CommandType CommandType_MIN =
455 static constexpr CommandType CommandType_MAX =
457 static constexpr int CommandType_ARRAYSIZE =
459 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
463 template<typename T>
464 static inline const std::string& CommandType_Name(T enum_t_value) {
465 static_assert(::std::is_same<T, CommandType>::value ||
466 ::std::is_integral<T>::value,
467 "Incorrect type passed to function CommandType_Name.");
469 }
470 static inline bool CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
471 CommandType* value) {
472 return Command_CommandType_Parse(name, value);
473 }
474
475 // accessors -------------------------------------------------------
476
477 enum : int {
486 };
487 // required uint64 time = 2 [(.dccl.field) = {
488 bool has_time() const;
489 private:
490 bool _internal_has_time() const;
491 public:
492 void clear_time();
493 uint64_t time() const;
494 void set_time(uint64_t value);
495 private:
496 uint64_t _internal_time() const;
497 void _internal_set_time(uint64_t value);
498 public:
499
500 // required uint32 bot_id = 1 [(.dccl.field) = {
501 bool has_bot_id() const;
502 private:
503 bool _internal_has_bot_id() const;
504 public:
505 void clear_bot_id();
506 uint32_t bot_id() const;
507 void set_bot_id(uint32_t value);
508 private:
509 uint32_t _internal_bot_id() const;
510 void _internal_set_bot_id(uint32_t value);
511 public:
512
513 // optional uint32 from_hub_id = 4 [(.dccl.field) = {
514 bool has_from_hub_id() const;
515 private:
516 bool _internal_has_from_hub_id() const;
517 public:
518 void clear_from_hub_id();
519 uint32_t from_hub_id() const;
520 void set_from_hub_id(uint32_t value);
521 private:
522 uint32_t _internal_from_hub_id() const;
523 void _internal_set_from_hub_id(uint32_t value);
524 public:
525
526 // optional .jaiabot.protobuf.Link link = 3 [(.dccl.field) = {
527 bool has_link() const;
528 private:
529 bool _internal_has_link() const;
530 public:
531 void clear_link();
534 private:
535 ::jaiabot::protobuf::Link _internal_link() const;
536 void _internal_set_link(::jaiabot::protobuf::Link value);
537 public:
538
539 // required .jaiabot.protobuf.Command.CommandType type = 10 [(.jaia.field) = {
540 bool has_type() const;
541 private:
542 bool _internal_has_type() const;
543 public:
544 void clear_type();
547 private:
548 ::jaiabot::protobuf::Command_CommandType _internal_type() const;
549 void _internal_set_type(::jaiabot::protobuf::Command_CommandType value);
550 public:
551
552 // .jaiabot.protobuf.MissionPlan plan = 20 [(.jaia.field) = {
553 bool has_plan() const;
554 private:
555 bool _internal_has_plan() const;
556 public:
558 const ::jaiabot::protobuf::MissionPlan& plan() const;
559 PROTOBUF_NODISCARD ::jaiabot::protobuf::MissionPlan* release_plan();
562 private:
563 const ::jaiabot::protobuf::MissionPlan& _internal_plan() const;
564 ::jaiabot::protobuf::MissionPlan* _internal_mutable_plan();
565 public:
569
570 // .jaiabot.protobuf.RemoteControl rc = 30 [(.jaia.field) = {
571 bool has_rc() const;
572 private:
573 bool _internal_has_rc() const;
574 public:
575 void clear_rc();
576 const ::jaiabot::protobuf::RemoteControl& rc() const;
577 PROTOBUF_NODISCARD ::jaiabot::protobuf::RemoteControl* release_rc();
580 private:
581 const ::jaiabot::protobuf::RemoteControl& _internal_rc() const;
582 ::jaiabot::protobuf::RemoteControl* _internal_mutable_rc();
583 public:
587
588 // .jaiabot.protobuf.MissionTask rc_task = 31;
589 bool has_rc_task() const;
590 private:
591 bool _internal_has_rc_task() const;
592 public:
594 const ::jaiabot::protobuf::MissionTask& rc_task() const;
595 PROTOBUF_NODISCARD ::jaiabot::protobuf::MissionTask* release_rc_task();
598 private:
599 const ::jaiabot::protobuf::MissionTask& _internal_rc_task() const;
600 ::jaiabot::protobuf::MissionTask* _internal_mutable_rc_task();
601 public:
605
609 typedef boost::units::time_dimension time_dimension;
610
611 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;
612
613 template<typename Quantity >
615 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
616
617 template<typename Quantity >
619 { return Quantity(time() * time_unit()); };
620
621 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
623
624 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Command)
625 private:
626 class _Internal;
627 void set_has_plan();
628 void set_has_rc();
629 void set_has_rc_task();
630
631 inline bool has_command_data() const;
632 inline void clear_has_command_data();
633
634 // helper for ByteSizeLong()
635 size_t RequiredFieldsByteSizeFallback() const;
636
637 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
638 typedef void InternalArenaConstructable_;
639 typedef void DestructorSkippable_;
640 struct Impl_ {
641 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
642 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
643 uint64_t time_;
644 uint32_t bot_id_;
645 uint32_t from_hub_id_;
646 int link_;
647 int type_;
655 uint32_t _oneof_case_[1];
656
657 };
658 union { Impl_ _impl_; };
659 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
660};
661// -------------------------------------------------------------------
662
664 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.CommandForHub) */ {
665 public:
666 inline CommandForHub() : CommandForHub(nullptr) {}
667 ~CommandForHub() override;
668 explicit PROTOBUF_CONSTEXPR CommandForHub(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
669
672 : CommandForHub() {
673 *this = ::std::move(from);
674 }
675
676 inline CommandForHub& operator=(const CommandForHub& from) {
677 CopyFrom(from);
678 return *this;
679 }
680 inline CommandForHub& operator=(CommandForHub&& from) noexcept {
681 if (this == &from) return *this;
682 if (GetOwningArena() == from.GetOwningArena()
683 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
684 && GetOwningArena() != nullptr
685 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
686 ) {
687 InternalSwap(&from);
688 } else {
689 CopyFrom(from);
690 }
691 return *this;
692 }
693
694 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
695 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
696 }
697 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
698 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
699 }
700
701 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
702 return GetDescriptor();
703 }
704 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
705 return default_instance().GetMetadata().descriptor;
706 }
707 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
708 return default_instance().GetMetadata().reflection;
709 }
711 return *internal_default_instance();
712 }
714 return reinterpret_cast<const CommandForHub*>(
716 }
717 static constexpr int kIndexInFileMessages =
718 1;
719
720 friend void swap(CommandForHub& a, CommandForHub& b) {
721 a.Swap(&b);
722 }
723 inline void Swap(CommandForHub* other) {
724 if (other == this) return;
725 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
726 if (GetOwningArena() != nullptr &&
727 GetOwningArena() == other->GetOwningArena()) {
728 #else // PROTOBUF_FORCE_COPY_IN_SWAP
729 if (GetOwningArena() == other->GetOwningArena()) {
730 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
731 InternalSwap(other);
732 } else {
733 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
734 }
735 }
737 if (other == this) return;
738 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
739 InternalSwap(other);
740 }
741
742 // implements Message ----------------------------------------------
743
744 CommandForHub* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
745 return CreateMaybeMessage<CommandForHub>(arena);
746 }
747 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
748 void CopyFrom(const CommandForHub& from);
749 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
750 void MergeFrom( const CommandForHub& from) {
751 CommandForHub::MergeImpl(*this, from);
752 }
753 private:
754 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
755 public:
756 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
757 bool IsInitialized() const final;
758
759 size_t ByteSizeLong() const final;
760 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
761 uint8_t* _InternalSerialize(
762 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
763 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
764
765 private:
766 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
767 void SharedDtor();
768 void SetCachedSize(int size) const final;
769 void InternalSwap(CommandForHub* other);
770
771 private:
772 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
773 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
774 return "jaiabot.protobuf.CommandForHub";
775 }
776 protected:
777 explicit CommandForHub(::PROTOBUF_NAMESPACE_ID::Arena* arena,
778 bool is_message_owned = false);
779 public:
780
781 static const ClassData _class_data_;
782 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
783
784 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
785
786 // nested types ----------------------------------------------------
787
789 static constexpr HubCommandType SCAN_FOR_BOTS =
790 CommandForHub_HubCommandType_SCAN_FOR_BOTS;
791 static constexpr HubCommandType CTD_DATA_OFFLOAD =
792 CommandForHub_HubCommandType_CTD_DATA_OFFLOAD;
793 static constexpr HubCommandType RESTART_ALL_SERVICES =
794 CommandForHub_HubCommandType_RESTART_ALL_SERVICES;
795 static constexpr HubCommandType REBOOT_COMPUTER =
796 CommandForHub_HubCommandType_REBOOT_COMPUTER;
797 static constexpr HubCommandType SHUTDOWN_COMPUTER =
798 CommandForHub_HubCommandType_SHUTDOWN_COMPUTER;
799 static constexpr HubCommandType SET_HUB_LOCATION =
800 CommandForHub_HubCommandType_SET_HUB_LOCATION;
801 static inline bool HubCommandType_IsValid(int value) {
803 }
804 static constexpr HubCommandType HubCommandType_MIN =
806 static constexpr HubCommandType HubCommandType_MAX =
808 static constexpr int HubCommandType_ARRAYSIZE =
810 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
814 template<typename T>
815 static inline const std::string& HubCommandType_Name(T enum_t_value) {
816 static_assert(::std::is_same<T, HubCommandType>::value ||
817 ::std::is_integral<T>::value,
818 "Incorrect type passed to function HubCommandType_Name.");
819 return CommandForHub_HubCommandType_Name(enum_t_value);
820 }
821 static inline bool HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
822 HubCommandType* value) {
823 return CommandForHub_HubCommandType_Parse(name, value);
824 }
825
826 // accessors -------------------------------------------------------
827
828 enum : int {
829 kHubLocationFieldNumber = 80,
830 kTimeFieldNumber = 2,
831 kHubIdFieldNumber = 1,
832 kScanForBotIdFieldNumber = 11,
833 kTypeFieldNumber = 10,
834 };
835 // optional .jaiabot.protobuf.GeographicCoordinate hub_location = 80 [(.jaia.field) = {
836 bool has_hub_location() const;
837 private:
838 bool _internal_has_hub_location() const;
839 public:
841 const ::jaiabot::protobuf::GeographicCoordinate& hub_location() const;
842 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_hub_location();
843 ::jaiabot::protobuf::GeographicCoordinate* mutable_hub_location();
844 void set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate* hub_location);
845 private:
846 const ::jaiabot::protobuf::GeographicCoordinate& _internal_hub_location() const;
847 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_hub_location();
848 public:
849 void unsafe_arena_set_allocated_hub_location(
851 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_hub_location();
852
853 // required uint64 time = 2 [(.dccl.field) = {
854 bool has_time() const;
855 private:
856 bool _internal_has_time() const;
857 public:
858 void clear_time();
859 uint64_t time() const;
860 void set_time(uint64_t value);
861 private:
862 uint64_t _internal_time() const;
863 void _internal_set_time(uint64_t value);
864 public:
865
866 // required uint32 hub_id = 1 [(.jaia.field) = {
867 bool has_hub_id() const;
868 private:
869 bool _internal_has_hub_id() const;
870 public:
871 void clear_hub_id();
872 uint32_t hub_id() const;
873 void set_hub_id(uint32_t value);
874 private:
875 uint32_t _internal_hub_id() const;
876 void _internal_set_hub_id(uint32_t value);
877 public:
878
879 // optional uint32 scan_for_bot_id = 11;
880 bool has_scan_for_bot_id() const;
881 private:
882 bool _internal_has_scan_for_bot_id() const;
883 public:
884 void clear_scan_for_bot_id();
885 uint32_t scan_for_bot_id() const;
886 void set_scan_for_bot_id(uint32_t value);
887 private:
888 uint32_t _internal_scan_for_bot_id() const;
889 void _internal_set_scan_for_bot_id(uint32_t value);
890 public:
891
892 // required .jaiabot.protobuf.CommandForHub.HubCommandType type = 10 [(.jaia.field) = {
893 bool has_type() const;
894 private:
895 bool _internal_has_type() const;
896 public:
897 void clear_type();
900 private:
902 void _internal_set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value);
903 public:
904
905 typedef boost::units::time_dimension time_dimension;
906
907 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;
908
909 template<typename Quantity >
910 void set_time_with_units(Quantity value_w_units)
911 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
912
913 template<typename Quantity >
914 Quantity time_with_units() const
915 { return Quantity(time() * time_unit()); };
916
917 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
918 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
919
920 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.CommandForHub)
921 private:
922 class _Internal;
923
924 // helper for ByteSizeLong()
925 size_t RequiredFieldsByteSizeFallback() const;
926
927 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
928 typedef void InternalArenaConstructable_;
929 typedef void DestructorSkippable_;
930 struct Impl_ {
931 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
932 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
934 uint64_t time_;
935 uint32_t hub_id_;
936 uint32_t scan_for_bot_id_;
937 int type_;
938 };
939 union { Impl_ _impl_; };
940 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
941};
942// -------------------------------------------------------------------
943
945 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus.ActiveLink) */ {
946 public:
949 explicit PROTOBUF_CONSTEXPR BotStatus_ActiveLink(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
950
954 *this = ::std::move(from);
955 }
956
958 CopyFrom(from);
959 return *this;
960 }
962 if (this == &from) return *this;
963 if (GetOwningArena() == from.GetOwningArena()
964 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
965 && GetOwningArena() != nullptr
966 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
967 ) {
968 InternalSwap(&from);
969 } else {
970 CopyFrom(from);
971 }
972 return *this;
973 }
974
975 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
976 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
977 }
978 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
979 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
980 }
981
982 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
983 return GetDescriptor();
984 }
985 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
986 return default_instance().GetMetadata().descriptor;
987 }
988 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
989 return default_instance().GetMetadata().reflection;
990 }
992 return *internal_default_instance();
993 }
995 return reinterpret_cast<const BotStatus_ActiveLink*>(
997 }
998 static constexpr int kIndexInFileMessages =
999 2;
1000
1002 a.Swap(&b);
1003 }
1004 inline void Swap(BotStatus_ActiveLink* other) {
1005 if (other == this) return;
1006 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1007 if (GetOwningArena() != nullptr &&
1008 GetOwningArena() == other->GetOwningArena()) {
1009 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1010 if (GetOwningArena() == other->GetOwningArena()) {
1011 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1012 InternalSwap(other);
1013 } else {
1014 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1015 }
1016 }
1018 if (other == this) return;
1019 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1020 InternalSwap(other);
1021 }
1022
1023 // implements Message ----------------------------------------------
1024
1025 BotStatus_ActiveLink* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1026 return CreateMaybeMessage<BotStatus_ActiveLink>(arena);
1027 }
1028 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1030 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1031 void MergeFrom( const BotStatus_ActiveLink& from) {
1032 BotStatus_ActiveLink::MergeImpl(*this, from);
1033 }
1034 private:
1035 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1036 public:
1037 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1038 bool IsInitialized() const final;
1039
1040 size_t ByteSizeLong() const final;
1041 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1042 uint8_t* _InternalSerialize(
1043 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1044 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1045
1046 private:
1047 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1048 void SharedDtor();
1049 void SetCachedSize(int size) const final;
1050 void InternalSwap(BotStatus_ActiveLink* other);
1051
1052 private:
1053 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1054 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1055 return "jaiabot.protobuf.BotStatus.ActiveLink";
1056 }
1057 protected:
1058 explicit BotStatus_ActiveLink(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1059 bool is_message_owned = false);
1060 public:
1061
1062 static const ClassData _class_data_;
1063 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1064
1065 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1066
1067 // nested types ----------------------------------------------------
1068
1069 // accessors -------------------------------------------------------
1070
1071 enum : int {
1072 kLastReceivedTimeFieldNumber = 2,
1073 kLinkFieldNumber = 1,
1074 };
1075 // optional uint64 last_received_time = 2 [(.dccl.field) = {
1076 bool has_last_received_time() const;
1077 private:
1078 bool _internal_has_last_received_time() const;
1079 public:
1080 void clear_last_received_time();
1081 uint64_t last_received_time() const;
1082 void set_last_received_time(uint64_t value);
1083 private:
1084 uint64_t _internal_last_received_time() const;
1085 void _internal_set_last_received_time(uint64_t value);
1086 public:
1087
1088 // required .jaiabot.protobuf.Link link = 1;
1089 bool has_link() const;
1090 private:
1091 bool _internal_has_link() const;
1092 public:
1093 void clear_link();
1094 ::jaiabot::protobuf::Link link() const;
1095 void set_link(::jaiabot::protobuf::Link value);
1096 private:
1097 ::jaiabot::protobuf::Link _internal_link() const;
1098 void _internal_set_link(::jaiabot::protobuf::Link value);
1099 public:
1100
1101 typedef boost::units::time_dimension last_received_time_dimension;
1102
1103 typedef boost::units::make_scaled_unit<boost::units::unit<last_received_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type last_received_time_unit;
1104
1105 template<typename Quantity >
1106 void set_last_received_time_with_units(Quantity value_w_units)
1107 { set_last_received_time(boost::units::quantity<last_received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1108
1109 template<typename Quantity >
1111 { return Quantity(last_received_time() * last_received_time_unit()); };
1112
1113 boost::units::quantity< last_received_time_unit,google::protobuf::uint64 > last_received_time_with_units() const
1114 { return last_received_time_with_units<boost::units::quantity< last_received_time_unit,google::protobuf::uint64 > >(); };
1115
1116 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus.ActiveLink)
1117 private:
1118 class _Internal;
1119
1120 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1121 typedef void InternalArenaConstructable_;
1122 typedef void DestructorSkippable_;
1123 struct Impl_ {
1124 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1125 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1126 uint64_t last_received_time_;
1127 int link_;
1128 };
1129 union { Impl_ _impl_; };
1130 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1131};
1132// -------------------------------------------------------------------
1133
1135 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus.Attitude) */ {
1136 public:
1139 explicit PROTOBUF_CONSTEXPR BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1140
1143 : BotStatus_Attitude() {
1144 *this = ::std::move(from);
1145 }
1146
1148 CopyFrom(from);
1149 return *this;
1150 }
1152 if (this == &from) return *this;
1153 if (GetOwningArena() == from.GetOwningArena()
1154 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1155 && GetOwningArena() != nullptr
1156 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1157 ) {
1158 InternalSwap(&from);
1159 } else {
1160 CopyFrom(from);
1161 }
1162 return *this;
1163 }
1164
1165 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1166 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1167 }
1168 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1169 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1170 }
1171
1172 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1173 return GetDescriptor();
1174 }
1175 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1176 return default_instance().GetMetadata().descriptor;
1177 }
1178 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1179 return default_instance().GetMetadata().reflection;
1180 }
1182 return *internal_default_instance();
1183 }
1185 return reinterpret_cast<const BotStatus_Attitude*>(
1187 }
1188 static constexpr int kIndexInFileMessages =
1189 3;
1190
1192 a.Swap(&b);
1193 }
1194 inline void Swap(BotStatus_Attitude* other) {
1195 if (other == this) return;
1196 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1197 if (GetOwningArena() != nullptr &&
1198 GetOwningArena() == other->GetOwningArena()) {
1199 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1200 if (GetOwningArena() == other->GetOwningArena()) {
1201 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1202 InternalSwap(other);
1203 } else {
1204 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1205 }
1206 }
1208 if (other == this) return;
1209 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1210 InternalSwap(other);
1211 }
1212
1213 // implements Message ----------------------------------------------
1214
1215 BotStatus_Attitude* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1216 return CreateMaybeMessage<BotStatus_Attitude>(arena);
1217 }
1218 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1219 void CopyFrom(const BotStatus_Attitude& from);
1220 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1221 void MergeFrom( const BotStatus_Attitude& from) {
1222 BotStatus_Attitude::MergeImpl(*this, from);
1223 }
1224 private:
1225 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1226 public:
1227 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1228 bool IsInitialized() const final;
1229
1230 size_t ByteSizeLong() const final;
1231 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1232 uint8_t* _InternalSerialize(
1233 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1234 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1235
1236 private:
1237 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1238 void SharedDtor();
1239 void SetCachedSize(int size) const final;
1240 void InternalSwap(BotStatus_Attitude* other);
1241
1242 private:
1243 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1244 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1245 return "jaiabot.protobuf.BotStatus.Attitude";
1246 }
1247 protected:
1248 explicit BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1249 bool is_message_owned = false);
1250 public:
1251
1252 static const ClassData _class_data_;
1253 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1254
1255 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1256
1257 // nested types ----------------------------------------------------
1258
1259 // accessors -------------------------------------------------------
1260
1261 enum : int {
1262 kRollFieldNumber = 1,
1263 kPitchFieldNumber = 2,
1264 kHeadingFieldNumber = 3,
1265 kCourseOverGroundFieldNumber = 4,
1266 };
1267 // optional double roll = 1 [(.dccl.field) = {
1268 bool has_roll() const;
1269 private:
1270 bool _internal_has_roll() const;
1271 public:
1272 void clear_roll();
1273 double roll() const;
1274 void set_roll(double value);
1275 private:
1276 double _internal_roll() const;
1277 void _internal_set_roll(double value);
1278 public:
1279
1280 // optional double pitch = 2 [(.dccl.field) = {
1281 bool has_pitch() const;
1282 private:
1283 bool _internal_has_pitch() const;
1284 public:
1285 void clear_pitch();
1286 double pitch() const;
1287 void set_pitch(double value);
1288 private:
1289 double _internal_pitch() const;
1290 void _internal_set_pitch(double value);
1291 public:
1292
1293 // optional double heading = 3 [(.dccl.field) = {
1294 bool has_heading() const;
1295 private:
1296 bool _internal_has_heading() const;
1297 public:
1298 void clear_heading();
1299 double heading() const;
1300 void set_heading(double value);
1301 private:
1302 double _internal_heading() const;
1303 void _internal_set_heading(double value);
1304 public:
1305
1306 // optional double course_over_ground = 4 [(.dccl.field) = {
1307 bool has_course_over_ground() const;
1308 private:
1309 bool _internal_has_course_over_ground() const;
1310 public:
1311 void clear_course_over_ground();
1312 double course_over_ground() const;
1313 void set_course_over_ground(double value);
1314 private:
1315 double _internal_course_over_ground() const;
1316 void _internal_set_course_over_ground(double value);
1317 public:
1318
1319 typedef boost::units::plane_angle_dimension roll_dimension;
1320
1321 typedef boost::units::unit<roll_dimension,boost::units::degree::system> roll_unit;
1322
1323 template<typename Quantity >
1324 void set_roll_with_units(Quantity value_w_units)
1325 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
1326
1327 template<typename Quantity >
1328 Quantity roll_with_units() const
1329 { return Quantity(roll() * roll_unit()); };
1330
1331 boost::units::quantity< roll_unit,double > roll_with_units() const
1332 { return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
1333
1334 typedef boost::units::plane_angle_dimension pitch_dimension;
1335
1336 typedef boost::units::unit<pitch_dimension,boost::units::degree::system> pitch_unit;
1337
1338 template<typename Quantity >
1339 void set_pitch_with_units(Quantity value_w_units)
1340 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
1341
1342 template<typename Quantity >
1343 Quantity pitch_with_units() const
1344 { return Quantity(pitch() * pitch_unit()); };
1345
1346 boost::units::quantity< pitch_unit,double > pitch_with_units() const
1347 { return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
1348
1349 typedef boost::units::plane_angle_dimension heading_dimension;
1350
1351 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
1352
1353 template<typename Quantity >
1354 void set_heading_with_units(Quantity value_w_units)
1355 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1356
1357 template<typename Quantity >
1358 Quantity heading_with_units() const
1359 { return Quantity(heading() * heading_unit()); };
1360
1361 boost::units::quantity< heading_unit,double > heading_with_units() const
1362 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1363
1364 typedef boost::units::plane_angle_dimension course_over_ground_dimension;
1365
1366 typedef boost::units::unit<course_over_ground_dimension,boost::units::degree::system> course_over_ground_unit;
1367
1368 template<typename Quantity >
1369 void set_course_over_ground_with_units(Quantity value_w_units)
1370 { set_course_over_ground(boost::units::quantity<course_over_ground_unit,double >(value_w_units).value() ); };
1371
1372 template<typename Quantity >
1374 { return Quantity(course_over_ground() * course_over_ground_unit()); };
1375
1376 boost::units::quantity< course_over_ground_unit,double > course_over_ground_with_units() const
1377 { return course_over_ground_with_units<boost::units::quantity< course_over_ground_unit,double > >(); };
1378
1379 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus.Attitude)
1380 private:
1381 class _Internal;
1382
1383 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1384 typedef void InternalArenaConstructable_;
1385 typedef void DestructorSkippable_;
1386 struct Impl_ {
1387 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1388 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1389 double roll_;
1390 double pitch_;
1391 double heading_;
1392 double course_over_ground_;
1393 };
1394 union { Impl_ _impl_; };
1395 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1396};
1397// -------------------------------------------------------------------
1398
1399class BotStatus_Speed final :
1400 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus.Speed) */ {
1401 public:
1402 inline BotStatus_Speed() : BotStatus_Speed(nullptr) {}
1404 explicit PROTOBUF_CONSTEXPR BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1405
1408 : BotStatus_Speed() {
1409 *this = ::std::move(from);
1410 }
1411
1413 CopyFrom(from);
1414 return *this;
1415 }
1416 inline BotStatus_Speed& operator=(BotStatus_Speed&& from) noexcept {
1417 if (this == &from) return *this;
1418 if (GetOwningArena() == from.GetOwningArena()
1419 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1420 && GetOwningArena() != nullptr
1421 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1422 ) {
1423 InternalSwap(&from);
1424 } else {
1425 CopyFrom(from);
1426 }
1427 return *this;
1428 }
1429
1430 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1431 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1432 }
1433 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1434 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1435 }
1436
1437 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1438 return GetDescriptor();
1439 }
1440 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1441 return default_instance().GetMetadata().descriptor;
1442 }
1443 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1444 return default_instance().GetMetadata().reflection;
1445 }
1447 return *internal_default_instance();
1448 }
1450 return reinterpret_cast<const BotStatus_Speed*>(
1452 }
1453 static constexpr int kIndexInFileMessages =
1454 4;
1455
1457 a.Swap(&b);
1458 }
1459 inline void Swap(BotStatus_Speed* other) {
1460 if (other == this) return;
1461 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1462 if (GetOwningArena() != nullptr &&
1463 GetOwningArena() == other->GetOwningArena()) {
1464 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1465 if (GetOwningArena() == other->GetOwningArena()) {
1466 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1467 InternalSwap(other);
1468 } else {
1469 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1470 }
1471 }
1473 if (other == this) return;
1474 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1475 InternalSwap(other);
1476 }
1477
1478 // implements Message ----------------------------------------------
1479
1480 BotStatus_Speed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1481 return CreateMaybeMessage<BotStatus_Speed>(arena);
1482 }
1483 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1484 void CopyFrom(const BotStatus_Speed& from);
1485 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1486 void MergeFrom( const BotStatus_Speed& from) {
1487 BotStatus_Speed::MergeImpl(*this, from);
1488 }
1489 private:
1490 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1491 public:
1492 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1493 bool IsInitialized() const final;
1494
1495 size_t ByteSizeLong() const final;
1496 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1497 uint8_t* _InternalSerialize(
1498 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1499 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1500
1501 private:
1502 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1503 void SharedDtor();
1504 void SetCachedSize(int size) const final;
1505 void InternalSwap(BotStatus_Speed* other);
1506
1507 private:
1508 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1509 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1510 return "jaiabot.protobuf.BotStatus.Speed";
1511 }
1512 protected:
1513 explicit BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1514 bool is_message_owned = false);
1515 public:
1516
1517 static const ClassData _class_data_;
1518 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1519
1520 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1521
1522 // nested types ----------------------------------------------------
1523
1524 // accessors -------------------------------------------------------
1525
1526 enum : int {
1527 kOverGroundFieldNumber = 1,
1528 kOverWaterFieldNumber = 2,
1529 };
1530 // optional double over_ground = 1 [(.dccl.field) = {
1531 bool has_over_ground() const;
1532 private:
1533 bool _internal_has_over_ground() const;
1534 public:
1535 void clear_over_ground();
1536 double over_ground() const;
1537 void set_over_ground(double value);
1538 private:
1539 double _internal_over_ground() const;
1540 void _internal_set_over_ground(double value);
1541 public:
1542
1543 // optional double over_water = 2 [(.dccl.field) = {
1544 bool has_over_water() const;
1545 private:
1546 bool _internal_has_over_water() const;
1547 public:
1548 void clear_over_water();
1549 double over_water() const;
1550 void set_over_water(double value);
1551 private:
1552 double _internal_over_water() const;
1553 void _internal_set_over_water(double value);
1554 public:
1555
1556 typedef boost::units::velocity_dimension over_ground_dimension;
1557
1558 typedef boost::units::unit<over_ground_dimension,boost::units::si::system> over_ground_unit;
1559
1560 template<typename Quantity >
1561 void set_over_ground_with_units(Quantity value_w_units)
1562 { set_over_ground(boost::units::quantity<over_ground_unit,double >(value_w_units).value() ); };
1563
1564 template<typename Quantity >
1565 Quantity over_ground_with_units() const
1566 { return Quantity(over_ground() * over_ground_unit()); };
1567
1568 boost::units::quantity< over_ground_unit,double > over_ground_with_units() const
1569 { return over_ground_with_units<boost::units::quantity< over_ground_unit,double > >(); };
1570
1571 typedef boost::units::velocity_dimension over_water_dimension;
1572
1573 typedef boost::units::unit<over_water_dimension,boost::units::si::system> over_water_unit;
1574
1575 template<typename Quantity >
1576 void set_over_water_with_units(Quantity value_w_units)
1577 { set_over_water(boost::units::quantity<over_water_unit,double >(value_w_units).value() ); };
1578
1579 template<typename Quantity >
1580 Quantity over_water_with_units() const
1581 { return Quantity(over_water() * over_water_unit()); };
1582
1583 boost::units::quantity< over_water_unit,double > over_water_with_units() const
1584 { return over_water_with_units<boost::units::quantity< over_water_unit,double > >(); };
1585
1586 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus.Speed)
1587 private:
1588 class _Internal;
1589
1590 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1591 typedef void InternalArenaConstructable_;
1592 typedef void DestructorSkippable_;
1593 struct Impl_ {
1594 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1595 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1596 double over_ground_;
1597 double over_water_;
1598 };
1599 union { Impl_ _impl_; };
1600 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1601};
1602// -------------------------------------------------------------------
1603
1604class BotStatus final :
1605 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus) */ {
1606 public:
1607 inline BotStatus() : BotStatus(nullptr) {}
1608 ~BotStatus() override;
1609 explicit PROTOBUF_CONSTEXPR BotStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1610
1611 BotStatus(const BotStatus& from);
1612 BotStatus(BotStatus&& from) noexcept
1613 : BotStatus() {
1614 *this = ::std::move(from);
1615 }
1616
1617 inline BotStatus& operator=(const BotStatus& from) {
1618 CopyFrom(from);
1619 return *this;
1620 }
1621 inline BotStatus& operator=(BotStatus&& from) noexcept {
1622 if (this == &from) return *this;
1623 if (GetOwningArena() == from.GetOwningArena()
1624 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1625 && GetOwningArena() != nullptr
1626 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1627 ) {
1628 InternalSwap(&from);
1629 } else {
1630 CopyFrom(from);
1631 }
1632 return *this;
1633 }
1634
1635 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1636 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1637 }
1638 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1639 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1640 }
1641
1642 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1643 return GetDescriptor();
1644 }
1645 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1646 return default_instance().GetMetadata().descriptor;
1647 }
1648 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1649 return default_instance().GetMetadata().reflection;
1650 }
1651 static const BotStatus& default_instance() {
1652 return *internal_default_instance();
1653 }
1654 static inline const BotStatus* internal_default_instance() {
1655 return reinterpret_cast<const BotStatus*>(
1657 }
1658 static constexpr int kIndexInFileMessages =
1659 5;
1660
1661 friend void swap(BotStatus& a, BotStatus& b) {
1662 a.Swap(&b);
1663 }
1664 inline void Swap(BotStatus* other) {
1665 if (other == this) return;
1666 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1667 if (GetOwningArena() != nullptr &&
1668 GetOwningArena() == other->GetOwningArena()) {
1669 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1670 if (GetOwningArena() == other->GetOwningArena()) {
1671 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1672 InternalSwap(other);
1673 } else {
1674 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1675 }
1676 }
1678 if (other == this) return;
1679 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1680 InternalSwap(other);
1681 }
1682
1683 // implements Message ----------------------------------------------
1684
1685 BotStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1686 return CreateMaybeMessage<BotStatus>(arena);
1687 }
1688 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1689 void CopyFrom(const BotStatus& from);
1690 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1691 void MergeFrom( const BotStatus& from) {
1692 BotStatus::MergeImpl(*this, from);
1693 }
1694 private:
1695 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1696 public:
1697 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1698 bool IsInitialized() const final;
1699
1700 size_t ByteSizeLong() const final;
1701 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1702 uint8_t* _InternalSerialize(
1703 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1704 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1705
1706 private:
1707 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1708 void SharedDtor();
1709 void SetCachedSize(int size) const final;
1710 void InternalSwap(BotStatus* other);
1711
1712 private:
1713 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1714 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1715 return "jaiabot.protobuf.BotStatus";
1716 }
1717 protected:
1718 explicit BotStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1719 bool is_message_owned = false);
1720 public:
1721
1722 static const ClassData _class_data_;
1723 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1724
1725 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1726
1727 // nested types ----------------------------------------------------
1728
1732
1734 static constexpr BotType HYDRO =
1735 BotStatus_BotType_HYDRO;
1736 static constexpr BotType ECHO =
1737 BotStatus_BotType_ECHO;
1738 static constexpr BotType BIO =
1739 BotStatus_BotType_BIO;
1740 static inline bool BotType_IsValid(int value) {
1741 return BotStatus_BotType_IsValid(value);
1742 }
1743 static constexpr BotType BotType_MIN =
1745 static constexpr BotType BotType_MAX =
1747 static constexpr int BotType_ARRAYSIZE =
1749 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1753 template<typename T>
1754 static inline const std::string& BotType_Name(T enum_t_value) {
1755 static_assert(::std::is_same<T, BotType>::value ||
1756 ::std::is_integral<T>::value,
1757 "Incorrect type passed to function BotType_Name.");
1758 return BotStatus_BotType_Name(enum_t_value);
1759 }
1760 static inline bool BotType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1761 BotType* value) {
1762 return BotStatus_BotType_Parse(name, value);
1763 }
1764
1765 // accessors -------------------------------------------------------
1766
1767 enum : int {
1768 kErrorFieldNumber = 5,
1769 kWarningFieldNumber = 6,
1770 kActiveLinksFieldNumber = 9,
1771 kMissionNameFieldNumber = 72,
1772 kLocationFieldNumber = 10,
1773 kAttitudeFieldNumber = 20,
1774 kSpeedFieldNumber = 30,
1775 kTimeFieldNumber = 2,
1776 kLastCommandTimeFieldNumber = 3,
1777 kSensorDepthFieldNumber = 11,
1778 kDepthFieldNumber = 12,
1779 kBotIdFieldNumber = 1,
1780 kMissionStateFieldNumber = 40,
1781 kDistanceToActiveGoalFieldNumber = 42,
1782 kActiveGoalFieldNumber = 41,
1783 kActiveGoalTimeoutFieldNumber = 43,
1784 kRepeatIndexFieldNumber = 44,
1785 kCalibrationStatusFieldNumber = 54,
1786 kSalinityFieldNumber = 51,
1787 kTemperatureFieldNumber = 52,
1788 kBatteryPercentFieldNumber = 53,
1789 kHdopFieldNumber = 56,
1790 kPdopFieldNumber = 57,
1791 kReceivedTimeFieldNumber = 59,
1792 kMissionCommandTimeFieldNumber = 71,
1793 kWifiLinkQualityPercentageFieldNumber = 58,
1794 kHealthStateFieldNumber = 4,
1795 kBotTypeFieldNumber = 7,
1796 kLinkFieldNumber = 8,
1797 kCalibrationStateFieldNumber = 55,
1798 };
1799 // repeated .jaiabot.protobuf.Error error = 5 [(.dccl.field) = {
1800 int error_size() const;
1801 private:
1802 int _internal_error_size() const;
1803 public:
1804 void clear_error();
1805 private:
1806 ::jaiabot::protobuf::Error _internal_error(int index) const;
1807 void _internal_add_error(::jaiabot::protobuf::Error value);
1808 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_error();
1809 public:
1810 ::jaiabot::protobuf::Error error(int index) const;
1811 void set_error(int index, ::jaiabot::protobuf::Error value);
1812 void add_error(::jaiabot::protobuf::Error value);
1813 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& error() const;
1814 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_error();
1815
1816 // repeated .jaiabot.protobuf.Warning warning = 6 [(.dccl.field) = {
1817 int warning_size() const;
1818 private:
1819 int _internal_warning_size() const;
1820 public:
1821 void clear_warning();
1822 private:
1823 ::jaiabot::protobuf::Warning _internal_warning(int index) const;
1824 void _internal_add_warning(::jaiabot::protobuf::Warning value);
1825 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_warning();
1826 public:
1827 ::jaiabot::protobuf::Warning warning(int index) const;
1828 void set_warning(int index, ::jaiabot::protobuf::Warning value);
1829 void add_warning(::jaiabot::protobuf::Warning value);
1830 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& warning() const;
1831 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_warning();
1832
1833 // repeated .jaiabot.protobuf.BotStatus.ActiveLink active_links = 9 [(.dccl.field) = {
1834 int active_links_size() const;
1835 private:
1836 int _internal_active_links_size() const;
1837 public:
1838 void clear_active_links();
1839 ::jaiabot::protobuf::BotStatus_ActiveLink* mutable_active_links(int index);
1840 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >*
1841 mutable_active_links();
1842 private:
1843 const ::jaiabot::protobuf::BotStatus_ActiveLink& _internal_active_links(int index) const;
1844 ::jaiabot::protobuf::BotStatus_ActiveLink* _internal_add_active_links();
1845 public:
1846 const ::jaiabot::protobuf::BotStatus_ActiveLink& active_links(int index) const;
1848 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >&
1849 active_links() const;
1850
1851 // optional string mission_name = 72 [(.dccl.field) = {
1852 bool has_mission_name() const;
1853 private:
1854 bool _internal_has_mission_name() const;
1855 public:
1856 void clear_mission_name();
1857 const std::string& mission_name() const;
1858 template <typename ArgT0 = const std::string&, typename... ArgT>
1859 void set_mission_name(ArgT0&& arg0, ArgT... args);
1860 std::string* mutable_mission_name();
1861 PROTOBUF_NODISCARD std::string* release_mission_name();
1862 void set_allocated_mission_name(std::string* mission_name);
1863 private:
1864 const std::string& _internal_mission_name() const;
1865 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mission_name(const std::string& value);
1866 std::string* _internal_mutable_mission_name();
1867 public:
1868
1869 // optional .jaiabot.protobuf.GeographicCoordinate location = 10 [(.jaia.field) = {
1870 bool has_location() const;
1871 private:
1872 bool _internal_has_location() const;
1873 public:
1875 const ::jaiabot::protobuf::GeographicCoordinate& location() const;
1876 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
1878 void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location);
1879 private:
1880 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
1881 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
1882 public:
1883 void unsafe_arena_set_allocated_location(
1885 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_location();
1886
1887 // optional .jaiabot.protobuf.BotStatus.Attitude attitude = 20 [(.jaia.field) = {
1888 bool has_attitude() const;
1889 private:
1890 bool _internal_has_attitude() const;
1891 public:
1892 void clear_attitude();
1893 const ::jaiabot::protobuf::BotStatus_Attitude& attitude() const;
1894 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus_Attitude* release_attitude();
1895 ::jaiabot::protobuf::BotStatus_Attitude* mutable_attitude();
1896 void set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude* attitude);
1897 private:
1898 const ::jaiabot::protobuf::BotStatus_Attitude& _internal_attitude() const;
1899 ::jaiabot::protobuf::BotStatus_Attitude* _internal_mutable_attitude();
1900 public:
1901 void unsafe_arena_set_allocated_attitude(
1903 ::jaiabot::protobuf::BotStatus_Attitude* unsafe_arena_release_attitude();
1904
1905 // optional .jaiabot.protobuf.BotStatus.Speed speed = 30 [(.jaia.field) = {
1906 bool has_speed() const;
1907 private:
1908 bool _internal_has_speed() const;
1909 public:
1910 void clear_speed();
1911 const ::jaiabot::protobuf::BotStatus_Speed& speed() const;
1912 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus_Speed* release_speed();
1913 ::jaiabot::protobuf::BotStatus_Speed* mutable_speed();
1914 void set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed* speed);
1915 private:
1916 const ::jaiabot::protobuf::BotStatus_Speed& _internal_speed() const;
1917 ::jaiabot::protobuf::BotStatus_Speed* _internal_mutable_speed();
1918 public:
1919 void unsafe_arena_set_allocated_speed(
1921 ::jaiabot::protobuf::BotStatus_Speed* unsafe_arena_release_speed();
1922
1923 // required uint64 time = 2 [(.dccl.field) = {
1924 bool has_time() const;
1925 private:
1926 bool _internal_has_time() const;
1927 public:
1928 void clear_time();
1929 uint64_t time() const;
1930 void set_time(uint64_t value);
1931 private:
1932 uint64_t _internal_time() const;
1933 void _internal_set_time(uint64_t value);
1934 public:
1935
1936 // optional uint64 last_command_time = 3 [(.dccl.field) = {
1937 bool has_last_command_time() const;
1938 private:
1939 bool _internal_has_last_command_time() const;
1940 public:
1941 void clear_last_command_time();
1942 uint64_t last_command_time() const;
1943 void set_last_command_time(uint64_t value);
1944 private:
1945 uint64_t _internal_last_command_time() const;
1946 void _internal_set_last_command_time(uint64_t value);
1947 public:
1948
1949 // optional double sensor_depth = 11 [(.dccl.field) = {
1950 bool has_sensor_depth() const;
1951 private:
1952 bool _internal_has_sensor_depth() const;
1953 public:
1954 void clear_sensor_depth();
1955 double sensor_depth() const;
1956 void set_sensor_depth(double value);
1957 private:
1958 double _internal_sensor_depth() const;
1959 void _internal_set_sensor_depth(double value);
1960 public:
1961
1962 // optional double depth = 12 [(.dccl.field) = {
1963 bool has_depth() const;
1964 private:
1965 bool _internal_has_depth() const;
1966 public:
1967 void clear_depth();
1968 double depth() const;
1969 void set_depth(double value);
1970 private:
1971 double _internal_depth() const;
1972 void _internal_set_depth(double value);
1973 public:
1974
1975 // required uint32 bot_id = 1 [(.dccl.field) = {
1976 bool has_bot_id() const;
1977 private:
1978 bool _internal_has_bot_id() const;
1979 public:
1980 void clear_bot_id();
1981 uint32_t bot_id() const;
1982 void set_bot_id(uint32_t value);
1983 private:
1984 uint32_t _internal_bot_id() const;
1985 void _internal_set_bot_id(uint32_t value);
1986 public:
1987
1988 // optional .jaiabot.protobuf.MissionState mission_state = 40 [(.jaia.field) = {
1989 bool has_mission_state() const;
1990 private:
1991 bool _internal_has_mission_state() const;
1992 public:
1993 void clear_mission_state();
1994 ::jaiabot::protobuf::MissionState mission_state() const;
1995 void set_mission_state(::jaiabot::protobuf::MissionState value);
1996 private:
1997 ::jaiabot::protobuf::MissionState _internal_mission_state() const;
1998 void _internal_set_mission_state(::jaiabot::protobuf::MissionState value);
1999 public:
2000
2001 // optional double distance_to_active_goal = 42 [(.dccl.field) = {
2002 bool has_distance_to_active_goal() const;
2003 private:
2004 bool _internal_has_distance_to_active_goal() const;
2005 public:
2006 void clear_distance_to_active_goal();
2007 double distance_to_active_goal() const;
2008 void set_distance_to_active_goal(double value);
2009 private:
2010 double _internal_distance_to_active_goal() const;
2011 void _internal_set_distance_to_active_goal(double value);
2012 public:
2013
2014 // optional int32 active_goal = 41 [(.dccl.field) = {
2015 bool has_active_goal() const;
2016 private:
2017 bool _internal_has_active_goal() const;
2018 public:
2019 void clear_active_goal();
2020 int32_t active_goal() const;
2021 void set_active_goal(int32_t value);
2022 private:
2023 int32_t _internal_active_goal() const;
2024 void _internal_set_active_goal(int32_t value);
2025 public:
2026
2027 // optional uint32 active_goal_timeout = 43 [(.dccl.field) = {
2028 bool has_active_goal_timeout() const;
2029 private:
2030 bool _internal_has_active_goal_timeout() const;
2031 public:
2032 void clear_active_goal_timeout();
2033 uint32_t active_goal_timeout() const;
2034 void set_active_goal_timeout(uint32_t value);
2035 private:
2036 uint32_t _internal_active_goal_timeout() const;
2037 void _internal_set_active_goal_timeout(uint32_t value);
2038 public:
2039
2040 // optional int32 repeat_index = 44 [(.dccl.field) = {
2041 bool has_repeat_index() const;
2042 private:
2043 bool _internal_has_repeat_index() const;
2044 public:
2045 void clear_repeat_index();
2046 int32_t repeat_index() const;
2047 void set_repeat_index(int32_t value);
2048 private:
2049 int32_t _internal_repeat_index() const;
2050 void _internal_set_repeat_index(int32_t value);
2051 public:
2052
2053 // optional int32 calibration_status = 54 [(.dccl.field) = {
2054 bool has_calibration_status() const;
2055 private:
2056 bool _internal_has_calibration_status() const;
2057 public:
2058 void clear_calibration_status();
2059 int32_t calibration_status() const;
2060 void set_calibration_status(int32_t value);
2061 private:
2062 int32_t _internal_calibration_status() const;
2063 void _internal_set_calibration_status(int32_t value);
2064 public:
2065
2066 // optional double salinity = 51 [(.dccl.field) = {
2067 bool has_salinity() const;
2068 private:
2069 bool _internal_has_salinity() const;
2070 public:
2071 void clear_salinity();
2072 double salinity() const;
2073 void set_salinity(double value);
2074 private:
2075 double _internal_salinity() const;
2076 void _internal_set_salinity(double value);
2077 public:
2078
2079 // optional double temperature = 52 [(.dccl.field) = {
2080 bool has_temperature() const;
2081 private:
2082 bool _internal_has_temperature() const;
2083 public:
2084 void clear_temperature();
2085 double temperature() const;
2086 void set_temperature(double value);
2087 private:
2088 double _internal_temperature() const;
2089 void _internal_set_temperature(double value);
2090 public:
2091
2092 // optional double battery_percent = 53 [(.dccl.field) = {
2093 bool has_battery_percent() const;
2094 private:
2095 bool _internal_has_battery_percent() const;
2096 public:
2097 void clear_battery_percent();
2098 double battery_percent() const;
2099 void set_battery_percent(double value);
2100 private:
2101 double _internal_battery_percent() const;
2102 void _internal_set_battery_percent(double value);
2103 public:
2104
2105 // optional double hdop = 56 [(.dccl.field) = {
2106 bool has_hdop() const;
2107 private:
2108 bool _internal_has_hdop() const;
2109 public:
2110 void clear_hdop();
2111 double hdop() const;
2112 void set_hdop(double value);
2113 private:
2114 double _internal_hdop() const;
2115 void _internal_set_hdop(double value);
2116 public:
2117
2118 // optional double pdop = 57 [(.dccl.field) = {
2119 bool has_pdop() const;
2120 private:
2121 bool _internal_has_pdop() const;
2122 public:
2123 void clear_pdop();
2124 double pdop() const;
2125 void set_pdop(double value);
2126 private:
2127 double _internal_pdop() const;
2128 void _internal_set_pdop(double value);
2129 public:
2130
2131 // optional uint64 received_time = 59 [(.dccl.field) = {
2132 bool has_received_time() const;
2133 private:
2134 bool _internal_has_received_time() const;
2135 public:
2136 void clear_received_time();
2137 uint64_t received_time() const;
2138 void set_received_time(uint64_t value);
2139 private:
2140 uint64_t _internal_received_time() const;
2141 void _internal_set_received_time(uint64_t value);
2142 public:
2143
2144 // optional uint64 mission_command_time = 71 [(.dccl.field) = {
2145 bool has_mission_command_time() const;
2146 private:
2147 bool _internal_has_mission_command_time() const;
2148 public:
2149 void clear_mission_command_time();
2150 uint64_t mission_command_time() const;
2151 void set_mission_command_time(uint64_t value);
2152 private:
2153 uint64_t _internal_mission_command_time() const;
2154 void _internal_set_mission_command_time(uint64_t value);
2155 public:
2156
2157 // optional int32 wifi_link_quality_percentage = 58 [(.dccl.field) = {
2158 bool has_wifi_link_quality_percentage() const;
2159 private:
2160 bool _internal_has_wifi_link_quality_percentage() const;
2161 public:
2162 void clear_wifi_link_quality_percentage();
2163 int32_t wifi_link_quality_percentage() const;
2164 void set_wifi_link_quality_percentage(int32_t value);
2165 private:
2166 int32_t _internal_wifi_link_quality_percentage() const;
2167 void _internal_set_wifi_link_quality_percentage(int32_t value);
2168 public:
2169
2170 // optional .goby.middleware.protobuf.HealthState health_state = 4 [(.jaia.field) = {
2171 bool has_health_state() const;
2172 private:
2173 bool _internal_has_health_state() const;
2174 public:
2175 void clear_health_state();
2176 ::goby::middleware::protobuf::HealthState health_state() const;
2177 void set_health_state(::goby::middleware::protobuf::HealthState value);
2178 private:
2179 ::goby::middleware::protobuf::HealthState _internal_health_state() const;
2180 void _internal_set_health_state(::goby::middleware::protobuf::HealthState value);
2181 public:
2182
2183 // optional .jaiabot.protobuf.BotStatus.BotType bot_type = 7 [(.jaia.field) = {
2184 bool has_bot_type() const;
2185 private:
2186 bool _internal_has_bot_type() const;
2187 public:
2188 void clear_bot_type();
2190 void set_bot_type(::jaiabot::protobuf::BotStatus_BotType value);
2191 private:
2192 ::jaiabot::protobuf::BotStatus_BotType _internal_bot_type() const;
2193 void _internal_set_bot_type(::jaiabot::protobuf::BotStatus_BotType value);
2194 public:
2195
2196 // optional .jaiabot.protobuf.Link link = 8 [(.dccl.field) = {
2197 bool has_link() const;
2198 private:
2199 bool _internal_has_link() const;
2200 public:
2201 void clear_link();
2202 ::jaiabot::protobuf::Link link() const;
2203 void set_link(::jaiabot::protobuf::Link value);
2204 private:
2205 ::jaiabot::protobuf::Link _internal_link() const;
2206 void _internal_set_link(::jaiabot::protobuf::Link value);
2207 public:
2208
2209 // optional .jaiabot.protobuf.IMUCalibrationState calibration_state = 55;
2210 bool has_calibration_state() const;
2211 private:
2212 bool _internal_has_calibration_state() const;
2213 public:
2214 void clear_calibration_state();
2215 ::jaiabot::protobuf::IMUCalibrationState calibration_state() const;
2216 void set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value);
2217 private:
2218 ::jaiabot::protobuf::IMUCalibrationState _internal_calibration_state() const;
2219 void _internal_set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value);
2220 public:
2221
2222 enum DCCLParameters { DCCL_ID = 81, DCCL_MAX_BYTES = 250 };
2223 typedef boost::units::time_dimension time_dimension;
2224
2225 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;
2226
2227 template<typename Quantity >
2228 void set_time_with_units(Quantity value_w_units)
2229 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2230
2231 template<typename Quantity >
2232 Quantity time_with_units() const
2233 { return Quantity(time() * time_unit()); };
2234
2235 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
2236 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
2237
2238 typedef boost::units::time_dimension last_command_time_dimension;
2239
2240 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;
2241
2242 template<typename Quantity >
2243 void set_last_command_time_with_units(Quantity value_w_units)
2244 { set_last_command_time(boost::units::quantity<last_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2245
2246 template<typename Quantity >
2248 { return Quantity(last_command_time() * last_command_time_unit()); };
2249
2250 boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > last_command_time_with_units() const
2251 { return last_command_time_with_units<boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > >(); };
2252
2253 typedef boost::units::length_dimension sensor_depth_dimension;
2254
2255 typedef boost::units::unit<sensor_depth_dimension,boost::units::si::system> sensor_depth_unit;
2256
2257 template<typename Quantity >
2258 void set_sensor_depth_with_units(Quantity value_w_units)
2259 { set_sensor_depth(boost::units::quantity<sensor_depth_unit,double >(value_w_units).value() ); };
2260
2261 template<typename Quantity >
2263 { return Quantity(sensor_depth() * sensor_depth_unit()); };
2264
2265 boost::units::quantity< sensor_depth_unit,double > sensor_depth_with_units() const
2266 { return sensor_depth_with_units<boost::units::quantity< sensor_depth_unit,double > >(); };
2267
2268 typedef boost::units::length_dimension depth_dimension;
2269
2270 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
2271
2272 template<typename Quantity >
2273 void set_depth_with_units(Quantity value_w_units)
2274 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
2275
2276 template<typename Quantity >
2277 Quantity depth_with_units() const
2278 { return Quantity(depth() * depth_unit()); };
2279
2280 boost::units::quantity< depth_unit,double > depth_with_units() const
2281 { return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
2282
2283 typedef boost::units::length_dimension distance_to_active_goal_dimension;
2284
2285 typedef boost::units::unit<distance_to_active_goal_dimension,boost::units::si::system> distance_to_active_goal_unit;
2286
2287 template<typename Quantity >
2288 void set_distance_to_active_goal_with_units(Quantity value_w_units)
2289 { set_distance_to_active_goal(boost::units::quantity<distance_to_active_goal_unit,double >(value_w_units).value() ); };
2290
2291 template<typename Quantity >
2293 { return Quantity(distance_to_active_goal() * distance_to_active_goal_unit()); };
2294
2295 boost::units::quantity< distance_to_active_goal_unit,double > distance_to_active_goal_with_units() const
2296 { return distance_to_active_goal_with_units<boost::units::quantity< distance_to_active_goal_unit,double > >(); };
2297
2298 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type active_goal_timeout_dimension;
2299
2300 typedef boost::units::unit<active_goal_timeout_dimension,boost::units::si::system> active_goal_timeout_unit;
2301
2302 template<typename Quantity >
2303 void set_active_goal_timeout_with_units(Quantity value_w_units)
2304 { set_active_goal_timeout(boost::units::quantity<active_goal_timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
2305
2306 template<typename Quantity >
2308 { return Quantity(active_goal_timeout() * active_goal_timeout_unit()); };
2309
2310 boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > active_goal_timeout_with_units() const
2311 { return active_goal_timeout_with_units<boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > >(); };
2312
2313 typedef boost::units::temperature_dimension temperature_dimension;
2314
2315 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
2316
2317 template<typename Quantity >
2318 void set_temperature_with_units(Quantity value_w_units)
2319 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
2320
2321 template<typename Quantity >
2322 Quantity temperature_with_units() const
2323 { return Quantity(temperature() * temperature_unit()); };
2324
2325 boost::units::quantity< temperature_unit,double > temperature_with_units() const
2326 { return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
2327
2328 typedef boost::units::time_dimension received_time_dimension;
2329
2330 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;
2331
2332 template<typename Quantity >
2333 void set_received_time_with_units(Quantity value_w_units)
2334 { set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2335
2336 template<typename Quantity >
2338 { return Quantity(received_time() * received_time_unit()); };
2339
2340 boost::units::quantity< received_time_unit,google::protobuf::uint64 > received_time_with_units() const
2341 { return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
2342
2343 typedef boost::units::time_dimension mission_command_time_dimension;
2344
2345 typedef boost::units::make_scaled_unit<boost::units::unit<mission_command_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type mission_command_time_unit;
2346
2347 template<typename Quantity >
2348 void set_mission_command_time_with_units(Quantity value_w_units)
2349 { set_mission_command_time(boost::units::quantity<mission_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2350
2351 template<typename Quantity >
2353 { return Quantity(mission_command_time() * mission_command_time_unit()); };
2354
2355 boost::units::quantity< mission_command_time_unit,google::protobuf::uint64 > mission_command_time_with_units() const
2356 { return mission_command_time_with_units<boost::units::quantity< mission_command_time_unit,google::protobuf::uint64 > >(); };
2357
2358 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus)
2359 private:
2360 class _Internal;
2361
2362 // helper for ByteSizeLong()
2363 size_t RequiredFieldsByteSizeFallback() const;
2364
2365 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2366 typedef void InternalArenaConstructable_;
2367 typedef void DestructorSkippable_;
2368 struct Impl_ {
2369 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2370 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2371 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> error_;
2372 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> warning_;
2373 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink > active_links_;
2374 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mission_name_;
2378 uint64_t time_;
2379 uint64_t last_command_time_;
2380 double sensor_depth_;
2381 double depth_;
2382 uint32_t bot_id_;
2383 int mission_state_;
2384 double distance_to_active_goal_;
2385 int32_t active_goal_;
2386 uint32_t active_goal_timeout_;
2387 int32_t repeat_index_;
2388 int32_t calibration_status_;
2389 double salinity_;
2390 double temperature_;
2391 double battery_percent_;
2392 double hdop_;
2393 double pdop_;
2394 uint64_t received_time_;
2395 uint64_t mission_command_time_;
2396 int32_t wifi_link_quality_percentage_;
2397 int health_state_;
2398 int bot_type_;
2399 int link_;
2400 int calibration_state_;
2401 };
2402 union { Impl_ _impl_; };
2403 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2404};
2405// -------------------------------------------------------------------
2406
2408 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DriftPacket.EstimatedDrift) */ {
2409 public:
2412 explicit PROTOBUF_CONSTEXPR DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2413
2417 *this = ::std::move(from);
2418 }
2419
2421 CopyFrom(from);
2422 return *this;
2423 }
2425 if (this == &from) return *this;
2426 if (GetOwningArena() == from.GetOwningArena()
2427 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2428 && GetOwningArena() != nullptr
2429 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2430 ) {
2431 InternalSwap(&from);
2432 } else {
2433 CopyFrom(from);
2434 }
2435 return *this;
2436 }
2437
2438 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2439 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2440 }
2441 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2442 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2443 }
2444
2445 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2446 return GetDescriptor();
2447 }
2448 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2449 return default_instance().GetMetadata().descriptor;
2450 }
2451 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2452 return default_instance().GetMetadata().reflection;
2453 }
2455 return *internal_default_instance();
2456 }
2461 static constexpr int kIndexInFileMessages =
2462 6;
2463
2465 a.Swap(&b);
2466 }
2467 inline void Swap(DriftPacket_EstimatedDrift* other) {
2468 if (other == this) return;
2469 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2470 if (GetOwningArena() != nullptr &&
2471 GetOwningArena() == other->GetOwningArena()) {
2472 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2473 if (GetOwningArena() == other->GetOwningArena()) {
2474 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2475 InternalSwap(other);
2476 } else {
2477 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2478 }
2479 }
2481 if (other == this) return;
2482 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2483 InternalSwap(other);
2484 }
2485
2486 // implements Message ----------------------------------------------
2487
2488 DriftPacket_EstimatedDrift* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2489 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(arena);
2490 }
2491 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2493 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2495 DriftPacket_EstimatedDrift::MergeImpl(*this, from);
2496 }
2497 private:
2498 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2499 public:
2500 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2501 bool IsInitialized() const final;
2502
2503 size_t ByteSizeLong() const final;
2504 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2505 uint8_t* _InternalSerialize(
2506 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2507 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2508
2509 private:
2510 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2511 void SharedDtor();
2512 void SetCachedSize(int size) const final;
2513 void InternalSwap(DriftPacket_EstimatedDrift* other);
2514
2515 private:
2516 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2517 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2518 return "jaiabot.protobuf.DriftPacket.EstimatedDrift";
2519 }
2520 protected:
2521 explicit DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2522 bool is_message_owned = false);
2523 public:
2524
2525 static const ClassData _class_data_;
2526 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2527
2528 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2529
2530 // nested types ----------------------------------------------------
2531
2532 // accessors -------------------------------------------------------
2533
2534 enum : int {
2535 kSpeedFieldNumber = 1,
2536 kHeadingFieldNumber = 3,
2537 };
2538 // required double speed = 1 [(.dccl.field) = {
2539 bool has_speed() const;
2540 private:
2541 bool _internal_has_speed() const;
2542 public:
2543 void clear_speed();
2544 double speed() const;
2545 void set_speed(double value);
2546 private:
2547 double _internal_speed() const;
2548 void _internal_set_speed(double value);
2549 public:
2550
2551 // optional double heading = 3 [(.dccl.field) = {
2552 bool has_heading() const;
2553 private:
2554 bool _internal_has_heading() const;
2555 public:
2556 void clear_heading();
2557 double heading() const;
2558 void set_heading(double value);
2559 private:
2560 double _internal_heading() const;
2561 void _internal_set_heading(double value);
2562 public:
2563
2564 typedef boost::units::velocity_dimension speed_dimension;
2565
2566 typedef boost::units::unit<speed_dimension,boost::units::si::system> speed_unit;
2567
2568 template<typename Quantity >
2569 void set_speed_with_units(Quantity value_w_units)
2570 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
2571
2572 template<typename Quantity >
2573 Quantity speed_with_units() const
2574 { return Quantity(speed() * speed_unit()); };
2575
2576 boost::units::quantity< speed_unit,double > speed_with_units() const
2577 { return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
2578
2579 typedef boost::units::plane_angle_dimension heading_dimension;
2580
2581 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
2582
2583 template<typename Quantity >
2584 void set_heading_with_units(Quantity value_w_units)
2585 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
2586
2587 template<typename Quantity >
2588 Quantity heading_with_units() const
2589 { return Quantity(heading() * heading_unit()); };
2590
2591 boost::units::quantity< heading_unit,double > heading_with_units() const
2592 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
2593
2594 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DriftPacket.EstimatedDrift)
2595 private:
2596 class _Internal;
2597
2598 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2599 typedef void InternalArenaConstructable_;
2600 typedef void DestructorSkippable_;
2601 struct Impl_ {
2602 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2603 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2604 double speed_;
2605 double heading_;
2606 };
2607 union { Impl_ _impl_; };
2608 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2609};
2610// -------------------------------------------------------------------
2611
2612class DriftPacket final :
2613 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DriftPacket) */ {
2614 public:
2615 inline DriftPacket() : DriftPacket(nullptr) {}
2616 ~DriftPacket() override;
2617 explicit PROTOBUF_CONSTEXPR DriftPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2618
2620 DriftPacket(DriftPacket&& from) noexcept
2621 : DriftPacket() {
2622 *this = ::std::move(from);
2623 }
2624
2625 inline DriftPacket& operator=(const DriftPacket& from) {
2626 CopyFrom(from);
2627 return *this;
2628 }
2629 inline DriftPacket& operator=(DriftPacket&& from) noexcept {
2630 if (this == &from) return *this;
2631 if (GetOwningArena() == from.GetOwningArena()
2632 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2633 && GetOwningArena() != nullptr
2634 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2635 ) {
2636 InternalSwap(&from);
2637 } else {
2638 CopyFrom(from);
2639 }
2640 return *this;
2641 }
2642
2643 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2644 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2645 }
2646 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2647 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2648 }
2649
2650 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2651 return GetDescriptor();
2652 }
2653 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2654 return default_instance().GetMetadata().descriptor;
2655 }
2656 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2657 return default_instance().GetMetadata().reflection;
2658 }
2660 return *internal_default_instance();
2661 }
2663 return reinterpret_cast<const DriftPacket*>(
2665 }
2666 static constexpr int kIndexInFileMessages =
2667 7;
2668
2669 friend void swap(DriftPacket& a, DriftPacket& b) {
2670 a.Swap(&b);
2671 }
2672 inline void Swap(DriftPacket* other) {
2673 if (other == this) return;
2674 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2675 if (GetOwningArena() != nullptr &&
2676 GetOwningArena() == other->GetOwningArena()) {
2677 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2678 if (GetOwningArena() == other->GetOwningArena()) {
2679 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2680 InternalSwap(other);
2681 } else {
2682 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2683 }
2684 }
2686 if (other == this) return;
2687 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2688 InternalSwap(other);
2689 }
2690
2691 // implements Message ----------------------------------------------
2692
2693 DriftPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2694 return CreateMaybeMessage<DriftPacket>(arena);
2695 }
2696 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2697 void CopyFrom(const DriftPacket& from);
2698 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2699 void MergeFrom( const DriftPacket& from) {
2700 DriftPacket::MergeImpl(*this, from);
2701 }
2702 private:
2703 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2704 public:
2705 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2706 bool IsInitialized() const final;
2707
2708 size_t ByteSizeLong() const final;
2709 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2710 uint8_t* _InternalSerialize(
2711 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2712 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2713
2714 private:
2715 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2716 void SharedDtor();
2717 void SetCachedSize(int size) const final;
2718 void InternalSwap(DriftPacket* other);
2719
2720 private:
2721 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2722 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2723 return "jaiabot.protobuf.DriftPacket";
2724 }
2725 protected:
2726 explicit DriftPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2727 bool is_message_owned = false);
2728 public:
2729
2730 static const ClassData _class_data_;
2731 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2732
2733 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2734
2735 // nested types ----------------------------------------------------
2736
2738
2739 // accessors -------------------------------------------------------
2740
2741 enum : int {
2742 kEstimatedDriftFieldNumber = 10,
2743 kStartLocationFieldNumber = 11,
2744 kEndLocationFieldNumber = 12,
2745 kSignificantWaveHeightFieldNumber = 13,
2746 kDriftDurationFieldNumber = 1,
2747 };
2748 // optional .jaiabot.protobuf.DriftPacket.EstimatedDrift estimated_drift = 10 [(.jaia.field) = {
2749 bool has_estimated_drift() const;
2750 private:
2751 bool _internal_has_estimated_drift() const;
2752 public:
2753 void clear_estimated_drift();
2754 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& estimated_drift() const;
2755 PROTOBUF_NODISCARD ::jaiabot::protobuf::DriftPacket_EstimatedDrift* release_estimated_drift();
2756 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* mutable_estimated_drift();
2757 void set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift);
2758 private:
2759 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& _internal_estimated_drift() const;
2760 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* _internal_mutable_estimated_drift();
2761 public:
2762 void unsafe_arena_set_allocated_estimated_drift(
2764 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* unsafe_arena_release_estimated_drift();
2765
2766 // optional .jaiabot.protobuf.GeographicCoordinate start_location = 11 [(.jaia.field) = {
2767 bool has_start_location() const;
2768 private:
2769 bool _internal_has_start_location() const;
2770 public:
2772 const ::jaiabot::protobuf::GeographicCoordinate& start_location() const;
2773 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
2774 ::jaiabot::protobuf::GeographicCoordinate* mutable_start_location();
2775 void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location);
2776 private:
2777 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location() const;
2778 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
2779 public:
2780 void unsafe_arena_set_allocated_start_location(
2782 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_start_location();
2783
2784 // optional .jaiabot.protobuf.GeographicCoordinate end_location = 12 [(.jaia.field) = {
2785 bool has_end_location() const;
2786 private:
2787 bool _internal_has_end_location() const;
2788 public:
2790 const ::jaiabot::protobuf::GeographicCoordinate& end_location() const;
2791 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_end_location();
2792 ::jaiabot::protobuf::GeographicCoordinate* mutable_end_location();
2793 void set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate* end_location);
2794 private:
2795 const ::jaiabot::protobuf::GeographicCoordinate& _internal_end_location() const;
2796 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_end_location();
2797 public:
2798 void unsafe_arena_set_allocated_end_location(
2800 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_end_location();
2801
2802 // optional double significant_wave_height = 13 [(.dccl.field) = {
2803 bool has_significant_wave_height() const;
2804 private:
2805 bool _internal_has_significant_wave_height() const;
2806 public:
2807 void clear_significant_wave_height();
2808 double significant_wave_height() const;
2809 void set_significant_wave_height(double value);
2810 private:
2811 double _internal_significant_wave_height() const;
2812 void _internal_set_significant_wave_height(double value);
2813 public:
2814
2815 // optional int32 drift_duration = 1 [default = 0, (.dccl.field) = {
2816 bool has_drift_duration() const;
2817 private:
2818 bool _internal_has_drift_duration() const;
2819 public:
2820 void clear_drift_duration();
2821 int32_t drift_duration() const;
2822 void set_drift_duration(int32_t value);
2823 private:
2824 int32_t _internal_drift_duration() const;
2825 void _internal_set_drift_duration(int32_t value);
2826 public:
2827
2828 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type drift_duration_dimension;
2829
2830 typedef boost::units::unit<drift_duration_dimension,boost::units::si::system> drift_duration_unit;
2831
2832 template<typename Quantity >
2833 void set_drift_duration_with_units(Quantity value_w_units)
2834 { set_drift_duration(boost::units::quantity<drift_duration_unit,google::protobuf::int32 >(value_w_units).value() ); };
2835
2836 template<typename Quantity >
2838 { return Quantity(drift_duration() * drift_duration_unit()); };
2839
2840 boost::units::quantity< drift_duration_unit,google::protobuf::int32 > drift_duration_with_units() const
2841 { return drift_duration_with_units<boost::units::quantity< drift_duration_unit,google::protobuf::int32 > >(); };
2842
2843 typedef boost::units::length_dimension significant_wave_height_dimension;
2844
2845 typedef boost::units::unit<significant_wave_height_dimension,boost::units::si::system> significant_wave_height_unit;
2846
2847 template<typename Quantity >
2848 void set_significant_wave_height_with_units(Quantity value_w_units)
2849 { set_significant_wave_height(boost::units::quantity<significant_wave_height_unit,double >(value_w_units).value() ); };
2850
2851 template<typename Quantity >
2853 { return Quantity(significant_wave_height() * significant_wave_height_unit()); };
2854
2855 boost::units::quantity< significant_wave_height_unit,double > significant_wave_height_with_units() const
2856 { return significant_wave_height_with_units<boost::units::quantity< significant_wave_height_unit,double > >(); };
2857
2858 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DriftPacket)
2859 private:
2860 class _Internal;
2861
2862 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2863 typedef void InternalArenaConstructable_;
2864 typedef void DestructorSkippable_;
2865 struct Impl_ {
2866 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2867 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2871 double significant_wave_height_;
2872 int32_t drift_duration_;
2873 };
2874 union { Impl_ _impl_; };
2875 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2876};
2877// -------------------------------------------------------------------
2878
2880 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket.Measurements) */ {
2881 public:
2884 explicit PROTOBUF_CONSTEXPR DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2885
2889 *this = ::std::move(from);
2890 }
2891
2893 CopyFrom(from);
2894 return *this;
2895 }
2897 if (this == &from) return *this;
2898 if (GetOwningArena() == from.GetOwningArena()
2899 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2900 && GetOwningArena() != nullptr
2901 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2902 ) {
2903 InternalSwap(&from);
2904 } else {
2905 CopyFrom(from);
2906 }
2907 return *this;
2908 }
2909
2910 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2911 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2912 }
2913 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2914 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2915 }
2916
2917 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2918 return GetDescriptor();
2919 }
2920 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2921 return default_instance().GetMetadata().descriptor;
2922 }
2923 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2924 return default_instance().GetMetadata().reflection;
2925 }
2927 return *internal_default_instance();
2928 }
2930 return reinterpret_cast<const DivePacket_Measurements*>(
2932 }
2933 static constexpr int kIndexInFileMessages =
2934 8;
2935
2937 a.Swap(&b);
2938 }
2939 inline void Swap(DivePacket_Measurements* other) {
2940 if (other == this) return;
2941 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2942 if (GetOwningArena() != nullptr &&
2943 GetOwningArena() == other->GetOwningArena()) {
2944 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2945 if (GetOwningArena() == other->GetOwningArena()) {
2946 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2947 InternalSwap(other);
2948 } else {
2949 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2950 }
2951 }
2953 if (other == this) return;
2954 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2955 InternalSwap(other);
2956 }
2957
2958 // implements Message ----------------------------------------------
2959
2960 DivePacket_Measurements* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2961 return CreateMaybeMessage<DivePacket_Measurements>(arena);
2962 }
2963 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2965 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2967 DivePacket_Measurements::MergeImpl(*this, from);
2968 }
2969 private:
2970 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2971 public:
2972 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2973 bool IsInitialized() const final;
2974
2975 size_t ByteSizeLong() const final;
2976 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2977 uint8_t* _InternalSerialize(
2978 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2979 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2980
2981 private:
2982 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2983 void SharedDtor();
2984 void SetCachedSize(int size) const final;
2985 void InternalSwap(DivePacket_Measurements* other);
2986
2987 private:
2988 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2989 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2990 return "jaiabot.protobuf.DivePacket.Measurements";
2991 }
2992 protected:
2993 explicit DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2994 bool is_message_owned = false);
2995 public:
2996
2997 static const ClassData _class_data_;
2998 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2999
3000 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3001
3002 // nested types ----------------------------------------------------
3003
3004 // accessors -------------------------------------------------------
3005
3006 enum : int {
3007 kMeanDepthFieldNumber = 1,
3008 kMeanTemperatureFieldNumber = 2,
3009 kMeanSalinityFieldNumber = 3,
3010 };
3011 // optional double mean_depth = 1 [(.dccl.field) = {
3012 bool has_mean_depth() const;
3013 private:
3014 bool _internal_has_mean_depth() const;
3015 public:
3016 void clear_mean_depth();
3017 double mean_depth() const;
3018 void set_mean_depth(double value);
3019 private:
3020 double _internal_mean_depth() const;
3021 void _internal_set_mean_depth(double value);
3022 public:
3023
3024 // optional double mean_temperature = 2 [(.dccl.field) = {
3025 bool has_mean_temperature() const;
3026 private:
3027 bool _internal_has_mean_temperature() const;
3028 public:
3029 void clear_mean_temperature();
3030 double mean_temperature() const;
3031 void set_mean_temperature(double value);
3032 private:
3033 double _internal_mean_temperature() const;
3034 void _internal_set_mean_temperature(double value);
3035 public:
3036
3037 // optional double mean_salinity = 3 [(.dccl.field) = {
3038 bool has_mean_salinity() const;
3039 private:
3040 bool _internal_has_mean_salinity() const;
3041 public:
3042 void clear_mean_salinity();
3043 double mean_salinity() const;
3044 void set_mean_salinity(double value);
3045 private:
3046 double _internal_mean_salinity() const;
3047 void _internal_set_mean_salinity(double value);
3048 public:
3049
3050 typedef boost::units::length_dimension mean_depth_dimension;
3051
3052 typedef boost::units::unit<mean_depth_dimension,boost::units::si::system> mean_depth_unit;
3053
3054 template<typename Quantity >
3055 void set_mean_depth_with_units(Quantity value_w_units)
3056 { set_mean_depth(boost::units::quantity<mean_depth_unit,double >(value_w_units).value() ); };
3057
3058 template<typename Quantity >
3059 Quantity mean_depth_with_units() const
3060 { return Quantity(mean_depth() * mean_depth_unit()); };
3061
3062 boost::units::quantity< mean_depth_unit,double > mean_depth_with_units() const
3063 { return mean_depth_with_units<boost::units::quantity< mean_depth_unit,double > >(); };
3064
3065 typedef boost::units::temperature_dimension mean_temperature_dimension;
3066
3067 typedef boost::units::absolute<boost::units::unit<mean_temperature_dimension,boost::units::celsius::system> > mean_temperature_unit;
3068
3069 template<typename Quantity >
3070 void set_mean_temperature_with_units(Quantity value_w_units)
3071 { set_mean_temperature(boost::units::quantity<mean_temperature_unit,double >(value_w_units).value() ); };
3072
3073 template<typename Quantity >
3075 { return Quantity(mean_temperature() * mean_temperature_unit()); };
3076
3077 boost::units::quantity< mean_temperature_unit,double > mean_temperature_with_units() const
3078 { return mean_temperature_with_units<boost::units::quantity< mean_temperature_unit,double > >(); };
3079
3080 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket.Measurements)
3081 private:
3082 class _Internal;
3083
3084 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3085 typedef void InternalArenaConstructable_;
3086 typedef void DestructorSkippable_;
3087 struct Impl_ {
3088 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3089 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3090 double mean_depth_;
3091 double mean_temperature_;
3092 double mean_salinity_;
3093 };
3094 union { Impl_ _impl_; };
3095 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3096};
3097// -------------------------------------------------------------------
3098
3100 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector) */ {
3101 public:
3104 explicit PROTOBUF_CONSTEXPR DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3105
3111
3113 CopyFrom(from);
3114 return *this;
3115 }
3117 if (this == &from) return *this;
3118 if (GetOwningArena() == from.GetOwningArena()
3119 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3120 && GetOwningArena() != nullptr
3121 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3122 ) {
3123 InternalSwap(&from);
3124 } else {
3125 CopyFrom(from);
3126 }
3127 return *this;
3128 }
3129
3130 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3131 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3132 }
3133 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3134 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3135 }
3136
3137 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3138 return GetDescriptor();
3139 }
3140 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3141 return default_instance().GetMetadata().descriptor;
3142 }
3143 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3144 return default_instance().GetMetadata().reflection;
3145 }
3147 return *internal_default_instance();
3148 }
3153 static constexpr int kIndexInFileMessages =
3154 9;
3155
3160 if (other == this) return;
3161 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3162 if (GetOwningArena() != nullptr &&
3163 GetOwningArena() == other->GetOwningArena()) {
3164 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3165 if (GetOwningArena() == other->GetOwningArena()) {
3166 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3167 InternalSwap(other);
3168 } else {
3169 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3170 }
3171 }
3173 if (other == this) return;
3174 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3175 InternalSwap(other);
3176 }
3177
3178 // implements Message ----------------------------------------------
3179
3180 DivePacket_SubsurfaceCurrentVector* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3181 return CreateMaybeMessage<DivePacket_SubsurfaceCurrentVector>(arena);
3182 }
3183 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3185 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3187 DivePacket_SubsurfaceCurrentVector::MergeImpl(*this, from);
3188 }
3189 private:
3190 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3191 public:
3192 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3193 bool IsInitialized() const final;
3194
3195 size_t ByteSizeLong() const final;
3196 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3197 uint8_t* _InternalSerialize(
3198 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3199 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3200
3201 private:
3202 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3203 void SharedDtor();
3204 void SetCachedSize(int size) const final;
3205 void InternalSwap(DivePacket_SubsurfaceCurrentVector* other);
3206
3207 private:
3208 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3209 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3210 return "jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector";
3211 }
3212 protected:
3213 explicit DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3214 bool is_message_owned = false);
3215 public:
3216
3217 static const ClassData _class_data_;
3218 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3219
3220 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3221
3222 // nested types ----------------------------------------------------
3223
3224 // accessors -------------------------------------------------------
3225
3226 enum : int {
3227 kVelocityFieldNumber = 1,
3228 kHeadingFieldNumber = 2,
3229 };
3230 // required double velocity = 1 [(.dccl.field) = {
3231 bool has_velocity() const;
3232 private:
3233 bool _internal_has_velocity() const;
3234 public:
3235 void clear_velocity();
3236 double velocity() const;
3237 void set_velocity(double value);
3238 private:
3239 double _internal_velocity() const;
3240 void _internal_set_velocity(double value);
3241 public:
3242
3243 // required double heading = 2 [(.dccl.field) = {
3244 bool has_heading() const;
3245 private:
3246 bool _internal_has_heading() const;
3247 public:
3248 void clear_heading();
3249 double heading() const;
3250 void set_heading(double value);
3251 private:
3252 double _internal_heading() const;
3253 void _internal_set_heading(double value);
3254 public:
3255
3256 typedef boost::units::velocity_dimension velocity_dimension;
3257
3258 typedef boost::units::unit<velocity_dimension,boost::units::si::system> velocity_unit;
3259
3260 template<typename Quantity >
3261 void set_velocity_with_units(Quantity value_w_units)
3262 { set_velocity(boost::units::quantity<velocity_unit,double >(value_w_units).value() ); };
3263
3264 template<typename Quantity >
3265 Quantity velocity_with_units() const
3266 { return Quantity(velocity() * velocity_unit()); };
3267
3268 boost::units::quantity< velocity_unit,double > velocity_with_units() const
3269 { return velocity_with_units<boost::units::quantity< velocity_unit,double > >(); };
3270
3271 typedef boost::units::plane_angle_dimension heading_dimension;
3272
3273 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
3274
3275 template<typename Quantity >
3276 void set_heading_with_units(Quantity value_w_units)
3277 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
3278
3279 template<typename Quantity >
3280 Quantity heading_with_units() const
3281 { return Quantity(heading() * heading_unit()); };
3282
3283 boost::units::quantity< heading_unit,double > heading_with_units() const
3284 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
3285
3286 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector)
3287 private:
3288 class _Internal;
3289
3290 // helper for ByteSizeLong()
3291 size_t RequiredFieldsByteSizeFallback() const;
3292
3293 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3294 typedef void InternalArenaConstructable_;
3295 typedef void DestructorSkippable_;
3296 struct Impl_ {
3297 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3298 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3299 double velocity_;
3300 double heading_;
3301 };
3302 union { Impl_ _impl_; };
3303 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3304};
3305// -------------------------------------------------------------------
3306
3307class DivePacket final :
3308 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket) */ {
3309 public:
3310 inline DivePacket() : DivePacket(nullptr) {}
3311 ~DivePacket() override;
3312 explicit PROTOBUF_CONSTEXPR DivePacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3313
3315 DivePacket(DivePacket&& from) noexcept
3316 : DivePacket() {
3317 *this = ::std::move(from);
3318 }
3319
3320 inline DivePacket& operator=(const DivePacket& from) {
3321 CopyFrom(from);
3322 return *this;
3323 }
3324 inline DivePacket& operator=(DivePacket&& from) noexcept {
3325 if (this == &from) return *this;
3326 if (GetOwningArena() == from.GetOwningArena()
3327 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3328 && GetOwningArena() != nullptr
3329 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3330 ) {
3331 InternalSwap(&from);
3332 } else {
3333 CopyFrom(from);
3334 }
3335 return *this;
3336 }
3337
3338 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3339 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3340 }
3341 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3342 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3343 }
3344
3345 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3346 return GetDescriptor();
3347 }
3348 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3349 return default_instance().GetMetadata().descriptor;
3350 }
3351 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3352 return default_instance().GetMetadata().reflection;
3353 }
3355 return *internal_default_instance();
3356 }
3357 static inline const DivePacket* internal_default_instance() {
3358 return reinterpret_cast<const DivePacket*>(
3360 }
3361 static constexpr int kIndexInFileMessages =
3362 10;
3363
3364 friend void swap(DivePacket& a, DivePacket& b) {
3365 a.Swap(&b);
3366 }
3367 inline void Swap(DivePacket* other) {
3368 if (other == this) return;
3369 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3370 if (GetOwningArena() != nullptr &&
3371 GetOwningArena() == other->GetOwningArena()) {
3372 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3373 if (GetOwningArena() == other->GetOwningArena()) {
3374 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3375 InternalSwap(other);
3376 } else {
3377 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3378 }
3379 }
3381 if (other == this) return;
3382 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3383 InternalSwap(other);
3384 }
3385
3386 // implements Message ----------------------------------------------
3387
3388 DivePacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3389 return CreateMaybeMessage<DivePacket>(arena);
3390 }
3391 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3392 void CopyFrom(const DivePacket& from);
3393 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3394 void MergeFrom( const DivePacket& from) {
3395 DivePacket::MergeImpl(*this, from);
3396 }
3397 private:
3398 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3399 public:
3400 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3401 bool IsInitialized() const final;
3402
3403 size_t ByteSizeLong() const final;
3404 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3405 uint8_t* _InternalSerialize(
3406 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3407 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3408
3409 private:
3410 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3411 void SharedDtor();
3412 void SetCachedSize(int size) const final;
3413 void InternalSwap(DivePacket* other);
3414
3415 private:
3416 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3417 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3418 return "jaiabot.protobuf.DivePacket";
3419 }
3420 protected:
3421 explicit DivePacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3422 bool is_message_owned = false);
3423 public:
3424
3425 static const ClassData _class_data_;
3426 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3427
3428 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3429
3430 // nested types ----------------------------------------------------
3431
3434
3436 static constexpr BottomType HARD =
3437 DivePacket_BottomType_HARD;
3438 static constexpr BottomType SOFT =
3439 DivePacket_BottomType_SOFT;
3440 static inline bool BottomType_IsValid(int value) {
3441 return DivePacket_BottomType_IsValid(value);
3442 }
3443 static constexpr BottomType BottomType_MIN =
3445 static constexpr BottomType BottomType_MAX =
3447 static constexpr int BottomType_ARRAYSIZE =
3449 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
3453 template<typename T>
3454 static inline const std::string& BottomType_Name(T enum_t_value) {
3455 static_assert(::std::is_same<T, BottomType>::value ||
3456 ::std::is_integral<T>::value,
3457 "Incorrect type passed to function BottomType_Name.");
3458 return DivePacket_BottomType_Name(enum_t_value);
3459 }
3460 static inline bool BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3461 BottomType* value) {
3462 return DivePacket_BottomType_Parse(name, value);
3463 }
3464
3465 // accessors -------------------------------------------------------
3466
3467 enum : int {
3468 kMeasurementFieldNumber = 14,
3469 kStartLocationFieldNumber = 15,
3470 kSubsurfaceCurrentFieldNumber = 21,
3471 kDiveRateFieldNumber = 10,
3472 kUnpoweredRiseRateFieldNumber = 11,
3473 kPoweredRiseRateFieldNumber = 12,
3474 kDepthAchievedFieldNumber = 13,
3475 kDurationToAcquireGpsFieldNumber = 16,
3476 kMaxAccelerationFieldNumber = 20,
3477 kBottomDiveFieldNumber = 17,
3478 kReachedMinDepthFieldNumber = 18,
3479 kBottomTypeFieldNumber = 19,
3480 };
3481 // repeated .jaiabot.protobuf.DivePacket.Measurements measurement = 14 [(.dccl.field) = {
3482 int measurement_size() const;
3483 private:
3484 int _internal_measurement_size() const;
3485 public:
3486 void clear_measurement();
3487 ::jaiabot::protobuf::DivePacket_Measurements* mutable_measurement(int index);
3488 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
3489 mutable_measurement();
3490 private:
3491 const ::jaiabot::protobuf::DivePacket_Measurements& _internal_measurement(int index) const;
3492 ::jaiabot::protobuf::DivePacket_Measurements* _internal_add_measurement();
3493 public:
3494 const ::jaiabot::protobuf::DivePacket_Measurements& measurement(int index) const;
3496 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
3497 measurement() const;
3498
3499 // optional .jaiabot.protobuf.GeographicCoordinate start_location = 15 [(.jaia.field) = {
3500 bool has_start_location() const;
3501 private:
3502 bool _internal_has_start_location() const;
3503 public:
3505 const ::jaiabot::protobuf::GeographicCoordinate& start_location() const;
3506 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
3507 ::jaiabot::protobuf::GeographicCoordinate* mutable_start_location();
3508 void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location);
3509 private:
3510 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location() const;
3511 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
3512 public:
3513 void unsafe_arena_set_allocated_start_location(
3515 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_start_location();
3516
3517 // optional .jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector subsurface_current = 21 [(.jaia.field) = {
3518 bool has_subsurface_current() const;
3519 private:
3520 bool _internal_has_subsurface_current() const;
3521 public:
3522 void clear_subsurface_current();
3523 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& subsurface_current() const;
3524 PROTOBUF_NODISCARD ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* release_subsurface_current();
3525 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* mutable_subsurface_current();
3526 void set_allocated_subsurface_current(::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* subsurface_current);
3527 private:
3528 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& _internal_subsurface_current() const;
3529 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* _internal_mutable_subsurface_current();
3530 public:
3531 void unsafe_arena_set_allocated_subsurface_current(
3533 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* unsafe_arena_release_subsurface_current();
3534
3535 // required double dive_rate = 10 [(.dccl.field) = {
3536 bool has_dive_rate() const;
3537 private:
3538 bool _internal_has_dive_rate() const;
3539 public:
3540 void clear_dive_rate();
3541 double dive_rate() const;
3542 void set_dive_rate(double value);
3543 private:
3544 double _internal_dive_rate() const;
3545 void _internal_set_dive_rate(double value);
3546 public:
3547
3548 // optional double unpowered_rise_rate = 11 [(.dccl.field) = {
3549 bool has_unpowered_rise_rate() const;
3550 private:
3551 bool _internal_has_unpowered_rise_rate() const;
3552 public:
3553 void clear_unpowered_rise_rate();
3554 double unpowered_rise_rate() const;
3555 void set_unpowered_rise_rate(double value);
3556 private:
3557 double _internal_unpowered_rise_rate() const;
3558 void _internal_set_unpowered_rise_rate(double value);
3559 public:
3560
3561 // optional double powered_rise_rate = 12 [(.dccl.field) = {
3562 bool has_powered_rise_rate() const;
3563 private:
3564 bool _internal_has_powered_rise_rate() const;
3565 public:
3566 void clear_powered_rise_rate();
3567 double powered_rise_rate() const;
3568 void set_powered_rise_rate(double value);
3569 private:
3570 double _internal_powered_rise_rate() const;
3571 void _internal_set_powered_rise_rate(double value);
3572 public:
3573
3574 // required double depth_achieved = 13 [(.dccl.field) = {
3575 bool has_depth_achieved() const;
3576 private:
3577 bool _internal_has_depth_achieved() const;
3578 public:
3579 void clear_depth_achieved();
3580 double depth_achieved() const;
3581 void set_depth_achieved(double value);
3582 private:
3583 double _internal_depth_achieved() const;
3584 void _internal_set_depth_achieved(double value);
3585 public:
3586
3587 // optional double duration_to_acquire_gps = 16 [(.dccl.field) = {
3588 bool has_duration_to_acquire_gps() const;
3589 private:
3590 bool _internal_has_duration_to_acquire_gps() const;
3591 public:
3592 void clear_duration_to_acquire_gps();
3593 double duration_to_acquire_gps() const;
3594 void set_duration_to_acquire_gps(double value);
3595 private:
3596 double _internal_duration_to_acquire_gps() const;
3597 void _internal_set_duration_to_acquire_gps(double value);
3598 public:
3599
3600 // optional double max_acceleration = 20 [(.dccl.field) = {
3601 bool has_max_acceleration() const;
3602 private:
3603 bool _internal_has_max_acceleration() const;
3604 public:
3605 void clear_max_acceleration();
3606 double max_acceleration() const;
3607 void set_max_acceleration(double value);
3608 private:
3609 double _internal_max_acceleration() const;
3610 void _internal_set_max_acceleration(double value);
3611 public:
3612
3613 // optional bool bottom_dive = 17 [default = false, (.jaia.field) = {
3614 bool has_bottom_dive() const;
3615 private:
3616 bool _internal_has_bottom_dive() const;
3617 public:
3618 void clear_bottom_dive();
3619 bool bottom_dive() const;
3620 void set_bottom_dive(bool value);
3621 private:
3622 bool _internal_bottom_dive() const;
3623 void _internal_set_bottom_dive(bool value);
3624 public:
3625
3626 // optional bool reached_min_depth = 18 [default = false, (.jaia.field) = {
3627 bool has_reached_min_depth() const;
3628 private:
3629 bool _internal_has_reached_min_depth() const;
3630 public:
3631 void clear_reached_min_depth();
3632 bool reached_min_depth() const;
3633 void set_reached_min_depth(bool value);
3634 private:
3635 bool _internal_reached_min_depth() const;
3636 void _internal_set_reached_min_depth(bool value);
3637 public:
3638
3639 // optional .jaiabot.protobuf.DivePacket.BottomType bottom_type = 19 [(.jaia.field) = {
3640 bool has_bottom_type() const;
3641 private:
3642 bool _internal_has_bottom_type() const;
3643 public:
3644 void clear_bottom_type();
3646 void set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value);
3647 private:
3648 ::jaiabot::protobuf::DivePacket_BottomType _internal_bottom_type() const;
3649 void _internal_set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value);
3650 public:
3651
3652 typedef boost::units::velocity_dimension dive_rate_dimension;
3653
3654 typedef boost::units::unit<dive_rate_dimension,boost::units::si::system> dive_rate_unit;
3655
3656 template<typename Quantity >
3657 void set_dive_rate_with_units(Quantity value_w_units)
3658 { set_dive_rate(boost::units::quantity<dive_rate_unit,double >(value_w_units).value() ); };
3659
3660 template<typename Quantity >
3661 Quantity dive_rate_with_units() const
3662 { return Quantity(dive_rate() * dive_rate_unit()); };
3663
3664 boost::units::quantity< dive_rate_unit,double > dive_rate_with_units() const
3665 { return dive_rate_with_units<boost::units::quantity< dive_rate_unit,double > >(); };
3666
3667 typedef boost::units::velocity_dimension unpowered_rise_rate_dimension;
3668
3669 typedef boost::units::unit<unpowered_rise_rate_dimension,boost::units::si::system> unpowered_rise_rate_unit;
3670
3671 template<typename Quantity >
3672 void set_unpowered_rise_rate_with_units(Quantity value_w_units)
3673 { set_unpowered_rise_rate(boost::units::quantity<unpowered_rise_rate_unit,double >(value_w_units).value() ); };
3674
3675 template<typename Quantity >
3677 { return Quantity(unpowered_rise_rate() * unpowered_rise_rate_unit()); };
3678
3679 boost::units::quantity< unpowered_rise_rate_unit,double > unpowered_rise_rate_with_units() const
3680 { return unpowered_rise_rate_with_units<boost::units::quantity< unpowered_rise_rate_unit,double > >(); };
3681
3682 typedef boost::units::velocity_dimension powered_rise_rate_dimension;
3683
3684 typedef boost::units::unit<powered_rise_rate_dimension,boost::units::si::system> powered_rise_rate_unit;
3685
3686 template<typename Quantity >
3687 void set_powered_rise_rate_with_units(Quantity value_w_units)
3688 { set_powered_rise_rate(boost::units::quantity<powered_rise_rate_unit,double >(value_w_units).value() ); };
3689
3690 template<typename Quantity >
3692 { return Quantity(powered_rise_rate() * powered_rise_rate_unit()); };
3693
3694 boost::units::quantity< powered_rise_rate_unit,double > powered_rise_rate_with_units() const
3695 { return powered_rise_rate_with_units<boost::units::quantity< powered_rise_rate_unit,double > >(); };
3696
3697 typedef boost::units::length_dimension depth_achieved_dimension;
3698
3699 typedef boost::units::unit<depth_achieved_dimension,boost::units::si::system> depth_achieved_unit;
3700
3701 template<typename Quantity >
3702 void set_depth_achieved_with_units(Quantity value_w_units)
3703 { set_depth_achieved(boost::units::quantity<depth_achieved_unit,double >(value_w_units).value() ); };
3704
3705 template<typename Quantity >
3707 { return Quantity(depth_achieved() * depth_achieved_unit()); };
3708
3709 boost::units::quantity< depth_achieved_unit,double > depth_achieved_with_units() const
3710 { return depth_achieved_with_units<boost::units::quantity< depth_achieved_unit,double > >(); };
3711
3712 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type duration_to_acquire_gps_dimension;
3713
3714 typedef boost::units::unit<duration_to_acquire_gps_dimension,boost::units::si::system> duration_to_acquire_gps_unit;
3715
3716 template<typename Quantity >
3717 void set_duration_to_acquire_gps_with_units(Quantity value_w_units)
3718 { set_duration_to_acquire_gps(boost::units::quantity<duration_to_acquire_gps_unit,double >(value_w_units).value() ); };
3719
3720 template<typename Quantity >
3722 { return Quantity(duration_to_acquire_gps() * duration_to_acquire_gps_unit()); };
3723
3724 boost::units::quantity< duration_to_acquire_gps_unit,double > duration_to_acquire_gps_with_units() const
3725 { return duration_to_acquire_gps_with_units<boost::units::quantity< duration_to_acquire_gps_unit,double > >(); };
3726
3727 typedef boost::units::acceleration_dimension max_acceleration_dimension;
3728
3729 typedef boost::units::unit<max_acceleration_dimension,boost::units::si::system> max_acceleration_unit;
3730
3731 template<typename Quantity >
3732 void set_max_acceleration_with_units(Quantity value_w_units)
3733 { set_max_acceleration(boost::units::quantity<max_acceleration_unit,double >(value_w_units).value() ); };
3734
3735 template<typename Quantity >
3737 { return Quantity(max_acceleration() * max_acceleration_unit()); };
3738
3739 boost::units::quantity< max_acceleration_unit,double > max_acceleration_with_units() const
3740 { return max_acceleration_with_units<boost::units::quantity< max_acceleration_unit,double > >(); };
3741
3742 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket)
3743 private:
3744 class _Internal;
3745
3746 // helper for ByteSizeLong()
3747 size_t RequiredFieldsByteSizeFallback() const;
3748
3749 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3750 typedef void InternalArenaConstructable_;
3751 typedef void DestructorSkippable_;
3752 struct Impl_ {
3753 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3754 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3755 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > measurement_;
3758 double dive_rate_;
3759 double unpowered_rise_rate_;
3760 double powered_rise_rate_;
3761 double depth_achieved_;
3762 double duration_to_acquire_gps_;
3763 double max_acceleration_;
3764 bool bottom_dive_;
3765 bool reached_min_depth_;
3766 int bottom_type_;
3767 };
3768 union { Impl_ _impl_; };
3769 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3770};
3771// -------------------------------------------------------------------
3772
3773class TaskPacket final :
3774 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.TaskPacket) */ {
3775 public:
3776 inline TaskPacket() : TaskPacket(nullptr) {}
3777 ~TaskPacket() override;
3778 explicit PROTOBUF_CONSTEXPR TaskPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3779
3781 TaskPacket(TaskPacket&& from) noexcept
3782 : TaskPacket() {
3783 *this = ::std::move(from);
3784 }
3785
3786 inline TaskPacket& operator=(const TaskPacket& from) {
3787 CopyFrom(from);
3788 return *this;
3789 }
3790 inline TaskPacket& operator=(TaskPacket&& from) noexcept {
3791 if (this == &from) return *this;
3792 if (GetOwningArena() == from.GetOwningArena()
3793 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3794 && GetOwningArena() != nullptr
3795 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3796 ) {
3797 InternalSwap(&from);
3798 } else {
3799 CopyFrom(from);
3800 }
3801 return *this;
3802 }
3803
3804 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3805 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3806 }
3807 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3808 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3809 }
3810
3811 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3812 return GetDescriptor();
3813 }
3814 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3815 return default_instance().GetMetadata().descriptor;
3816 }
3817 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3818 return default_instance().GetMetadata().reflection;
3819 }
3821 return *internal_default_instance();
3822 }
3823 static inline const TaskPacket* internal_default_instance() {
3824 return reinterpret_cast<const TaskPacket*>(
3826 }
3827 static constexpr int kIndexInFileMessages =
3828 11;
3829
3830 friend void swap(TaskPacket& a, TaskPacket& b) {
3831 a.Swap(&b);
3832 }
3833 inline void Swap(TaskPacket* other) {
3834 if (other == this) return;
3835 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3836 if (GetOwningArena() != nullptr &&
3837 GetOwningArena() == other->GetOwningArena()) {
3838 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3839 if (GetOwningArena() == other->GetOwningArena()) {
3840 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3841 InternalSwap(other);
3842 } else {
3843 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3844 }
3845 }
3847 if (other == this) return;
3848 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3849 InternalSwap(other);
3850 }
3851
3852 // implements Message ----------------------------------------------
3853
3854 TaskPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3855 return CreateMaybeMessage<TaskPacket>(arena);
3856 }
3857 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3858 void CopyFrom(const TaskPacket& from);
3859 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3860 void MergeFrom( const TaskPacket& from) {
3861 TaskPacket::MergeImpl(*this, from);
3862 }
3863 private:
3864 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3865 public:
3866 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3867 bool IsInitialized() const final;
3868
3869 size_t ByteSizeLong() const final;
3870 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3871 uint8_t* _InternalSerialize(
3872 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3873 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3874
3875 private:
3876 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3877 void SharedDtor();
3878 void SetCachedSize(int size) const final;
3879 void InternalSwap(TaskPacket* other);
3880
3881 private:
3882 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3883 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3884 return "jaiabot.protobuf.TaskPacket";
3885 }
3886 protected:
3887 explicit TaskPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3888 bool is_message_owned = false);
3889 public:
3890
3891 static const ClassData _class_data_;
3892 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3893
3894 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3895
3896 // nested types ----------------------------------------------------
3897
3898 // accessors -------------------------------------------------------
3899
3900 enum : int {
3901 kMissionNameFieldNumber = 72,
3902 kDiveFieldNumber = 10,
3903 kDriftFieldNumber = 11,
3904 kStartTimeFieldNumber = 2,
3905 kBotIdFieldNumber = 1,
3906 kTypeFieldNumber = 4,
3907 kEndTimeFieldNumber = 3,
3908 kMissionCommandTimeFieldNumber = 71,
3909 kLinkFieldNumber = 5,
3910 };
3911 // optional string mission_name = 72 [(.dccl.field) = {
3912 bool has_mission_name() const;
3913 private:
3914 bool _internal_has_mission_name() const;
3915 public:
3916 void clear_mission_name();
3917 const std::string& mission_name() const;
3918 template <typename ArgT0 = const std::string&, typename... ArgT>
3919 void set_mission_name(ArgT0&& arg0, ArgT... args);
3920 std::string* mutable_mission_name();
3921 PROTOBUF_NODISCARD std::string* release_mission_name();
3922 void set_allocated_mission_name(std::string* mission_name);
3923 private:
3924 const std::string& _internal_mission_name() const;
3925 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mission_name(const std::string& value);
3926 std::string* _internal_mutable_mission_name();
3927 public:
3928
3929 // optional .jaiabot.protobuf.DivePacket dive = 10 [(.jaia.field) = {
3930 bool has_dive() const;
3931 private:
3932 bool _internal_has_dive() const;
3933 public:
3934 void clear_dive();
3935 const ::jaiabot::protobuf::DivePacket& dive() const;
3936 PROTOBUF_NODISCARD ::jaiabot::protobuf::DivePacket* release_dive();
3937 ::jaiabot::protobuf::DivePacket* mutable_dive();
3938 void set_allocated_dive(::jaiabot::protobuf::DivePacket* dive);
3939 private:
3940 const ::jaiabot::protobuf::DivePacket& _internal_dive() const;
3941 ::jaiabot::protobuf::DivePacket* _internal_mutable_dive();
3942 public:
3943 void unsafe_arena_set_allocated_dive(
3945 ::jaiabot::protobuf::DivePacket* unsafe_arena_release_dive();
3946
3947 // optional .jaiabot.protobuf.DriftPacket drift = 11 [(.jaia.field) = {
3948 bool has_drift() const;
3949 private:
3950 bool _internal_has_drift() const;
3951 public:
3952 void clear_drift();
3953 const ::jaiabot::protobuf::DriftPacket& drift() const;
3954 PROTOBUF_NODISCARD ::jaiabot::protobuf::DriftPacket* release_drift();
3955 ::jaiabot::protobuf::DriftPacket* mutable_drift();
3956 void set_allocated_drift(::jaiabot::protobuf::DriftPacket* drift);
3957 private:
3958 const ::jaiabot::protobuf::DriftPacket& _internal_drift() const;
3959 ::jaiabot::protobuf::DriftPacket* _internal_mutable_drift();
3960 public:
3961 void unsafe_arena_set_allocated_drift(
3963 ::jaiabot::protobuf::DriftPacket* unsafe_arena_release_drift();
3964
3965 // required uint64 start_time = 2 [(.dccl.field) = {
3966 bool has_start_time() const;
3967 private:
3968 bool _internal_has_start_time() const;
3969 public:
3970 void clear_start_time();
3971 uint64_t start_time() const;
3972 void set_start_time(uint64_t value);
3973 private:
3974 uint64_t _internal_start_time() const;
3975 void _internal_set_start_time(uint64_t value);
3976 public:
3977
3978 // required uint32 bot_id = 1 [(.dccl.field) = {
3979 bool has_bot_id() const;
3980 private:
3981 bool _internal_has_bot_id() const;
3982 public:
3983 void clear_bot_id();
3984 uint32_t bot_id() const;
3985 void set_bot_id(uint32_t value);
3986 private:
3987 uint32_t _internal_bot_id() const;
3988 void _internal_set_bot_id(uint32_t value);
3989 public:
3990
3991 // required .jaiabot.protobuf.MissionTask.TaskType type = 4 [(.jaia.field) = {
3992 bool has_type() const;
3993 private:
3994 bool _internal_has_type() const;
3995 public:
3996 void clear_type();
3998 void set_type(::jaiabot::protobuf::MissionTask_TaskType value);
3999 private:
4000 ::jaiabot::protobuf::MissionTask_TaskType _internal_type() const;
4001 void _internal_set_type(::jaiabot::protobuf::MissionTask_TaskType value);
4002 public:
4003
4004 // required uint64 end_time = 3 [(.dccl.field) = {
4005 bool has_end_time() const;
4006 private:
4007 bool _internal_has_end_time() const;
4008 public:
4009 void clear_end_time();
4010 uint64_t end_time() const;
4011 void set_end_time(uint64_t value);
4012 private:
4013 uint64_t _internal_end_time() const;
4014 void _internal_set_end_time(uint64_t value);
4015 public:
4016
4017 // optional uint64 mission_command_time = 71 [(.dccl.field) = {
4018 bool has_mission_command_time() const;
4019 private:
4020 bool _internal_has_mission_command_time() const;
4021 public:
4022 void clear_mission_command_time();
4023 uint64_t mission_command_time() const;
4024 void set_mission_command_time(uint64_t value);
4025 private:
4026 uint64_t _internal_mission_command_time() const;
4027 void _internal_set_mission_command_time(uint64_t value);
4028 public:
4029
4030 // optional .jaiabot.protobuf.Link link = 5 [(.dccl.field) = {
4031 bool has_link() const;
4032 private:
4033 bool _internal_has_link() const;
4034 public:
4035 void clear_link();
4036 ::jaiabot::protobuf::Link link() const;
4037 void set_link(::jaiabot::protobuf::Link value);
4038 private:
4039 ::jaiabot::protobuf::Link _internal_link() const;
4040 void _internal_set_link(::jaiabot::protobuf::Link value);
4041 public:
4042
4043 enum DCCLParameters { DCCL_ID = 20481, DCCL_MAX_BYTES = 250 };
4044 typedef boost::units::time_dimension start_time_dimension;
4045
4046 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;
4047
4048 template<typename Quantity >
4049 void set_start_time_with_units(Quantity value_w_units)
4050 { set_start_time(boost::units::quantity<start_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4051
4052 template<typename Quantity >
4053 Quantity start_time_with_units() const
4054 { return Quantity(start_time() * start_time_unit()); };
4055
4056 boost::units::quantity< start_time_unit,google::protobuf::uint64 > start_time_with_units() const
4057 { return start_time_with_units<boost::units::quantity< start_time_unit,google::protobuf::uint64 > >(); };
4058
4059 typedef boost::units::time_dimension end_time_dimension;
4060
4061 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;
4062
4063 template<typename Quantity >
4064 void set_end_time_with_units(Quantity value_w_units)
4065 { set_end_time(boost::units::quantity<end_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4066
4067 template<typename Quantity >
4068 Quantity end_time_with_units() const
4069 { return Quantity(end_time() * end_time_unit()); };
4070
4071 boost::units::quantity< end_time_unit,google::protobuf::uint64 > end_time_with_units() const
4072 { return end_time_with_units<boost::units::quantity< end_time_unit,google::protobuf::uint64 > >(); };
4073
4074 typedef boost::units::time_dimension mission_command_time_dimension;
4075
4076 typedef boost::units::make_scaled_unit<boost::units::unit<mission_command_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type mission_command_time_unit;
4077
4078 template<typename Quantity >
4079 void set_mission_command_time_with_units(Quantity value_w_units)
4080 { set_mission_command_time(boost::units::quantity<mission_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4081
4082 template<typename Quantity >
4084 { return Quantity(mission_command_time() * mission_command_time_unit()); };
4085
4086 boost::units::quantity< mission_command_time_unit,google::protobuf::uint64 > mission_command_time_with_units() const
4087 { return mission_command_time_with_units<boost::units::quantity< mission_command_time_unit,google::protobuf::uint64 > >(); };
4088
4089 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.TaskPacket)
4090 private:
4091 class _Internal;
4092
4093 // helper for ByteSizeLong()
4094 size_t RequiredFieldsByteSizeFallback() const;
4095
4096 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4097 typedef void InternalArenaConstructable_;
4098 typedef void DestructorSkippable_;
4099 struct Impl_ {
4100 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4101 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4102 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mission_name_;
4105 uint64_t start_time_;
4106 uint32_t bot_id_;
4107 int type_;
4108 uint64_t end_time_;
4109 uint64_t mission_command_time_;
4110 int link_;
4111 };
4112 union { Impl_ _impl_; };
4113 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4114};
4115// -------------------------------------------------------------------
4116
4117class ContactUpdate final :
4118 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.ContactUpdate) */ {
4119 public:
4120 inline ContactUpdate() : ContactUpdate(nullptr) {}
4121 ~ContactUpdate() override;
4122 explicit PROTOBUF_CONSTEXPR ContactUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4123
4126 : ContactUpdate() {
4127 *this = ::std::move(from);
4128 }
4129
4131 CopyFrom(from);
4132 return *this;
4133 }
4134 inline ContactUpdate& operator=(ContactUpdate&& from) noexcept {
4135 if (this == &from) return *this;
4136 if (GetOwningArena() == from.GetOwningArena()
4137 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4138 && GetOwningArena() != nullptr
4139 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4140 ) {
4141 InternalSwap(&from);
4142 } else {
4143 CopyFrom(from);
4144 }
4145 return *this;
4146 }
4147
4148 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4149 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4150 }
4151 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4152 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4153 }
4154
4155 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4156 return GetDescriptor();
4157 }
4158 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4159 return default_instance().GetMetadata().descriptor;
4160 }
4161 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4162 return default_instance().GetMetadata().reflection;
4163 }
4165 return *internal_default_instance();
4166 }
4168 return reinterpret_cast<const ContactUpdate*>(
4170 }
4171 static constexpr int kIndexInFileMessages =
4172 12;
4173
4174 friend void swap(ContactUpdate& a, ContactUpdate& b) {
4175 a.Swap(&b);
4176 }
4177 inline void Swap(ContactUpdate* other) {
4178 if (other == this) return;
4179 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4180 if (GetOwningArena() != nullptr &&
4181 GetOwningArena() == other->GetOwningArena()) {
4182 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4183 if (GetOwningArena() == other->GetOwningArena()) {
4184 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4185 InternalSwap(other);
4186 } else {
4187 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4188 }
4189 }
4191 if (other == this) return;
4192 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4193 InternalSwap(other);
4194 }
4195
4196 // implements Message ----------------------------------------------
4197
4198 ContactUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4199 return CreateMaybeMessage<ContactUpdate>(arena);
4200 }
4201 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4202 void CopyFrom(const ContactUpdate& from);
4203 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4204 void MergeFrom( const ContactUpdate& from) {
4205 ContactUpdate::MergeImpl(*this, from);
4206 }
4207 private:
4208 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4209 public:
4210 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4211 bool IsInitialized() const final;
4212
4213 size_t ByteSizeLong() const final;
4214 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4215 uint8_t* _InternalSerialize(
4216 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4217 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4218
4219 private:
4220 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4221 void SharedDtor();
4222 void SetCachedSize(int size) const final;
4223 void InternalSwap(ContactUpdate* other);
4224
4225 private:
4226 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4227 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4228 return "jaiabot.protobuf.ContactUpdate";
4229 }
4230 protected:
4231 explicit ContactUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4232 bool is_message_owned = false);
4233 public:
4234
4235 static const ClassData _class_data_;
4236 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4237
4238 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4239
4240 // nested types ----------------------------------------------------
4241
4242 // accessors -------------------------------------------------------
4243
4244 enum : int {
4245 kLocationFieldNumber = 2,
4246 kSpeedOverGroundFieldNumber = 3,
4247 kHeadingOrCogFieldNumber = 5,
4248 kContactFieldNumber = 1,
4249 };
4250 // required .jaiabot.protobuf.GeographicCoordinate location = 2;
4251 bool has_location() const;
4252 private:
4253 bool _internal_has_location() const;
4254 public:
4256 const ::jaiabot::protobuf::GeographicCoordinate& location() const;
4257 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
4259 void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location);
4260 private:
4261 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
4262 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
4263 public:
4264 void unsafe_arena_set_allocated_location(
4266 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_location();
4267
4268 // optional double speed_over_ground = 3 [(.dccl.field) = {
4269 bool has_speed_over_ground() const;
4270 private:
4271 bool _internal_has_speed_over_ground() const;
4272 public:
4273 void clear_speed_over_ground();
4274 double speed_over_ground() const;
4275 void set_speed_over_ground(double value);
4276 private:
4277 double _internal_speed_over_ground() const;
4278 void _internal_set_speed_over_ground(double value);
4279 public:
4280
4281 // optional double heading_or_cog = 5 [(.dccl.field) = {
4282 bool has_heading_or_cog() const;
4283 private:
4284 bool _internal_has_heading_or_cog() const;
4285 public:
4286 void clear_heading_or_cog();
4287 double heading_or_cog() const;
4288 void set_heading_or_cog(double value);
4289 private:
4290 double _internal_heading_or_cog() const;
4291 void _internal_set_heading_or_cog(double value);
4292 public:
4293
4294 // optional int32 contact = 1 [(.dccl.field) = {
4295 bool has_contact() const;
4296 private:
4297 bool _internal_has_contact() const;
4298 public:
4299 void clear_contact();
4300 int32_t contact() const;
4301 void set_contact(int32_t value);
4302 private:
4303 int32_t _internal_contact() const;
4304 void _internal_set_contact(int32_t value);
4305 public:
4306
4307 enum DCCLParameters { DCCL_ID = 20482, DCCL_MAX_BYTES = 16 };
4308 typedef boost::units::velocity_dimension speed_over_ground_dimension;
4309
4310 typedef boost::units::unit<speed_over_ground_dimension,boost::units::si::system> speed_over_ground_unit;
4311
4312 template<typename Quantity >
4313 void set_speed_over_ground_with_units(Quantity value_w_units)
4314 { set_speed_over_ground(boost::units::quantity<speed_over_ground_unit,double >(value_w_units).value() ); };
4315
4316 template<typename Quantity >
4318 { return Quantity(speed_over_ground() * speed_over_ground_unit()); };
4319
4320 boost::units::quantity< speed_over_ground_unit,double > speed_over_ground_with_units() const
4321 { return speed_over_ground_with_units<boost::units::quantity< speed_over_ground_unit,double > >(); };
4322
4323 typedef boost::units::plane_angle_dimension heading_or_cog_dimension;
4324
4325 typedef boost::units::unit<heading_or_cog_dimension,boost::units::degree::system> heading_or_cog_unit;
4326
4327 template<typename Quantity >
4328 void set_heading_or_cog_with_units(Quantity value_w_units)
4329 { set_heading_or_cog(boost::units::quantity<heading_or_cog_unit,double >(value_w_units).value() ); };
4330
4331 template<typename Quantity >
4333 { return Quantity(heading_or_cog() * heading_or_cog_unit()); };
4334
4335 boost::units::quantity< heading_or_cog_unit,double > heading_or_cog_with_units() const
4336 { return heading_or_cog_with_units<boost::units::quantity< heading_or_cog_unit,double > >(); };
4337
4338 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.ContactUpdate)
4339 private:
4340 class _Internal;
4341
4342 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4343 typedef void InternalArenaConstructable_;
4344 typedef void DestructorSkippable_;
4345 struct Impl_ {
4346 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4347 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4349 double speed_over_ground_;
4350 double heading_or_cog_;
4351 int32_t contact_;
4352 };
4353 union { Impl_ _impl_; };
4354 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4355};
4356// -------------------------------------------------------------------
4357
4358class Hub2HubData final :
4359 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Hub2HubData) */ {
4360 public:
4361 inline Hub2HubData() : Hub2HubData(nullptr) {}
4362 ~Hub2HubData() override;
4363 explicit PROTOBUF_CONSTEXPR Hub2HubData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4364
4366 Hub2HubData(Hub2HubData&& from) noexcept
4367 : Hub2HubData() {
4368 *this = ::std::move(from);
4369 }
4370
4371 inline Hub2HubData& operator=(const Hub2HubData& from) {
4372 CopyFrom(from);
4373 return *this;
4374 }
4375 inline Hub2HubData& operator=(Hub2HubData&& from) noexcept {
4376 if (this == &from) return *this;
4377 if (GetOwningArena() == from.GetOwningArena()
4378 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4379 && GetOwningArena() != nullptr
4380 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4381 ) {
4382 InternalSwap(&from);
4383 } else {
4384 CopyFrom(from);
4385 }
4386 return *this;
4387 }
4388
4389 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4390 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4391 }
4392 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4393 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4394 }
4395
4396 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4397 return GetDescriptor();
4398 }
4399 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4400 return default_instance().GetMetadata().descriptor;
4401 }
4402 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4403 return default_instance().GetMetadata().reflection;
4404 }
4406 return *internal_default_instance();
4407 }
4409 kBotStatus = 10,
4410 kTaskPacket = 11,
4411 kCommandForBot = 12,
4412 kCommandCommsResult = 13,
4413 kHubStatus = 14,
4414 CONTENTS_NOT_SET = 0,
4415 };
4416
4418 return reinterpret_cast<const Hub2HubData*>(
4420 }
4421 static constexpr int kIndexInFileMessages =
4422 13;
4423
4424 friend void swap(Hub2HubData& a, Hub2HubData& b) {
4425 a.Swap(&b);
4426 }
4427 inline void Swap(Hub2HubData* other) {
4428 if (other == this) return;
4429 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4430 if (GetOwningArena() != nullptr &&
4431 GetOwningArena() == other->GetOwningArena()) {
4432 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4433 if (GetOwningArena() == other->GetOwningArena()) {
4434 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4435 InternalSwap(other);
4436 } else {
4437 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4438 }
4439 }
4441 if (other == this) return;
4442 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4443 InternalSwap(other);
4444 }
4445
4446 // implements Message ----------------------------------------------
4447
4448 Hub2HubData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4449 return CreateMaybeMessage<Hub2HubData>(arena);
4450 }
4451 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4452 void CopyFrom(const Hub2HubData& from);
4453 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4454 void MergeFrom( const Hub2HubData& from) {
4455 Hub2HubData::MergeImpl(*this, from);
4456 }
4457 private:
4458 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4459 public:
4460 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4461 bool IsInitialized() const final;
4462
4463 size_t ByteSizeLong() const final;
4464 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4465 uint8_t* _InternalSerialize(
4466 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4467 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4468
4469 private:
4470 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4471 void SharedDtor();
4472 void SetCachedSize(int size) const final;
4473 void InternalSwap(Hub2HubData* other);
4474
4475 private:
4476 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4477 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4478 return "jaiabot.protobuf.Hub2HubData";
4479 }
4480 protected:
4481 explicit Hub2HubData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4482 bool is_message_owned = false);
4483 public:
4484
4485 static const ClassData _class_data_;
4486 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4487
4488 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4489
4490 // nested types ----------------------------------------------------
4491
4492 // accessors -------------------------------------------------------
4493
4494 enum : int {
4495 kTimeFieldNumber = 2,
4496 kHubIdFieldNumber = 1,
4497 kBotLinkFieldNumber = 3,
4498 kBotStatusFieldNumber = 10,
4499 kTaskPacketFieldNumber = 11,
4500 kCommandForBotFieldNumber = 12,
4501 kCommandCommsResultFieldNumber = 13,
4502 kHubStatusFieldNumber = 14,
4503 };
4504 // required uint64 time = 2 [(.dccl.field) = {
4505 bool has_time() const;
4506 private:
4507 bool _internal_has_time() const;
4508 public:
4509 void clear_time();
4510 uint64_t time() const;
4511 void set_time(uint64_t value);
4512 private:
4513 uint64_t _internal_time() const;
4514 void _internal_set_time(uint64_t value);
4515 public:
4516
4517 // required uint32 hub_id = 1 [(.dccl.field) = {
4518 bool has_hub_id() const;
4519 private:
4520 bool _internal_has_hub_id() const;
4521 public:
4522 void clear_hub_id();
4523 uint32_t hub_id() const;
4524 void set_hub_id(uint32_t value);
4525 private:
4526 uint32_t _internal_hub_id() const;
4527 void _internal_set_hub_id(uint32_t value);
4528 public:
4529
4530 // optional .jaiabot.protobuf.Link bot_link = 3;
4531 bool has_bot_link() const;
4532 private:
4533 bool _internal_has_bot_link() const;
4534 public:
4535 void clear_bot_link();
4536 ::jaiabot::protobuf::Link bot_link() const;
4537 void set_bot_link(::jaiabot::protobuf::Link value);
4538 private:
4539 ::jaiabot::protobuf::Link _internal_bot_link() const;
4540 void _internal_set_bot_link(::jaiabot::protobuf::Link value);
4541 public:
4542
4543 // .jaiabot.protobuf.BotStatus bot_status = 10;
4544 bool has_bot_status() const;
4545 private:
4546 bool _internal_has_bot_status() const;
4547 public:
4548 void clear_bot_status();
4549 const ::jaiabot::protobuf::BotStatus& bot_status() const;
4550 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus* release_bot_status();
4551 ::jaiabot::protobuf::BotStatus* mutable_bot_status();
4553 private:
4554 const ::jaiabot::protobuf::BotStatus& _internal_bot_status() const;
4555 ::jaiabot::protobuf::BotStatus* _internal_mutable_bot_status();
4556 public:
4557 void unsafe_arena_set_allocated_bot_status(
4558 ::jaiabot::protobuf::BotStatus* bot_status);
4559 ::jaiabot::protobuf::BotStatus* unsafe_arena_release_bot_status();
4560
4561 // .jaiabot.protobuf.TaskPacket task_packet = 11;
4562 bool has_task_packet() const;
4563 private:
4564 bool _internal_has_task_packet() const;
4565 public:
4566 void clear_task_packet();
4567 const ::jaiabot::protobuf::TaskPacket& task_packet() const;
4568 PROTOBUF_NODISCARD ::jaiabot::protobuf::TaskPacket* release_task_packet();
4569 ::jaiabot::protobuf::TaskPacket* mutable_task_packet();
4571 private:
4572 const ::jaiabot::protobuf::TaskPacket& _internal_task_packet() const;
4573 ::jaiabot::protobuf::TaskPacket* _internal_mutable_task_packet();
4574 public:
4575 void unsafe_arena_set_allocated_task_packet(
4576 ::jaiabot::protobuf::TaskPacket* task_packet);
4577 ::jaiabot::protobuf::TaskPacket* unsafe_arena_release_task_packet();
4578
4579 // .jaiabot.protobuf.Command command_for_bot = 12;
4580 bool has_command_for_bot() const;
4581 private:
4582 bool _internal_has_command_for_bot() const;
4583 public:
4584 void clear_command_for_bot();
4585 const ::jaiabot::protobuf::Command& command_for_bot() const;
4586 PROTOBUF_NODISCARD ::jaiabot::protobuf::Command* release_command_for_bot();
4587 ::jaiabot::protobuf::Command* mutable_command_for_bot();
4589 private:
4590 const ::jaiabot::protobuf::Command& _internal_command_for_bot() const;
4591 ::jaiabot::protobuf::Command* _internal_mutable_command_for_bot();
4592 public:
4593 void unsafe_arena_set_allocated_command_for_bot(
4594 ::jaiabot::protobuf::Command* command_for_bot);
4595 ::jaiabot::protobuf::Command* unsafe_arena_release_command_for_bot();
4596
4597 // .jaiabot.protobuf.CommandCommsResult command_comms_result = 13;
4598 bool has_command_comms_result() const;
4599 private:
4600 bool _internal_has_command_comms_result() const;
4601 public:
4602 void clear_command_comms_result();
4603 const ::jaiabot::protobuf::CommandCommsResult& command_comms_result() const;
4604 PROTOBUF_NODISCARD ::jaiabot::protobuf::CommandCommsResult* release_command_comms_result();
4605 ::jaiabot::protobuf::CommandCommsResult* mutable_command_comms_result();
4607 private:
4608 const ::jaiabot::protobuf::CommandCommsResult& _internal_command_comms_result() const;
4609 ::jaiabot::protobuf::CommandCommsResult* _internal_mutable_command_comms_result();
4610 public:
4611 void unsafe_arena_set_allocated_command_comms_result(
4612 ::jaiabot::protobuf::CommandCommsResult* command_comms_result);
4613 ::jaiabot::protobuf::CommandCommsResult* unsafe_arena_release_command_comms_result();
4614
4615 // .jaiabot.protobuf.HubStatus hub_status = 14;
4616 bool has_hub_status() const;
4617 private:
4618 bool _internal_has_hub_status() const;
4619 public:
4621 const ::jaiabot::protobuf::HubStatus& hub_status() const;
4622 PROTOBUF_NODISCARD ::jaiabot::protobuf::HubStatus* release_hub_status();
4623 ::jaiabot::protobuf::HubStatus* mutable_hub_status();
4625 private:
4626 const ::jaiabot::protobuf::HubStatus& _internal_hub_status() const;
4627 ::jaiabot::protobuf::HubStatus* _internal_mutable_hub_status();
4628 public:
4629 void unsafe_arena_set_allocated_hub_status(
4630 ::jaiabot::protobuf::HubStatus* hub_status);
4631 ::jaiabot::protobuf::HubStatus* unsafe_arena_release_hub_status();
4632
4634 ContentsCase contents_case() const;
4635 enum DCCLParameters { DCCL_ID = 20483, DCCL_MAX_BYTES = 1000 };
4636 typedef boost::units::time_dimension time_dimension;
4637
4638 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;
4639
4640 template<typename Quantity >
4641 void set_time_with_units(Quantity value_w_units)
4642 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4643
4644 template<typename Quantity >
4645 Quantity time_with_units() const
4646 { return Quantity(time() * time_unit()); };
4647
4648 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
4649 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
4650
4651 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Hub2HubData)
4652 private:
4653 class _Internal;
4654 void set_has_bot_status();
4655 void set_has_task_packet();
4656 void set_has_command_for_bot();
4657 void set_has_command_comms_result();
4658 void set_has_hub_status();
4659
4660 inline bool has_contents() const;
4661 inline void clear_has_contents();
4662
4663 // helper for ByteSizeLong()
4664 size_t RequiredFieldsByteSizeFallback() const;
4665
4666 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4667 typedef void InternalArenaConstructable_;
4668 typedef void DestructorSkippable_;
4669 struct Impl_ {
4670 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4671 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4672 uint64_t time_;
4673 uint32_t hub_id_;
4674 int bot_link_;
4684 uint32_t _oneof_case_[1];
4685
4686 };
4687 union { Impl_ _impl_; };
4688 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4689};
4690// -------------------------------------------------------------------
4691
4693 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.CommandCommsResult) */ {
4694 public:
4697 explicit PROTOBUF_CONSTEXPR CommandCommsResult(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4698
4701 : CommandCommsResult() {
4702 *this = ::std::move(from);
4703 }
4704
4706 CopyFrom(from);
4707 return *this;
4708 }
4710 if (this == &from) return *this;
4711 if (GetOwningArena() == from.GetOwningArena()
4712 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4713 && GetOwningArena() != nullptr
4714 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4715 ) {
4716 InternalSwap(&from);
4717 } else {
4718 CopyFrom(from);
4719 }
4720 return *this;
4721 }
4722
4723 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4724 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4725 }
4726 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4727 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4728 }
4729
4730 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4731 return GetDescriptor();
4732 }
4733 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4734 return default_instance().GetMetadata().descriptor;
4735 }
4736 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4737 return default_instance().GetMetadata().reflection;
4738 }
4740 return *internal_default_instance();
4741 }
4743 return reinterpret_cast<const CommandCommsResult*>(
4745 }
4746 static constexpr int kIndexInFileMessages =
4747 14;
4748
4750 a.Swap(&b);
4751 }
4752 inline void Swap(CommandCommsResult* other) {
4753 if (other == this) return;
4754 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4755 if (GetOwningArena() != nullptr &&
4756 GetOwningArena() == other->GetOwningArena()) {
4757 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4758 if (GetOwningArena() == other->GetOwningArena()) {
4759 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4760 InternalSwap(other);
4761 } else {
4762 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4763 }
4764 }
4766 if (other == this) return;
4767 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4768 InternalSwap(other);
4769 }
4770
4771 // implements Message ----------------------------------------------
4772
4773 CommandCommsResult* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4774 return CreateMaybeMessage<CommandCommsResult>(arena);
4775 }
4776 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4777 void CopyFrom(const CommandCommsResult& from);
4778 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4779 void MergeFrom( const CommandCommsResult& from) {
4780 CommandCommsResult::MergeImpl(*this, from);
4781 }
4782 private:
4783 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4784 public:
4785 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4786 bool IsInitialized() const final;
4787
4788 size_t ByteSizeLong() const final;
4789 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4790 uint8_t* _InternalSerialize(
4791 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4792 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4793
4794 private:
4795 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4796 void SharedDtor();
4797 void SetCachedSize(int size) const final;
4798 void InternalSwap(CommandCommsResult* other);
4799
4800 private:
4801 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4802 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4803 return "jaiabot.protobuf.CommandCommsResult";
4804 }
4805 protected:
4806 explicit CommandCommsResult(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4807 bool is_message_owned = false);
4808 public:
4809
4810 static const ClassData _class_data_;
4811 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4812
4813 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4814
4815 // nested types ----------------------------------------------------
4816
4818 static constexpr CommsResult SUCCESS =
4819 CommandCommsResult_CommsResult_SUCCESS;
4820 static constexpr CommsResult FAILURE =
4821 CommandCommsResult_CommsResult_FAILURE;
4822 static inline bool CommsResult_IsValid(int value) {
4824 }
4825 static constexpr CommsResult CommsResult_MIN =
4827 static constexpr CommsResult CommsResult_MAX =
4829 static constexpr int CommsResult_ARRAYSIZE =
4831 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
4835 template<typename T>
4836 static inline const std::string& CommsResult_Name(T enum_t_value) {
4837 static_assert(::std::is_same<T, CommsResult>::value ||
4838 ::std::is_integral<T>::value,
4839 "Incorrect type passed to function CommsResult_Name.");
4840 return CommandCommsResult_CommsResult_Name(enum_t_value);
4841 }
4842 static inline bool CommsResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
4843 CommsResult* value) {
4844 return CommandCommsResult_CommsResult_Parse(name, value);
4845 }
4846
4847 // accessors -------------------------------------------------------
4848
4849 enum : int {
4850 kOrigCommandFieldNumber = 3,
4851 kResultFieldNumber = 1,
4852 kLinkFieldNumber = 2,
4853 };
4854 // required .jaiabot.protobuf.Command orig_command = 3;
4855 bool has_orig_command() const;
4856 private:
4857 bool _internal_has_orig_command() const;
4858 public:
4859 void clear_orig_command();
4860 const ::jaiabot::protobuf::Command& orig_command() const;
4861 PROTOBUF_NODISCARD ::jaiabot::protobuf::Command* release_orig_command();
4862 ::jaiabot::protobuf::Command* mutable_orig_command();
4863 void set_allocated_orig_command(::jaiabot::protobuf::Command* orig_command);
4864 private:
4865 const ::jaiabot::protobuf::Command& _internal_orig_command() const;
4866 ::jaiabot::protobuf::Command* _internal_mutable_orig_command();
4867 public:
4868 void unsafe_arena_set_allocated_orig_command(
4869 ::jaiabot::protobuf::Command* orig_command);
4870 ::jaiabot::protobuf::Command* unsafe_arena_release_orig_command();
4871
4872 // required .jaiabot.protobuf.CommandCommsResult.CommsResult result = 1;
4873 bool has_result() const;
4874 private:
4875 bool _internal_has_result() const;
4876 public:
4877 void clear_result();
4880 private:
4882 void _internal_set_result(::jaiabot::protobuf::CommandCommsResult_CommsResult value);
4883 public:
4884
4885 // required .jaiabot.protobuf.Link link = 2;
4886 bool has_link() const;
4887 private:
4888 bool _internal_has_link() const;
4889 public:
4890 void clear_link();
4891 ::jaiabot::protobuf::Link link() const;
4892 void set_link(::jaiabot::protobuf::Link value);
4893 private:
4894 ::jaiabot::protobuf::Link _internal_link() const;
4895 void _internal_set_link(::jaiabot::protobuf::Link value);
4896 public:
4897
4898 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.CommandCommsResult)
4899 private:
4900 class _Internal;
4901
4902 // helper for ByteSizeLong()
4903 size_t RequiredFieldsByteSizeFallback() const;
4904
4905 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4906 typedef void InternalArenaConstructable_;
4907 typedef void DestructorSkippable_;
4908 struct Impl_ {
4909 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4910 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4911 ::jaiabot::protobuf::Command* orig_command_;
4912 int result_;
4913 int link_;
4914 };
4915 union { Impl_ _impl_; };
4916 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4917};
4918// ===================================================================
4919
4920
4921// ===================================================================
4922
4923#ifdef __GNUC__
4924 #pragma GCC diagnostic push
4925 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
4926#endif // __GNUC__
4927// Command
4928
4929// required uint32 bot_id = 1 [(.dccl.field) = {
4930inline bool Command::_internal_has_bot_id() const {
4931 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4932 return value;
4933}
4934inline bool Command::has_bot_id() const {
4935 return _internal_has_bot_id();
4936}
4937inline void Command::clear_bot_id() {
4938 _impl_.bot_id_ = 0u;
4939 _impl_._has_bits_[0] &= ~0x00000002u;
4940}
4941inline uint32_t Command::_internal_bot_id() const {
4942 return _impl_.bot_id_;
4943}
4944inline uint32_t Command::bot_id() const {
4945 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.bot_id)
4946 return _internal_bot_id();
4947}
4948inline void Command::_internal_set_bot_id(uint32_t value) {
4949 _impl_._has_bits_[0] |= 0x00000002u;
4950 _impl_.bot_id_ = value;
4951}
4952inline void Command::set_bot_id(uint32_t value) {
4953 _internal_set_bot_id(value);
4954 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.bot_id)
4955}
4956
4957// required uint64 time = 2 [(.dccl.field) = {
4958inline bool Command::_internal_has_time() const {
4959 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4960 return value;
4961}
4962inline bool Command::has_time() const {
4963 return _internal_has_time();
4964}
4965inline void Command::clear_time() {
4966 _impl_.time_ = uint64_t{0u};
4967 _impl_._has_bits_[0] &= ~0x00000001u;
4968}
4969inline uint64_t Command::_internal_time() const {
4970 return _impl_.time_;
4971}
4972inline uint64_t Command::time() const {
4973 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.time)
4974 return _internal_time();
4975}
4976inline void Command::_internal_set_time(uint64_t value) {
4977 _impl_._has_bits_[0] |= 0x00000001u;
4978 _impl_.time_ = value;
4979}
4980inline void Command::set_time(uint64_t value) {
4981 _internal_set_time(value);
4982 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.time)
4983}
4984
4985// optional .jaiabot.protobuf.Link link = 3 [(.dccl.field) = {
4986inline bool Command::_internal_has_link() const {
4987 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4988 return value;
4989}
4990inline bool Command::has_link() const {
4991 return _internal_has_link();
4992}
4993inline void Command::clear_link() {
4994 _impl_.link_ = -1;
4995 _impl_._has_bits_[0] &= ~0x00000008u;
4996}
4997inline ::jaiabot::protobuf::Link Command::_internal_link() const {
4998 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
4999}
5000inline ::jaiabot::protobuf::Link Command::link() const {
5001 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.link)
5002 return _internal_link();
5003}
5004inline void Command::_internal_set_link(::jaiabot::protobuf::Link value) {
5005 assert(::jaiabot::protobuf::Link_IsValid(value));
5006 _impl_._has_bits_[0] |= 0x00000008u;
5007 _impl_.link_ = value;
5008}
5009inline void Command::set_link(::jaiabot::protobuf::Link value) {
5010 _internal_set_link(value);
5011 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.link)
5012}
5013
5014// optional uint32 from_hub_id = 4 [(.dccl.field) = {
5015inline bool Command::_internal_has_from_hub_id() const {
5016 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5017 return value;
5018}
5019inline bool Command::has_from_hub_id() const {
5020 return _internal_has_from_hub_id();
5021}
5022inline void Command::clear_from_hub_id() {
5023 _impl_.from_hub_id_ = 0u;
5024 _impl_._has_bits_[0] &= ~0x00000004u;
5025}
5026inline uint32_t Command::_internal_from_hub_id() const {
5027 return _impl_.from_hub_id_;
5028}
5029inline uint32_t Command::from_hub_id() const {
5030 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.from_hub_id)
5031 return _internal_from_hub_id();
5032}
5033inline void Command::_internal_set_from_hub_id(uint32_t value) {
5034 _impl_._has_bits_[0] |= 0x00000004u;
5035 _impl_.from_hub_id_ = value;
5036}
5037inline void Command::set_from_hub_id(uint32_t value) {
5038 _internal_set_from_hub_id(value);
5039 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.from_hub_id)
5040}
5041
5042// required .jaiabot.protobuf.Command.CommandType type = 10 [(.jaia.field) = {
5043inline bool Command::_internal_has_type() const {
5044 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5045 return value;
5046}
5047inline bool Command::has_type() const {
5048 return _internal_has_type();
5049}
5050inline void Command::clear_type() {
5051 _impl_.type_ = 1;
5052 _impl_._has_bits_[0] &= ~0x00000010u;
5053}
5054inline ::jaiabot::protobuf::Command_CommandType Command::_internal_type() const {
5055 return static_cast< ::jaiabot::protobuf::Command_CommandType >(_impl_.type_);
5056}
5057inline ::jaiabot::protobuf::Command_CommandType Command::type() const {
5058 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.type)
5059 return _internal_type();
5060}
5061inline void Command::_internal_set_type(::jaiabot::protobuf::Command_CommandType value) {
5063 _impl_._has_bits_[0] |= 0x00000010u;
5064 _impl_.type_ = value;
5065}
5066inline void Command::set_type(::jaiabot::protobuf::Command_CommandType value) {
5067 _internal_set_type(value);
5068 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.type)
5069}
5070
5071// .jaiabot.protobuf.MissionPlan plan = 20 [(.jaia.field) = {
5072inline bool Command::_internal_has_plan() const {
5073 return command_data_case() == kPlan;
5074}
5075inline bool Command::has_plan() const {
5076 return _internal_has_plan();
5077}
5078inline void Command::set_has_plan() {
5079 _impl_._oneof_case_[0] = kPlan;
5080}
5081inline ::jaiabot::protobuf::MissionPlan* Command::release_plan() {
5082 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.plan)
5083 if (_internal_has_plan()) {
5084 clear_has_command_data();
5085 ::jaiabot::protobuf::MissionPlan* temp = _impl_.command_data_.plan_;
5086 if (GetArenaForAllocation() != nullptr) {
5087 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5088 }
5089 _impl_.command_data_.plan_ = nullptr;
5090 return temp;
5091 } else {
5092 return nullptr;
5093 }
5094}
5095inline const ::jaiabot::protobuf::MissionPlan& Command::_internal_plan() const {
5096 return _internal_has_plan()
5097 ? *_impl_.command_data_.plan_
5099}
5100inline const ::jaiabot::protobuf::MissionPlan& Command::plan() const {
5101 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.plan)
5102 return _internal_plan();
5103}
5104inline ::jaiabot::protobuf::MissionPlan* Command::unsafe_arena_release_plan() {
5105 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.plan)
5106 if (_internal_has_plan()) {
5107 clear_has_command_data();
5108 ::jaiabot::protobuf::MissionPlan* temp = _impl_.command_data_.plan_;
5109 _impl_.command_data_.plan_ = nullptr;
5110 return temp;
5111 } else {
5112 return nullptr;
5113 }
5114}
5115inline void Command::unsafe_arena_set_allocated_plan(::jaiabot::protobuf::MissionPlan* plan) {
5116 clear_command_data();
5117 if (plan) {
5118 set_has_plan();
5119 _impl_.command_data_.plan_ = plan;
5120 }
5121 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.plan)
5122}
5123inline ::jaiabot::protobuf::MissionPlan* Command::_internal_mutable_plan() {
5124 if (!_internal_has_plan()) {
5125 clear_command_data();
5126 set_has_plan();
5127 _impl_.command_data_.plan_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionPlan >(GetArenaForAllocation());
5128 }
5129 return _impl_.command_data_.plan_;
5130}
5131inline ::jaiabot::protobuf::MissionPlan* Command::mutable_plan() {
5132 ::jaiabot::protobuf::MissionPlan* _msg = _internal_mutable_plan();
5133 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.plan)
5134 return _msg;
5135}
5136
5137// .jaiabot.protobuf.RemoteControl rc = 30 [(.jaia.field) = {
5138inline bool Command::_internal_has_rc() const {
5139 return command_data_case() == kRc;
5140}
5141inline bool Command::has_rc() const {
5142 return _internal_has_rc();
5143}
5144inline void Command::set_has_rc() {
5145 _impl_._oneof_case_[0] = kRc;
5146}
5147inline ::jaiabot::protobuf::RemoteControl* Command::release_rc() {
5148 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.rc)
5149 if (_internal_has_rc()) {
5150 clear_has_command_data();
5151 ::jaiabot::protobuf::RemoteControl* temp = _impl_.command_data_.rc_;
5152 if (GetArenaForAllocation() != nullptr) {
5153 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5154 }
5155 _impl_.command_data_.rc_ = nullptr;
5156 return temp;
5157 } else {
5158 return nullptr;
5159 }
5160}
5161inline const ::jaiabot::protobuf::RemoteControl& Command::_internal_rc() const {
5162 return _internal_has_rc()
5163 ? *_impl_.command_data_.rc_
5165}
5166inline const ::jaiabot::protobuf::RemoteControl& Command::rc() const {
5167 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.rc)
5168 return _internal_rc();
5169}
5170inline ::jaiabot::protobuf::RemoteControl* Command::unsafe_arena_release_rc() {
5171 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.rc)
5172 if (_internal_has_rc()) {
5173 clear_has_command_data();
5174 ::jaiabot::protobuf::RemoteControl* temp = _impl_.command_data_.rc_;
5175 _impl_.command_data_.rc_ = nullptr;
5176 return temp;
5177 } else {
5178 return nullptr;
5179 }
5180}
5181inline void Command::unsafe_arena_set_allocated_rc(::jaiabot::protobuf::RemoteControl* rc) {
5182 clear_command_data();
5183 if (rc) {
5184 set_has_rc();
5185 _impl_.command_data_.rc_ = rc;
5186 }
5187 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.rc)
5188}
5189inline ::jaiabot::protobuf::RemoteControl* Command::_internal_mutable_rc() {
5190 if (!_internal_has_rc()) {
5191 clear_command_data();
5192 set_has_rc();
5193 _impl_.command_data_.rc_ = CreateMaybeMessage< ::jaiabot::protobuf::RemoteControl >(GetArenaForAllocation());
5194 }
5195 return _impl_.command_data_.rc_;
5196}
5197inline ::jaiabot::protobuf::RemoteControl* Command::mutable_rc() {
5198 ::jaiabot::protobuf::RemoteControl* _msg = _internal_mutable_rc();
5199 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.rc)
5200 return _msg;
5201}
5202
5203// .jaiabot.protobuf.MissionTask rc_task = 31;
5204inline bool Command::_internal_has_rc_task() const {
5205 return command_data_case() == kRcTask;
5206}
5207inline bool Command::has_rc_task() const {
5208 return _internal_has_rc_task();
5209}
5210inline void Command::set_has_rc_task() {
5211 _impl_._oneof_case_[0] = kRcTask;
5212}
5213inline ::jaiabot::protobuf::MissionTask* Command::release_rc_task() {
5214 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.rc_task)
5215 if (_internal_has_rc_task()) {
5216 clear_has_command_data();
5217 ::jaiabot::protobuf::MissionTask* temp = _impl_.command_data_.rc_task_;
5218 if (GetArenaForAllocation() != nullptr) {
5219 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5220 }
5221 _impl_.command_data_.rc_task_ = nullptr;
5222 return temp;
5223 } else {
5224 return nullptr;
5225 }
5226}
5227inline const ::jaiabot::protobuf::MissionTask& Command::_internal_rc_task() const {
5228 return _internal_has_rc_task()
5229 ? *_impl_.command_data_.rc_task_
5231}
5232inline const ::jaiabot::protobuf::MissionTask& Command::rc_task() const {
5233 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.rc_task)
5234 return _internal_rc_task();
5235}
5236inline ::jaiabot::protobuf::MissionTask* Command::unsafe_arena_release_rc_task() {
5237 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.rc_task)
5238 if (_internal_has_rc_task()) {
5239 clear_has_command_data();
5240 ::jaiabot::protobuf::MissionTask* temp = _impl_.command_data_.rc_task_;
5241 _impl_.command_data_.rc_task_ = nullptr;
5242 return temp;
5243 } else {
5244 return nullptr;
5245 }
5246}
5247inline void Command::unsafe_arena_set_allocated_rc_task(::jaiabot::protobuf::MissionTask* rc_task) {
5248 clear_command_data();
5249 if (rc_task) {
5250 set_has_rc_task();
5251 _impl_.command_data_.rc_task_ = rc_task;
5252 }
5253 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.rc_task)
5254}
5255inline ::jaiabot::protobuf::MissionTask* Command::_internal_mutable_rc_task() {
5256 if (!_internal_has_rc_task()) {
5257 clear_command_data();
5258 set_has_rc_task();
5259 _impl_.command_data_.rc_task_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionTask >(GetArenaForAllocation());
5260 }
5261 return _impl_.command_data_.rc_task_;
5262}
5263inline ::jaiabot::protobuf::MissionTask* Command::mutable_rc_task() {
5264 ::jaiabot::protobuf::MissionTask* _msg = _internal_mutable_rc_task();
5265 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.rc_task)
5266 return _msg;
5267}
5268
5269inline bool Command::has_command_data() const {
5270 return command_data_case() != COMMAND_DATA_NOT_SET;
5271}
5272inline void Command::clear_has_command_data() {
5273 _impl_._oneof_case_[0] = COMMAND_DATA_NOT_SET;
5274}
5275inline Command::CommandDataCase Command::command_data_case() const {
5276 return Command::CommandDataCase(_impl_._oneof_case_[0]);
5277}
5278// -------------------------------------------------------------------
5279
5280// CommandForHub
5281
5282// required uint32 hub_id = 1 [(.jaia.field) = {
5283inline bool CommandForHub::_internal_has_hub_id() const {
5284 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5285 return value;
5286}
5287inline bool CommandForHub::has_hub_id() const {
5288 return _internal_has_hub_id();
5289}
5290inline void CommandForHub::clear_hub_id() {
5291 _impl_.hub_id_ = 0u;
5292 _impl_._has_bits_[0] &= ~0x00000004u;
5293}
5294inline uint32_t CommandForHub::_internal_hub_id() const {
5295 return _impl_.hub_id_;
5296}
5297inline uint32_t CommandForHub::hub_id() const {
5298 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.hub_id)
5299 return _internal_hub_id();
5300}
5301inline void CommandForHub::_internal_set_hub_id(uint32_t value) {
5302 _impl_._has_bits_[0] |= 0x00000004u;
5303 _impl_.hub_id_ = value;
5304}
5305inline void CommandForHub::set_hub_id(uint32_t value) {
5306 _internal_set_hub_id(value);
5307 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.hub_id)
5308}
5309
5310// required uint64 time = 2 [(.dccl.field) = {
5311inline bool CommandForHub::_internal_has_time() const {
5312 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5313 return value;
5314}
5315inline bool CommandForHub::has_time() const {
5316 return _internal_has_time();
5317}
5318inline void CommandForHub::clear_time() {
5319 _impl_.time_ = uint64_t{0u};
5320 _impl_._has_bits_[0] &= ~0x00000002u;
5321}
5322inline uint64_t CommandForHub::_internal_time() const {
5323 return _impl_.time_;
5324}
5325inline uint64_t CommandForHub::time() const {
5326 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.time)
5327 return _internal_time();
5328}
5329inline void CommandForHub::_internal_set_time(uint64_t value) {
5330 _impl_._has_bits_[0] |= 0x00000002u;
5331 _impl_.time_ = value;
5332}
5333inline void CommandForHub::set_time(uint64_t value) {
5334 _internal_set_time(value);
5335 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.time)
5336}
5337
5338// required .jaiabot.protobuf.CommandForHub.HubCommandType type = 10 [(.jaia.field) = {
5339inline bool CommandForHub::_internal_has_type() const {
5340 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5341 return value;
5342}
5343inline bool CommandForHub::has_type() const {
5344 return _internal_has_type();
5345}
5346inline void CommandForHub::clear_type() {
5347 _impl_.type_ = 5;
5348 _impl_._has_bits_[0] &= ~0x00000010u;
5349}
5350inline ::jaiabot::protobuf::CommandForHub_HubCommandType CommandForHub::_internal_type() const {
5351 return static_cast< ::jaiabot::protobuf::CommandForHub_HubCommandType >(_impl_.type_);
5352}
5353inline ::jaiabot::protobuf::CommandForHub_HubCommandType CommandForHub::type() const {
5354 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.type)
5355 return _internal_type();
5356}
5357inline void CommandForHub::_internal_set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value) {
5359 _impl_._has_bits_[0] |= 0x00000010u;
5360 _impl_.type_ = value;
5361}
5362inline void CommandForHub::set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value) {
5363 _internal_set_type(value);
5364 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.type)
5365}
5366
5367// optional uint32 scan_for_bot_id = 11;
5368inline bool CommandForHub::_internal_has_scan_for_bot_id() const {
5369 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5370 return value;
5371}
5372inline bool CommandForHub::has_scan_for_bot_id() const {
5373 return _internal_has_scan_for_bot_id();
5374}
5375inline void CommandForHub::clear_scan_for_bot_id() {
5376 _impl_.scan_for_bot_id_ = 0u;
5377 _impl_._has_bits_[0] &= ~0x00000008u;
5378}
5379inline uint32_t CommandForHub::_internal_scan_for_bot_id() const {
5380 return _impl_.scan_for_bot_id_;
5381}
5382inline uint32_t CommandForHub::scan_for_bot_id() const {
5383 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.scan_for_bot_id)
5384 return _internal_scan_for_bot_id();
5385}
5386inline void CommandForHub::_internal_set_scan_for_bot_id(uint32_t value) {
5387 _impl_._has_bits_[0] |= 0x00000008u;
5388 _impl_.scan_for_bot_id_ = value;
5389}
5390inline void CommandForHub::set_scan_for_bot_id(uint32_t value) {
5391 _internal_set_scan_for_bot_id(value);
5392 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.scan_for_bot_id)
5393}
5394
5395// optional .jaiabot.protobuf.GeographicCoordinate hub_location = 80 [(.jaia.field) = {
5396inline bool CommandForHub::_internal_has_hub_location() const {
5397 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5398 PROTOBUF_ASSUME(!value || _impl_.hub_location_ != nullptr);
5399 return value;
5400}
5401inline bool CommandForHub::has_hub_location() const {
5402 return _internal_has_hub_location();
5403}
5404inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::_internal_hub_location() const {
5405 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.hub_location_;
5406 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
5408}
5409inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::hub_location() const {
5410 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.hub_location)
5411 return _internal_hub_location();
5412}
5413inline void CommandForHub::unsafe_arena_set_allocated_hub_location(
5415 if (GetArenaForAllocation() == nullptr) {
5416 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hub_location_);
5417 }
5418 _impl_.hub_location_ = hub_location;
5419 if (hub_location) {
5420 _impl_._has_bits_[0] |= 0x00000001u;
5421 } else {
5422 _impl_._has_bits_[0] &= ~0x00000001u;
5423 }
5424 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.CommandForHub.hub_location)
5425}
5426inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::release_hub_location() {
5427 _impl_._has_bits_[0] &= ~0x00000001u;
5428 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.hub_location_;
5429 _impl_.hub_location_ = nullptr;
5430#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5431 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5432 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5433 if (GetArenaForAllocation() == nullptr) { delete old; }
5434#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5435 if (GetArenaForAllocation() != nullptr) {
5436 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5437 }
5438#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5439 return temp;
5440}
5441inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::unsafe_arena_release_hub_location() {
5442 // @@protoc_insertion_point(field_release:jaiabot.protobuf.CommandForHub.hub_location)
5443 _impl_._has_bits_[0] &= ~0x00000001u;
5444 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.hub_location_;
5445 _impl_.hub_location_ = nullptr;
5446 return temp;
5447}
5448inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::_internal_mutable_hub_location() {
5449 _impl_._has_bits_[0] |= 0x00000001u;
5450 if (_impl_.hub_location_ == nullptr) {
5451 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
5452 _impl_.hub_location_ = p;
5453 }
5454 return _impl_.hub_location_;
5455}
5456inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::mutable_hub_location() {
5457 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_hub_location();
5458 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.CommandForHub.hub_location)
5459 return _msg;
5460}
5461inline void CommandForHub::set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate* hub_location) {
5462 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5463 if (message_arena == nullptr) {
5464 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hub_location_);
5465 }
5466 if (hub_location) {
5467 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5468 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
5469 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hub_location));
5470 if (message_arena != submessage_arena) {
5471 hub_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5472 message_arena, hub_location, submessage_arena);
5473 }
5474 _impl_._has_bits_[0] |= 0x00000001u;
5475 } else {
5476 _impl_._has_bits_[0] &= ~0x00000001u;
5477 }
5478 _impl_.hub_location_ = hub_location;
5479 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.CommandForHub.hub_location)
5480}
5481
5482// -------------------------------------------------------------------
5483
5484// BotStatus_ActiveLink
5485
5486// required .jaiabot.protobuf.Link link = 1;
5487inline bool BotStatus_ActiveLink::_internal_has_link() const {
5488 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5489 return value;
5490}
5491inline bool BotStatus_ActiveLink::has_link() const {
5492 return _internal_has_link();
5493}
5494inline void BotStatus_ActiveLink::clear_link() {
5495 _impl_.link_ = -1;
5496 _impl_._has_bits_[0] &= ~0x00000002u;
5497}
5498inline ::jaiabot::protobuf::Link BotStatus_ActiveLink::_internal_link() const {
5499 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
5500}
5501inline ::jaiabot::protobuf::Link BotStatus_ActiveLink::link() const {
5502 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.ActiveLink.link)
5503 return _internal_link();
5504}
5505inline void BotStatus_ActiveLink::_internal_set_link(::jaiabot::protobuf::Link value) {
5506 assert(::jaiabot::protobuf::Link_IsValid(value));
5507 _impl_._has_bits_[0] |= 0x00000002u;
5508 _impl_.link_ = value;
5509}
5510inline void BotStatus_ActiveLink::set_link(::jaiabot::protobuf::Link value) {
5511 _internal_set_link(value);
5512 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.ActiveLink.link)
5513}
5514
5515// optional uint64 last_received_time = 2 [(.dccl.field) = {
5516inline bool BotStatus_ActiveLink::_internal_has_last_received_time() const {
5517 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5518 return value;
5519}
5520inline bool BotStatus_ActiveLink::has_last_received_time() const {
5521 return _internal_has_last_received_time();
5522}
5523inline void BotStatus_ActiveLink::clear_last_received_time() {
5524 _impl_.last_received_time_ = uint64_t{0u};
5525 _impl_._has_bits_[0] &= ~0x00000001u;
5526}
5527inline uint64_t BotStatus_ActiveLink::_internal_last_received_time() const {
5528 return _impl_.last_received_time_;
5529}
5530inline uint64_t BotStatus_ActiveLink::last_received_time() const {
5531 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.ActiveLink.last_received_time)
5532 return _internal_last_received_time();
5533}
5534inline void BotStatus_ActiveLink::_internal_set_last_received_time(uint64_t value) {
5535 _impl_._has_bits_[0] |= 0x00000001u;
5536 _impl_.last_received_time_ = value;
5537}
5538inline void BotStatus_ActiveLink::set_last_received_time(uint64_t value) {
5539 _internal_set_last_received_time(value);
5540 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.ActiveLink.last_received_time)
5541}
5542
5543// -------------------------------------------------------------------
5544
5545// BotStatus_Attitude
5546
5547// optional double roll = 1 [(.dccl.field) = {
5548inline bool BotStatus_Attitude::_internal_has_roll() const {
5549 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5550 return value;
5551}
5552inline bool BotStatus_Attitude::has_roll() const {
5553 return _internal_has_roll();
5554}
5555inline void BotStatus_Attitude::clear_roll() {
5556 _impl_.roll_ = 0;
5557 _impl_._has_bits_[0] &= ~0x00000001u;
5558}
5559inline double BotStatus_Attitude::_internal_roll() const {
5560 return _impl_.roll_;
5561}
5562inline double BotStatus_Attitude::roll() const {
5563 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.roll)
5564 return _internal_roll();
5565}
5566inline void BotStatus_Attitude::_internal_set_roll(double value) {
5567 _impl_._has_bits_[0] |= 0x00000001u;
5568 _impl_.roll_ = value;
5569}
5570inline void BotStatus_Attitude::set_roll(double value) {
5571 _internal_set_roll(value);
5572 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.roll)
5573}
5574
5575// optional double pitch = 2 [(.dccl.field) = {
5576inline bool BotStatus_Attitude::_internal_has_pitch() const {
5577 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5578 return value;
5579}
5580inline bool BotStatus_Attitude::has_pitch() const {
5581 return _internal_has_pitch();
5582}
5583inline void BotStatus_Attitude::clear_pitch() {
5584 _impl_.pitch_ = 0;
5585 _impl_._has_bits_[0] &= ~0x00000002u;
5586}
5587inline double BotStatus_Attitude::_internal_pitch() const {
5588 return _impl_.pitch_;
5589}
5590inline double BotStatus_Attitude::pitch() const {
5591 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.pitch)
5592 return _internal_pitch();
5593}
5594inline void BotStatus_Attitude::_internal_set_pitch(double value) {
5595 _impl_._has_bits_[0] |= 0x00000002u;
5596 _impl_.pitch_ = value;
5597}
5598inline void BotStatus_Attitude::set_pitch(double value) {
5599 _internal_set_pitch(value);
5600 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.pitch)
5601}
5602
5603// optional double heading = 3 [(.dccl.field) = {
5604inline bool BotStatus_Attitude::_internal_has_heading() const {
5605 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5606 return value;
5607}
5608inline bool BotStatus_Attitude::has_heading() const {
5609 return _internal_has_heading();
5610}
5611inline void BotStatus_Attitude::clear_heading() {
5612 _impl_.heading_ = 0;
5613 _impl_._has_bits_[0] &= ~0x00000004u;
5614}
5615inline double BotStatus_Attitude::_internal_heading() const {
5616 return _impl_.heading_;
5617}
5618inline double BotStatus_Attitude::heading() const {
5619 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.heading)
5620 return _internal_heading();
5621}
5622inline void BotStatus_Attitude::_internal_set_heading(double value) {
5623 _impl_._has_bits_[0] |= 0x00000004u;
5624 _impl_.heading_ = value;
5625}
5626inline void BotStatus_Attitude::set_heading(double value) {
5627 _internal_set_heading(value);
5628 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.heading)
5629}
5630
5631// optional double course_over_ground = 4 [(.dccl.field) = {
5632inline bool BotStatus_Attitude::_internal_has_course_over_ground() const {
5633 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5634 return value;
5635}
5636inline bool BotStatus_Attitude::has_course_over_ground() const {
5637 return _internal_has_course_over_ground();
5638}
5639inline void BotStatus_Attitude::clear_course_over_ground() {
5640 _impl_.course_over_ground_ = 0;
5641 _impl_._has_bits_[0] &= ~0x00000008u;
5642}
5643inline double BotStatus_Attitude::_internal_course_over_ground() const {
5644 return _impl_.course_over_ground_;
5645}
5646inline double BotStatus_Attitude::course_over_ground() const {
5647 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.course_over_ground)
5648 return _internal_course_over_ground();
5649}
5650inline void BotStatus_Attitude::_internal_set_course_over_ground(double value) {
5651 _impl_._has_bits_[0] |= 0x00000008u;
5652 _impl_.course_over_ground_ = value;
5653}
5654inline void BotStatus_Attitude::set_course_over_ground(double value) {
5655 _internal_set_course_over_ground(value);
5656 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.course_over_ground)
5657}
5658
5659// -------------------------------------------------------------------
5660
5661// BotStatus_Speed
5662
5663// optional double over_ground = 1 [(.dccl.field) = {
5664inline bool BotStatus_Speed::_internal_has_over_ground() const {
5665 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5666 return value;
5667}
5668inline bool BotStatus_Speed::has_over_ground() const {
5669 return _internal_has_over_ground();
5670}
5671inline void BotStatus_Speed::clear_over_ground() {
5672 _impl_.over_ground_ = 0;
5673 _impl_._has_bits_[0] &= ~0x00000001u;
5674}
5675inline double BotStatus_Speed::_internal_over_ground() const {
5676 return _impl_.over_ground_;
5677}
5678inline double BotStatus_Speed::over_ground() const {
5679 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Speed.over_ground)
5680 return _internal_over_ground();
5681}
5682inline void BotStatus_Speed::_internal_set_over_ground(double value) {
5683 _impl_._has_bits_[0] |= 0x00000001u;
5684 _impl_.over_ground_ = value;
5685}
5686inline void BotStatus_Speed::set_over_ground(double value) {
5687 _internal_set_over_ground(value);
5688 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Speed.over_ground)
5689}
5690
5691// optional double over_water = 2 [(.dccl.field) = {
5692inline bool BotStatus_Speed::_internal_has_over_water() const {
5693 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5694 return value;
5695}
5696inline bool BotStatus_Speed::has_over_water() const {
5697 return _internal_has_over_water();
5698}
5699inline void BotStatus_Speed::clear_over_water() {
5700 _impl_.over_water_ = 0;
5701 _impl_._has_bits_[0] &= ~0x00000002u;
5702}
5703inline double BotStatus_Speed::_internal_over_water() const {
5704 return _impl_.over_water_;
5705}
5706inline double BotStatus_Speed::over_water() const {
5707 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Speed.over_water)
5708 return _internal_over_water();
5709}
5710inline void BotStatus_Speed::_internal_set_over_water(double value) {
5711 _impl_._has_bits_[0] |= 0x00000002u;
5712 _impl_.over_water_ = value;
5713}
5714inline void BotStatus_Speed::set_over_water(double value) {
5715 _internal_set_over_water(value);
5716 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Speed.over_water)
5717}
5718
5719// -------------------------------------------------------------------
5720
5721// BotStatus
5722
5723// required uint32 bot_id = 1 [(.dccl.field) = {
5724inline bool BotStatus::_internal_has_bot_id() const {
5725 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
5726 return value;
5727}
5728inline bool BotStatus::has_bot_id() const {
5729 return _internal_has_bot_id();
5730}
5731inline void BotStatus::clear_bot_id() {
5732 _impl_.bot_id_ = 0u;
5733 _impl_._has_bits_[0] &= ~0x00000100u;
5734}
5735inline uint32_t BotStatus::_internal_bot_id() const {
5736 return _impl_.bot_id_;
5737}
5738inline uint32_t BotStatus::bot_id() const {
5739 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.bot_id)
5740 return _internal_bot_id();
5741}
5742inline void BotStatus::_internal_set_bot_id(uint32_t value) {
5743 _impl_._has_bits_[0] |= 0x00000100u;
5744 _impl_.bot_id_ = value;
5745}
5746inline void BotStatus::set_bot_id(uint32_t value) {
5747 _internal_set_bot_id(value);
5748 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.bot_id)
5749}
5750
5751// required uint64 time = 2 [(.dccl.field) = {
5752inline bool BotStatus::_internal_has_time() const {
5753 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5754 return value;
5755}
5756inline bool BotStatus::has_time() const {
5757 return _internal_has_time();
5758}
5759inline void BotStatus::clear_time() {
5760 _impl_.time_ = uint64_t{0u};
5761 _impl_._has_bits_[0] &= ~0x00000010u;
5762}
5763inline uint64_t BotStatus::_internal_time() const {
5764 return _impl_.time_;
5765}
5766inline uint64_t BotStatus::time() const {
5767 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.time)
5768 return _internal_time();
5769}
5770inline void BotStatus::_internal_set_time(uint64_t value) {
5771 _impl_._has_bits_[0] |= 0x00000010u;
5772 _impl_.time_ = value;
5773}
5774inline void BotStatus::set_time(uint64_t value) {
5775 _internal_set_time(value);
5776 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.time)
5777}
5778
5779// optional uint64 last_command_time = 3 [(.dccl.field) = {
5780inline bool BotStatus::_internal_has_last_command_time() const {
5781 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
5782 return value;
5783}
5784inline bool BotStatus::has_last_command_time() const {
5785 return _internal_has_last_command_time();
5786}
5787inline void BotStatus::clear_last_command_time() {
5788 _impl_.last_command_time_ = uint64_t{0u};
5789 _impl_._has_bits_[0] &= ~0x00000020u;
5790}
5791inline uint64_t BotStatus::_internal_last_command_time() const {
5792 return _impl_.last_command_time_;
5793}
5794inline uint64_t BotStatus::last_command_time() const {
5795 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.last_command_time)
5796 return _internal_last_command_time();
5797}
5798inline void BotStatus::_internal_set_last_command_time(uint64_t value) {
5799 _impl_._has_bits_[0] |= 0x00000020u;
5800 _impl_.last_command_time_ = value;
5801}
5802inline void BotStatus::set_last_command_time(uint64_t value) {
5803 _internal_set_last_command_time(value);
5804 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.last_command_time)
5805}
5806
5807// optional .goby.middleware.protobuf.HealthState health_state = 4 [(.jaia.field) = {
5808inline bool BotStatus::_internal_has_health_state() const {
5809 bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
5810 return value;
5811}
5812inline bool BotStatus::has_health_state() const {
5813 return _internal_has_health_state();
5814}
5815inline void BotStatus::clear_health_state() {
5816 _impl_.health_state_ = 1;
5817 _impl_._has_bits_[0] &= ~0x00800000u;
5818}
5819inline ::goby::middleware::protobuf::HealthState BotStatus::_internal_health_state() const {
5820 return static_cast< ::goby::middleware::protobuf::HealthState >(_impl_.health_state_);
5821}
5822inline ::goby::middleware::protobuf::HealthState BotStatus::health_state() const {
5823 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.health_state)
5824 return _internal_health_state();
5825}
5826inline void BotStatus::_internal_set_health_state(::goby::middleware::protobuf::HealthState value) {
5827 assert(::goby::middleware::protobuf::HealthState_IsValid(value));
5828 _impl_._has_bits_[0] |= 0x00800000u;
5829 _impl_.health_state_ = value;
5830}
5831inline void BotStatus::set_health_state(::goby::middleware::protobuf::HealthState value) {
5832 _internal_set_health_state(value);
5833 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.health_state)
5834}
5835
5836// repeated .jaiabot.protobuf.Error error = 5 [(.dccl.field) = {
5837inline int BotStatus::_internal_error_size() const {
5838 return _impl_.error_.size();
5839}
5840inline int BotStatus::error_size() const {
5841 return _internal_error_size();
5842}
5843inline void BotStatus::clear_error() {
5844 _impl_.error_.Clear();
5845}
5846inline ::jaiabot::protobuf::Error BotStatus::_internal_error(int index) const {
5847 return static_cast< ::jaiabot::protobuf::Error >(_impl_.error_.Get(index));
5848}
5849inline ::jaiabot::protobuf::Error BotStatus::error(int index) const {
5850 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.error)
5851 return _internal_error(index);
5852}
5853inline void BotStatus::set_error(int index, ::jaiabot::protobuf::Error value) {
5855 _impl_.error_.Set(index, value);
5856 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.error)
5857}
5858inline void BotStatus::_internal_add_error(::jaiabot::protobuf::Error value) {
5860 _impl_.error_.Add(value);
5861}
5862inline void BotStatus::add_error(::jaiabot::protobuf::Error value) {
5863 _internal_add_error(value);
5864 // @@protoc_insertion_point(field_add:jaiabot.protobuf.BotStatus.error)
5865}
5866inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
5867BotStatus::error() const {
5868 // @@protoc_insertion_point(field_list:jaiabot.protobuf.BotStatus.error)
5869 return _impl_.error_;
5870}
5871inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5872BotStatus::_internal_mutable_error() {
5873 return &_impl_.error_;
5874}
5875inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5876BotStatus::mutable_error() {
5877 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.BotStatus.error)
5878 return _internal_mutable_error();
5879}
5880
5881// repeated .jaiabot.protobuf.Warning warning = 6 [(.dccl.field) = {
5882inline int BotStatus::_internal_warning_size() const {
5883 return _impl_.warning_.size();
5884}
5885inline int BotStatus::warning_size() const {
5886 return _internal_warning_size();
5887}
5888inline void BotStatus::clear_warning() {
5889 _impl_.warning_.Clear();
5890}
5891inline ::jaiabot::protobuf::Warning BotStatus::_internal_warning(int index) const {
5892 return static_cast< ::jaiabot::protobuf::Warning >(_impl_.warning_.Get(index));
5893}
5894inline ::jaiabot::protobuf::Warning BotStatus::warning(int index) const {
5895 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.warning)
5896 return _internal_warning(index);
5897}
5898inline void BotStatus::set_warning(int index, ::jaiabot::protobuf::Warning value) {
5900 _impl_.warning_.Set(index, value);
5901 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.warning)
5902}
5903inline void BotStatus::_internal_add_warning(::jaiabot::protobuf::Warning value) {
5905 _impl_.warning_.Add(value);
5906}
5907inline void BotStatus::add_warning(::jaiabot::protobuf::Warning value) {
5908 _internal_add_warning(value);
5909 // @@protoc_insertion_point(field_add:jaiabot.protobuf.BotStatus.warning)
5910}
5911inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
5912BotStatus::warning() const {
5913 // @@protoc_insertion_point(field_list:jaiabot.protobuf.BotStatus.warning)
5914 return _impl_.warning_;
5915}
5916inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5917BotStatus::_internal_mutable_warning() {
5918 return &_impl_.warning_;
5919}
5920inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5921BotStatus::mutable_warning() {
5922 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.BotStatus.warning)
5923 return _internal_mutable_warning();
5924}
5925
5926// optional .jaiabot.protobuf.BotStatus.BotType bot_type = 7 [(.jaia.field) = {
5927inline bool BotStatus::_internal_has_bot_type() const {
5928 bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
5929 return value;
5930}
5931inline bool BotStatus::has_bot_type() const {
5932 return _internal_has_bot_type();
5933}
5934inline void BotStatus::clear_bot_type() {
5935 _impl_.bot_type_ = 1;
5936 _impl_._has_bits_[0] &= ~0x01000000u;
5937}
5938inline ::jaiabot::protobuf::BotStatus_BotType BotStatus::_internal_bot_type() const {
5939 return static_cast< ::jaiabot::protobuf::BotStatus_BotType >(_impl_.bot_type_);
5940}
5941inline ::jaiabot::protobuf::BotStatus_BotType BotStatus::bot_type() const {
5942 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.bot_type)
5943 return _internal_bot_type();
5944}
5945inline void BotStatus::_internal_set_bot_type(::jaiabot::protobuf::BotStatus_BotType value) {
5947 _impl_._has_bits_[0] |= 0x01000000u;
5948 _impl_.bot_type_ = value;
5949}
5950inline void BotStatus::set_bot_type(::jaiabot::protobuf::BotStatus_BotType value) {
5951 _internal_set_bot_type(value);
5952 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.bot_type)
5953}
5954
5955// optional .jaiabot.protobuf.Link link = 8 [(.dccl.field) = {
5956inline bool BotStatus::_internal_has_link() const {
5957 bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0;
5958 return value;
5959}
5960inline bool BotStatus::has_link() const {
5961 return _internal_has_link();
5962}
5963inline void BotStatus::clear_link() {
5964 _impl_.link_ = -1;
5965 _impl_._has_bits_[0] &= ~0x02000000u;
5966}
5967inline ::jaiabot::protobuf::Link BotStatus::_internal_link() const {
5968 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
5969}
5970inline ::jaiabot::protobuf::Link BotStatus::link() const {
5971 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.link)
5972 return _internal_link();
5973}
5974inline void BotStatus::_internal_set_link(::jaiabot::protobuf::Link value) {
5975 assert(::jaiabot::protobuf::Link_IsValid(value));
5976 _impl_._has_bits_[0] |= 0x02000000u;
5977 _impl_.link_ = value;
5978}
5979inline void BotStatus::set_link(::jaiabot::protobuf::Link value) {
5980 _internal_set_link(value);
5981 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.link)
5982}
5983
5984// repeated .jaiabot.protobuf.BotStatus.ActiveLink active_links = 9 [(.dccl.field) = {
5985inline int BotStatus::_internal_active_links_size() const {
5986 return _impl_.active_links_.size();
5987}
5988inline int BotStatus::active_links_size() const {
5989 return _internal_active_links_size();
5990}
5991inline void BotStatus::clear_active_links() {
5992 _impl_.active_links_.Clear();
5993}
5994inline ::jaiabot::protobuf::BotStatus_ActiveLink* BotStatus::mutable_active_links(int index) {
5995 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.active_links)
5996 return _impl_.active_links_.Mutable(index);
5997}
5998inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >*
5999BotStatus::mutable_active_links() {
6000 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.BotStatus.active_links)
6001 return &_impl_.active_links_;
6002}
6003inline const ::jaiabot::protobuf::BotStatus_ActiveLink& BotStatus::_internal_active_links(int index) const {
6004 return _impl_.active_links_.Get(index);
6005}
6006inline const ::jaiabot::protobuf::BotStatus_ActiveLink& BotStatus::active_links(int index) const {
6007 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.active_links)
6008 return _internal_active_links(index);
6009}
6010inline ::jaiabot::protobuf::BotStatus_ActiveLink* BotStatus::_internal_add_active_links() {
6011 return _impl_.active_links_.Add();
6012}
6013inline ::jaiabot::protobuf::BotStatus_ActiveLink* BotStatus::add_active_links() {
6014 ::jaiabot::protobuf::BotStatus_ActiveLink* _add = _internal_add_active_links();
6015 // @@protoc_insertion_point(field_add:jaiabot.protobuf.BotStatus.active_links)
6016 return _add;
6017}
6018inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >&
6019BotStatus::active_links() const {
6020 // @@protoc_insertion_point(field_list:jaiabot.protobuf.BotStatus.active_links)
6021 return _impl_.active_links_;
6022}
6023
6024// optional .jaiabot.protobuf.GeographicCoordinate location = 10 [(.jaia.field) = {
6025inline bool BotStatus::_internal_has_location() const {
6026 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6027 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
6028 return value;
6029}
6030inline bool BotStatus::has_location() const {
6031 return _internal_has_location();
6032}
6033inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::_internal_location() const {
6034 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
6035 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
6037}
6038inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::location() const {
6039 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.location)
6040 return _internal_location();
6041}
6042inline void BotStatus::unsafe_arena_set_allocated_location(
6044 if (GetArenaForAllocation() == nullptr) {
6045 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
6046 }
6047 _impl_.location_ = location;
6048 if (location) {
6049 _impl_._has_bits_[0] |= 0x00000002u;
6050 } else {
6051 _impl_._has_bits_[0] &= ~0x00000002u;
6052 }
6053 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.location)
6054}
6055inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::release_location() {
6056 _impl_._has_bits_[0] &= ~0x00000002u;
6057 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
6058 _impl_.location_ = nullptr;
6059#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6060 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6061 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6062 if (GetArenaForAllocation() == nullptr) { delete old; }
6063#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6064 if (GetArenaForAllocation() != nullptr) {
6065 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6066 }
6067#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6068 return temp;
6069}
6070inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::unsafe_arena_release_location() {
6071 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.location)
6072 _impl_._has_bits_[0] &= ~0x00000002u;
6073 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
6074 _impl_.location_ = nullptr;
6075 return temp;
6076}
6077inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::_internal_mutable_location() {
6078 _impl_._has_bits_[0] |= 0x00000002u;
6079 if (_impl_.location_ == nullptr) {
6080 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
6081 _impl_.location_ = p;
6082 }
6083 return _impl_.location_;
6084}
6085inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::mutable_location() {
6086 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_location();
6087 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.location)
6088 return _msg;
6089}
6090inline void BotStatus::set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location) {
6091 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6092 if (message_arena == nullptr) {
6093 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
6094 }
6095 if (location) {
6096 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6097 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
6098 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location));
6099 if (message_arena != submessage_arena) {
6100 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6101 message_arena, location, submessage_arena);
6102 }
6103 _impl_._has_bits_[0] |= 0x00000002u;
6104 } else {
6105 _impl_._has_bits_[0] &= ~0x00000002u;
6106 }
6107 _impl_.location_ = location;
6108 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.location)
6109}
6110
6111// optional double sensor_depth = 11 [(.dccl.field) = {
6112inline bool BotStatus::_internal_has_sensor_depth() const {
6113 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
6114 return value;
6115}
6116inline bool BotStatus::has_sensor_depth() const {
6117 return _internal_has_sensor_depth();
6118}
6119inline void BotStatus::clear_sensor_depth() {
6120 _impl_.sensor_depth_ = 0;
6121 _impl_._has_bits_[0] &= ~0x00000040u;
6122}
6123inline double BotStatus::_internal_sensor_depth() const {
6124 return _impl_.sensor_depth_;
6125}
6126inline double BotStatus::sensor_depth() const {
6127 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.sensor_depth)
6128 return _internal_sensor_depth();
6129}
6130inline void BotStatus::_internal_set_sensor_depth(double value) {
6131 _impl_._has_bits_[0] |= 0x00000040u;
6132 _impl_.sensor_depth_ = value;
6133}
6134inline void BotStatus::set_sensor_depth(double value) {
6135 _internal_set_sensor_depth(value);
6136 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.sensor_depth)
6137}
6138
6139// optional double depth = 12 [(.dccl.field) = {
6140inline bool BotStatus::_internal_has_depth() const {
6141 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
6142 return value;
6143}
6144inline bool BotStatus::has_depth() const {
6145 return _internal_has_depth();
6146}
6147inline void BotStatus::clear_depth() {
6148 _impl_.depth_ = 0;
6149 _impl_._has_bits_[0] &= ~0x00000080u;
6150}
6151inline double BotStatus::_internal_depth() const {
6152 return _impl_.depth_;
6153}
6154inline double BotStatus::depth() const {
6155 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.depth)
6156 return _internal_depth();
6157}
6158inline void BotStatus::_internal_set_depth(double value) {
6159 _impl_._has_bits_[0] |= 0x00000080u;
6160 _impl_.depth_ = value;
6161}
6162inline void BotStatus::set_depth(double value) {
6163 _internal_set_depth(value);
6164 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.depth)
6165}
6166
6167// optional .jaiabot.protobuf.BotStatus.Attitude attitude = 20 [(.jaia.field) = {
6168inline bool BotStatus::_internal_has_attitude() const {
6169 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6170 PROTOBUF_ASSUME(!value || _impl_.attitude_ != nullptr);
6171 return value;
6172}
6173inline bool BotStatus::has_attitude() const {
6174 return _internal_has_attitude();
6175}
6176inline void BotStatus::clear_attitude() {
6177 if (_impl_.attitude_ != nullptr) _impl_.attitude_->Clear();
6178 _impl_._has_bits_[0] &= ~0x00000004u;
6179}
6180inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::_internal_attitude() const {
6181 const ::jaiabot::protobuf::BotStatus_Attitude* p = _impl_.attitude_;
6182 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::BotStatus_Attitude&>(
6184}
6185inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::attitude() const {
6186 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.attitude)
6187 return _internal_attitude();
6188}
6189inline void BotStatus::unsafe_arena_set_allocated_attitude(
6191 if (GetArenaForAllocation() == nullptr) {
6192 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attitude_);
6193 }
6194 _impl_.attitude_ = attitude;
6195 if (attitude) {
6196 _impl_._has_bits_[0] |= 0x00000004u;
6197 } else {
6198 _impl_._has_bits_[0] &= ~0x00000004u;
6199 }
6200 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.attitude)
6201}
6202inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::release_attitude() {
6203 _impl_._has_bits_[0] &= ~0x00000004u;
6204 ::jaiabot::protobuf::BotStatus_Attitude* temp = _impl_.attitude_;
6205 _impl_.attitude_ = nullptr;
6206#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6207 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6208 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6209 if (GetArenaForAllocation() == nullptr) { delete old; }
6210#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6211 if (GetArenaForAllocation() != nullptr) {
6212 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6213 }
6214#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6215 return temp;
6216}
6217inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::unsafe_arena_release_attitude() {
6218 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.attitude)
6219 _impl_._has_bits_[0] &= ~0x00000004u;
6220 ::jaiabot::protobuf::BotStatus_Attitude* temp = _impl_.attitude_;
6221 _impl_.attitude_ = nullptr;
6222 return temp;
6223}
6224inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::_internal_mutable_attitude() {
6225 _impl_._has_bits_[0] |= 0x00000004u;
6226 if (_impl_.attitude_ == nullptr) {
6227 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(GetArenaForAllocation());
6228 _impl_.attitude_ = p;
6229 }
6230 return _impl_.attitude_;
6231}
6232inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::mutable_attitude() {
6233 ::jaiabot::protobuf::BotStatus_Attitude* _msg = _internal_mutable_attitude();
6234 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.attitude)
6235 return _msg;
6236}
6237inline void BotStatus::set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude* attitude) {
6238 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6239 if (message_arena == nullptr) {
6240 delete _impl_.attitude_;
6241 }
6242 if (attitude) {
6243 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6244 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attitude);
6245 if (message_arena != submessage_arena) {
6246 attitude = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6247 message_arena, attitude, submessage_arena);
6248 }
6249 _impl_._has_bits_[0] |= 0x00000004u;
6250 } else {
6251 _impl_._has_bits_[0] &= ~0x00000004u;
6252 }
6253 _impl_.attitude_ = attitude;
6254 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.attitude)
6255}
6256
6257// optional .jaiabot.protobuf.BotStatus.Speed speed = 30 [(.jaia.field) = {
6258inline bool BotStatus::_internal_has_speed() const {
6259 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6260 PROTOBUF_ASSUME(!value || _impl_.speed_ != nullptr);
6261 return value;
6262}
6263inline bool BotStatus::has_speed() const {
6264 return _internal_has_speed();
6265}
6266inline void BotStatus::clear_speed() {
6267 if (_impl_.speed_ != nullptr) _impl_.speed_->Clear();
6268 _impl_._has_bits_[0] &= ~0x00000008u;
6269}
6270inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::_internal_speed() const {
6271 const ::jaiabot::protobuf::BotStatus_Speed* p = _impl_.speed_;
6272 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::BotStatus_Speed&>(
6274}
6275inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::speed() const {
6276 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.speed)
6277 return _internal_speed();
6278}
6279inline void BotStatus::unsafe_arena_set_allocated_speed(
6281 if (GetArenaForAllocation() == nullptr) {
6282 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.speed_);
6283 }
6284 _impl_.speed_ = speed;
6285 if (speed) {
6286 _impl_._has_bits_[0] |= 0x00000008u;
6287 } else {
6288 _impl_._has_bits_[0] &= ~0x00000008u;
6289 }
6290 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.speed)
6291}
6292inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::release_speed() {
6293 _impl_._has_bits_[0] &= ~0x00000008u;
6294 ::jaiabot::protobuf::BotStatus_Speed* temp = _impl_.speed_;
6295 _impl_.speed_ = nullptr;
6296#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6297 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6298 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6299 if (GetArenaForAllocation() == nullptr) { delete old; }
6300#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6301 if (GetArenaForAllocation() != nullptr) {
6302 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6303 }
6304#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6305 return temp;
6306}
6307inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::unsafe_arena_release_speed() {
6308 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.speed)
6309 _impl_._has_bits_[0] &= ~0x00000008u;
6310 ::jaiabot::protobuf::BotStatus_Speed* temp = _impl_.speed_;
6311 _impl_.speed_ = nullptr;
6312 return temp;
6313}
6314inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::_internal_mutable_speed() {
6315 _impl_._has_bits_[0] |= 0x00000008u;
6316 if (_impl_.speed_ == nullptr) {
6317 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(GetArenaForAllocation());
6318 _impl_.speed_ = p;
6319 }
6320 return _impl_.speed_;
6321}
6322inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::mutable_speed() {
6323 ::jaiabot::protobuf::BotStatus_Speed* _msg = _internal_mutable_speed();
6324 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.speed)
6325 return _msg;
6326}
6327inline void BotStatus::set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed* speed) {
6328 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6329 if (message_arena == nullptr) {
6330 delete _impl_.speed_;
6331 }
6332 if (speed) {
6333 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6334 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(speed);
6335 if (message_arena != submessage_arena) {
6336 speed = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6337 message_arena, speed, submessage_arena);
6338 }
6339 _impl_._has_bits_[0] |= 0x00000008u;
6340 } else {
6341 _impl_._has_bits_[0] &= ~0x00000008u;
6342 }
6343 _impl_.speed_ = speed;
6344 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.speed)
6345}
6346
6347// optional .jaiabot.protobuf.MissionState mission_state = 40 [(.jaia.field) = {
6348inline bool BotStatus::_internal_has_mission_state() const {
6349 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
6350 return value;
6351}
6352inline bool BotStatus::has_mission_state() const {
6353 return _internal_has_mission_state();
6354}
6355inline void BotStatus::clear_mission_state() {
6356 _impl_.mission_state_ = 0;
6357 _impl_._has_bits_[0] &= ~0x00000200u;
6358}
6359inline ::jaiabot::protobuf::MissionState BotStatus::_internal_mission_state() const {
6360 return static_cast< ::jaiabot::protobuf::MissionState >(_impl_.mission_state_);
6361}
6362inline ::jaiabot::protobuf::MissionState BotStatus::mission_state() const {
6363 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.mission_state)
6364 return _internal_mission_state();
6365}
6366inline void BotStatus::_internal_set_mission_state(::jaiabot::protobuf::MissionState value) {
6368 _impl_._has_bits_[0] |= 0x00000200u;
6369 _impl_.mission_state_ = value;
6370}
6371inline void BotStatus::set_mission_state(::jaiabot::protobuf::MissionState value) {
6372 _internal_set_mission_state(value);
6373 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.mission_state)
6374}
6375
6376// optional int32 active_goal = 41 [(.dccl.field) = {
6377inline bool BotStatus::_internal_has_active_goal() const {
6378 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
6379 return value;
6380}
6381inline bool BotStatus::has_active_goal() const {
6382 return _internal_has_active_goal();
6383}
6384inline void BotStatus::clear_active_goal() {
6385 _impl_.active_goal_ = 0;
6386 _impl_._has_bits_[0] &= ~0x00000800u;
6387}
6388inline int32_t BotStatus::_internal_active_goal() const {
6389 return _impl_.active_goal_;
6390}
6391inline int32_t BotStatus::active_goal() const {
6392 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.active_goal)
6393 return _internal_active_goal();
6394}
6395inline void BotStatus::_internal_set_active_goal(int32_t value) {
6396 _impl_._has_bits_[0] |= 0x00000800u;
6397 _impl_.active_goal_ = value;
6398}
6399inline void BotStatus::set_active_goal(int32_t value) {
6400 _internal_set_active_goal(value);
6401 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.active_goal)
6402}
6403
6404// optional double distance_to_active_goal = 42 [(.dccl.field) = {
6405inline bool BotStatus::_internal_has_distance_to_active_goal() const {
6406 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
6407 return value;
6408}
6409inline bool BotStatus::has_distance_to_active_goal() const {
6410 return _internal_has_distance_to_active_goal();
6411}
6412inline void BotStatus::clear_distance_to_active_goal() {
6413 _impl_.distance_to_active_goal_ = 0;
6414 _impl_._has_bits_[0] &= ~0x00000400u;
6415}
6416inline double BotStatus::_internal_distance_to_active_goal() const {
6417 return _impl_.distance_to_active_goal_;
6418}
6419inline double BotStatus::distance_to_active_goal() const {
6420 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.distance_to_active_goal)
6421 return _internal_distance_to_active_goal();
6422}
6423inline void BotStatus::_internal_set_distance_to_active_goal(double value) {
6424 _impl_._has_bits_[0] |= 0x00000400u;
6425 _impl_.distance_to_active_goal_ = value;
6426}
6427inline void BotStatus::set_distance_to_active_goal(double value) {
6428 _internal_set_distance_to_active_goal(value);
6429 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.distance_to_active_goal)
6430}
6431
6432// optional uint32 active_goal_timeout = 43 [(.dccl.field) = {
6433inline bool BotStatus::_internal_has_active_goal_timeout() const {
6434 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
6435 return value;
6436}
6437inline bool BotStatus::has_active_goal_timeout() const {
6438 return _internal_has_active_goal_timeout();
6439}
6440inline void BotStatus::clear_active_goal_timeout() {
6441 _impl_.active_goal_timeout_ = 0u;
6442 _impl_._has_bits_[0] &= ~0x00001000u;
6443}
6444inline uint32_t BotStatus::_internal_active_goal_timeout() const {
6445 return _impl_.active_goal_timeout_;
6446}
6447inline uint32_t BotStatus::active_goal_timeout() const {
6448 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.active_goal_timeout)
6449 return _internal_active_goal_timeout();
6450}
6451inline void BotStatus::_internal_set_active_goal_timeout(uint32_t value) {
6452 _impl_._has_bits_[0] |= 0x00001000u;
6453 _impl_.active_goal_timeout_ = value;
6454}
6455inline void BotStatus::set_active_goal_timeout(uint32_t value) {
6456 _internal_set_active_goal_timeout(value);
6457 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.active_goal_timeout)
6458}
6459
6460// optional int32 repeat_index = 44 [(.dccl.field) = {
6461inline bool BotStatus::_internal_has_repeat_index() const {
6462 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
6463 return value;
6464}
6465inline bool BotStatus::has_repeat_index() const {
6466 return _internal_has_repeat_index();
6467}
6468inline void BotStatus::clear_repeat_index() {
6469 _impl_.repeat_index_ = 0;
6470 _impl_._has_bits_[0] &= ~0x00002000u;
6471}
6472inline int32_t BotStatus::_internal_repeat_index() const {
6473 return _impl_.repeat_index_;
6474}
6475inline int32_t BotStatus::repeat_index() const {
6476 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.repeat_index)
6477 return _internal_repeat_index();
6478}
6479inline void BotStatus::_internal_set_repeat_index(int32_t value) {
6480 _impl_._has_bits_[0] |= 0x00002000u;
6481 _impl_.repeat_index_ = value;
6482}
6483inline void BotStatus::set_repeat_index(int32_t value) {
6484 _internal_set_repeat_index(value);
6485 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.repeat_index)
6486}
6487
6488// optional double salinity = 51 [(.dccl.field) = {
6489inline bool BotStatus::_internal_has_salinity() const {
6490 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
6491 return value;
6492}
6493inline bool BotStatus::has_salinity() const {
6494 return _internal_has_salinity();
6495}
6496inline void BotStatus::clear_salinity() {
6497 _impl_.salinity_ = 0;
6498 _impl_._has_bits_[0] &= ~0x00008000u;
6499}
6500inline double BotStatus::_internal_salinity() const {
6501 return _impl_.salinity_;
6502}
6503inline double BotStatus::salinity() const {
6504 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.salinity)
6505 return _internal_salinity();
6506}
6507inline void BotStatus::_internal_set_salinity(double value) {
6508 _impl_._has_bits_[0] |= 0x00008000u;
6509 _impl_.salinity_ = value;
6510}
6511inline void BotStatus::set_salinity(double value) {
6512 _internal_set_salinity(value);
6513 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.salinity)
6514}
6515
6516// optional double temperature = 52 [(.dccl.field) = {
6517inline bool BotStatus::_internal_has_temperature() const {
6518 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
6519 return value;
6520}
6521inline bool BotStatus::has_temperature() const {
6522 return _internal_has_temperature();
6523}
6524inline void BotStatus::clear_temperature() {
6525 _impl_.temperature_ = 0;
6526 _impl_._has_bits_[0] &= ~0x00010000u;
6527}
6528inline double BotStatus::_internal_temperature() const {
6529 return _impl_.temperature_;
6530}
6531inline double BotStatus::temperature() const {
6532 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.temperature)
6533 return _internal_temperature();
6534}
6535inline void BotStatus::_internal_set_temperature(double value) {
6536 _impl_._has_bits_[0] |= 0x00010000u;
6537 _impl_.temperature_ = value;
6538}
6539inline void BotStatus::set_temperature(double value) {
6540 _internal_set_temperature(value);
6541 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.temperature)
6542}
6543
6544// optional double battery_percent = 53 [(.dccl.field) = {
6545inline bool BotStatus::_internal_has_battery_percent() const {
6546 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
6547 return value;
6548}
6549inline bool BotStatus::has_battery_percent() const {
6550 return _internal_has_battery_percent();
6551}
6552inline void BotStatus::clear_battery_percent() {
6553 _impl_.battery_percent_ = 0;
6554 _impl_._has_bits_[0] &= ~0x00020000u;
6555}
6556inline double BotStatus::_internal_battery_percent() const {
6557 return _impl_.battery_percent_;
6558}
6559inline double BotStatus::battery_percent() const {
6560 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.battery_percent)
6561 return _internal_battery_percent();
6562}
6563inline void BotStatus::_internal_set_battery_percent(double value) {
6564 _impl_._has_bits_[0] |= 0x00020000u;
6565 _impl_.battery_percent_ = value;
6566}
6567inline void BotStatus::set_battery_percent(double value) {
6568 _internal_set_battery_percent(value);
6569 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.battery_percent)
6570}
6571
6572// optional int32 calibration_status = 54 [(.dccl.field) = {
6573inline bool BotStatus::_internal_has_calibration_status() const {
6574 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
6575 return value;
6576}
6577inline bool BotStatus::has_calibration_status() const {
6578 return _internal_has_calibration_status();
6579}
6580inline void BotStatus::clear_calibration_status() {
6581 _impl_.calibration_status_ = 0;
6582 _impl_._has_bits_[0] &= ~0x00004000u;
6583}
6584inline int32_t BotStatus::_internal_calibration_status() const {
6585 return _impl_.calibration_status_;
6586}
6587inline int32_t BotStatus::calibration_status() const {
6588 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.calibration_status)
6589 return _internal_calibration_status();
6590}
6591inline void BotStatus::_internal_set_calibration_status(int32_t value) {
6592 _impl_._has_bits_[0] |= 0x00004000u;
6593 _impl_.calibration_status_ = value;
6594}
6595inline void BotStatus::set_calibration_status(int32_t value) {
6596 _internal_set_calibration_status(value);
6597 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.calibration_status)
6598}
6599
6600// optional .jaiabot.protobuf.IMUCalibrationState calibration_state = 55;
6601inline bool BotStatus::_internal_has_calibration_state() const {
6602 bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0;
6603 return value;
6604}
6605inline bool BotStatus::has_calibration_state() const {
6606 return _internal_has_calibration_state();
6607}
6608inline void BotStatus::clear_calibration_state() {
6609 _impl_.calibration_state_ = 1;
6610 _impl_._has_bits_[0] &= ~0x04000000u;
6611}
6612inline ::jaiabot::protobuf::IMUCalibrationState BotStatus::_internal_calibration_state() const {
6613 return static_cast< ::jaiabot::protobuf::IMUCalibrationState >(_impl_.calibration_state_);
6614}
6615inline ::jaiabot::protobuf::IMUCalibrationState BotStatus::calibration_state() const {
6616 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.calibration_state)
6617 return _internal_calibration_state();
6618}
6619inline void BotStatus::_internal_set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value) {
6621 _impl_._has_bits_[0] |= 0x04000000u;
6622 _impl_.calibration_state_ = value;
6623}
6624inline void BotStatus::set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value) {
6625 _internal_set_calibration_state(value);
6626 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.calibration_state)
6627}
6628
6629// optional double hdop = 56 [(.dccl.field) = {
6630inline bool BotStatus::_internal_has_hdop() const {
6631 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
6632 return value;
6633}
6634inline bool BotStatus::has_hdop() const {
6635 return _internal_has_hdop();
6636}
6637inline void BotStatus::clear_hdop() {
6638 _impl_.hdop_ = 0;
6639 _impl_._has_bits_[0] &= ~0x00040000u;
6640}
6641inline double BotStatus::_internal_hdop() const {
6642 return _impl_.hdop_;
6643}
6644inline double BotStatus::hdop() const {
6645 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.hdop)
6646 return _internal_hdop();
6647}
6648inline void BotStatus::_internal_set_hdop(double value) {
6649 _impl_._has_bits_[0] |= 0x00040000u;
6650 _impl_.hdop_ = value;
6651}
6652inline void BotStatus::set_hdop(double value) {
6653 _internal_set_hdop(value);
6654 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.hdop)
6655}
6656
6657// optional double pdop = 57 [(.dccl.field) = {
6658inline bool BotStatus::_internal_has_pdop() const {
6659 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
6660 return value;
6661}
6662inline bool BotStatus::has_pdop() const {
6663 return _internal_has_pdop();
6664}
6665inline void BotStatus::clear_pdop() {
6666 _impl_.pdop_ = 0;
6667 _impl_._has_bits_[0] &= ~0x00080000u;
6668}
6669inline double BotStatus::_internal_pdop() const {
6670 return _impl_.pdop_;
6671}
6672inline double BotStatus::pdop() const {
6673 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.pdop)
6674 return _internal_pdop();
6675}
6676inline void BotStatus::_internal_set_pdop(double value) {
6677 _impl_._has_bits_[0] |= 0x00080000u;
6678 _impl_.pdop_ = value;
6679}
6680inline void BotStatus::set_pdop(double value) {
6681 _internal_set_pdop(value);
6682 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.pdop)
6683}
6684
6685// optional int32 wifi_link_quality_percentage = 58 [(.dccl.field) = {
6686inline bool BotStatus::_internal_has_wifi_link_quality_percentage() const {
6687 bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
6688 return value;
6689}
6690inline bool BotStatus::has_wifi_link_quality_percentage() const {
6691 return _internal_has_wifi_link_quality_percentage();
6692}
6693inline void BotStatus::clear_wifi_link_quality_percentage() {
6694 _impl_.wifi_link_quality_percentage_ = 0;
6695 _impl_._has_bits_[0] &= ~0x00400000u;
6696}
6697inline int32_t BotStatus::_internal_wifi_link_quality_percentage() const {
6698 return _impl_.wifi_link_quality_percentage_;
6699}
6700inline int32_t BotStatus::wifi_link_quality_percentage() const {
6701 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.wifi_link_quality_percentage)
6702 return _internal_wifi_link_quality_percentage();
6703}
6704inline void BotStatus::_internal_set_wifi_link_quality_percentage(int32_t value) {
6705 _impl_._has_bits_[0] |= 0x00400000u;
6706 _impl_.wifi_link_quality_percentage_ = value;
6707}
6708inline void BotStatus::set_wifi_link_quality_percentage(int32_t value) {
6709 _internal_set_wifi_link_quality_percentage(value);
6710 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.wifi_link_quality_percentage)
6711}
6712
6713// optional uint64 received_time = 59 [(.dccl.field) = {
6714inline bool BotStatus::_internal_has_received_time() const {
6715 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
6716 return value;
6717}
6718inline bool BotStatus::has_received_time() const {
6719 return _internal_has_received_time();
6720}
6721inline void BotStatus::clear_received_time() {
6722 _impl_.received_time_ = uint64_t{0u};
6723 _impl_._has_bits_[0] &= ~0x00100000u;
6724}
6725inline uint64_t BotStatus::_internal_received_time() const {
6726 return _impl_.received_time_;
6727}
6728inline uint64_t BotStatus::received_time() const {
6729 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.received_time)
6730 return _internal_received_time();
6731}
6732inline void BotStatus::_internal_set_received_time(uint64_t value) {
6733 _impl_._has_bits_[0] |= 0x00100000u;
6734 _impl_.received_time_ = value;
6735}
6736inline void BotStatus::set_received_time(uint64_t value) {
6737 _internal_set_received_time(value);
6738 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.received_time)
6739}
6740
6741// optional uint64 mission_command_time = 71 [(.dccl.field) = {
6742inline bool BotStatus::_internal_has_mission_command_time() const {
6743 bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
6744 return value;
6745}
6746inline bool BotStatus::has_mission_command_time() const {
6747 return _internal_has_mission_command_time();
6748}
6749inline void BotStatus::clear_mission_command_time() {
6750 _impl_.mission_command_time_ = uint64_t{0u};
6751 _impl_._has_bits_[0] &= ~0x00200000u;
6752}
6753inline uint64_t BotStatus::_internal_mission_command_time() const {
6754 return _impl_.mission_command_time_;
6755}
6756inline uint64_t BotStatus::mission_command_time() const {
6757 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.mission_command_time)
6758 return _internal_mission_command_time();
6759}
6760inline void BotStatus::_internal_set_mission_command_time(uint64_t value) {
6761 _impl_._has_bits_[0] |= 0x00200000u;
6762 _impl_.mission_command_time_ = value;
6763}
6764inline void BotStatus::set_mission_command_time(uint64_t value) {
6765 _internal_set_mission_command_time(value);
6766 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.mission_command_time)
6767}
6768
6769// optional string mission_name = 72 [(.dccl.field) = {
6770inline bool BotStatus::_internal_has_mission_name() const {
6771 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6772 return value;
6773}
6774inline bool BotStatus::has_mission_name() const {
6775 return _internal_has_mission_name();
6776}
6777inline void BotStatus::clear_mission_name() {
6778 _impl_.mission_name_.ClearToEmpty();
6779 _impl_._has_bits_[0] &= ~0x00000001u;
6780}
6781inline const std::string& BotStatus::mission_name() const {
6782 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.mission_name)
6783 return _internal_mission_name();
6784}
6785template <typename ArgT0, typename... ArgT>
6786inline PROTOBUF_ALWAYS_INLINE
6787void BotStatus::set_mission_name(ArgT0&& arg0, ArgT... args) {
6788 _impl_._has_bits_[0] |= 0x00000001u;
6789 _impl_.mission_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
6790 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.mission_name)
6791}
6792inline std::string* BotStatus::mutable_mission_name() {
6793 std::string* _s = _internal_mutable_mission_name();
6794 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.mission_name)
6795 return _s;
6796}
6797inline const std::string& BotStatus::_internal_mission_name() const {
6798 return _impl_.mission_name_.Get();
6799}
6800inline void BotStatus::_internal_set_mission_name(const std::string& value) {
6801 _impl_._has_bits_[0] |= 0x00000001u;
6802 _impl_.mission_name_.Set(value, GetArenaForAllocation());
6803}
6804inline std::string* BotStatus::_internal_mutable_mission_name() {
6805 _impl_._has_bits_[0] |= 0x00000001u;
6806 return _impl_.mission_name_.Mutable(GetArenaForAllocation());
6807}
6808inline std::string* BotStatus::release_mission_name() {
6809 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.mission_name)
6810 if (!_internal_has_mission_name()) {
6811 return nullptr;
6812 }
6813 _impl_._has_bits_[0] &= ~0x00000001u;
6814 auto* p = _impl_.mission_name_.Release();
6815#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6816 if (_impl_.mission_name_.IsDefault()) {
6817 _impl_.mission_name_.Set("", GetArenaForAllocation());
6818 }
6819#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6820 return p;
6821}
6822inline void BotStatus::set_allocated_mission_name(std::string* mission_name) {
6823 if (mission_name != nullptr) {
6824 _impl_._has_bits_[0] |= 0x00000001u;
6825 } else {
6826 _impl_._has_bits_[0] &= ~0x00000001u;
6827 }
6828 _impl_.mission_name_.SetAllocated(mission_name, GetArenaForAllocation());
6829#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6830 if (_impl_.mission_name_.IsDefault()) {
6831 _impl_.mission_name_.Set("", GetArenaForAllocation());
6832 }
6833#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6834 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.mission_name)
6835}
6836
6837// -------------------------------------------------------------------
6838
6839// DriftPacket_EstimatedDrift
6840
6841// required double speed = 1 [(.dccl.field) = {
6842inline bool DriftPacket_EstimatedDrift::_internal_has_speed() const {
6843 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6844 return value;
6845}
6846inline bool DriftPacket_EstimatedDrift::has_speed() const {
6847 return _internal_has_speed();
6848}
6849inline void DriftPacket_EstimatedDrift::clear_speed() {
6850 _impl_.speed_ = 0;
6851 _impl_._has_bits_[0] &= ~0x00000001u;
6852}
6853inline double DriftPacket_EstimatedDrift::_internal_speed() const {
6854 return _impl_.speed_;
6855}
6856inline double DriftPacket_EstimatedDrift::speed() const {
6857 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.EstimatedDrift.speed)
6858 return _internal_speed();
6859}
6860inline void DriftPacket_EstimatedDrift::_internal_set_speed(double value) {
6861 _impl_._has_bits_[0] |= 0x00000001u;
6862 _impl_.speed_ = value;
6863}
6864inline void DriftPacket_EstimatedDrift::set_speed(double value) {
6865 _internal_set_speed(value);
6866 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.EstimatedDrift.speed)
6867}
6868
6869// optional double heading = 3 [(.dccl.field) = {
6870inline bool DriftPacket_EstimatedDrift::_internal_has_heading() const {
6871 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6872 return value;
6873}
6874inline bool DriftPacket_EstimatedDrift::has_heading() const {
6875 return _internal_has_heading();
6876}
6877inline void DriftPacket_EstimatedDrift::clear_heading() {
6878 _impl_.heading_ = 0;
6879 _impl_._has_bits_[0] &= ~0x00000002u;
6880}
6881inline double DriftPacket_EstimatedDrift::_internal_heading() const {
6882 return _impl_.heading_;
6883}
6884inline double DriftPacket_EstimatedDrift::heading() const {
6885 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.EstimatedDrift.heading)
6886 return _internal_heading();
6887}
6888inline void DriftPacket_EstimatedDrift::_internal_set_heading(double value) {
6889 _impl_._has_bits_[0] |= 0x00000002u;
6890 _impl_.heading_ = value;
6891}
6892inline void DriftPacket_EstimatedDrift::set_heading(double value) {
6893 _internal_set_heading(value);
6894 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.EstimatedDrift.heading)
6895}
6896
6897// -------------------------------------------------------------------
6898
6899// DriftPacket
6900
6901// optional int32 drift_duration = 1 [default = 0, (.dccl.field) = {
6902inline bool DriftPacket::_internal_has_drift_duration() const {
6903 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
6904 return value;
6905}
6906inline bool DriftPacket::has_drift_duration() const {
6907 return _internal_has_drift_duration();
6908}
6909inline void DriftPacket::clear_drift_duration() {
6910 _impl_.drift_duration_ = 0;
6911 _impl_._has_bits_[0] &= ~0x00000010u;
6912}
6913inline int32_t DriftPacket::_internal_drift_duration() const {
6914 return _impl_.drift_duration_;
6915}
6916inline int32_t DriftPacket::drift_duration() const {
6917 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.drift_duration)
6918 return _internal_drift_duration();
6919}
6920inline void DriftPacket::_internal_set_drift_duration(int32_t value) {
6921 _impl_._has_bits_[0] |= 0x00000010u;
6922 _impl_.drift_duration_ = value;
6923}
6924inline void DriftPacket::set_drift_duration(int32_t value) {
6925 _internal_set_drift_duration(value);
6926 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.drift_duration)
6927}
6928
6929// optional .jaiabot.protobuf.DriftPacket.EstimatedDrift estimated_drift = 10 [(.jaia.field) = {
6930inline bool DriftPacket::_internal_has_estimated_drift() const {
6931 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6932 PROTOBUF_ASSUME(!value || _impl_.estimated_drift_ != nullptr);
6933 return value;
6934}
6935inline bool DriftPacket::has_estimated_drift() const {
6936 return _internal_has_estimated_drift();
6937}
6938inline void DriftPacket::clear_estimated_drift() {
6939 if (_impl_.estimated_drift_ != nullptr) _impl_.estimated_drift_->Clear();
6940 _impl_._has_bits_[0] &= ~0x00000001u;
6941}
6942inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::_internal_estimated_drift() const {
6943 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift* p = _impl_.estimated_drift_;
6944 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DriftPacket_EstimatedDrift&>(
6946}
6947inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::estimated_drift() const {
6948 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.estimated_drift)
6949 return _internal_estimated_drift();
6950}
6951inline void DriftPacket::unsafe_arena_set_allocated_estimated_drift(
6953 if (GetArenaForAllocation() == nullptr) {
6954 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.estimated_drift_);
6955 }
6956 _impl_.estimated_drift_ = estimated_drift;
6957 if (estimated_drift) {
6958 _impl_._has_bits_[0] |= 0x00000001u;
6959 } else {
6960 _impl_._has_bits_[0] &= ~0x00000001u;
6961 }
6962 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.estimated_drift)
6963}
6964inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::release_estimated_drift() {
6965 _impl_._has_bits_[0] &= ~0x00000001u;
6966 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* temp = _impl_.estimated_drift_;
6967 _impl_.estimated_drift_ = nullptr;
6968#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6969 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6970 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6971 if (GetArenaForAllocation() == nullptr) { delete old; }
6972#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6973 if (GetArenaForAllocation() != nullptr) {
6974 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6975 }
6976#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6977 return temp;
6978}
6979inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::unsafe_arena_release_estimated_drift() {
6980 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.estimated_drift)
6981 _impl_._has_bits_[0] &= ~0x00000001u;
6982 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* temp = _impl_.estimated_drift_;
6983 _impl_.estimated_drift_ = nullptr;
6984 return temp;
6985}
6986inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::_internal_mutable_estimated_drift() {
6987 _impl_._has_bits_[0] |= 0x00000001u;
6988 if (_impl_.estimated_drift_ == nullptr) {
6990 _impl_.estimated_drift_ = p;
6991 }
6992 return _impl_.estimated_drift_;
6993}
6994inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::mutable_estimated_drift() {
6995 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* _msg = _internal_mutable_estimated_drift();
6996 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.estimated_drift)
6997 return _msg;
6998}
6999inline void DriftPacket::set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift) {
7000 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7001 if (message_arena == nullptr) {
7002 delete _impl_.estimated_drift_;
7003 }
7004 if (estimated_drift) {
7005 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7006 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(estimated_drift);
7007 if (message_arena != submessage_arena) {
7008 estimated_drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7009 message_arena, estimated_drift, submessage_arena);
7010 }
7011 _impl_._has_bits_[0] |= 0x00000001u;
7012 } else {
7013 _impl_._has_bits_[0] &= ~0x00000001u;
7014 }
7015 _impl_.estimated_drift_ = estimated_drift;
7016 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.estimated_drift)
7017}
7018
7019// optional .jaiabot.protobuf.GeographicCoordinate start_location = 11 [(.jaia.field) = {
7020inline bool DriftPacket::_internal_has_start_location() const {
7021 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7022 PROTOBUF_ASSUME(!value || _impl_.start_location_ != nullptr);
7023 return value;
7024}
7025inline bool DriftPacket::has_start_location() const {
7026 return _internal_has_start_location();
7027}
7028inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_start_location() const {
7029 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
7030 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
7032}
7033inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::start_location() const {
7034 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.start_location)
7035 return _internal_start_location();
7036}
7037inline void DriftPacket::unsafe_arena_set_allocated_start_location(
7039 if (GetArenaForAllocation() == nullptr) {
7040 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
7041 }
7042 _impl_.start_location_ = start_location;
7043 if (start_location) {
7044 _impl_._has_bits_[0] |= 0x00000002u;
7045 } else {
7046 _impl_._has_bits_[0] &= ~0x00000002u;
7047 }
7048 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.start_location)
7049}
7050inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_start_location() {
7051 _impl_._has_bits_[0] &= ~0x00000002u;
7052 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
7053 _impl_.start_location_ = nullptr;
7054#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7055 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7056 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7057 if (GetArenaForAllocation() == nullptr) { delete old; }
7058#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7059 if (GetArenaForAllocation() != nullptr) {
7060 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7061 }
7062#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7063 return temp;
7064}
7065inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_start_location() {
7066 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.start_location)
7067 _impl_._has_bits_[0] &= ~0x00000002u;
7068 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
7069 _impl_.start_location_ = nullptr;
7070 return temp;
7071}
7072inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_start_location() {
7073 _impl_._has_bits_[0] |= 0x00000002u;
7074 if (_impl_.start_location_ == nullptr) {
7075 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
7076 _impl_.start_location_ = p;
7077 }
7078 return _impl_.start_location_;
7079}
7080inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_start_location() {
7081 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_start_location();
7082 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.start_location)
7083 return _msg;
7084}
7085inline void DriftPacket::set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location) {
7086 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7087 if (message_arena == nullptr) {
7088 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
7089 }
7090 if (start_location) {
7091 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7092 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
7093 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_location));
7094 if (message_arena != submessage_arena) {
7095 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7096 message_arena, start_location, submessage_arena);
7097 }
7098 _impl_._has_bits_[0] |= 0x00000002u;
7099 } else {
7100 _impl_._has_bits_[0] &= ~0x00000002u;
7101 }
7102 _impl_.start_location_ = start_location;
7103 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.start_location)
7104}
7105
7106// optional .jaiabot.protobuf.GeographicCoordinate end_location = 12 [(.jaia.field) = {
7107inline bool DriftPacket::_internal_has_end_location() const {
7108 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7109 PROTOBUF_ASSUME(!value || _impl_.end_location_ != nullptr);
7110 return value;
7111}
7112inline bool DriftPacket::has_end_location() const {
7113 return _internal_has_end_location();
7114}
7115inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_end_location() const {
7116 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.end_location_;
7117 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
7119}
7120inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::end_location() const {
7121 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.end_location)
7122 return _internal_end_location();
7123}
7124inline void DriftPacket::unsafe_arena_set_allocated_end_location(
7126 if (GetArenaForAllocation() == nullptr) {
7127 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_location_);
7128 }
7129 _impl_.end_location_ = end_location;
7130 if (end_location) {
7131 _impl_._has_bits_[0] |= 0x00000004u;
7132 } else {
7133 _impl_._has_bits_[0] &= ~0x00000004u;
7134 }
7135 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.end_location)
7136}
7137inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_end_location() {
7138 _impl_._has_bits_[0] &= ~0x00000004u;
7139 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.end_location_;
7140 _impl_.end_location_ = nullptr;
7141#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7142 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7143 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7144 if (GetArenaForAllocation() == nullptr) { delete old; }
7145#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7146 if (GetArenaForAllocation() != nullptr) {
7147 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7148 }
7149#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7150 return temp;
7151}
7152inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_end_location() {
7153 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.end_location)
7154 _impl_._has_bits_[0] &= ~0x00000004u;
7155 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.end_location_;
7156 _impl_.end_location_ = nullptr;
7157 return temp;
7158}
7159inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_end_location() {
7160 _impl_._has_bits_[0] |= 0x00000004u;
7161 if (_impl_.end_location_ == nullptr) {
7162 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
7163 _impl_.end_location_ = p;
7164 }
7165 return _impl_.end_location_;
7166}
7167inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_end_location() {
7168 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_end_location();
7169 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.end_location)
7170 return _msg;
7171}
7172inline void DriftPacket::set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate* end_location) {
7173 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7174 if (message_arena == nullptr) {
7175 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_location_);
7176 }
7177 if (end_location) {
7178 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7179 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
7180 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_location));
7181 if (message_arena != submessage_arena) {
7182 end_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7183 message_arena, end_location, submessage_arena);
7184 }
7185 _impl_._has_bits_[0] |= 0x00000004u;
7186 } else {
7187 _impl_._has_bits_[0] &= ~0x00000004u;
7188 }
7189 _impl_.end_location_ = end_location;
7190 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.end_location)
7191}
7192
7193// optional double significant_wave_height = 13 [(.dccl.field) = {
7194inline bool DriftPacket::_internal_has_significant_wave_height() const {
7195 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7196 return value;
7197}
7198inline bool DriftPacket::has_significant_wave_height() const {
7199 return _internal_has_significant_wave_height();
7200}
7201inline void DriftPacket::clear_significant_wave_height() {
7202 _impl_.significant_wave_height_ = 0;
7203 _impl_._has_bits_[0] &= ~0x00000008u;
7204}
7205inline double DriftPacket::_internal_significant_wave_height() const {
7206 return _impl_.significant_wave_height_;
7207}
7208inline double DriftPacket::significant_wave_height() const {
7209 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.significant_wave_height)
7210 return _internal_significant_wave_height();
7211}
7212inline void DriftPacket::_internal_set_significant_wave_height(double value) {
7213 _impl_._has_bits_[0] |= 0x00000008u;
7214 _impl_.significant_wave_height_ = value;
7215}
7216inline void DriftPacket::set_significant_wave_height(double value) {
7217 _internal_set_significant_wave_height(value);
7218 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.significant_wave_height)
7219}
7220
7221// -------------------------------------------------------------------
7222
7223// DivePacket_Measurements
7224
7225// optional double mean_depth = 1 [(.dccl.field) = {
7226inline bool DivePacket_Measurements::_internal_has_mean_depth() const {
7227 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7228 return value;
7229}
7230inline bool DivePacket_Measurements::has_mean_depth() const {
7231 return _internal_has_mean_depth();
7232}
7233inline void DivePacket_Measurements::clear_mean_depth() {
7234 _impl_.mean_depth_ = 0;
7235 _impl_._has_bits_[0] &= ~0x00000001u;
7236}
7237inline double DivePacket_Measurements::_internal_mean_depth() const {
7238 return _impl_.mean_depth_;
7239}
7240inline double DivePacket_Measurements::mean_depth() const {
7241 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_depth)
7242 return _internal_mean_depth();
7243}
7244inline void DivePacket_Measurements::_internal_set_mean_depth(double value) {
7245 _impl_._has_bits_[0] |= 0x00000001u;
7246 _impl_.mean_depth_ = value;
7247}
7248inline void DivePacket_Measurements::set_mean_depth(double value) {
7249 _internal_set_mean_depth(value);
7250 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_depth)
7251}
7252
7253// optional double mean_temperature = 2 [(.dccl.field) = {
7254inline bool DivePacket_Measurements::_internal_has_mean_temperature() const {
7255 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7256 return value;
7257}
7258inline bool DivePacket_Measurements::has_mean_temperature() const {
7259 return _internal_has_mean_temperature();
7260}
7261inline void DivePacket_Measurements::clear_mean_temperature() {
7262 _impl_.mean_temperature_ = 0;
7263 _impl_._has_bits_[0] &= ~0x00000002u;
7264}
7265inline double DivePacket_Measurements::_internal_mean_temperature() const {
7266 return _impl_.mean_temperature_;
7267}
7268inline double DivePacket_Measurements::mean_temperature() const {
7269 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_temperature)
7270 return _internal_mean_temperature();
7271}
7272inline void DivePacket_Measurements::_internal_set_mean_temperature(double value) {
7273 _impl_._has_bits_[0] |= 0x00000002u;
7274 _impl_.mean_temperature_ = value;
7275}
7276inline void DivePacket_Measurements::set_mean_temperature(double value) {
7277 _internal_set_mean_temperature(value);
7278 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_temperature)
7279}
7280
7281// optional double mean_salinity = 3 [(.dccl.field) = {
7282inline bool DivePacket_Measurements::_internal_has_mean_salinity() const {
7283 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7284 return value;
7285}
7286inline bool DivePacket_Measurements::has_mean_salinity() const {
7287 return _internal_has_mean_salinity();
7288}
7289inline void DivePacket_Measurements::clear_mean_salinity() {
7290 _impl_.mean_salinity_ = 0;
7291 _impl_._has_bits_[0] &= ~0x00000004u;
7292}
7293inline double DivePacket_Measurements::_internal_mean_salinity() const {
7294 return _impl_.mean_salinity_;
7295}
7296inline double DivePacket_Measurements::mean_salinity() const {
7297 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_salinity)
7298 return _internal_mean_salinity();
7299}
7300inline void DivePacket_Measurements::_internal_set_mean_salinity(double value) {
7301 _impl_._has_bits_[0] |= 0x00000004u;
7302 _impl_.mean_salinity_ = value;
7303}
7304inline void DivePacket_Measurements::set_mean_salinity(double value) {
7305 _internal_set_mean_salinity(value);
7306 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_salinity)
7307}
7308
7309// -------------------------------------------------------------------
7310
7311// DivePacket_SubsurfaceCurrentVector
7312
7313// required double velocity = 1 [(.dccl.field) = {
7314inline bool DivePacket_SubsurfaceCurrentVector::_internal_has_velocity() const {
7315 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7316 return value;
7317}
7318inline bool DivePacket_SubsurfaceCurrentVector::has_velocity() const {
7319 return _internal_has_velocity();
7320}
7321inline void DivePacket_SubsurfaceCurrentVector::clear_velocity() {
7322 _impl_.velocity_ = 0;
7323 _impl_._has_bits_[0] &= ~0x00000001u;
7324}
7325inline double DivePacket_SubsurfaceCurrentVector::_internal_velocity() const {
7326 return _impl_.velocity_;
7327}
7328inline double DivePacket_SubsurfaceCurrentVector::velocity() const {
7329 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.velocity)
7330 return _internal_velocity();
7331}
7332inline void DivePacket_SubsurfaceCurrentVector::_internal_set_velocity(double value) {
7333 _impl_._has_bits_[0] |= 0x00000001u;
7334 _impl_.velocity_ = value;
7335}
7336inline void DivePacket_SubsurfaceCurrentVector::set_velocity(double value) {
7337 _internal_set_velocity(value);
7338 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.velocity)
7339}
7340
7341// required double heading = 2 [(.dccl.field) = {
7342inline bool DivePacket_SubsurfaceCurrentVector::_internal_has_heading() const {
7343 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7344 return value;
7345}
7346inline bool DivePacket_SubsurfaceCurrentVector::has_heading() const {
7347 return _internal_has_heading();
7348}
7349inline void DivePacket_SubsurfaceCurrentVector::clear_heading() {
7350 _impl_.heading_ = 0;
7351 _impl_._has_bits_[0] &= ~0x00000002u;
7352}
7353inline double DivePacket_SubsurfaceCurrentVector::_internal_heading() const {
7354 return _impl_.heading_;
7355}
7356inline double DivePacket_SubsurfaceCurrentVector::heading() const {
7357 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.heading)
7358 return _internal_heading();
7359}
7360inline void DivePacket_SubsurfaceCurrentVector::_internal_set_heading(double value) {
7361 _impl_._has_bits_[0] |= 0x00000002u;
7362 _impl_.heading_ = value;
7363}
7364inline void DivePacket_SubsurfaceCurrentVector::set_heading(double value) {
7365 _internal_set_heading(value);
7366 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.heading)
7367}
7368
7369// -------------------------------------------------------------------
7370
7371// DivePacket
7372
7373// required double dive_rate = 10 [(.dccl.field) = {
7374inline bool DivePacket::_internal_has_dive_rate() const {
7375 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7376 return value;
7377}
7378inline bool DivePacket::has_dive_rate() const {
7379 return _internal_has_dive_rate();
7380}
7381inline void DivePacket::clear_dive_rate() {
7382 _impl_.dive_rate_ = 0;
7383 _impl_._has_bits_[0] &= ~0x00000004u;
7384}
7385inline double DivePacket::_internal_dive_rate() const {
7386 return _impl_.dive_rate_;
7387}
7388inline double DivePacket::dive_rate() const {
7389 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.dive_rate)
7390 return _internal_dive_rate();
7391}
7392inline void DivePacket::_internal_set_dive_rate(double value) {
7393 _impl_._has_bits_[0] |= 0x00000004u;
7394 _impl_.dive_rate_ = value;
7395}
7396inline void DivePacket::set_dive_rate(double value) {
7397 _internal_set_dive_rate(value);
7398 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.dive_rate)
7399}
7400
7401// optional double unpowered_rise_rate = 11 [(.dccl.field) = {
7402inline bool DivePacket::_internal_has_unpowered_rise_rate() const {
7403 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7404 return value;
7405}
7406inline bool DivePacket::has_unpowered_rise_rate() const {
7407 return _internal_has_unpowered_rise_rate();
7408}
7409inline void DivePacket::clear_unpowered_rise_rate() {
7410 _impl_.unpowered_rise_rate_ = 0;
7411 _impl_._has_bits_[0] &= ~0x00000008u;
7412}
7413inline double DivePacket::_internal_unpowered_rise_rate() const {
7414 return _impl_.unpowered_rise_rate_;
7415}
7416inline double DivePacket::unpowered_rise_rate() const {
7417 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.unpowered_rise_rate)
7418 return _internal_unpowered_rise_rate();
7419}
7420inline void DivePacket::_internal_set_unpowered_rise_rate(double value) {
7421 _impl_._has_bits_[0] |= 0x00000008u;
7422 _impl_.unpowered_rise_rate_ = value;
7423}
7424inline void DivePacket::set_unpowered_rise_rate(double value) {
7425 _internal_set_unpowered_rise_rate(value);
7426 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.unpowered_rise_rate)
7427}
7428
7429// optional double powered_rise_rate = 12 [(.dccl.field) = {
7430inline bool DivePacket::_internal_has_powered_rise_rate() const {
7431 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
7432 return value;
7433}
7434inline bool DivePacket::has_powered_rise_rate() const {
7435 return _internal_has_powered_rise_rate();
7436}
7437inline void DivePacket::clear_powered_rise_rate() {
7438 _impl_.powered_rise_rate_ = 0;
7439 _impl_._has_bits_[0] &= ~0x00000010u;
7440}
7441inline double DivePacket::_internal_powered_rise_rate() const {
7442 return _impl_.powered_rise_rate_;
7443}
7444inline double DivePacket::powered_rise_rate() const {
7445 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.powered_rise_rate)
7446 return _internal_powered_rise_rate();
7447}
7448inline void DivePacket::_internal_set_powered_rise_rate(double value) {
7449 _impl_._has_bits_[0] |= 0x00000010u;
7450 _impl_.powered_rise_rate_ = value;
7451}
7452inline void DivePacket::set_powered_rise_rate(double value) {
7453 _internal_set_powered_rise_rate(value);
7454 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.powered_rise_rate)
7455}
7456
7457// required double depth_achieved = 13 [(.dccl.field) = {
7458inline bool DivePacket::_internal_has_depth_achieved() const {
7459 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
7460 return value;
7461}
7462inline bool DivePacket::has_depth_achieved() const {
7463 return _internal_has_depth_achieved();
7464}
7465inline void DivePacket::clear_depth_achieved() {
7466 _impl_.depth_achieved_ = 0;
7467 _impl_._has_bits_[0] &= ~0x00000020u;
7468}
7469inline double DivePacket::_internal_depth_achieved() const {
7470 return _impl_.depth_achieved_;
7471}
7472inline double DivePacket::depth_achieved() const {
7473 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.depth_achieved)
7474 return _internal_depth_achieved();
7475}
7476inline void DivePacket::_internal_set_depth_achieved(double value) {
7477 _impl_._has_bits_[0] |= 0x00000020u;
7478 _impl_.depth_achieved_ = value;
7479}
7480inline void DivePacket::set_depth_achieved(double value) {
7481 _internal_set_depth_achieved(value);
7482 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.depth_achieved)
7483}
7484
7485// repeated .jaiabot.protobuf.DivePacket.Measurements measurement = 14 [(.dccl.field) = {
7486inline int DivePacket::_internal_measurement_size() const {
7487 return _impl_.measurement_.size();
7488}
7489inline int DivePacket::measurement_size() const {
7490 return _internal_measurement_size();
7491}
7492inline void DivePacket::clear_measurement() {
7493 _impl_.measurement_.Clear();
7494}
7495inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::mutable_measurement(int index) {
7496 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.measurement)
7497 return _impl_.measurement_.Mutable(index);
7498}
7499inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
7500DivePacket::mutable_measurement() {
7501 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.DivePacket.measurement)
7502 return &_impl_.measurement_;
7503}
7504inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::_internal_measurement(int index) const {
7505 return _impl_.measurement_.Get(index);
7506}
7507inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::measurement(int index) const {
7508 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.measurement)
7509 return _internal_measurement(index);
7510}
7511inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::_internal_add_measurement() {
7512 return _impl_.measurement_.Add();
7513}
7514inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::add_measurement() {
7515 ::jaiabot::protobuf::DivePacket_Measurements* _add = _internal_add_measurement();
7516 // @@protoc_insertion_point(field_add:jaiabot.protobuf.DivePacket.measurement)
7517 return _add;
7518}
7519inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
7520DivePacket::measurement() const {
7521 // @@protoc_insertion_point(field_list:jaiabot.protobuf.DivePacket.measurement)
7522 return _impl_.measurement_;
7523}
7524
7525// optional .jaiabot.protobuf.GeographicCoordinate start_location = 15 [(.jaia.field) = {
7526inline bool DivePacket::_internal_has_start_location() const {
7527 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7528 PROTOBUF_ASSUME(!value || _impl_.start_location_ != nullptr);
7529 return value;
7530}
7531inline bool DivePacket::has_start_location() const {
7532 return _internal_has_start_location();
7533}
7534inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::_internal_start_location() const {
7535 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
7536 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
7538}
7539inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::start_location() const {
7540 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.start_location)
7541 return _internal_start_location();
7542}
7543inline void DivePacket::unsafe_arena_set_allocated_start_location(
7545 if (GetArenaForAllocation() == nullptr) {
7546 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
7547 }
7548 _impl_.start_location_ = start_location;
7549 if (start_location) {
7550 _impl_._has_bits_[0] |= 0x00000001u;
7551 } else {
7552 _impl_._has_bits_[0] &= ~0x00000001u;
7553 }
7554 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DivePacket.start_location)
7555}
7556inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::release_start_location() {
7557 _impl_._has_bits_[0] &= ~0x00000001u;
7558 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
7559 _impl_.start_location_ = nullptr;
7560#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7561 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7562 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7563 if (GetArenaForAllocation() == nullptr) { delete old; }
7564#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7565 if (GetArenaForAllocation() != nullptr) {
7566 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7567 }
7568#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7569 return temp;
7570}
7571inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::unsafe_arena_release_start_location() {
7572 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DivePacket.start_location)
7573 _impl_._has_bits_[0] &= ~0x00000001u;
7574 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
7575 _impl_.start_location_ = nullptr;
7576 return temp;
7577}
7578inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::_internal_mutable_start_location() {
7579 _impl_._has_bits_[0] |= 0x00000001u;
7580 if (_impl_.start_location_ == nullptr) {
7581 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
7582 _impl_.start_location_ = p;
7583 }
7584 return _impl_.start_location_;
7585}
7586inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::mutable_start_location() {
7587 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_start_location();
7588 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.start_location)
7589 return _msg;
7590}
7591inline void DivePacket::set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location) {
7592 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7593 if (message_arena == nullptr) {
7594 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
7595 }
7596 if (start_location) {
7597 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7598 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
7599 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_location));
7600 if (message_arena != submessage_arena) {
7601 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7602 message_arena, start_location, submessage_arena);
7603 }
7604 _impl_._has_bits_[0] |= 0x00000001u;
7605 } else {
7606 _impl_._has_bits_[0] &= ~0x00000001u;
7607 }
7608 _impl_.start_location_ = start_location;
7609 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DivePacket.start_location)
7610}
7611
7612// optional double duration_to_acquire_gps = 16 [(.dccl.field) = {
7613inline bool DivePacket::_internal_has_duration_to_acquire_gps() const {
7614 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
7615 return value;
7616}
7617inline bool DivePacket::has_duration_to_acquire_gps() const {
7618 return _internal_has_duration_to_acquire_gps();
7619}
7620inline void DivePacket::clear_duration_to_acquire_gps() {
7621 _impl_.duration_to_acquire_gps_ = 0;
7622 _impl_._has_bits_[0] &= ~0x00000040u;
7623}
7624inline double DivePacket::_internal_duration_to_acquire_gps() const {
7625 return _impl_.duration_to_acquire_gps_;
7626}
7627inline double DivePacket::duration_to_acquire_gps() const {
7628 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.duration_to_acquire_gps)
7629 return _internal_duration_to_acquire_gps();
7630}
7631inline void DivePacket::_internal_set_duration_to_acquire_gps(double value) {
7632 _impl_._has_bits_[0] |= 0x00000040u;
7633 _impl_.duration_to_acquire_gps_ = value;
7634}
7635inline void DivePacket::set_duration_to_acquire_gps(double value) {
7636 _internal_set_duration_to_acquire_gps(value);
7637 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.duration_to_acquire_gps)
7638}
7639
7640// optional bool bottom_dive = 17 [default = false, (.jaia.field) = {
7641inline bool DivePacket::_internal_has_bottom_dive() const {
7642 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
7643 return value;
7644}
7645inline bool DivePacket::has_bottom_dive() const {
7646 return _internal_has_bottom_dive();
7647}
7648inline void DivePacket::clear_bottom_dive() {
7649 _impl_.bottom_dive_ = false;
7650 _impl_._has_bits_[0] &= ~0x00000100u;
7651}
7652inline bool DivePacket::_internal_bottom_dive() const {
7653 return _impl_.bottom_dive_;
7654}
7655inline bool DivePacket::bottom_dive() const {
7656 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.bottom_dive)
7657 return _internal_bottom_dive();
7658}
7659inline void DivePacket::_internal_set_bottom_dive(bool value) {
7660 _impl_._has_bits_[0] |= 0x00000100u;
7661 _impl_.bottom_dive_ = value;
7662}
7663inline void DivePacket::set_bottom_dive(bool value) {
7664 _internal_set_bottom_dive(value);
7665 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.bottom_dive)
7666}
7667
7668// optional bool reached_min_depth = 18 [default = false, (.jaia.field) = {
7669inline bool DivePacket::_internal_has_reached_min_depth() const {
7670 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
7671 return value;
7672}
7673inline bool DivePacket::has_reached_min_depth() const {
7674 return _internal_has_reached_min_depth();
7675}
7676inline void DivePacket::clear_reached_min_depth() {
7677 _impl_.reached_min_depth_ = false;
7678 _impl_._has_bits_[0] &= ~0x00000200u;
7679}
7680inline bool DivePacket::_internal_reached_min_depth() const {
7681 return _impl_.reached_min_depth_;
7682}
7683inline bool DivePacket::reached_min_depth() const {
7684 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.reached_min_depth)
7685 return _internal_reached_min_depth();
7686}
7687inline void DivePacket::_internal_set_reached_min_depth(bool value) {
7688 _impl_._has_bits_[0] |= 0x00000200u;
7689 _impl_.reached_min_depth_ = value;
7690}
7691inline void DivePacket::set_reached_min_depth(bool value) {
7692 _internal_set_reached_min_depth(value);
7693 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.reached_min_depth)
7694}
7695
7696// optional .jaiabot.protobuf.DivePacket.BottomType bottom_type = 19 [(.jaia.field) = {
7697inline bool DivePacket::_internal_has_bottom_type() const {
7698 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
7699 return value;
7700}
7701inline bool DivePacket::has_bottom_type() const {
7702 return _internal_has_bottom_type();
7703}
7704inline void DivePacket::clear_bottom_type() {
7705 _impl_.bottom_type_ = 1;
7706 _impl_._has_bits_[0] &= ~0x00000400u;
7707}
7708inline ::jaiabot::protobuf::DivePacket_BottomType DivePacket::_internal_bottom_type() const {
7709 return static_cast< ::jaiabot::protobuf::DivePacket_BottomType >(_impl_.bottom_type_);
7710}
7711inline ::jaiabot::protobuf::DivePacket_BottomType DivePacket::bottom_type() const {
7712 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.bottom_type)
7713 return _internal_bottom_type();
7714}
7715inline void DivePacket::_internal_set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value) {
7717 _impl_._has_bits_[0] |= 0x00000400u;
7718 _impl_.bottom_type_ = value;
7719}
7720inline void DivePacket::set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value) {
7721 _internal_set_bottom_type(value);
7722 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.bottom_type)
7723}
7724
7725// optional double max_acceleration = 20 [(.dccl.field) = {
7726inline bool DivePacket::_internal_has_max_acceleration() const {
7727 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
7728 return value;
7729}
7730inline bool DivePacket::has_max_acceleration() const {
7731 return _internal_has_max_acceleration();
7732}
7733inline void DivePacket::clear_max_acceleration() {
7734 _impl_.max_acceleration_ = 0;
7735 _impl_._has_bits_[0] &= ~0x00000080u;
7736}
7737inline double DivePacket::_internal_max_acceleration() const {
7738 return _impl_.max_acceleration_;
7739}
7740inline double DivePacket::max_acceleration() const {
7741 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.max_acceleration)
7742 return _internal_max_acceleration();
7743}
7744inline void DivePacket::_internal_set_max_acceleration(double value) {
7745 _impl_._has_bits_[0] |= 0x00000080u;
7746 _impl_.max_acceleration_ = value;
7747}
7748inline void DivePacket::set_max_acceleration(double value) {
7749 _internal_set_max_acceleration(value);
7750 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.max_acceleration)
7751}
7752
7753// optional .jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector subsurface_current = 21 [(.jaia.field) = {
7754inline bool DivePacket::_internal_has_subsurface_current() const {
7755 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7756 PROTOBUF_ASSUME(!value || _impl_.subsurface_current_ != nullptr);
7757 return value;
7758}
7759inline bool DivePacket::has_subsurface_current() const {
7760 return _internal_has_subsurface_current();
7761}
7762inline void DivePacket::clear_subsurface_current() {
7763 if (_impl_.subsurface_current_ != nullptr) _impl_.subsurface_current_->Clear();
7764 _impl_._has_bits_[0] &= ~0x00000002u;
7765}
7766inline const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& DivePacket::_internal_subsurface_current() const {
7767 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* p = _impl_.subsurface_current_;
7768 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector&>(
7770}
7771inline const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& DivePacket::subsurface_current() const {
7772 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.subsurface_current)
7773 return _internal_subsurface_current();
7774}
7775inline void DivePacket::unsafe_arena_set_allocated_subsurface_current(
7777 if (GetArenaForAllocation() == nullptr) {
7778 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.subsurface_current_);
7779 }
7780 _impl_.subsurface_current_ = subsurface_current;
7781 if (subsurface_current) {
7782 _impl_._has_bits_[0] |= 0x00000002u;
7783 } else {
7784 _impl_._has_bits_[0] &= ~0x00000002u;
7785 }
7786 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DivePacket.subsurface_current)
7787}
7788inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::release_subsurface_current() {
7789 _impl_._has_bits_[0] &= ~0x00000002u;
7790 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* temp = _impl_.subsurface_current_;
7791 _impl_.subsurface_current_ = nullptr;
7792#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7793 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7794 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7795 if (GetArenaForAllocation() == nullptr) { delete old; }
7796#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7797 if (GetArenaForAllocation() != nullptr) {
7798 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7799 }
7800#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7801 return temp;
7802}
7803inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::unsafe_arena_release_subsurface_current() {
7804 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DivePacket.subsurface_current)
7805 _impl_._has_bits_[0] &= ~0x00000002u;
7806 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* temp = _impl_.subsurface_current_;
7807 _impl_.subsurface_current_ = nullptr;
7808 return temp;
7809}
7810inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::_internal_mutable_subsurface_current() {
7811 _impl_._has_bits_[0] |= 0x00000002u;
7812 if (_impl_.subsurface_current_ == nullptr) {
7814 _impl_.subsurface_current_ = p;
7815 }
7816 return _impl_.subsurface_current_;
7817}
7818inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::mutable_subsurface_current() {
7819 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* _msg = _internal_mutable_subsurface_current();
7820 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.subsurface_current)
7821 return _msg;
7822}
7823inline void DivePacket::set_allocated_subsurface_current(::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* subsurface_current) {
7824 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7825 if (message_arena == nullptr) {
7826 delete _impl_.subsurface_current_;
7827 }
7828 if (subsurface_current) {
7829 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7830 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(subsurface_current);
7831 if (message_arena != submessage_arena) {
7832 subsurface_current = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7833 message_arena, subsurface_current, submessage_arena);
7834 }
7835 _impl_._has_bits_[0] |= 0x00000002u;
7836 } else {
7837 _impl_._has_bits_[0] &= ~0x00000002u;
7838 }
7839 _impl_.subsurface_current_ = subsurface_current;
7840 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DivePacket.subsurface_current)
7841}
7842
7843// -------------------------------------------------------------------
7844
7845// TaskPacket
7846
7847// required uint32 bot_id = 1 [(.dccl.field) = {
7848inline bool TaskPacket::_internal_has_bot_id() const {
7849 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
7850 return value;
7851}
7852inline bool TaskPacket::has_bot_id() const {
7853 return _internal_has_bot_id();
7854}
7855inline void TaskPacket::clear_bot_id() {
7856 _impl_.bot_id_ = 0u;
7857 _impl_._has_bits_[0] &= ~0x00000010u;
7858}
7859inline uint32_t TaskPacket::_internal_bot_id() const {
7860 return _impl_.bot_id_;
7861}
7862inline uint32_t TaskPacket::bot_id() const {
7863 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.bot_id)
7864 return _internal_bot_id();
7865}
7866inline void TaskPacket::_internal_set_bot_id(uint32_t value) {
7867 _impl_._has_bits_[0] |= 0x00000010u;
7868 _impl_.bot_id_ = value;
7869}
7870inline void TaskPacket::set_bot_id(uint32_t value) {
7871 _internal_set_bot_id(value);
7872 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.bot_id)
7873}
7874
7875// required uint64 start_time = 2 [(.dccl.field) = {
7876inline bool TaskPacket::_internal_has_start_time() const {
7877 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7878 return value;
7879}
7880inline bool TaskPacket::has_start_time() const {
7881 return _internal_has_start_time();
7882}
7883inline void TaskPacket::clear_start_time() {
7884 _impl_.start_time_ = uint64_t{0u};
7885 _impl_._has_bits_[0] &= ~0x00000008u;
7886}
7887inline uint64_t TaskPacket::_internal_start_time() const {
7888 return _impl_.start_time_;
7889}
7890inline uint64_t TaskPacket::start_time() const {
7891 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.start_time)
7892 return _internal_start_time();
7893}
7894inline void TaskPacket::_internal_set_start_time(uint64_t value) {
7895 _impl_._has_bits_[0] |= 0x00000008u;
7896 _impl_.start_time_ = value;
7897}
7898inline void TaskPacket::set_start_time(uint64_t value) {
7899 _internal_set_start_time(value);
7900 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.start_time)
7901}
7902
7903// required uint64 end_time = 3 [(.dccl.field) = {
7904inline bool TaskPacket::_internal_has_end_time() const {
7905 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
7906 return value;
7907}
7908inline bool TaskPacket::has_end_time() const {
7909 return _internal_has_end_time();
7910}
7911inline void TaskPacket::clear_end_time() {
7912 _impl_.end_time_ = uint64_t{0u};
7913 _impl_._has_bits_[0] &= ~0x00000040u;
7914}
7915inline uint64_t TaskPacket::_internal_end_time() const {
7916 return _impl_.end_time_;
7917}
7918inline uint64_t TaskPacket::end_time() const {
7919 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.end_time)
7920 return _internal_end_time();
7921}
7922inline void TaskPacket::_internal_set_end_time(uint64_t value) {
7923 _impl_._has_bits_[0] |= 0x00000040u;
7924 _impl_.end_time_ = value;
7925}
7926inline void TaskPacket::set_end_time(uint64_t value) {
7927 _internal_set_end_time(value);
7928 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.end_time)
7929}
7930
7931// required .jaiabot.protobuf.MissionTask.TaskType type = 4 [(.jaia.field) = {
7932inline bool TaskPacket::_internal_has_type() const {
7933 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
7934 return value;
7935}
7936inline bool TaskPacket::has_type() const {
7937 return _internal_has_type();
7938}
7939inline void TaskPacket::clear_type() {
7940 _impl_.type_ = 0;
7941 _impl_._has_bits_[0] &= ~0x00000020u;
7942}
7943inline ::jaiabot::protobuf::MissionTask_TaskType TaskPacket::_internal_type() const {
7944 return static_cast< ::jaiabot::protobuf::MissionTask_TaskType >(_impl_.type_);
7945}
7946inline ::jaiabot::protobuf::MissionTask_TaskType TaskPacket::type() const {
7947 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.type)
7948 return _internal_type();
7949}
7950inline void TaskPacket::_internal_set_type(::jaiabot::protobuf::MissionTask_TaskType value) {
7952 _impl_._has_bits_[0] |= 0x00000020u;
7953 _impl_.type_ = value;
7954}
7955inline void TaskPacket::set_type(::jaiabot::protobuf::MissionTask_TaskType value) {
7956 _internal_set_type(value);
7957 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.type)
7958}
7959
7960// optional .jaiabot.protobuf.Link link = 5 [(.dccl.field) = {
7961inline bool TaskPacket::_internal_has_link() const {
7962 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
7963 return value;
7964}
7965inline bool TaskPacket::has_link() const {
7966 return _internal_has_link();
7967}
7968inline void TaskPacket::clear_link() {
7969 _impl_.link_ = -1;
7970 _impl_._has_bits_[0] &= ~0x00000100u;
7971}
7972inline ::jaiabot::protobuf::Link TaskPacket::_internal_link() const {
7973 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
7974}
7975inline ::jaiabot::protobuf::Link TaskPacket::link() const {
7976 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.link)
7977 return _internal_link();
7978}
7979inline void TaskPacket::_internal_set_link(::jaiabot::protobuf::Link value) {
7980 assert(::jaiabot::protobuf::Link_IsValid(value));
7981 _impl_._has_bits_[0] |= 0x00000100u;
7982 _impl_.link_ = value;
7983}
7984inline void TaskPacket::set_link(::jaiabot::protobuf::Link value) {
7985 _internal_set_link(value);
7986 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.link)
7987}
7988
7989// optional .jaiabot.protobuf.DivePacket dive = 10 [(.jaia.field) = {
7990inline bool TaskPacket::_internal_has_dive() const {
7991 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7992 PROTOBUF_ASSUME(!value || _impl_.dive_ != nullptr);
7993 return value;
7994}
7995inline bool TaskPacket::has_dive() const {
7996 return _internal_has_dive();
7997}
7998inline void TaskPacket::clear_dive() {
7999 if (_impl_.dive_ != nullptr) _impl_.dive_->Clear();
8000 _impl_._has_bits_[0] &= ~0x00000002u;
8001}
8002inline const ::jaiabot::protobuf::DivePacket& TaskPacket::_internal_dive() const {
8003 const ::jaiabot::protobuf::DivePacket* p = _impl_.dive_;
8004 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DivePacket&>(
8006}
8007inline const ::jaiabot::protobuf::DivePacket& TaskPacket::dive() const {
8008 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.dive)
8009 return _internal_dive();
8010}
8011inline void TaskPacket::unsafe_arena_set_allocated_dive(
8013 if (GetArenaForAllocation() == nullptr) {
8014 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dive_);
8015 }
8016 _impl_.dive_ = dive;
8017 if (dive) {
8018 _impl_._has_bits_[0] |= 0x00000002u;
8019 } else {
8020 _impl_._has_bits_[0] &= ~0x00000002u;
8021 }
8022 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.TaskPacket.dive)
8023}
8024inline ::jaiabot::protobuf::DivePacket* TaskPacket::release_dive() {
8025 _impl_._has_bits_[0] &= ~0x00000002u;
8026 ::jaiabot::protobuf::DivePacket* temp = _impl_.dive_;
8027 _impl_.dive_ = nullptr;
8028#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8029 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8030 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8031 if (GetArenaForAllocation() == nullptr) { delete old; }
8032#else // PROTOBUF_FORCE_COPY_IN_RELEASE
8033 if (GetArenaForAllocation() != nullptr) {
8034 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8035 }
8036#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
8037 return temp;
8038}
8039inline ::jaiabot::protobuf::DivePacket* TaskPacket::unsafe_arena_release_dive() {
8040 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.dive)
8041 _impl_._has_bits_[0] &= ~0x00000002u;
8042 ::jaiabot::protobuf::DivePacket* temp = _impl_.dive_;
8043 _impl_.dive_ = nullptr;
8044 return temp;
8045}
8046inline ::jaiabot::protobuf::DivePacket* TaskPacket::_internal_mutable_dive() {
8047 _impl_._has_bits_[0] |= 0x00000002u;
8048 if (_impl_.dive_ == nullptr) {
8049 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(GetArenaForAllocation());
8050 _impl_.dive_ = p;
8051 }
8052 return _impl_.dive_;
8053}
8054inline ::jaiabot::protobuf::DivePacket* TaskPacket::mutable_dive() {
8055 ::jaiabot::protobuf::DivePacket* _msg = _internal_mutable_dive();
8056 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.dive)
8057 return _msg;
8058}
8059inline void TaskPacket::set_allocated_dive(::jaiabot::protobuf::DivePacket* dive) {
8060 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8061 if (message_arena == nullptr) {
8062 delete _impl_.dive_;
8063 }
8064 if (dive) {
8065 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8066 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(dive);
8067 if (message_arena != submessage_arena) {
8068 dive = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8069 message_arena, dive, submessage_arena);
8070 }
8071 _impl_._has_bits_[0] |= 0x00000002u;
8072 } else {
8073 _impl_._has_bits_[0] &= ~0x00000002u;
8074 }
8075 _impl_.dive_ = dive;
8076 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.TaskPacket.dive)
8077}
8078
8079// optional .jaiabot.protobuf.DriftPacket drift = 11 [(.jaia.field) = {
8080inline bool TaskPacket::_internal_has_drift() const {
8081 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8082 PROTOBUF_ASSUME(!value || _impl_.drift_ != nullptr);
8083 return value;
8084}
8085inline bool TaskPacket::has_drift() const {
8086 return _internal_has_drift();
8087}
8088inline void TaskPacket::clear_drift() {
8089 if (_impl_.drift_ != nullptr) _impl_.drift_->Clear();
8090 _impl_._has_bits_[0] &= ~0x00000004u;
8091}
8092inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::_internal_drift() const {
8093 const ::jaiabot::protobuf::DriftPacket* p = _impl_.drift_;
8094 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DriftPacket&>(
8096}
8097inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::drift() const {
8098 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.drift)
8099 return _internal_drift();
8100}
8101inline void TaskPacket::unsafe_arena_set_allocated_drift(
8103 if (GetArenaForAllocation() == nullptr) {
8104 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drift_);
8105 }
8106 _impl_.drift_ = drift;
8107 if (drift) {
8108 _impl_._has_bits_[0] |= 0x00000004u;
8109 } else {
8110 _impl_._has_bits_[0] &= ~0x00000004u;
8111 }
8112 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.TaskPacket.drift)
8113}
8114inline ::jaiabot::protobuf::DriftPacket* TaskPacket::release_drift() {
8115 _impl_._has_bits_[0] &= ~0x00000004u;
8116 ::jaiabot::protobuf::DriftPacket* temp = _impl_.drift_;
8117 _impl_.drift_ = nullptr;
8118#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8119 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8120 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8121 if (GetArenaForAllocation() == nullptr) { delete old; }
8122#else // PROTOBUF_FORCE_COPY_IN_RELEASE
8123 if (GetArenaForAllocation() != nullptr) {
8124 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8125 }
8126#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
8127 return temp;
8128}
8129inline ::jaiabot::protobuf::DriftPacket* TaskPacket::unsafe_arena_release_drift() {
8130 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.drift)
8131 _impl_._has_bits_[0] &= ~0x00000004u;
8132 ::jaiabot::protobuf::DriftPacket* temp = _impl_.drift_;
8133 _impl_.drift_ = nullptr;
8134 return temp;
8135}
8136inline ::jaiabot::protobuf::DriftPacket* TaskPacket::_internal_mutable_drift() {
8137 _impl_._has_bits_[0] |= 0x00000004u;
8138 if (_impl_.drift_ == nullptr) {
8139 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(GetArenaForAllocation());
8140 _impl_.drift_ = p;
8141 }
8142 return _impl_.drift_;
8143}
8144inline ::jaiabot::protobuf::DriftPacket* TaskPacket::mutable_drift() {
8145 ::jaiabot::protobuf::DriftPacket* _msg = _internal_mutable_drift();
8146 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.drift)
8147 return _msg;
8148}
8149inline void TaskPacket::set_allocated_drift(::jaiabot::protobuf::DriftPacket* drift) {
8150 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8151 if (message_arena == nullptr) {
8152 delete _impl_.drift_;
8153 }
8154 if (drift) {
8155 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8156 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(drift);
8157 if (message_arena != submessage_arena) {
8158 drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8159 message_arena, drift, submessage_arena);
8160 }
8161 _impl_._has_bits_[0] |= 0x00000004u;
8162 } else {
8163 _impl_._has_bits_[0] &= ~0x00000004u;
8164 }
8165 _impl_.drift_ = drift;
8166 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.TaskPacket.drift)
8167}
8168
8169// optional uint64 mission_command_time = 71 [(.dccl.field) = {
8170inline bool TaskPacket::_internal_has_mission_command_time() const {
8171 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
8172 return value;
8173}
8174inline bool TaskPacket::has_mission_command_time() const {
8175 return _internal_has_mission_command_time();
8176}
8177inline void TaskPacket::clear_mission_command_time() {
8178 _impl_.mission_command_time_ = uint64_t{0u};
8179 _impl_._has_bits_[0] &= ~0x00000080u;
8180}
8181inline uint64_t TaskPacket::_internal_mission_command_time() const {
8182 return _impl_.mission_command_time_;
8183}
8184inline uint64_t TaskPacket::mission_command_time() const {
8185 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.mission_command_time)
8186 return _internal_mission_command_time();
8187}
8188inline void TaskPacket::_internal_set_mission_command_time(uint64_t value) {
8189 _impl_._has_bits_[0] |= 0x00000080u;
8190 _impl_.mission_command_time_ = value;
8191}
8192inline void TaskPacket::set_mission_command_time(uint64_t value) {
8193 _internal_set_mission_command_time(value);
8194 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.mission_command_time)
8195}
8196
8197// optional string mission_name = 72 [(.dccl.field) = {
8198inline bool TaskPacket::_internal_has_mission_name() const {
8199 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8200 return value;
8201}
8202inline bool TaskPacket::has_mission_name() const {
8203 return _internal_has_mission_name();
8204}
8205inline void TaskPacket::clear_mission_name() {
8206 _impl_.mission_name_.ClearToEmpty();
8207 _impl_._has_bits_[0] &= ~0x00000001u;
8208}
8209inline const std::string& TaskPacket::mission_name() const {
8210 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.mission_name)
8211 return _internal_mission_name();
8212}
8213template <typename ArgT0, typename... ArgT>
8214inline PROTOBUF_ALWAYS_INLINE
8215void TaskPacket::set_mission_name(ArgT0&& arg0, ArgT... args) {
8216 _impl_._has_bits_[0] |= 0x00000001u;
8217 _impl_.mission_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8218 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.mission_name)
8219}
8220inline std::string* TaskPacket::mutable_mission_name() {
8221 std::string* _s = _internal_mutable_mission_name();
8222 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.mission_name)
8223 return _s;
8224}
8225inline const std::string& TaskPacket::_internal_mission_name() const {
8226 return _impl_.mission_name_.Get();
8227}
8228inline void TaskPacket::_internal_set_mission_name(const std::string& value) {
8229 _impl_._has_bits_[0] |= 0x00000001u;
8230 _impl_.mission_name_.Set(value, GetArenaForAllocation());
8231}
8232inline std::string* TaskPacket::_internal_mutable_mission_name() {
8233 _impl_._has_bits_[0] |= 0x00000001u;
8234 return _impl_.mission_name_.Mutable(GetArenaForAllocation());
8235}
8236inline std::string* TaskPacket::release_mission_name() {
8237 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.mission_name)
8238 if (!_internal_has_mission_name()) {
8239 return nullptr;
8240 }
8241 _impl_._has_bits_[0] &= ~0x00000001u;
8242 auto* p = _impl_.mission_name_.Release();
8243#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8244 if (_impl_.mission_name_.IsDefault()) {
8245 _impl_.mission_name_.Set("", GetArenaForAllocation());
8246 }
8247#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8248 return p;
8249}
8250inline void TaskPacket::set_allocated_mission_name(std::string* mission_name) {
8251 if (mission_name != nullptr) {
8252 _impl_._has_bits_[0] |= 0x00000001u;
8253 } else {
8254 _impl_._has_bits_[0] &= ~0x00000001u;
8255 }
8256 _impl_.mission_name_.SetAllocated(mission_name, GetArenaForAllocation());
8257#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8258 if (_impl_.mission_name_.IsDefault()) {
8259 _impl_.mission_name_.Set("", GetArenaForAllocation());
8260 }
8261#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8262 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.TaskPacket.mission_name)
8263}
8264
8265// -------------------------------------------------------------------
8266
8267// ContactUpdate
8268
8269// optional int32 contact = 1 [(.dccl.field) = {
8270inline bool ContactUpdate::_internal_has_contact() const {
8271 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
8272 return value;
8273}
8274inline bool ContactUpdate::has_contact() const {
8275 return _internal_has_contact();
8276}
8277inline void ContactUpdate::clear_contact() {
8278 _impl_.contact_ = 0;
8279 _impl_._has_bits_[0] &= ~0x00000008u;
8280}
8281inline int32_t ContactUpdate::_internal_contact() const {
8282 return _impl_.contact_;
8283}
8284inline int32_t ContactUpdate::contact() const {
8285 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.contact)
8286 return _internal_contact();
8287}
8288inline void ContactUpdate::_internal_set_contact(int32_t value) {
8289 _impl_._has_bits_[0] |= 0x00000008u;
8290 _impl_.contact_ = value;
8291}
8292inline void ContactUpdate::set_contact(int32_t value) {
8293 _internal_set_contact(value);
8294 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.contact)
8295}
8296
8297// required .jaiabot.protobuf.GeographicCoordinate location = 2;
8298inline bool ContactUpdate::_internal_has_location() const {
8299 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8300 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
8301 return value;
8302}
8303inline bool ContactUpdate::has_location() const {
8304 return _internal_has_location();
8305}
8306inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::_internal_location() const {
8307 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
8308 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
8310}
8311inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::location() const {
8312 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.location)
8313 return _internal_location();
8314}
8315inline void ContactUpdate::unsafe_arena_set_allocated_location(
8317 if (GetArenaForAllocation() == nullptr) {
8318 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
8319 }
8320 _impl_.location_ = location;
8321 if (location) {
8322 _impl_._has_bits_[0] |= 0x00000001u;
8323 } else {
8324 _impl_._has_bits_[0] &= ~0x00000001u;
8325 }
8326 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ContactUpdate.location)
8327}
8328inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::release_location() {
8329 _impl_._has_bits_[0] &= ~0x00000001u;
8330 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
8331 _impl_.location_ = nullptr;
8332#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8333 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8334 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8335 if (GetArenaForAllocation() == nullptr) { delete old; }
8336#else // PROTOBUF_FORCE_COPY_IN_RELEASE
8337 if (GetArenaForAllocation() != nullptr) {
8338 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8339 }
8340#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
8341 return temp;
8342}
8343inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::unsafe_arena_release_location() {
8344 // @@protoc_insertion_point(field_release:jaiabot.protobuf.ContactUpdate.location)
8345 _impl_._has_bits_[0] &= ~0x00000001u;
8346 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
8347 _impl_.location_ = nullptr;
8348 return temp;
8349}
8350inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::_internal_mutable_location() {
8351 _impl_._has_bits_[0] |= 0x00000001u;
8352 if (_impl_.location_ == nullptr) {
8353 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
8354 _impl_.location_ = p;
8355 }
8356 return _impl_.location_;
8357}
8358inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::mutable_location() {
8359 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_location();
8360 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ContactUpdate.location)
8361 return _msg;
8362}
8363inline void ContactUpdate::set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location) {
8364 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8365 if (message_arena == nullptr) {
8366 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
8367 }
8368 if (location) {
8369 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8370 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
8371 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location));
8372 if (message_arena != submessage_arena) {
8373 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8374 message_arena, location, submessage_arena);
8375 }
8376 _impl_._has_bits_[0] |= 0x00000001u;
8377 } else {
8378 _impl_._has_bits_[0] &= ~0x00000001u;
8379 }
8380 _impl_.location_ = location;
8381 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ContactUpdate.location)
8382}
8383
8384// optional double speed_over_ground = 3 [(.dccl.field) = {
8385inline bool ContactUpdate::_internal_has_speed_over_ground() const {
8386 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8387 return value;
8388}
8389inline bool ContactUpdate::has_speed_over_ground() const {
8390 return _internal_has_speed_over_ground();
8391}
8392inline void ContactUpdate::clear_speed_over_ground() {
8393 _impl_.speed_over_ground_ = 0;
8394 _impl_._has_bits_[0] &= ~0x00000002u;
8395}
8396inline double ContactUpdate::_internal_speed_over_ground() const {
8397 return _impl_.speed_over_ground_;
8398}
8399inline double ContactUpdate::speed_over_ground() const {
8400 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.speed_over_ground)
8401 return _internal_speed_over_ground();
8402}
8403inline void ContactUpdate::_internal_set_speed_over_ground(double value) {
8404 _impl_._has_bits_[0] |= 0x00000002u;
8405 _impl_.speed_over_ground_ = value;
8406}
8407inline void ContactUpdate::set_speed_over_ground(double value) {
8408 _internal_set_speed_over_ground(value);
8409 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.speed_over_ground)
8410}
8411
8412// optional double heading_or_cog = 5 [(.dccl.field) = {
8413inline bool ContactUpdate::_internal_has_heading_or_cog() const {
8414 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8415 return value;
8416}
8417inline bool ContactUpdate::has_heading_or_cog() const {
8418 return _internal_has_heading_or_cog();
8419}
8420inline void ContactUpdate::clear_heading_or_cog() {
8421 _impl_.heading_or_cog_ = 0;
8422 _impl_._has_bits_[0] &= ~0x00000004u;
8423}
8424inline double ContactUpdate::_internal_heading_or_cog() const {
8425 return _impl_.heading_or_cog_;
8426}
8427inline double ContactUpdate::heading_or_cog() const {
8428 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.heading_or_cog)
8429 return _internal_heading_or_cog();
8430}
8431inline void ContactUpdate::_internal_set_heading_or_cog(double value) {
8432 _impl_._has_bits_[0] |= 0x00000004u;
8433 _impl_.heading_or_cog_ = value;
8434}
8435inline void ContactUpdate::set_heading_or_cog(double value) {
8436 _internal_set_heading_or_cog(value);
8437 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.heading_or_cog)
8438}
8439
8440// -------------------------------------------------------------------
8441
8442// Hub2HubData
8443
8444// required uint32 hub_id = 1 [(.dccl.field) = {
8445inline bool Hub2HubData::_internal_has_hub_id() const {
8446 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8447 return value;
8448}
8449inline bool Hub2HubData::has_hub_id() const {
8450 return _internal_has_hub_id();
8451}
8452inline void Hub2HubData::clear_hub_id() {
8453 _impl_.hub_id_ = 0u;
8454 _impl_._has_bits_[0] &= ~0x00000002u;
8455}
8456inline uint32_t Hub2HubData::_internal_hub_id() const {
8457 return _impl_.hub_id_;
8458}
8459inline uint32_t Hub2HubData::hub_id() const {
8460 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.hub_id)
8461 return _internal_hub_id();
8462}
8463inline void Hub2HubData::_internal_set_hub_id(uint32_t value) {
8464 _impl_._has_bits_[0] |= 0x00000002u;
8465 _impl_.hub_id_ = value;
8466}
8467inline void Hub2HubData::set_hub_id(uint32_t value) {
8468 _internal_set_hub_id(value);
8469 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Hub2HubData.hub_id)
8470}
8471
8472// required uint64 time = 2 [(.dccl.field) = {
8473inline bool Hub2HubData::_internal_has_time() const {
8474 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8475 return value;
8476}
8477inline bool Hub2HubData::has_time() const {
8478 return _internal_has_time();
8479}
8480inline void Hub2HubData::clear_time() {
8481 _impl_.time_ = uint64_t{0u};
8482 _impl_._has_bits_[0] &= ~0x00000001u;
8483}
8484inline uint64_t Hub2HubData::_internal_time() const {
8485 return _impl_.time_;
8486}
8487inline uint64_t Hub2HubData::time() const {
8488 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.time)
8489 return _internal_time();
8490}
8491inline void Hub2HubData::_internal_set_time(uint64_t value) {
8492 _impl_._has_bits_[0] |= 0x00000001u;
8493 _impl_.time_ = value;
8494}
8495inline void Hub2HubData::set_time(uint64_t value) {
8496 _internal_set_time(value);
8497 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Hub2HubData.time)
8498}
8499
8500// optional .jaiabot.protobuf.Link bot_link = 3;
8501inline bool Hub2HubData::_internal_has_bot_link() const {
8502 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8503 return value;
8504}
8505inline bool Hub2HubData::has_bot_link() const {
8506 return _internal_has_bot_link();
8507}
8508inline void Hub2HubData::clear_bot_link() {
8509 _impl_.bot_link_ = -1;
8510 _impl_._has_bits_[0] &= ~0x00000004u;
8511}
8512inline ::jaiabot::protobuf::Link Hub2HubData::_internal_bot_link() const {
8513 return static_cast< ::jaiabot::protobuf::Link >(_impl_.bot_link_);
8514}
8515inline ::jaiabot::protobuf::Link Hub2HubData::bot_link() const {
8516 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.bot_link)
8517 return _internal_bot_link();
8518}
8519inline void Hub2HubData::_internal_set_bot_link(::jaiabot::protobuf::Link value) {
8520 assert(::jaiabot::protobuf::Link_IsValid(value));
8521 _impl_._has_bits_[0] |= 0x00000004u;
8522 _impl_.bot_link_ = value;
8523}
8524inline void Hub2HubData::set_bot_link(::jaiabot::protobuf::Link value) {
8525 _internal_set_bot_link(value);
8526 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Hub2HubData.bot_link)
8527}
8528
8529// .jaiabot.protobuf.BotStatus bot_status = 10;
8530inline bool Hub2HubData::_internal_has_bot_status() const {
8531 return contents_case() == kBotStatus;
8532}
8533inline bool Hub2HubData::has_bot_status() const {
8534 return _internal_has_bot_status();
8535}
8536inline void Hub2HubData::set_has_bot_status() {
8537 _impl_._oneof_case_[0] = kBotStatus;
8538}
8539inline void Hub2HubData::clear_bot_status() {
8540 if (_internal_has_bot_status()) {
8541 if (GetArenaForAllocation() == nullptr) {
8542 delete _impl_.contents_.bot_status_;
8543 }
8544 clear_has_contents();
8545 }
8546}
8547inline ::jaiabot::protobuf::BotStatus* Hub2HubData::release_bot_status() {
8548 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.bot_status)
8549 if (_internal_has_bot_status()) {
8550 clear_has_contents();
8551 ::jaiabot::protobuf::BotStatus* temp = _impl_.contents_.bot_status_;
8552 if (GetArenaForAllocation() != nullptr) {
8553 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8554 }
8555 _impl_.contents_.bot_status_ = nullptr;
8556 return temp;
8557 } else {
8558 return nullptr;
8559 }
8560}
8561inline const ::jaiabot::protobuf::BotStatus& Hub2HubData::_internal_bot_status() const {
8562 return _internal_has_bot_status()
8563 ? *_impl_.contents_.bot_status_
8565}
8566inline const ::jaiabot::protobuf::BotStatus& Hub2HubData::bot_status() const {
8567 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.bot_status)
8568 return _internal_bot_status();
8569}
8570inline ::jaiabot::protobuf::BotStatus* Hub2HubData::unsafe_arena_release_bot_status() {
8571 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.bot_status)
8572 if (_internal_has_bot_status()) {
8573 clear_has_contents();
8574 ::jaiabot::protobuf::BotStatus* temp = _impl_.contents_.bot_status_;
8575 _impl_.contents_.bot_status_ = nullptr;
8576 return temp;
8577 } else {
8578 return nullptr;
8579 }
8580}
8581inline void Hub2HubData::unsafe_arena_set_allocated_bot_status(::jaiabot::protobuf::BotStatus* bot_status) {
8582 clear_contents();
8583 if (bot_status) {
8584 set_has_bot_status();
8585 _impl_.contents_.bot_status_ = bot_status;
8586 }
8587 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.bot_status)
8588}
8589inline ::jaiabot::protobuf::BotStatus* Hub2HubData::_internal_mutable_bot_status() {
8590 if (!_internal_has_bot_status()) {
8591 clear_contents();
8592 set_has_bot_status();
8593 _impl_.contents_.bot_status_ = CreateMaybeMessage< ::jaiabot::protobuf::BotStatus >(GetArenaForAllocation());
8594 }
8595 return _impl_.contents_.bot_status_;
8596}
8597inline ::jaiabot::protobuf::BotStatus* Hub2HubData::mutable_bot_status() {
8598 ::jaiabot::protobuf::BotStatus* _msg = _internal_mutable_bot_status();
8599 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.bot_status)
8600 return _msg;
8601}
8602
8603// .jaiabot.protobuf.TaskPacket task_packet = 11;
8604inline bool Hub2HubData::_internal_has_task_packet() const {
8605 return contents_case() == kTaskPacket;
8606}
8607inline bool Hub2HubData::has_task_packet() const {
8608 return _internal_has_task_packet();
8609}
8610inline void Hub2HubData::set_has_task_packet() {
8611 _impl_._oneof_case_[0] = kTaskPacket;
8612}
8613inline void Hub2HubData::clear_task_packet() {
8614 if (_internal_has_task_packet()) {
8615 if (GetArenaForAllocation() == nullptr) {
8616 delete _impl_.contents_.task_packet_;
8617 }
8618 clear_has_contents();
8619 }
8620}
8621inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::release_task_packet() {
8622 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.task_packet)
8623 if (_internal_has_task_packet()) {
8624 clear_has_contents();
8625 ::jaiabot::protobuf::TaskPacket* temp = _impl_.contents_.task_packet_;
8626 if (GetArenaForAllocation() != nullptr) {
8627 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8628 }
8629 _impl_.contents_.task_packet_ = nullptr;
8630 return temp;
8631 } else {
8632 return nullptr;
8633 }
8634}
8635inline const ::jaiabot::protobuf::TaskPacket& Hub2HubData::_internal_task_packet() const {
8636 return _internal_has_task_packet()
8637 ? *_impl_.contents_.task_packet_
8639}
8640inline const ::jaiabot::protobuf::TaskPacket& Hub2HubData::task_packet() const {
8641 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.task_packet)
8642 return _internal_task_packet();
8643}
8644inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::unsafe_arena_release_task_packet() {
8645 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.task_packet)
8646 if (_internal_has_task_packet()) {
8647 clear_has_contents();
8648 ::jaiabot::protobuf::TaskPacket* temp = _impl_.contents_.task_packet_;
8649 _impl_.contents_.task_packet_ = nullptr;
8650 return temp;
8651 } else {
8652 return nullptr;
8653 }
8654}
8655inline void Hub2HubData::unsafe_arena_set_allocated_task_packet(::jaiabot::protobuf::TaskPacket* task_packet) {
8656 clear_contents();
8657 if (task_packet) {
8658 set_has_task_packet();
8659 _impl_.contents_.task_packet_ = task_packet;
8660 }
8661 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.task_packet)
8662}
8663inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::_internal_mutable_task_packet() {
8664 if (!_internal_has_task_packet()) {
8665 clear_contents();
8666 set_has_task_packet();
8667 _impl_.contents_.task_packet_ = CreateMaybeMessage< ::jaiabot::protobuf::TaskPacket >(GetArenaForAllocation());
8668 }
8669 return _impl_.contents_.task_packet_;
8670}
8671inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::mutable_task_packet() {
8672 ::jaiabot::protobuf::TaskPacket* _msg = _internal_mutable_task_packet();
8673 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.task_packet)
8674 return _msg;
8675}
8676
8677// .jaiabot.protobuf.Command command_for_bot = 12;
8678inline bool Hub2HubData::_internal_has_command_for_bot() const {
8679 return contents_case() == kCommandForBot;
8680}
8681inline bool Hub2HubData::has_command_for_bot() const {
8682 return _internal_has_command_for_bot();
8683}
8684inline void Hub2HubData::set_has_command_for_bot() {
8685 _impl_._oneof_case_[0] = kCommandForBot;
8686}
8687inline void Hub2HubData::clear_command_for_bot() {
8688 if (_internal_has_command_for_bot()) {
8689 if (GetArenaForAllocation() == nullptr) {
8690 delete _impl_.contents_.command_for_bot_;
8691 }
8692 clear_has_contents();
8693 }
8694}
8695inline ::jaiabot::protobuf::Command* Hub2HubData::release_command_for_bot() {
8696 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.command_for_bot)
8697 if (_internal_has_command_for_bot()) {
8698 clear_has_contents();
8699 ::jaiabot::protobuf::Command* temp = _impl_.contents_.command_for_bot_;
8700 if (GetArenaForAllocation() != nullptr) {
8701 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8702 }
8703 _impl_.contents_.command_for_bot_ = nullptr;
8704 return temp;
8705 } else {
8706 return nullptr;
8707 }
8708}
8709inline const ::jaiabot::protobuf::Command& Hub2HubData::_internal_command_for_bot() const {
8710 return _internal_has_command_for_bot()
8711 ? *_impl_.contents_.command_for_bot_
8713}
8714inline const ::jaiabot::protobuf::Command& Hub2HubData::command_for_bot() const {
8715 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.command_for_bot)
8716 return _internal_command_for_bot();
8717}
8718inline ::jaiabot::protobuf::Command* Hub2HubData::unsafe_arena_release_command_for_bot() {
8719 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.command_for_bot)
8720 if (_internal_has_command_for_bot()) {
8721 clear_has_contents();
8722 ::jaiabot::protobuf::Command* temp = _impl_.contents_.command_for_bot_;
8723 _impl_.contents_.command_for_bot_ = nullptr;
8724 return temp;
8725 } else {
8726 return nullptr;
8727 }
8728}
8729inline void Hub2HubData::unsafe_arena_set_allocated_command_for_bot(::jaiabot::protobuf::Command* command_for_bot) {
8730 clear_contents();
8731 if (command_for_bot) {
8732 set_has_command_for_bot();
8733 _impl_.contents_.command_for_bot_ = command_for_bot;
8734 }
8735 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.command_for_bot)
8736}
8737inline ::jaiabot::protobuf::Command* Hub2HubData::_internal_mutable_command_for_bot() {
8738 if (!_internal_has_command_for_bot()) {
8739 clear_contents();
8740 set_has_command_for_bot();
8741 _impl_.contents_.command_for_bot_ = CreateMaybeMessage< ::jaiabot::protobuf::Command >(GetArenaForAllocation());
8742 }
8743 return _impl_.contents_.command_for_bot_;
8744}
8745inline ::jaiabot::protobuf::Command* Hub2HubData::mutable_command_for_bot() {
8746 ::jaiabot::protobuf::Command* _msg = _internal_mutable_command_for_bot();
8747 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.command_for_bot)
8748 return _msg;
8749}
8750
8751// .jaiabot.protobuf.CommandCommsResult command_comms_result = 13;
8752inline bool Hub2HubData::_internal_has_command_comms_result() const {
8753 return contents_case() == kCommandCommsResult;
8754}
8755inline bool Hub2HubData::has_command_comms_result() const {
8756 return _internal_has_command_comms_result();
8757}
8758inline void Hub2HubData::set_has_command_comms_result() {
8759 _impl_._oneof_case_[0] = kCommandCommsResult;
8760}
8761inline void Hub2HubData::clear_command_comms_result() {
8762 if (_internal_has_command_comms_result()) {
8763 if (GetArenaForAllocation() == nullptr) {
8764 delete _impl_.contents_.command_comms_result_;
8765 }
8766 clear_has_contents();
8767 }
8768}
8769inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::release_command_comms_result() {
8770 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.command_comms_result)
8771 if (_internal_has_command_comms_result()) {
8772 clear_has_contents();
8773 ::jaiabot::protobuf::CommandCommsResult* temp = _impl_.contents_.command_comms_result_;
8774 if (GetArenaForAllocation() != nullptr) {
8775 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8776 }
8777 _impl_.contents_.command_comms_result_ = nullptr;
8778 return temp;
8779 } else {
8780 return nullptr;
8781 }
8782}
8783inline const ::jaiabot::protobuf::CommandCommsResult& Hub2HubData::_internal_command_comms_result() const {
8784 return _internal_has_command_comms_result()
8785 ? *_impl_.contents_.command_comms_result_
8787}
8788inline const ::jaiabot::protobuf::CommandCommsResult& Hub2HubData::command_comms_result() const {
8789 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.command_comms_result)
8790 return _internal_command_comms_result();
8791}
8792inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::unsafe_arena_release_command_comms_result() {
8793 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.command_comms_result)
8794 if (_internal_has_command_comms_result()) {
8795 clear_has_contents();
8796 ::jaiabot::protobuf::CommandCommsResult* temp = _impl_.contents_.command_comms_result_;
8797 _impl_.contents_.command_comms_result_ = nullptr;
8798 return temp;
8799 } else {
8800 return nullptr;
8801 }
8802}
8803inline void Hub2HubData::unsafe_arena_set_allocated_command_comms_result(::jaiabot::protobuf::CommandCommsResult* command_comms_result) {
8804 clear_contents();
8805 if (command_comms_result) {
8806 set_has_command_comms_result();
8807 _impl_.contents_.command_comms_result_ = command_comms_result;
8808 }
8809 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.command_comms_result)
8810}
8811inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::_internal_mutable_command_comms_result() {
8812 if (!_internal_has_command_comms_result()) {
8813 clear_contents();
8814 set_has_command_comms_result();
8815 _impl_.contents_.command_comms_result_ = CreateMaybeMessage< ::jaiabot::protobuf::CommandCommsResult >(GetArenaForAllocation());
8816 }
8817 return _impl_.contents_.command_comms_result_;
8818}
8819inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::mutable_command_comms_result() {
8820 ::jaiabot::protobuf::CommandCommsResult* _msg = _internal_mutable_command_comms_result();
8821 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.command_comms_result)
8822 return _msg;
8823}
8824
8825// .jaiabot.protobuf.HubStatus hub_status = 14;
8826inline bool Hub2HubData::_internal_has_hub_status() const {
8827 return contents_case() == kHubStatus;
8828}
8829inline bool Hub2HubData::has_hub_status() const {
8830 return _internal_has_hub_status();
8831}
8832inline void Hub2HubData::set_has_hub_status() {
8833 _impl_._oneof_case_[0] = kHubStatus;
8834}
8835inline ::jaiabot::protobuf::HubStatus* Hub2HubData::release_hub_status() {
8836 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.hub_status)
8837 if (_internal_has_hub_status()) {
8838 clear_has_contents();
8839 ::jaiabot::protobuf::HubStatus* temp = _impl_.contents_.hub_status_;
8840 if (GetArenaForAllocation() != nullptr) {
8841 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8842 }
8843 _impl_.contents_.hub_status_ = nullptr;
8844 return temp;
8845 } else {
8846 return nullptr;
8847 }
8848}
8849inline const ::jaiabot::protobuf::HubStatus& Hub2HubData::_internal_hub_status() const {
8850 return _internal_has_hub_status()
8851 ? *_impl_.contents_.hub_status_
8853}
8854inline const ::jaiabot::protobuf::HubStatus& Hub2HubData::hub_status() const {
8855 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.hub_status)
8856 return _internal_hub_status();
8857}
8858inline ::jaiabot::protobuf::HubStatus* Hub2HubData::unsafe_arena_release_hub_status() {
8859 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.hub_status)
8860 if (_internal_has_hub_status()) {
8861 clear_has_contents();
8862 ::jaiabot::protobuf::HubStatus* temp = _impl_.contents_.hub_status_;
8863 _impl_.contents_.hub_status_ = nullptr;
8864 return temp;
8865 } else {
8866 return nullptr;
8867 }
8868}
8869inline void Hub2HubData::unsafe_arena_set_allocated_hub_status(::jaiabot::protobuf::HubStatus* hub_status) {
8870 clear_contents();
8871 if (hub_status) {
8872 set_has_hub_status();
8873 _impl_.contents_.hub_status_ = hub_status;
8874 }
8875 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.hub_status)
8876}
8877inline ::jaiabot::protobuf::HubStatus* Hub2HubData::_internal_mutable_hub_status() {
8878 if (!_internal_has_hub_status()) {
8879 clear_contents();
8880 set_has_hub_status();
8881 _impl_.contents_.hub_status_ = CreateMaybeMessage< ::jaiabot::protobuf::HubStatus >(GetArenaForAllocation());
8882 }
8883 return _impl_.contents_.hub_status_;
8884}
8885inline ::jaiabot::protobuf::HubStatus* Hub2HubData::mutable_hub_status() {
8886 ::jaiabot::protobuf::HubStatus* _msg = _internal_mutable_hub_status();
8887 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.hub_status)
8888 return _msg;
8889}
8890
8891inline bool Hub2HubData::has_contents() const {
8892 return contents_case() != CONTENTS_NOT_SET;
8893}
8894inline void Hub2HubData::clear_has_contents() {
8895 _impl_._oneof_case_[0] = CONTENTS_NOT_SET;
8896}
8897inline Hub2HubData::ContentsCase Hub2HubData::contents_case() const {
8898 return Hub2HubData::ContentsCase(_impl_._oneof_case_[0]);
8899}
8900// -------------------------------------------------------------------
8901
8902// CommandCommsResult
8903
8904// required .jaiabot.protobuf.CommandCommsResult.CommsResult result = 1;
8905inline bool CommandCommsResult::_internal_has_result() const {
8906 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8907 return value;
8908}
8909inline bool CommandCommsResult::has_result() const {
8910 return _internal_has_result();
8911}
8912inline void CommandCommsResult::clear_result() {
8913 _impl_.result_ = 1;
8914 _impl_._has_bits_[0] &= ~0x00000002u;
8915}
8916inline ::jaiabot::protobuf::CommandCommsResult_CommsResult CommandCommsResult::_internal_result() const {
8917 return static_cast< ::jaiabot::protobuf::CommandCommsResult_CommsResult >(_impl_.result_);
8918}
8919inline ::jaiabot::protobuf::CommandCommsResult_CommsResult CommandCommsResult::result() const {
8920 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandCommsResult.result)
8921 return _internal_result();
8922}
8923inline void CommandCommsResult::_internal_set_result(::jaiabot::protobuf::CommandCommsResult_CommsResult value) {
8925 _impl_._has_bits_[0] |= 0x00000002u;
8926 _impl_.result_ = value;
8927}
8928inline void CommandCommsResult::set_result(::jaiabot::protobuf::CommandCommsResult_CommsResult value) {
8929 _internal_set_result(value);
8930 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandCommsResult.result)
8931}
8932
8933// required .jaiabot.protobuf.Link link = 2;
8934inline bool CommandCommsResult::_internal_has_link() const {
8935 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8936 return value;
8937}
8938inline bool CommandCommsResult::has_link() const {
8939 return _internal_has_link();
8940}
8941inline void CommandCommsResult::clear_link() {
8942 _impl_.link_ = -1;
8943 _impl_._has_bits_[0] &= ~0x00000004u;
8944}
8945inline ::jaiabot::protobuf::Link CommandCommsResult::_internal_link() const {
8946 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
8947}
8948inline ::jaiabot::protobuf::Link CommandCommsResult::link() const {
8949 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandCommsResult.link)
8950 return _internal_link();
8951}
8952inline void CommandCommsResult::_internal_set_link(::jaiabot::protobuf::Link value) {
8953 assert(::jaiabot::protobuf::Link_IsValid(value));
8954 _impl_._has_bits_[0] |= 0x00000004u;
8955 _impl_.link_ = value;
8956}
8957inline void CommandCommsResult::set_link(::jaiabot::protobuf::Link value) {
8958 _internal_set_link(value);
8959 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandCommsResult.link)
8960}
8961
8962// required .jaiabot.protobuf.Command orig_command = 3;
8963inline bool CommandCommsResult::_internal_has_orig_command() const {
8964 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8965 PROTOBUF_ASSUME(!value || _impl_.orig_command_ != nullptr);
8966 return value;
8967}
8968inline bool CommandCommsResult::has_orig_command() const {
8969 return _internal_has_orig_command();
8970}
8971inline void CommandCommsResult::clear_orig_command() {
8972 if (_impl_.orig_command_ != nullptr) _impl_.orig_command_->Clear();
8973 _impl_._has_bits_[0] &= ~0x00000001u;
8974}
8975inline const ::jaiabot::protobuf::Command& CommandCommsResult::_internal_orig_command() const {
8976 const ::jaiabot::protobuf::Command* p = _impl_.orig_command_;
8977 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::Command&>(
8979}
8980inline const ::jaiabot::protobuf::Command& CommandCommsResult::orig_command() const {
8981 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandCommsResult.orig_command)
8982 return _internal_orig_command();
8983}
8984inline void CommandCommsResult::unsafe_arena_set_allocated_orig_command(
8985 ::jaiabot::protobuf::Command* orig_command) {
8986 if (GetArenaForAllocation() == nullptr) {
8987 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.orig_command_);
8988 }
8989 _impl_.orig_command_ = orig_command;
8990 if (orig_command) {
8991 _impl_._has_bits_[0] |= 0x00000001u;
8992 } else {
8993 _impl_._has_bits_[0] &= ~0x00000001u;
8994 }
8995 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.CommandCommsResult.orig_command)
8996}
8997inline ::jaiabot::protobuf::Command* CommandCommsResult::release_orig_command() {
8998 _impl_._has_bits_[0] &= ~0x00000001u;
8999 ::jaiabot::protobuf::Command* temp = _impl_.orig_command_;
9000 _impl_.orig_command_ = nullptr;
9001#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
9002 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
9003 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9004 if (GetArenaForAllocation() == nullptr) { delete old; }
9005#else // PROTOBUF_FORCE_COPY_IN_RELEASE
9006 if (GetArenaForAllocation() != nullptr) {
9007 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9008 }
9009#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
9010 return temp;
9011}
9012inline ::jaiabot::protobuf::Command* CommandCommsResult::unsafe_arena_release_orig_command() {
9013 // @@protoc_insertion_point(field_release:jaiabot.protobuf.CommandCommsResult.orig_command)
9014 _impl_._has_bits_[0] &= ~0x00000001u;
9015 ::jaiabot::protobuf::Command* temp = _impl_.orig_command_;
9016 _impl_.orig_command_ = nullptr;
9017 return temp;
9018}
9019inline ::jaiabot::protobuf::Command* CommandCommsResult::_internal_mutable_orig_command() {
9020 _impl_._has_bits_[0] |= 0x00000001u;
9021 if (_impl_.orig_command_ == nullptr) {
9022 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Command>(GetArenaForAllocation());
9023 _impl_.orig_command_ = p;
9024 }
9025 return _impl_.orig_command_;
9026}
9027inline ::jaiabot::protobuf::Command* CommandCommsResult::mutable_orig_command() {
9028 ::jaiabot::protobuf::Command* _msg = _internal_mutable_orig_command();
9029 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.CommandCommsResult.orig_command)
9030 return _msg;
9031}
9032inline void CommandCommsResult::set_allocated_orig_command(::jaiabot::protobuf::Command* orig_command) {
9033 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
9034 if (message_arena == nullptr) {
9035 delete _impl_.orig_command_;
9036 }
9037 if (orig_command) {
9038 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9039 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(orig_command);
9040 if (message_arena != submessage_arena) {
9041 orig_command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9042 message_arena, orig_command, submessage_arena);
9043 }
9044 _impl_._has_bits_[0] |= 0x00000001u;
9045 } else {
9046 _impl_._has_bits_[0] &= ~0x00000001u;
9047 }
9048 _impl_.orig_command_ = orig_command;
9049 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.CommandCommsResult.orig_command)
9050}
9051
9052#ifdef __GNUC__
9053 #pragma GCC diagnostic pop
9054#endif // __GNUC__
9055// -------------------------------------------------------------------
9056
9057// -------------------------------------------------------------------
9058
9059// -------------------------------------------------------------------
9060
9061// -------------------------------------------------------------------
9062
9063// -------------------------------------------------------------------
9064
9065// -------------------------------------------------------------------
9066
9067// -------------------------------------------------------------------
9068
9069// -------------------------------------------------------------------
9070
9071// -------------------------------------------------------------------
9072
9073// -------------------------------------------------------------------
9074
9075// -------------------------------------------------------------------
9076
9077// -------------------------------------------------------------------
9078
9079// -------------------------------------------------------------------
9080
9081// -------------------------------------------------------------------
9082
9083
9084// @@protoc_insertion_point(namespace_scope)
9085
9086} // namespace protobuf
9087} // namespace jaiabot
9088
9089PROTOBUF_NAMESPACE_OPEN
9090
9091template <> struct is_proto_enum< ::jaiabot::protobuf::Command_CommandType> : ::std::true_type {};
9092template <>
9094 return ::jaiabot::protobuf::Command_CommandType_descriptor();
9095}
9096template <> struct is_proto_enum< ::jaiabot::protobuf::CommandForHub_HubCommandType> : ::std::true_type {};
9097template <>
9099 return ::jaiabot::protobuf::CommandForHub_HubCommandType_descriptor();
9100}
9101template <> struct is_proto_enum< ::jaiabot::protobuf::BotStatus_BotType> : ::std::true_type {};
9102template <>
9104 return ::jaiabot::protobuf::BotStatus_BotType_descriptor();
9105}
9106template <> struct is_proto_enum< ::jaiabot::protobuf::DivePacket_BottomType> : ::std::true_type {};
9107template <>
9109 return ::jaiabot::protobuf::DivePacket_BottomType_descriptor();
9110}
9111template <> struct is_proto_enum< ::jaiabot::protobuf::CommandCommsResult_CommsResult> : ::std::true_type {};
9112template <>
9114 return ::jaiabot::protobuf::CommandCommsResult_CommsResult_descriptor();
9115}
9116
9117PROTOBUF_NAMESPACE_CLOSE
9118
9119// @@protoc_insertion_point(global_scope)
9120
9121#include <google/protobuf/port_undef.inc>
9122#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)
boost::units::make_scaled_unit< boost::units::unit< mission_command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type mission_command_time_unit
static bool BotType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BotType *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Quantity last_command_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
BotStatus(const BotStatus &from)
boost::units::time_dimension time_dimension
boost::units::quantity< depth_unit, double > depth_with_units() const
boost::units::unit< sensor_depth_dimension, boost::units::si::system > sensor_depth_unit
Quantity sensor_depth_with_units() const
boost::units::quantity< active_goal_timeout_unit, google::protobuf::uint32 > active_goal_timeout_with_units() const
Quantity depth_with_units() const
Quantity temperature_with_units() const
void set_temperature_with_units(Quantity value_w_units)
boost::units::quantity< distance_to_active_goal_unit, double > distance_to_active_goal_with_units() const
boost::units::make_scaled_unit< boost::units::unit< last_command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type last_command_time_unit
boost::units::time_dimension received_time_dimension
BotStatus * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::quantity< temperature_unit, double > temperature_with_units() const
boost::units::temperature_dimension temperature_dimension
Quantity distance_to_active_goal_with_units() const
friend void swap(BotStatus &a, BotStatus &b)
boost::units::unit< active_goal_timeout_dimension, boost::units::si::system > active_goal_timeout_unit
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const std::string & BotType_Name(T enum_t_value)
void set_mission_name(ArgT0 &&arg0, ArgT... args)
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::time_dimension mission_command_time_dimension
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
boost::units::length_dimension distance_to_active_goal_dimension
static const BotStatus & default_instance()
boost::units::quantity< sensor_depth_unit, double > sensor_depth_with_units() const
void set_sensor_depth_with_units(Quantity value_w_units)
void set_last_command_time_with_units(Quantity value_w_units)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type active_goal_timeout_dimension
BotStatus(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
boost::units::make_scaled_unit< boost::units::unit< received_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type received_time_unit
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::quantity< last_command_time_unit, google::protobuf::uint64 > last_command_time_with_units() const
BotStatus & operator=(const BotStatus &from)
Quantity received_time_with_units() const
boost::units::length_dimension sensor_depth_dimension
void set_mission_command_time_with_units(Quantity value_w_units)
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
boost::units::quantity< mission_command_time_unit, google::protobuf::uint64 > mission_command_time_with_units() const
Quantity mission_command_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
void MergeFrom(const CommandCommsResult &from)
PROTOBUF_CONSTEXPR CommandCommsResult(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static bool CommsResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommsResult *value)
void Swap(CommandCommsResult *other)
static const std::string & CommsResult_Name(T enum_t_value)
CommandCommsResult(const CommandCommsResult &from)
CommandCommsResult(CommandCommsResult &&from) noexcept
void CopyFrom(const CommandCommsResult &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommsResult_descriptor()
void UnsafeArenaSwap(CommandCommsResult *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
CommandCommsResult & operator=(const CommandCommsResult &from)
static const CommandCommsResult & default_instance()
static const CommandCommsResult * internal_default_instance()
CommandCommsResult(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(CommandCommsResult &a, CommandCommsResult &b)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
CommandCommsResult * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
CommandCommsResult & operator=(CommandCommsResult &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
CommandForHub * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * HubCommandType_descriptor()
void CopyFrom(const CommandForHub &from)
CommandForHub(const CommandForHub &from)
boost::units::time_dimension time_dimension
static const CommandForHub * internal_default_instance()
friend void swap(CommandForHub &a, CommandForHub &b)
static const std::string & HubCommandType_Name(T enum_t_value)
static const ClassData _class_data_
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void UnsafeArenaSwap(CommandForHub *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR CommandForHub(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
CommandForHub(CommandForHub &&from) noexcept
CommandForHub & operator=(const CommandForHub &from)
void set_time_with_units(Quantity value_w_units)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
CommandForHub & operator=(CommandForHub &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void Swap(CommandForHub *other)
static const CommandForHub & default_instance()
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
void MergeFrom(const CommandForHub &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static bool HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HubCommandType *value)
CommandForHub(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_NODISCARD::jaiabot::protobuf::MissionPlan * release_plan()
PROTOBUF_NODISCARD::jaiabot::protobuf::RemoteControl * release_rc()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::jaiabot::protobuf::RemoteControl & rc() const
void unsafe_arena_set_allocated_rc_task(::jaiabot::protobuf::MissionTask *rc_task)
Command(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static constexpr CommandType DATA_OFFLOAD_COMPLETE
static constexpr CommandType SHUTDOWN_COMPUTER
static constexpr CommandType STOP
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void set_allocated_rc_task(::jaiabot::protobuf::MissionTask *rc_task)
friend void swap(Command &a, Command &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const Command &from)
static constexpr CommandType START_MISSION
static constexpr CommandType RETRY_DATA_OFFLOAD
static const Command * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static constexpr int kIndexInFileMessages
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static bool CommandType_IsValid(int value)
Command(Command &&from) noexcept
::jaiabot::protobuf::MissionPlan * unsafe_arena_release_plan()
static constexpr CommandType CommandType_MIN
void set_type(::jaiabot::protobuf::Command_CommandType value)
static constexpr CommandType ACTIVATE
::jaiabot::protobuf::Command_CommandType type() const
int GetCachedSize() const final
static constexpr CommandType NEXT_TASK
void set_allocated_rc(::jaiabot::protobuf::RemoteControl *rc)
static const std::string & CommandType_Name(T enum_t_value)
static constexpr CommandType CommandType_MAX
static bool CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandType *value)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void UnsafeArenaSwap(Command *other)
static constexpr CommandType REBOOT_COMPUTER
PROTOBUF_NODISCARD::jaiabot::protobuf::MissionTask * release_rc_task()
::jaiabot::protobuf::MissionTask * unsafe_arena_release_rc_task()
static constexpr CommandType RESTART_ALL_SERVICES
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const Command & default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::jaiabot::protobuf::MissionTask & rc_task() const
void set_bot_id(uint32_t value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandType_descriptor()
static constexpr CommandType REMOTE_CONTROL_TASK
Command(const Command &from)
Command * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Quantity time_with_units() const
void set_allocated_plan(::jaiabot::protobuf::MissionPlan *plan)
void CopyFrom(const Command &from)
void set_time_with_units(Quantity value_w_units)
boost::units::time_dimension time_dimension
void set_time(uint64_t value)
::jaiabot::protobuf::RemoteControl * mutable_rc()
void set_link(::jaiabot::protobuf::Link value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static constexpr CommandType PAUSE
void unsafe_arena_set_allocated_rc(::jaiabot::protobuf::RemoteControl *rc)
::jaiabot::protobuf::RemoteControl * unsafe_arena_release_rc()
static constexpr CommandType REMOTE_CONTROL_SETPOINT
static constexpr CommandType RECOVERED
static constexpr CommandType MISSION_PLAN
static constexpr CommandType DATA_OFFLOAD_FAILED
size_t ByteSizeLong() const final
bool IsInitialized() const final
void Swap(Command *other)
void set_from_hub_id(uint32_t value)
::jaiabot::protobuf::MissionPlan * mutable_plan()
static constexpr CommandType RESUME
::jaiabot::protobuf::MissionTask * mutable_rc_task()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
CommandDataCase command_data_case() const
::jaiabot::protobuf::Link link() const
const ::jaiabot::protobuf::MissionPlan & plan() const
static constexpr int CommandType_ARRAYSIZE
void unsafe_arena_set_allocated_plan(::jaiabot::protobuf::MissionPlan *plan)
static constexpr CommandType RETURN_TO_HOME
Command & operator=(Command &&from) noexcept
uint32_t from_hub_id() const
static const ClassData _class_data_
static constexpr CommandType REMOTE_CONTROL_RESUME_MOVEMENT
static constexpr CommandType SHUTDOWN
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
static constexpr CommandType MISSION_PLAN_FRAGMENT
Command & operator=(const Command &from)
PROTOBUF_CONSTEXPR Command(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_heading_or_cog_with_units(Quantity value_w_units)
friend void swap(ContactUpdate &a, ContactUpdate &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
ContactUpdate * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
ContactUpdate & operator=(ContactUpdate &&from) noexcept
PROTOBUF_CONSTEXPR ContactUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ContactUpdate * internal_default_instance()
void set_speed_over_ground_with_units(Quantity value_w_units)
static const ClassData _class_data_
Quantity speed_over_ground_with_units() const
boost::units::quantity< heading_or_cog_unit, double > heading_or_cog_with_units() const
ContactUpdate(const ContactUpdate &from)
boost::units::unit< speed_over_ground_dimension, boost::units::si::system > speed_over_ground_unit
boost::units::unit< heading_or_cog_dimension, boost::units::degree::system > heading_or_cog_unit
boost::units::plane_angle_dimension heading_or_cog_dimension
boost::units::velocity_dimension speed_over_ground_dimension
static const ContactUpdate & default_instance()
ContactUpdate(ContactUpdate &&from) noexcept
ContactUpdate & operator=(const ContactUpdate &from)
Quantity heading_or_cog_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void UnsafeArenaSwap(ContactUpdate *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::quantity< speed_over_ground_unit, double > speed_over_ground_with_units() const
ContactUpdate(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void Swap(ContactUpdate *other)
void CopyFrom(const ContactUpdate &from)
void MergeFrom(const ContactUpdate &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
DivePacket_Measurements & operator=(const DivePacket_Measurements &from)
static const DivePacket_Measurements * internal_default_instance()
void set_mean_temperature_with_units(Quantity value_w_units)
DivePacket_Measurements(const DivePacket_Measurements &from)
void UnsafeArenaSwap(DivePacket_Measurements *other)
DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_mean_depth_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const DivePacket_Measurements & default_instance()
DivePacket_Measurements * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void Swap(DivePacket_Measurements *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< mean_depth_dimension, boost::units::si::system > mean_depth_unit
boost::units::temperature_dimension mean_temperature_dimension
boost::units::absolute< boost::units::unit< mean_temperature_dimension, boost::units::celsius::system > > mean_temperature_unit
DivePacket_Measurements(DivePacket_Measurements &&from) noexcept
boost::units::quantity< mean_temperature_unit, double > mean_temperature_with_units() const
DivePacket_Measurements & operator=(DivePacket_Measurements &&from) noexcept
void MergeFrom(const DivePacket_Measurements &from)
boost::units::quantity< mean_depth_unit, double > mean_depth_with_units() const
void CopyFrom(const DivePacket_Measurements &from)
boost::units::length_dimension mean_depth_dimension
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(DivePacket_Measurements &a, DivePacket_Measurements &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void CopyFrom(const DivePacket_SubsurfaceCurrentVector &from)
void Swap(DivePacket_SubsurfaceCurrentVector *other)
DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const DivePacket_SubsurfaceCurrentVector * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::plane_angle_dimension heading_dimension
boost::units::quantity< heading_unit, double > heading_with_units() const
boost::units::unit< velocity_dimension, boost::units::si::system > velocity_unit
DivePacket_SubsurfaceCurrentVector(const DivePacket_SubsurfaceCurrentVector &from)
DivePacket_SubsurfaceCurrentVector * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::velocity_dimension velocity_dimension
friend void swap(DivePacket_SubsurfaceCurrentVector &a, DivePacket_SubsurfaceCurrentVector &b)
PROTOBUF_CONSTEXPR DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::quantity< velocity_unit, double > velocity_with_units() const
DivePacket_SubsurfaceCurrentVector & operator=(DivePacket_SubsurfaceCurrentVector &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(DivePacket_SubsurfaceCurrentVector *other)
DivePacket_SubsurfaceCurrentVector(DivePacket_SubsurfaceCurrentVector &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const DivePacket_SubsurfaceCurrentVector & default_instance()
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
DivePacket_SubsurfaceCurrentVector & operator=(const DivePacket_SubsurfaceCurrentVector &from)
void MergeFrom(const DivePacket_SubsurfaceCurrentVector &from)
boost::units::quantity< dive_rate_unit, double > dive_rate_with_units() const
void Swap(DivePacket *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const DivePacket * internal_default_instance()
DivePacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_dive_rate_with_units(Quantity value_w_units)
boost::units::quantity< powered_rise_rate_unit, double > powered_rise_rate_with_units() const
DivePacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::unit< duration_to_acquire_gps_dimension, boost::units::si::system > duration_to_acquire_gps_unit
Quantity duration_to_acquire_gps_with_units() const
void set_max_acceleration_with_units(Quantity value_w_units)
DivePacket(const DivePacket &from)
DivePacket & operator=(DivePacket &&from) noexcept
boost::units::acceleration_dimension max_acceleration_dimension
void set_unpowered_rise_rate_with_units(Quantity value_w_units)
void set_depth_achieved_with_units(Quantity value_w_units)
static bool BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BottomType *value)
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
boost::units::length_dimension depth_achieved_dimension
Quantity dive_rate_with_units() const
boost::units::unit< max_acceleration_dimension, boost::units::si::system > max_acceleration_unit
boost::units::unit< dive_rate_dimension, boost::units::si::system > dive_rate_unit
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type duration_to_acquire_gps_dimension
void CopyFrom(const DivePacket &from)
static const DivePacket & default_instance()
boost::units::unit< unpowered_rise_rate_dimension, boost::units::si::system > unpowered_rise_rate_unit
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< powered_rise_rate_dimension, boost::units::si::system > powered_rise_rate_unit
static const std::string & BottomType_Name(T enum_t_value)
boost::units::quantity< depth_achieved_unit, double > depth_achieved_with_units() const
boost::units::quantity< unpowered_rise_rate_unit, double > unpowered_rise_rate_with_units() const
void MergeFrom(const DivePacket &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::velocity_dimension unpowered_rise_rate_dimension
void UnsafeArenaSwap(DivePacket *other)
boost::units::quantity< max_acceleration_unit, double > max_acceleration_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BottomType_descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DivePacket(DivePacket &&from) noexcept
friend void swap(DivePacket &a, DivePacket &b)
Quantity unpowered_rise_rate_with_units() const
boost::units::quantity< duration_to_acquire_gps_unit, double > duration_to_acquire_gps_with_units() const
DivePacket & operator=(const DivePacket &from)
Quantity max_acceleration_with_units() const
void set_powered_rise_rate_with_units(Quantity value_w_units)
Quantity powered_rise_rate_with_units() const
void set_duration_to_acquire_gps_with_units(Quantity value_w_units)
boost::units::velocity_dimension dive_rate_dimension
PROTOBUF_CONSTEXPR DivePacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity depth_achieved_with_units() const
boost::units::unit< depth_achieved_dimension, boost::units::si::system > depth_achieved_unit
boost::units::velocity_dimension powered_rise_rate_dimension
void set_heading_with_units(Quantity value_w_units)
DriftPacket_EstimatedDrift(DriftPacket_EstimatedDrift &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DriftPacket_EstimatedDrift & operator=(const DriftPacket_EstimatedDrift &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
DriftPacket_EstimatedDrift & operator=(DriftPacket_EstimatedDrift &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< heading_unit, double > heading_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(DriftPacket_EstimatedDrift &a, DriftPacket_EstimatedDrift &b)
boost::units::quantity< speed_unit, double > speed_with_units() const
static const DriftPacket_EstimatedDrift * internal_default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
DriftPacket_EstimatedDrift(const DriftPacket_EstimatedDrift &from)
PROTOBUF_CONSTEXPR DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::velocity_dimension speed_dimension
void CopyFrom(const DriftPacket_EstimatedDrift &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void MergeFrom(const DriftPacket_EstimatedDrift &from)
boost::units::unit< speed_dimension, boost::units::si::system > speed_unit
boost::units::plane_angle_dimension heading_dimension
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
static const DriftPacket_EstimatedDrift & default_instance()
DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void Swap(DriftPacket_EstimatedDrift *other)
void UnsafeArenaSwap(DriftPacket_EstimatedDrift *other)
void set_speed_with_units(Quantity value_w_units)
DriftPacket_EstimatedDrift * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const DriftPacket * internal_default_instance()
DriftPacket & operator=(DriftPacket &&from) noexcept
DriftPacket(const DriftPacket &from)
void Swap(DriftPacket *other)
PROTOBUF_CONSTEXPR DriftPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity significant_wave_height_with_units() const
void set_significant_wave_height_with_units(Quantity value_w_units)
boost::units::quantity< significant_wave_height_unit, double > significant_wave_height_with_units() const
DriftPacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DriftPacket(DriftPacket &&from) noexcept
void set_drift_duration_with_units(Quantity value_w_units)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
DriftPacket & operator=(const DriftPacket &from)
friend void swap(DriftPacket &a, DriftPacket &b)
boost::units::length_dimension significant_wave_height_dimension
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(DriftPacket *other)
static const ClassData _class_data_
boost::units::unit< significant_wave_height_dimension, boost::units::si::system > significant_wave_height_unit
void CopyFrom(const DriftPacket &from)
void MergeFrom(const DriftPacket &from)
boost::units::unit< drift_duration_dimension, boost::units::si::system > drift_duration_unit
boost::units::quantity< drift_duration_unit, google::protobuf::int32 > drift_duration_with_units() const
DriftPacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const DriftPacket & default_instance()
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type drift_duration_dimension
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Quantity drift_duration_with_units() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_CONSTEXPR Hub2HubData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Hub2HubData(Hub2HubData &&from) noexcept
Hub2HubData(const Hub2HubData &from)
boost::units::time_dimension time_dimension
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
friend void swap(Hub2HubData &a, Hub2HubData &b)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Hub2HubData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_allocated_bot_status(::jaiabot::protobuf::BotStatus *bot_status)
void MergeFrom(const Hub2HubData &from)
void set_allocated_hub_status(::jaiabot::protobuf::HubStatus *hub_status)
Hub2HubData(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_command_comms_result(::jaiabot::protobuf::CommandCommsResult *command_comms_result)
Hub2HubData & operator=(const Hub2HubData &from)
void Swap(Hub2HubData *other)
static const ClassData _class_data_
void set_allocated_task_packet(::jaiabot::protobuf::TaskPacket *task_packet)
void set_allocated_command_for_bot(::jaiabot::protobuf::Command *command_for_bot)
static const Hub2HubData * internal_default_instance()
static const Hub2HubData & default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Hub2HubData & operator=(Hub2HubData &&from) noexcept
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void UnsafeArenaSwap(Hub2HubData *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const Hub2HubData &from)
void set_time_with_units(Quantity value_w_units)
boost::units::time_dimension end_time_dimension
boost::units::make_scaled_unit< boost::units::unit< mission_command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type mission_command_time_unit
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
void set_mission_command_time_with_units(Quantity value_w_units)
Quantity mission_command_time_with_units() const
Quantity end_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::time_dimension mission_command_time_dimension
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)
void set_mission_name(ArgT0 &&arg0, ArgT... args)
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::quantity< mission_command_time_unit, google::protobuf::uint64 > mission_command_time_with_units() const
boost::units::make_scaled_unit< boost::units::unit< end_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type end_time_unit
static const ClassData _class_data_
static const TaskPacket & default_instance()
void Swap(TaskPacket *other)
void UnsafeArenaSwap(TaskPacket *other)
void CopyFrom(const TaskPacket &from)
TaskPacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_end_time_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
TaskPacket(TaskPacket &&from) noexcept
boost::units::time_dimension start_time_dimension
void set_start_time_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TaskPacket & operator=(const TaskPacket &from)
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::GeographicCoordinate * Arena::CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate >(Arena *)
::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector * Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::DivePacket_BottomType >()
::jaiabot::protobuf::DriftPacket * Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::CommandCommsResult_CommsResult >()
::jaiabot::protobuf::DivePacket * Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket >(Arena *)
::jaiabot::protobuf::Command * Arena::CreateMaybeMessage<::jaiabot::protobuf::Command >(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)
BotStatus_ActiveLinkDefaultTypeInternal _BotStatus_ActiveLink_default_instance_
constexpr CommandCommsResult_CommsResult CommandCommsResult_CommsResult_CommsResult_MAX
constexpr int CommandCommsResult_CommsResult_CommsResult_ARRAYSIZE
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_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandCommsResult_CommsResult_descriptor()
bool Command_CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Command_CommandType *value)
constexpr CommandCommsResult_CommsResult CommandCommsResult_CommsResult_CommsResult_MIN
bool DivePacket_BottomType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * DivePacket_BottomType_descriptor()
Hub2HubDataDefaultTypeInternal _Hub2HubData_default_instance_
bool BotStatus_BotType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BotStatus_BotType *value)
bool Error_IsValid(int value)
bool CommandCommsResult_CommsResult_IsValid(int value)
const std::string & CommandCommsResult_CommsResult_Name(T enum_t_value)
const std::string & BotStatus_BotType_Name(T enum_t_value)
constexpr int Command_CommandType_CommandType_ARRAYSIZE
DriftPacket_EstimatedDriftDefaultTypeInternal _DriftPacket_EstimatedDrift_default_instance_
bool CommandCommsResult_CommsResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandCommsResult_CommsResult *value)
constexpr CommandForHub_HubCommandType CommandForHub_HubCommandType_HubCommandType_MAX
bool DivePacket_BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DivePacket_BottomType *value)
DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal _DivePacket_SubsurfaceCurrentVector_default_instance_
TaskPacketDefaultTypeInternal _TaskPacket_default_instance_
RemoteControlDefaultTypeInternal _RemoteControl_default_instance_
bool CommandForHub_HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandForHub_HubCommandType *value)
const std::string & Command_CommandType_Name(T enum_t_value)
ContactUpdateDefaultTypeInternal _ContactUpdate_default_instance_
CommandCommsResultDefaultTypeInternal _CommandCommsResult_default_instance_
const std::string & DivePacket_BottomType_Name(T enum_t_value)
@ CommandForHub_HubCommandType_RESTART_ALL_SERVICES
@ CommandForHub_HubCommandType_REBOOT_COMPUTER
@ CommandForHub_HubCommandType_SET_HUB_LOCATION
@ CommandForHub_HubCommandType_SCAN_FOR_BOTS
@ CommandForHub_HubCommandType_SHUTDOWN_COMPUTER
@ CommandForHub_HubCommandType_CTD_DATA_OFFLOAD
CommandDefaultTypeInternal _Command_default_instance_
DivePacket_MeasurementsDefaultTypeInternal _DivePacket_Measurements_default_instance_
constexpr int BotStatus_BotType_BotType_ARRAYSIZE
DivePacketDefaultTypeInternal _DivePacket_default_instance_
bool MissionTask_TaskType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BotStatus_BotType_descriptor()
DriftPacketDefaultTypeInternal _DriftPacket_default_instance_
bool Link_IsValid(int value)
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_
@ Command_CommandType_REMOTE_CONTROL_TASK
@ Command_CommandType_RETRY_DATA_OFFLOAD
@ Command_CommandType_REBOOT_COMPUTER
@ Command_CommandType_MISSION_PLAN_FRAGMENT
@ Command_CommandType_REMOTE_CONTROL_RESUME_MOVEMENT
@ Command_CommandType_SHUTDOWN_COMPUTER
@ Command_CommandType_DATA_OFFLOAD_COMPLETE
@ Command_CommandType_REMOTE_CONTROL_SETPOINT
@ Command_CommandType_DATA_OFFLOAD_FAILED
@ Command_CommandType_RESTART_ALL_SERVICES
constexpr DivePacket_BottomType DivePacket_BottomType_BottomType_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Command_CommandType_descriptor()
const std::string & CommandForHub_HubCommandType_Name(T enum_t_value)
constexpr BotStatus_BotType BotStatus_BotType_BotType_MIN
@ CommandCommsResult_CommsResult_FAILURE
@ CommandCommsResult_CommsResult_SUCCESS
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_
HubStatusDefaultTypeInternal _HubStatus_default_instance_
constexpr Command_CommandType Command_CommandType_CommandType_MIN
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
::jaiabot::protobuf::MissionPlan * plan_
::jaiabot::protobuf::MissionTask * rc_task_
::jaiabot::protobuf::RemoteControl * rc_
::jaiabot::protobuf::TaskPacket * task_packet_
::jaiabot::protobuf::CommandCommsResult * command_comms_result_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_