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