JaiaBot 3.0.0
JaiaBot micro-AUV software
Loading...
Searching...
No Matches
jaia_dccl.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/jaia_dccl.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
38#include "goby/middleware/protobuf/coroner.pb.h"
44#include "jaiabot/messages/storm_mcu.pb.h"
47#include <boost/units/quantity.hpp>
48#include <boost/units/absolute.hpp>
49#include <boost/units/dimensionless_type.hpp>
50#include <boost/units/make_scaled_unit.hpp>
51
52#include <boost/units/systems/angle/degrees.hpp>
53
54#include <boost/units/systems/temperature/celsius.hpp>
55
56#include <boost/units/systems/si.hpp>
57// @@protoc_insertion_point(includes)
58#include <google/protobuf/port_def.inc>
59#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
60PROTOBUF_NAMESPACE_OPEN
61namespace internal {
62class AnyMetadata;
63} // namespace internal
64PROTOBUF_NAMESPACE_CLOSE
65
66// Internal implementation detail -- do not use these members.
70extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
71namespace jaiabot {
72namespace protobuf {
73class BotStatus;
74struct BotStatusDefaultTypeInternal;
75extern BotStatusDefaultTypeInternal _BotStatus_default_instance_;
76class BotStatus_ActiveLink;
77struct BotStatus_ActiveLinkDefaultTypeInternal;
78extern BotStatus_ActiveLinkDefaultTypeInternal _BotStatus_ActiveLink_default_instance_;
79class BotStatus_Attitude;
80struct BotStatus_AttitudeDefaultTypeInternal;
81extern BotStatus_AttitudeDefaultTypeInternal _BotStatus_Attitude_default_instance_;
82class BotStatus_Speed;
83struct BotStatus_SpeedDefaultTypeInternal;
84extern BotStatus_SpeedDefaultTypeInternal _BotStatus_Speed_default_instance_;
85class Command;
86struct CommandDefaultTypeInternal;
87extern CommandDefaultTypeInternal _Command_default_instance_;
88class CommandCommsResult;
89struct CommandCommsResultDefaultTypeInternal;
90extern CommandCommsResultDefaultTypeInternal _CommandCommsResult_default_instance_;
91class CommandForHub;
92struct CommandForHubDefaultTypeInternal;
93extern CommandForHubDefaultTypeInternal _CommandForHub_default_instance_;
94class ContactUpdate;
95struct ContactUpdateDefaultTypeInternal;
96extern ContactUpdateDefaultTypeInternal _ContactUpdate_default_instance_;
97class DivePacket;
98struct DivePacketDefaultTypeInternal;
99extern DivePacketDefaultTypeInternal _DivePacket_default_instance_;
100class DivePacket_Measurements;
101struct DivePacket_MeasurementsDefaultTypeInternal;
102extern DivePacket_MeasurementsDefaultTypeInternal _DivePacket_Measurements_default_instance_;
103class DivePacket_SubsurfaceCurrentVector;
104struct DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal;
105extern DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal _DivePacket_SubsurfaceCurrentVector_default_instance_;
106class DriftPacket;
107struct DriftPacketDefaultTypeInternal;
108extern DriftPacketDefaultTypeInternal _DriftPacket_default_instance_;
109class DriftPacket_EstimatedDrift;
110struct DriftPacket_EstimatedDriftDefaultTypeInternal;
111extern DriftPacket_EstimatedDriftDefaultTypeInternal _DriftPacket_EstimatedDrift_default_instance_;
112class Hub2HubData;
113struct Hub2HubDataDefaultTypeInternal;
114extern Hub2HubDataDefaultTypeInternal _Hub2HubData_default_instance_;
115class StormCTDProfile;
116struct StormCTDProfileDefaultTypeInternal;
117extern StormCTDProfileDefaultTypeInternal _StormCTDProfile_default_instance_;
118class StormCTDProfile_Sample;
119struct StormCTDProfile_SampleDefaultTypeInternal;
120extern StormCTDProfile_SampleDefaultTypeInternal _StormCTDProfile_Sample_default_instance_;
121class TaskPacket;
122struct TaskPacketDefaultTypeInternal;
123extern TaskPacketDefaultTypeInternal _TaskPacket_default_instance_;
124} // namespace protobuf
125} // namespace jaiabot
126PROTOBUF_NAMESPACE_OPEN
127template<> ::jaiabot::protobuf::BotStatus* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus>(Arena*);
128template<> ::jaiabot::protobuf::BotStatus_ActiveLink* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_ActiveLink>(Arena*);
129template<> ::jaiabot::protobuf::BotStatus_Attitude* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(Arena*);
130template<> ::jaiabot::protobuf::BotStatus_Speed* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(Arena*);
131template<> ::jaiabot::protobuf::Command* Arena::CreateMaybeMessage<::jaiabot::protobuf::Command>(Arena*);
132template<> ::jaiabot::protobuf::CommandCommsResult* Arena::CreateMaybeMessage<::jaiabot::protobuf::CommandCommsResult>(Arena*);
133template<> ::jaiabot::protobuf::CommandForHub* Arena::CreateMaybeMessage<::jaiabot::protobuf::CommandForHub>(Arena*);
134template<> ::jaiabot::protobuf::ContactUpdate* Arena::CreateMaybeMessage<::jaiabot::protobuf::ContactUpdate>(Arena*);
135template<> ::jaiabot::protobuf::DivePacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(Arena*);
136template<> ::jaiabot::protobuf::DivePacket_Measurements* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_Measurements>(Arena*);
137template<> ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector>(Arena*);
138template<> ::jaiabot::protobuf::DriftPacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(Arena*);
139template<> ::jaiabot::protobuf::DriftPacket_EstimatedDrift* Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift>(Arena*);
140template<> ::jaiabot::protobuf::Hub2HubData* Arena::CreateMaybeMessage<::jaiabot::protobuf::Hub2HubData>(Arena*);
141template<> ::jaiabot::protobuf::StormCTDProfile* Arena::CreateMaybeMessage<::jaiabot::protobuf::StormCTDProfile>(Arena*);
142template<> ::jaiabot::protobuf::StormCTDProfile_Sample* Arena::CreateMaybeMessage<::jaiabot::protobuf::StormCTDProfile_Sample>(Arena*);
143template<> ::jaiabot::protobuf::TaskPacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::TaskPacket>(Arena*);
144PROTOBUF_NAMESPACE_CLOSE
145namespace jaiabot {
146namespace protobuf {
147
175
176const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Command_CommandType_descriptor();
177template<typename T>
178inline const std::string& Command_CommandType_Name(T enum_t_value) {
179 static_assert(::std::is_same<T, Command_CommandType>::value ||
180 ::std::is_integral<T>::value,
181 "Incorrect type passed to function Command_CommandType_Name.");
182 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
183 Command_CommandType_descriptor(), enum_t_value);
184}
186 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Command_CommandType* value) {
187 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Command_CommandType>(
188 Command_CommandType_descriptor(), name, value);
189}
202
203const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CommandForHub_HubCommandType_descriptor();
204template<typename T>
205inline const std::string& CommandForHub_HubCommandType_Name(T enum_t_value) {
206 static_assert(::std::is_same<T, CommandForHub_HubCommandType>::value ||
207 ::std::is_integral<T>::value,
208 "Incorrect type passed to function CommandForHub_HubCommandType_Name.");
209 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
211}
213 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandForHub_HubCommandType* value) {
214 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommandForHub_HubCommandType>(
216}
225
226const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DivePacket_BottomType_descriptor();
227template<typename T>
228inline const std::string& DivePacket_BottomType_Name(T enum_t_value) {
229 static_assert(::std::is_same<T, DivePacket_BottomType>::value ||
230 ::std::is_integral<T>::value,
231 "Incorrect type passed to function DivePacket_BottomType_Name.");
232 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
233 DivePacket_BottomType_descriptor(), enum_t_value);
234}
236 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DivePacket_BottomType* value) {
237 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DivePacket_BottomType>(
238 DivePacket_BottomType_descriptor(), name, value);
239}
248
249const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CommandCommsResult_CommsResult_descriptor();
250template<typename T>
251inline const std::string& CommandCommsResult_CommsResult_Name(T enum_t_value) {
252 static_assert(::std::is_same<T, CommandCommsResult_CommsResult>::value ||
253 ::std::is_integral<T>::value,
254 "Incorrect type passed to function CommandCommsResult_CommsResult_Name.");
255 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
257}
259 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandCommsResult_CommsResult* value) {
260 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommandCommsResult_CommsResult>(
262}
263// ===================================================================
264
265class Command final :
266 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Command) */ {
267 public:
268 inline Command() : Command(nullptr) {}
269 ~Command() override;
270 explicit PROTOBUF_CONSTEXPR Command(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
271
272 Command(const Command& from);
273 Command(Command&& from) noexcept
274 : Command() {
275 *this = ::std::move(from);
276 }
277
278 inline Command& operator=(const Command& from) {
279 CopyFrom(from);
280 return *this;
281 }
282 inline Command& operator=(Command&& from) noexcept {
283 if (this == &from) return *this;
284 if (GetOwningArena() == from.GetOwningArena()
285 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
286 && GetOwningArena() != nullptr
287 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
288 ) {
289 InternalSwap(&from);
290 } else {
291 CopyFrom(from);
292 }
293 return *this;
294 }
295
296 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
297 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
298 }
299 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
300 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
301 }
302
303 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
304 return GetDescriptor();
305 }
306 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
307 return default_instance().GetMetadata().descriptor;
308 }
309 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
310 return default_instance().GetMetadata().reflection;
311 }
312 static const Command& default_instance() {
314 }
322
323 static inline const Command* internal_default_instance() {
324 return reinterpret_cast<const Command*>(
326 }
327 static constexpr int kIndexInFileMessages =
328 0;
329
330 friend void swap(Command& a, Command& b) {
331 a.Swap(&b);
332 }
333 inline void Swap(Command* other) {
334 if (other == this) return;
335 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
336 if (GetOwningArena() != nullptr &&
337 GetOwningArena() == other->GetOwningArena()) {
338 #else // PROTOBUF_FORCE_COPY_IN_SWAP
339 if (GetOwningArena() == other->GetOwningArena()) {
340 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
341 InternalSwap(other);
342 } else {
343 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
344 }
345 }
347 if (other == this) return;
348 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
349 InternalSwap(other);
350 }
351
352 // implements Message ----------------------------------------------
353
354 Command* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
355 return CreateMaybeMessage<Command>(arena);
356 }
357 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
358 void CopyFrom(const Command& from);
359 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
360 void MergeFrom( const Command& from) {
361 Command::MergeImpl(*this, from);
362 }
363 private:
364 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
365 public:
366 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
367 bool IsInitialized() const final;
368
369 size_t ByteSizeLong() const final;
370 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
372 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
373 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
374
375 private:
376 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
377 void SharedDtor();
378 void SetCachedSize(int size) const final;
379 void InternalSwap(Command* other);
380
381 private:
382 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
383 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
384 return "jaiabot.protobuf.Command";
385 }
386 protected:
387 explicit Command(::PROTOBUF_NAMESPACE_ID::Arena* arena,
388 bool is_message_owned = false);
389 public:
390
391 static const ClassData _class_data_;
392 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
393
394 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
395
396 // nested types ----------------------------------------------------
397
399 static constexpr CommandType MISSION_PLAN =
401 static constexpr CommandType ACTIVATE =
403 static constexpr CommandType START_MISSION =
407 static constexpr CommandType NEXT_TASK =
409 static constexpr CommandType RETURN_TO_HOME =
411 static constexpr CommandType STOP =
413 static constexpr CommandType PAUSE =
415 static constexpr CommandType RESUME =
425 static constexpr CommandType RECOVERED =
427 static constexpr CommandType SHUTDOWN =
437 static constexpr CommandType REBOOT_COMPUTER =
441 static inline bool CommandType_IsValid(int value) {
442 return Command_CommandType_IsValid(value);
443 }
444 static constexpr CommandType CommandType_MIN =
446 static constexpr CommandType CommandType_MAX =
448 static constexpr int CommandType_ARRAYSIZE =
450 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
454 template<typename T>
455 static inline const std::string& CommandType_Name(T enum_t_value) {
456 static_assert(::std::is_same<T, CommandType>::value ||
457 ::std::is_integral<T>::value,
458 "Incorrect type passed to function CommandType_Name.");
459 return Command_CommandType_Name(enum_t_value);
460 }
461 static inline bool CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
462 CommandType* value) {
463 return Command_CommandType_Parse(name, value);
464 }
465
466 // accessors -------------------------------------------------------
467
468 enum : int {
478 };
479 // required uint64 time = 2 [(.dccl.field) = {
480 bool has_time() const;
481 private:
482 bool _internal_has_time() const;
483 public:
484 void clear_time();
485 uint64_t time() const;
486 void set_time(uint64_t value);
487 private:
488 uint64_t _internal_time() const;
489 void _internal_set_time(uint64_t value);
490 public:
491
492 // required uint32 bot_id = 1 [(.dccl.field) = {
493 bool has_bot_id() const;
494 private:
495 bool _internal_has_bot_id() const;
496 public:
497 void clear_bot_id();
498 uint32_t bot_id() const;
499 void set_bot_id(uint32_t value);
500 private:
501 uint32_t _internal_bot_id() const;
502 void _internal_set_bot_id(uint32_t value);
503 public:
504
505 // optional uint32 from_hub_id = 4 [(.dccl.field) = {
506 bool has_from_hub_id() const;
507 private:
508 bool _internal_has_from_hub_id() const;
509 public:
510 void clear_from_hub_id();
511 uint32_t from_hub_id() const;
512 void set_from_hub_id(uint32_t value);
513 private:
514 uint32_t _internal_from_hub_id() const;
515 void _internal_set_from_hub_id(uint32_t value);
516 public:
517
518 // optional .jaiabot.protobuf.Link link = 3 [(.dccl.field) = {
519 bool has_link() const;
520 private:
521 bool _internal_has_link() const;
522 public:
523 void clear_link();
526 private:
527 ::jaiabot::protobuf::Link _internal_link() const;
528 void _internal_set_link(::jaiabot::protobuf::Link value);
529 public:
530
531 // required .jaiabot.protobuf.Command.CommandType type = 10 [(.jaia.field) = {
532 bool has_type() const;
533 private:
534 bool _internal_has_type() const;
535 public:
536 void clear_type();
539 private:
540 ::jaiabot::protobuf::Command_CommandType _internal_type() const;
541 void _internal_set_type(::jaiabot::protobuf::Command_CommandType value);
542 public:
543
544 // .jaiabot.protobuf.MissionPlan plan = 20 [(.jaia.field) = {
545 bool has_plan() const;
546 private:
547 bool _internal_has_plan() const;
548 public:
550 const ::jaiabot::protobuf::MissionPlan& plan() const;
551 PROTOBUF_NODISCARD ::jaiabot::protobuf::MissionPlan* release_plan();
554 private:
555 const ::jaiabot::protobuf::MissionPlan& _internal_plan() const;
556 ::jaiabot::protobuf::MissionPlan* _internal_mutable_plan();
557 public:
561
562 // .jaiabot.protobuf.RemoteControl rc = 30 [(.jaia.field) = {
563 bool has_rc() const;
564 private:
565 bool _internal_has_rc() const;
566 public:
567 void clear_rc();
568 const ::jaiabot::protobuf::RemoteControl& rc() const;
569 PROTOBUF_NODISCARD ::jaiabot::protobuf::RemoteControl* release_rc();
572 private:
573 const ::jaiabot::protobuf::RemoteControl& _internal_rc() const;
574 ::jaiabot::protobuf::RemoteControl* _internal_mutable_rc();
575 public:
579
580 // .jaiabot.protobuf.MissionTask rc_task = 31;
581 bool has_rc_task() const;
582 private:
583 bool _internal_has_rc_task() const;
584 public:
586 const ::jaiabot::protobuf::MissionTask& rc_task() const;
587 PROTOBUF_NODISCARD ::jaiabot::protobuf::MissionTask* release_rc_task();
590 private:
591 const ::jaiabot::protobuf::MissionTask& _internal_rc_task() const;
592 ::jaiabot::protobuf::MissionTask* _internal_mutable_rc_task();
593 public:
597
598 // .jaiabot.protobuf.StormMissionUpdate storm = 40;
599 bool has_storm() const;
600 private:
601 bool _internal_has_storm() const;
602 public:
604 const ::jaiabot::protobuf::StormMissionUpdate& storm() const;
605 PROTOBUF_NODISCARD ::jaiabot::protobuf::StormMissionUpdate* release_storm();
608 private:
609 const ::jaiabot::protobuf::StormMissionUpdate& _internal_storm() const;
610 ::jaiabot::protobuf::StormMissionUpdate* _internal_mutable_storm();
611 public:
615
619 typedef boost::units::time_dimension time_dimension;
620
621 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;
622
623 template<typename Quantity >
624 void set_time_with_units(Quantity value_w_units)
625 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
626
627 template<typename Quantity >
628 Quantity time_with_units() const
629 { return Quantity(time() * time_unit()); };
630
631 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
633
634 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Command)
635 private:
636 class _Internal;
637 void set_has_plan();
638 void set_has_rc();
639 void set_has_rc_task();
640 void set_has_storm();
641
642 inline bool has_command_data() const;
643 inline void clear_has_command_data();
644
645 // helper for ByteSizeLong()
646 size_t RequiredFieldsByteSizeFallback() const;
647
648 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
649 typedef void InternalArenaConstructable_;
650 typedef void DestructorSkippable_;
651 struct Impl_ {
652 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
653 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
654 uint64_t time_;
655 uint32_t bot_id_;
656 uint32_t from_hub_id_;
657 int link_;
658 int type_;
667 uint32_t _oneof_case_[1];
668
669 };
670 union { Impl_ _impl_; };
671 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
672};
673// -------------------------------------------------------------------
674
675class CommandForHub final :
676 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.CommandForHub) */ {
677 public:
678 inline CommandForHub() : CommandForHub(nullptr) {}
679 ~CommandForHub() override;
680 explicit PROTOBUF_CONSTEXPR CommandForHub(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
681
684 : CommandForHub() {
685 *this = ::std::move(from);
686 }
687
688 inline CommandForHub& operator=(const CommandForHub& from) {
689 CopyFrom(from);
690 return *this;
691 }
692 inline CommandForHub& operator=(CommandForHub&& from) noexcept {
693 if (this == &from) return *this;
694 if (GetOwningArena() == from.GetOwningArena()
695 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
696 && GetOwningArena() != nullptr
697 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
698 ) {
699 InternalSwap(&from);
700 } else {
701 CopyFrom(from);
702 }
703 return *this;
704 }
705
706 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
707 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
708 }
709 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
710 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
711 }
712
713 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
714 return GetDescriptor();
715 }
716 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
717 return default_instance().GetMetadata().descriptor;
718 }
719 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
720 return default_instance().GetMetadata().reflection;
721 }
724 }
726 return reinterpret_cast<const CommandForHub*>(
728 }
729 static constexpr int kIndexInFileMessages =
730 1;
731
732 friend void swap(CommandForHub& a, CommandForHub& b) {
733 a.Swap(&b);
734 }
735 inline void Swap(CommandForHub* other) {
736 if (other == this) return;
737 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
738 if (GetOwningArena() != nullptr &&
739 GetOwningArena() == other->GetOwningArena()) {
740 #else // PROTOBUF_FORCE_COPY_IN_SWAP
741 if (GetOwningArena() == other->GetOwningArena()) {
742 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
743 InternalSwap(other);
744 } else {
745 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
746 }
747 }
749 if (other == this) return;
750 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
751 InternalSwap(other);
752 }
753
754 // implements Message ----------------------------------------------
755
756 CommandForHub* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
757 return CreateMaybeMessage<CommandForHub>(arena);
758 }
759 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
760 void CopyFrom(const CommandForHub& from);
761 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
762 void MergeFrom( const CommandForHub& from) {
763 CommandForHub::MergeImpl(*this, from);
764 }
765 private:
766 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
767 public:
768 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
769 bool IsInitialized() const final;
770
771 size_t ByteSizeLong() const final;
772 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
774 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
775 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
776
777 private:
778 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
779 void SharedDtor();
780 void SetCachedSize(int size) const final;
781 void InternalSwap(CommandForHub* other);
782
783 private:
784 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
785 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
786 return "jaiabot.protobuf.CommandForHub";
787 }
788 protected:
789 explicit CommandForHub(::PROTOBUF_NAMESPACE_ID::Arena* arena,
790 bool is_message_owned = false);
791 public:
792
793 static const ClassData _class_data_;
794 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
795
796 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
797
798 // nested types ----------------------------------------------------
799
801 static constexpr HubCommandType SCAN_FOR_BOTS =
813 static inline bool HubCommandType_IsValid(int value) {
815 }
820 static constexpr int HubCommandType_ARRAYSIZE =
822 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
826 template<typename T>
827 static inline const std::string& HubCommandType_Name(T enum_t_value) {
828 static_assert(::std::is_same<T, HubCommandType>::value ||
829 ::std::is_integral<T>::value,
830 "Incorrect type passed to function HubCommandType_Name.");
831 return CommandForHub_HubCommandType_Name(enum_t_value);
832 }
833 static inline bool HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
834 HubCommandType* value) {
835 return CommandForHub_HubCommandType_Parse(name, value);
836 }
837
838 // accessors -------------------------------------------------------
839
840 enum : int {
846 };
847 // optional .jaiabot.protobuf.GeographicCoordinate hub_location = 80 [(.jaia.field) = {
848 bool has_hub_location() const;
849 private:
850 bool _internal_has_hub_location() const;
851 public:
853 const ::jaiabot::protobuf::GeographicCoordinate& hub_location() const;
854 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_hub_location();
857 private:
858 const ::jaiabot::protobuf::GeographicCoordinate& _internal_hub_location() const;
859 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_hub_location();
860 public:
864
865 // required uint64 time = 2 [(.dccl.field) = {
866 bool has_time() const;
867 private:
868 bool _internal_has_time() const;
869 public:
870 void clear_time();
871 uint64_t time() const;
872 void set_time(uint64_t value);
873 private:
874 uint64_t _internal_time() const;
875 void _internal_set_time(uint64_t value);
876 public:
877
878 // required uint32 hub_id = 1 [(.jaia.field) = {
879 bool has_hub_id() const;
880 private:
881 bool _internal_has_hub_id() const;
882 public:
883 void clear_hub_id();
884 uint32_t hub_id() const;
885 void set_hub_id(uint32_t value);
886 private:
887 uint32_t _internal_hub_id() const;
888 void _internal_set_hub_id(uint32_t value);
889 public:
890
891 // optional uint32 scan_for_bot_id = 11;
892 bool has_scan_for_bot_id() const;
893 private:
894 bool _internal_has_scan_for_bot_id() const;
895 public:
897 uint32_t scan_for_bot_id() const;
898 void set_scan_for_bot_id(uint32_t value);
899 private:
900 uint32_t _internal_scan_for_bot_id() const;
901 void _internal_set_scan_for_bot_id(uint32_t value);
902 public:
903
904 // required .jaiabot.protobuf.CommandForHub.HubCommandType type = 10 [(.jaia.field) = {
905 bool has_type() const;
906 private:
907 bool _internal_has_type() const;
908 public:
909 void clear_type();
912 private:
914 void _internal_set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value);
915 public:
916
917 typedef boost::units::time_dimension time_dimension;
918
919 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;
920
921 template<typename Quantity >
922 void set_time_with_units(Quantity value_w_units)
923 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
924
925 template<typename Quantity >
926 Quantity time_with_units() const
927 { return Quantity(time() * time_unit()); };
928
929 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
931
932 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.CommandForHub)
933 private:
934 class _Internal;
935
936 // helper for ByteSizeLong()
937 size_t RequiredFieldsByteSizeFallback() const;
938
939 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
940 typedef void InternalArenaConstructable_;
941 typedef void DestructorSkippable_;
942 struct Impl_ {
943 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
944 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
946 uint64_t time_;
947 uint32_t hub_id_;
948 uint32_t scan_for_bot_id_;
949 int type_;
950 };
951 union { Impl_ _impl_; };
952 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
953};
954// -------------------------------------------------------------------
955
957 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus.ActiveLink) */ {
958 public:
961 explicit PROTOBUF_CONSTEXPR BotStatus_ActiveLink(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
962
966 *this = ::std::move(from);
967 }
968
970 CopyFrom(from);
971 return *this;
972 }
974 if (this == &from) return *this;
975 if (GetOwningArena() == from.GetOwningArena()
976 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
977 && GetOwningArena() != nullptr
978 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
979 ) {
980 InternalSwap(&from);
981 } else {
982 CopyFrom(from);
983 }
984 return *this;
985 }
986
987 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
988 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
989 }
990 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
991 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
992 }
993
994 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
995 return GetDescriptor();
996 }
997 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
998 return default_instance().GetMetadata().descriptor;
999 }
1000 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1001 return default_instance().GetMetadata().reflection;
1002 }
1004 return *internal_default_instance();
1005 }
1007 return reinterpret_cast<const BotStatus_ActiveLink*>(
1009 }
1010 static constexpr int kIndexInFileMessages =
1011 2;
1012
1014 a.Swap(&b);
1015 }
1016 inline void Swap(BotStatus_ActiveLink* other) {
1017 if (other == this) return;
1018 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1019 if (GetOwningArena() != nullptr &&
1020 GetOwningArena() == other->GetOwningArena()) {
1021 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1022 if (GetOwningArena() == other->GetOwningArena()) {
1023 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1024 InternalSwap(other);
1025 } else {
1026 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1027 }
1028 }
1030 if (other == this) return;
1031 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1032 InternalSwap(other);
1033 }
1034
1035 // implements Message ----------------------------------------------
1036
1037 BotStatus_ActiveLink* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1038 return CreateMaybeMessage<BotStatus_ActiveLink>(arena);
1039 }
1040 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1042 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1043 void MergeFrom( const BotStatus_ActiveLink& from) {
1044 BotStatus_ActiveLink::MergeImpl(*this, from);
1045 }
1046 private:
1047 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1048 public:
1049 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1050 bool IsInitialized() const final;
1051
1052 size_t ByteSizeLong() const final;
1053 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1055 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1056 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1057
1058 private:
1059 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1060 void SharedDtor();
1061 void SetCachedSize(int size) const final;
1062 void InternalSwap(BotStatus_ActiveLink* other);
1063
1064 private:
1065 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1066 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1067 return "jaiabot.protobuf.BotStatus.ActiveLink";
1068 }
1069 protected:
1070 explicit BotStatus_ActiveLink(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1071 bool is_message_owned = false);
1072 public:
1073
1074 static const ClassData _class_data_;
1075 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1076
1077 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1078
1079 // nested types ----------------------------------------------------
1080
1081 // accessors -------------------------------------------------------
1082
1083 enum : int {
1086 };
1087 // optional uint64 last_received_time = 2 [(.dccl.field) = {
1088 bool has_last_received_time() const;
1089 private:
1090 bool _internal_has_last_received_time() const;
1091 public:
1092 void clear_last_received_time();
1093 uint64_t last_received_time() const;
1094 void set_last_received_time(uint64_t value);
1095 private:
1096 uint64_t _internal_last_received_time() const;
1097 void _internal_set_last_received_time(uint64_t value);
1098 public:
1099
1100 // required .jaiabot.protobuf.Link link = 1;
1101 bool has_link() const;
1102 private:
1103 bool _internal_has_link() const;
1104 public:
1105 void clear_link();
1106 ::jaiabot::protobuf::Link link() const;
1107 void set_link(::jaiabot::protobuf::Link value);
1108 private:
1109 ::jaiabot::protobuf::Link _internal_link() const;
1110 void _internal_set_link(::jaiabot::protobuf::Link value);
1111 public:
1112
1113 typedef boost::units::time_dimension last_received_time_dimension;
1114
1115 typedef boost::units::make_scaled_unit<boost::units::unit<last_received_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type last_received_time_unit;
1116
1117 template<typename Quantity >
1118 void set_last_received_time_with_units(Quantity value_w_units)
1119 { set_last_received_time(boost::units::quantity<last_received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1120
1121 template<typename Quantity >
1123 { return Quantity(last_received_time() * last_received_time_unit()); };
1124
1125 boost::units::quantity< last_received_time_unit,google::protobuf::uint64 > last_received_time_with_units() const
1127
1128 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus.ActiveLink)
1129 private:
1130 class _Internal;
1131
1132 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1133 typedef void InternalArenaConstructable_;
1134 typedef void DestructorSkippable_;
1135 struct Impl_ {
1136 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1137 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1138 uint64_t last_received_time_;
1139 int link_;
1140 };
1141 union { Impl_ _impl_; };
1142 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1143};
1144// -------------------------------------------------------------------
1145
1147 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus.Attitude) */ {
1148 public:
1151 explicit PROTOBUF_CONSTEXPR BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1152
1155 : BotStatus_Attitude() {
1156 *this = ::std::move(from);
1157 }
1158
1160 CopyFrom(from);
1161 return *this;
1162 }
1164 if (this == &from) return *this;
1165 if (GetOwningArena() == from.GetOwningArena()
1166 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1167 && GetOwningArena() != nullptr
1168 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1169 ) {
1170 InternalSwap(&from);
1171 } else {
1172 CopyFrom(from);
1173 }
1174 return *this;
1175 }
1176
1177 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1178 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1179 }
1180 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1181 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1182 }
1183
1184 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1185 return GetDescriptor();
1186 }
1187 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1188 return default_instance().GetMetadata().descriptor;
1189 }
1190 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1191 return default_instance().GetMetadata().reflection;
1192 }
1194 return *internal_default_instance();
1195 }
1197 return reinterpret_cast<const BotStatus_Attitude*>(
1199 }
1200 static constexpr int kIndexInFileMessages =
1201 3;
1202
1204 a.Swap(&b);
1205 }
1206 inline void Swap(BotStatus_Attitude* other) {
1207 if (other == this) return;
1208 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1209 if (GetOwningArena() != nullptr &&
1210 GetOwningArena() == other->GetOwningArena()) {
1211 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1212 if (GetOwningArena() == other->GetOwningArena()) {
1213 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1214 InternalSwap(other);
1215 } else {
1216 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1217 }
1218 }
1220 if (other == this) return;
1221 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1222 InternalSwap(other);
1223 }
1224
1225 // implements Message ----------------------------------------------
1226
1227 BotStatus_Attitude* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1228 return CreateMaybeMessage<BotStatus_Attitude>(arena);
1229 }
1230 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1231 void CopyFrom(const BotStatus_Attitude& from);
1232 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1233 void MergeFrom( const BotStatus_Attitude& from) {
1234 BotStatus_Attitude::MergeImpl(*this, from);
1235 }
1236 private:
1237 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1238 public:
1239 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1240 bool IsInitialized() const final;
1241
1242 size_t ByteSizeLong() const final;
1243 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1245 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1246 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1247
1248 private:
1249 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1250 void SharedDtor();
1251 void SetCachedSize(int size) const final;
1252 void InternalSwap(BotStatus_Attitude* other);
1253
1254 private:
1255 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1256 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1257 return "jaiabot.protobuf.BotStatus.Attitude";
1258 }
1259 protected:
1260 explicit BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1261 bool is_message_owned = false);
1262 public:
1263
1264 static const ClassData _class_data_;
1265 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1266
1267 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1268
1269 // nested types ----------------------------------------------------
1270
1271 // accessors -------------------------------------------------------
1272
1273 enum : int {
1278 };
1279 // optional double roll = 1 [(.dccl.field) = {
1280 bool has_roll() const;
1281 private:
1282 bool _internal_has_roll() const;
1283 public:
1284 void clear_roll();
1285 double roll() const;
1286 void set_roll(double value);
1287 private:
1288 double _internal_roll() const;
1289 void _internal_set_roll(double value);
1290 public:
1291
1292 // optional double pitch = 2 [(.dccl.field) = {
1293 bool has_pitch() const;
1294 private:
1295 bool _internal_has_pitch() const;
1296 public:
1297 void clear_pitch();
1298 double pitch() const;
1299 void set_pitch(double value);
1300 private:
1301 double _internal_pitch() const;
1302 void _internal_set_pitch(double value);
1303 public:
1304
1305 // optional double heading = 3 [(.dccl.field) = {
1306 bool has_heading() const;
1307 private:
1308 bool _internal_has_heading() const;
1309 public:
1310 void clear_heading();
1311 double heading() const;
1312 void set_heading(double value);
1313 private:
1314 double _internal_heading() const;
1315 void _internal_set_heading(double value);
1316 public:
1317
1318 // optional double course_over_ground = 4 [(.dccl.field) = {
1319 bool has_course_over_ground() const;
1320 private:
1321 bool _internal_has_course_over_ground() const;
1322 public:
1323 void clear_course_over_ground();
1324 double course_over_ground() const;
1325 void set_course_over_ground(double value);
1326 private:
1327 double _internal_course_over_ground() const;
1328 void _internal_set_course_over_ground(double value);
1329 public:
1330
1331 typedef boost::units::plane_angle_dimension roll_dimension;
1332
1333 typedef boost::units::unit<roll_dimension,boost::units::degree::system> roll_unit;
1334
1335 template<typename Quantity >
1336 void set_roll_with_units(Quantity value_w_units)
1337 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
1338
1339 template<typename Quantity >
1340 Quantity roll_with_units() const
1341 { return Quantity(roll() * roll_unit()); };
1342
1343 boost::units::quantity< roll_unit,double > roll_with_units() const
1345
1346 typedef boost::units::plane_angle_dimension pitch_dimension;
1347
1348 typedef boost::units::unit<pitch_dimension,boost::units::degree::system> pitch_unit;
1349
1350 template<typename Quantity >
1351 void set_pitch_with_units(Quantity value_w_units)
1352 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
1353
1354 template<typename Quantity >
1355 Quantity pitch_with_units() const
1356 { return Quantity(pitch() * pitch_unit()); };
1357
1358 boost::units::quantity< pitch_unit,double > pitch_with_units() const
1360
1361 typedef boost::units::plane_angle_dimension heading_dimension;
1362
1363 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
1364
1365 template<typename Quantity >
1366 void set_heading_with_units(Quantity value_w_units)
1367 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1368
1369 template<typename Quantity >
1370 Quantity heading_with_units() const
1371 { return Quantity(heading() * heading_unit()); };
1372
1373 boost::units::quantity< heading_unit,double > heading_with_units() const
1375
1376 typedef boost::units::plane_angle_dimension course_over_ground_dimension;
1377
1378 typedef boost::units::unit<course_over_ground_dimension,boost::units::degree::system> course_over_ground_unit;
1379
1380 template<typename Quantity >
1381 void set_course_over_ground_with_units(Quantity value_w_units)
1382 { set_course_over_ground(boost::units::quantity<course_over_ground_unit,double >(value_w_units).value() ); };
1383
1384 template<typename Quantity >
1386 { return Quantity(course_over_ground() * course_over_ground_unit()); };
1387
1388 boost::units::quantity< course_over_ground_unit,double > course_over_ground_with_units() const
1390
1391 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus.Attitude)
1392 private:
1393 class _Internal;
1394
1395 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1396 typedef void InternalArenaConstructable_;
1397 typedef void DestructorSkippable_;
1398 struct Impl_ {
1399 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1400 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1401 double roll_;
1402 double pitch_;
1403 double heading_;
1404 double course_over_ground_;
1405 };
1406 union { Impl_ _impl_; };
1407 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1408};
1409// -------------------------------------------------------------------
1410
1411class BotStatus_Speed final :
1412 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus.Speed) */ {
1413 public:
1414 inline BotStatus_Speed() : BotStatus_Speed(nullptr) {}
1416 explicit PROTOBUF_CONSTEXPR BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1417
1420 : BotStatus_Speed() {
1421 *this = ::std::move(from);
1422 }
1423
1425 CopyFrom(from);
1426 return *this;
1427 }
1428 inline BotStatus_Speed& operator=(BotStatus_Speed&& from) noexcept {
1429 if (this == &from) return *this;
1430 if (GetOwningArena() == from.GetOwningArena()
1431 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1432 && GetOwningArena() != nullptr
1433 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1434 ) {
1435 InternalSwap(&from);
1436 } else {
1437 CopyFrom(from);
1438 }
1439 return *this;
1440 }
1441
1442 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1443 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1444 }
1445 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1446 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1447 }
1448
1449 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1450 return GetDescriptor();
1451 }
1452 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1453 return default_instance().GetMetadata().descriptor;
1454 }
1455 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1456 return default_instance().GetMetadata().reflection;
1457 }
1459 return *internal_default_instance();
1460 }
1462 return reinterpret_cast<const BotStatus_Speed*>(
1464 }
1465 static constexpr int kIndexInFileMessages =
1466 4;
1467
1469 a.Swap(&b);
1470 }
1471 inline void Swap(BotStatus_Speed* other) {
1472 if (other == this) return;
1473 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1474 if (GetOwningArena() != nullptr &&
1475 GetOwningArena() == other->GetOwningArena()) {
1476 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1477 if (GetOwningArena() == other->GetOwningArena()) {
1478 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1479 InternalSwap(other);
1480 } else {
1481 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1482 }
1483 }
1485 if (other == this) return;
1486 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1487 InternalSwap(other);
1488 }
1489
1490 // implements Message ----------------------------------------------
1491
1492 BotStatus_Speed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1493 return CreateMaybeMessage<BotStatus_Speed>(arena);
1494 }
1495 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1496 void CopyFrom(const BotStatus_Speed& from);
1497 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1498 void MergeFrom( const BotStatus_Speed& from) {
1499 BotStatus_Speed::MergeImpl(*this, from);
1500 }
1501 private:
1502 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1503 public:
1504 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1505 bool IsInitialized() const final;
1506
1507 size_t ByteSizeLong() const final;
1508 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1510 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1511 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1512
1513 private:
1514 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1515 void SharedDtor();
1516 void SetCachedSize(int size) const final;
1517 void InternalSwap(BotStatus_Speed* other);
1518
1519 private:
1520 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1521 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1522 return "jaiabot.protobuf.BotStatus.Speed";
1523 }
1524 protected:
1525 explicit BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1526 bool is_message_owned = false);
1527 public:
1528
1529 static const ClassData _class_data_;
1530 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1531
1532 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1533
1534 // nested types ----------------------------------------------------
1535
1536 // accessors -------------------------------------------------------
1537
1538 enum : int {
1541 };
1542 // optional double over_ground = 1 [(.dccl.field) = {
1543 bool has_over_ground() const;
1544 private:
1545 bool _internal_has_over_ground() const;
1546 public:
1547 void clear_over_ground();
1548 double over_ground() const;
1549 void set_over_ground(double value);
1550 private:
1551 double _internal_over_ground() const;
1552 void _internal_set_over_ground(double value);
1553 public:
1554
1555 // optional double over_water = 2 [(.dccl.field) = {
1556 bool has_over_water() const;
1557 private:
1558 bool _internal_has_over_water() const;
1559 public:
1560 void clear_over_water();
1561 double over_water() const;
1562 void set_over_water(double value);
1563 private:
1564 double _internal_over_water() const;
1565 void _internal_set_over_water(double value);
1566 public:
1567
1568 typedef boost::units::velocity_dimension over_ground_dimension;
1569
1570 typedef boost::units::unit<over_ground_dimension,boost::units::si::system> over_ground_unit;
1571
1572 template<typename Quantity >
1573 void set_over_ground_with_units(Quantity value_w_units)
1574 { set_over_ground(boost::units::quantity<over_ground_unit,double >(value_w_units).value() ); };
1575
1576 template<typename Quantity >
1577 Quantity over_ground_with_units() const
1578 { return Quantity(over_ground() * over_ground_unit()); };
1579
1580 boost::units::quantity< over_ground_unit,double > over_ground_with_units() const
1582
1583 typedef boost::units::velocity_dimension over_water_dimension;
1584
1585 typedef boost::units::unit<over_water_dimension,boost::units::si::system> over_water_unit;
1586
1587 template<typename Quantity >
1588 void set_over_water_with_units(Quantity value_w_units)
1589 { set_over_water(boost::units::quantity<over_water_unit,double >(value_w_units).value() ); };
1590
1591 template<typename Quantity >
1592 Quantity over_water_with_units() const
1593 { return Quantity(over_water() * over_water_unit()); };
1594
1595 boost::units::quantity< over_water_unit,double > over_water_with_units() const
1597
1598 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus.Speed)
1599 private:
1600 class _Internal;
1601
1602 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1603 typedef void InternalArenaConstructable_;
1604 typedef void DestructorSkippable_;
1605 struct Impl_ {
1606 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1607 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1608 double over_ground_;
1609 double over_water_;
1610 };
1611 union { Impl_ _impl_; };
1612 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1613};
1614// -------------------------------------------------------------------
1615
1616class BotStatus final :
1617 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus) */ {
1618 public:
1619 inline BotStatus() : BotStatus(nullptr) {}
1620 ~BotStatus() override;
1621 explicit PROTOBUF_CONSTEXPR BotStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1622
1623 BotStatus(const BotStatus& from);
1624 BotStatus(BotStatus&& from) noexcept
1625 : BotStatus() {
1626 *this = ::std::move(from);
1627 }
1628
1629 inline BotStatus& operator=(const BotStatus& from) {
1630 CopyFrom(from);
1631 return *this;
1632 }
1633 inline BotStatus& operator=(BotStatus&& from) noexcept {
1634 if (this == &from) return *this;
1635 if (GetOwningArena() == from.GetOwningArena()
1636 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1637 && GetOwningArena() != nullptr
1638 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1639 ) {
1640 InternalSwap(&from);
1641 } else {
1642 CopyFrom(from);
1643 }
1644 return *this;
1645 }
1646
1647 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1648 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1649 }
1650 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1651 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1652 }
1653
1654 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1655 return GetDescriptor();
1656 }
1657 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1658 return default_instance().GetMetadata().descriptor;
1659 }
1660 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1661 return default_instance().GetMetadata().reflection;
1662 }
1663 static const BotStatus& default_instance() {
1664 return *internal_default_instance();
1665 }
1670
1671 static inline const BotStatus* internal_default_instance() {
1672 return reinterpret_cast<const BotStatus*>(
1674 }
1675 static constexpr int kIndexInFileMessages =
1676 5;
1677
1678 friend void swap(BotStatus& a, BotStatus& b) {
1679 a.Swap(&b);
1680 }
1681 inline void Swap(BotStatus* other) {
1682 if (other == this) return;
1683 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1684 if (GetOwningArena() != nullptr &&
1685 GetOwningArena() == other->GetOwningArena()) {
1686 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1687 if (GetOwningArena() == other->GetOwningArena()) {
1688 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1689 InternalSwap(other);
1690 } else {
1691 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1692 }
1693 }
1695 if (other == this) return;
1696 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1697 InternalSwap(other);
1698 }
1699
1700 // implements Message ----------------------------------------------
1701
1702 BotStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1703 return CreateMaybeMessage<BotStatus>(arena);
1704 }
1705 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1706 void CopyFrom(const BotStatus& from);
1707 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1708 void MergeFrom( const BotStatus& from) {
1709 BotStatus::MergeImpl(*this, from);
1710 }
1711 private:
1712 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1713 public:
1714 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1715 bool IsInitialized() const final;
1716
1717 size_t ByteSizeLong() const final;
1718 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1720 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1721 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1722
1723 private:
1724 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1725 void SharedDtor();
1726 void SetCachedSize(int size) const final;
1727 void InternalSwap(BotStatus* other);
1728
1729 private:
1730 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1731 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1732 return "jaiabot.protobuf.BotStatus";
1733 }
1734 protected:
1735 explicit BotStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1736 bool is_message_owned = false);
1737 public:
1738
1739 static const ClassData _class_data_;
1740 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1741
1742 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1743
1744 // nested types ----------------------------------------------------
1745
1749
1750 // accessors -------------------------------------------------------
1751
1752 enum : int {
1784 };
1785 // repeated .jaiabot.protobuf.Error error = 5 [(.dccl.field) = {
1786 int error_size() const;
1787 private:
1788 int _internal_error_size() const;
1789 public:
1790 void clear_error();
1791 private:
1792 ::jaiabot::protobuf::Error _internal_error(int index) const;
1793 void _internal_add_error(::jaiabot::protobuf::Error value);
1794 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_error();
1795 public:
1796 ::jaiabot::protobuf::Error error(int index) const;
1797 void set_error(int index, ::jaiabot::protobuf::Error value);
1798 void add_error(::jaiabot::protobuf::Error value);
1799 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& error() const;
1800 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_error();
1801
1802 // repeated .jaiabot.protobuf.Warning warning = 6 [(.dccl.field) = {
1803 int warning_size() const;
1804 private:
1805 int _internal_warning_size() const;
1806 public:
1807 void clear_warning();
1808 private:
1809 ::jaiabot::protobuf::Warning _internal_warning(int index) const;
1810 void _internal_add_warning(::jaiabot::protobuf::Warning value);
1811 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_warning();
1812 public:
1813 ::jaiabot::protobuf::Warning warning(int index) const;
1814 void set_warning(int index, ::jaiabot::protobuf::Warning value);
1815 void add_warning(::jaiabot::protobuf::Warning value);
1816 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& warning() const;
1817 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_warning();
1818
1819 // repeated .jaiabot.protobuf.BotStatus.ActiveLink active_links = 9 [(.dccl.field) = {
1820 int active_links_size() const;
1821 private:
1822 int _internal_active_links_size() const;
1823 public:
1824 void clear_active_links();
1825 ::jaiabot::protobuf::BotStatus_ActiveLink* mutable_active_links(int index);
1826 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >*
1827 mutable_active_links();
1828 private:
1829 const ::jaiabot::protobuf::BotStatus_ActiveLink& _internal_active_links(int index) const;
1830 ::jaiabot::protobuf::BotStatus_ActiveLink* _internal_add_active_links();
1831 public:
1832 const ::jaiabot::protobuf::BotStatus_ActiveLink& active_links(int index) const;
1834 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >&
1835 active_links() const;
1836
1837 // optional string mission_name = 72 [(.dccl.field) = {
1838 bool has_mission_name() const;
1839 private:
1840 bool _internal_has_mission_name() const;
1841 public:
1842 void clear_mission_name();
1843 const std::string& mission_name() const;
1844 template <typename ArgT0 = const std::string&, typename... ArgT>
1845 void set_mission_name(ArgT0&& arg0, ArgT... args);
1846 std::string* mutable_mission_name();
1847 PROTOBUF_NODISCARD std::string* release_mission_name();
1848 void set_allocated_mission_name(std::string* mission_name);
1849 private:
1850 const std::string& _internal_mission_name() const;
1851 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mission_name(const std::string& value);
1852 std::string* _internal_mutable_mission_name();
1853 public:
1854
1855 // optional .jaiabot.protobuf.GeographicCoordinate location = 10 [(.jaia.field) = {
1856 bool has_location() const;
1857 private:
1858 bool _internal_has_location() const;
1859 public:
1861 const ::jaiabot::protobuf::GeographicCoordinate& location() const;
1862 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
1865 private:
1866 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
1867 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
1868 public:
1872
1873 // optional .jaiabot.protobuf.BotStatus.Attitude attitude = 20 [(.jaia.field) = {
1874 bool has_attitude() const;
1875 private:
1876 bool _internal_has_attitude() const;
1877 public:
1878 void clear_attitude();
1879 const ::jaiabot::protobuf::BotStatus_Attitude& attitude() const;
1880 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus_Attitude* release_attitude();
1883 private:
1884 const ::jaiabot::protobuf::BotStatus_Attitude& _internal_attitude() const;
1885 ::jaiabot::protobuf::BotStatus_Attitude* _internal_mutable_attitude();
1886 public:
1890
1891 // optional .jaiabot.protobuf.BotStatus.Speed speed = 30 [(.jaia.field) = {
1892 bool has_speed() const;
1893 private:
1894 bool _internal_has_speed() const;
1895 public:
1896 void clear_speed();
1897 const ::jaiabot::protobuf::BotStatus_Speed& speed() const;
1898 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus_Speed* release_speed();
1901 private:
1902 const ::jaiabot::protobuf::BotStatus_Speed& _internal_speed() const;
1903 ::jaiabot::protobuf::BotStatus_Speed* _internal_mutable_speed();
1904 public:
1908
1909 // required uint64 time = 2 [(.dccl.field) = {
1910 bool has_time() const;
1911 private:
1912 bool _internal_has_time() const;
1913 public:
1914 void clear_time();
1915 uint64_t time() const;
1916 void set_time(uint64_t value);
1917 private:
1918 uint64_t _internal_time() const;
1919 void _internal_set_time(uint64_t value);
1920 public:
1921
1922 // optional uint64 last_command_time = 3 [(.dccl.field) = {
1923 bool has_last_command_time() const;
1924 private:
1925 bool _internal_has_last_command_time() const;
1926 public:
1928 uint64_t last_command_time() const;
1929 void set_last_command_time(uint64_t value);
1930 private:
1931 uint64_t _internal_last_command_time() const;
1932 void _internal_set_last_command_time(uint64_t value);
1933 public:
1934
1935 // optional double sensor_depth = 11 [(.dccl.field) = {
1936 bool has_sensor_depth() const;
1937 private:
1938 bool _internal_has_sensor_depth() const;
1939 public:
1940 void clear_sensor_depth();
1941 double sensor_depth() const;
1942 void set_sensor_depth(double value);
1943 private:
1944 double _internal_sensor_depth() const;
1945 void _internal_set_sensor_depth(double value);
1946 public:
1947
1948 // optional double depth = 12 [(.dccl.field) = {
1949 bool has_depth() const;
1950 private:
1951 bool _internal_has_depth() const;
1952 public:
1953 void clear_depth();
1954 double depth() const;
1955 void set_depth(double value);
1956 private:
1957 double _internal_depth() const;
1958 void _internal_set_depth(double value);
1959 public:
1960
1961 // required uint32 bot_id = 1 [(.dccl.field) = {
1962 bool has_bot_id() const;
1963 private:
1964 bool _internal_has_bot_id() const;
1965 public:
1966 void clear_bot_id();
1967 uint32_t bot_id() const;
1968 void set_bot_id(uint32_t value);
1969 private:
1970 uint32_t _internal_bot_id() const;
1971 void _internal_set_bot_id(uint32_t value);
1972 public:
1973
1974 // optional .jaiabot.protobuf.MissionState mission_state = 40 [(.jaia.field) = {
1975 bool has_mission_state() const;
1976 private:
1977 bool _internal_has_mission_state() const;
1978 public:
1979 void clear_mission_state();
1982 private:
1983 ::jaiabot::protobuf::MissionState _internal_mission_state() const;
1984 void _internal_set_mission_state(::jaiabot::protobuf::MissionState value);
1985 public:
1986
1987 // optional double distance_to_active_goal = 42 [(.dccl.field) = {
1988 bool has_distance_to_active_goal() const;
1989 private:
1990 bool _internal_has_distance_to_active_goal() const;
1991 public:
1993 double distance_to_active_goal() const;
1994 void set_distance_to_active_goal(double value);
1995 private:
1996 double _internal_distance_to_active_goal() const;
1997 void _internal_set_distance_to_active_goal(double value);
1998 public:
1999
2000 // optional int32 active_goal = 41 [(.dccl.field) = {
2001 bool has_active_goal() const;
2002 private:
2003 bool _internal_has_active_goal() const;
2004 public:
2005 void clear_active_goal();
2006 int32_t active_goal() const;
2007 void set_active_goal(int32_t value);
2008 private:
2009 int32_t _internal_active_goal() const;
2010 void _internal_set_active_goal(int32_t value);
2011 public:
2012
2013 // optional uint32 active_goal_timeout = 43 [(.dccl.field) = {
2014 bool has_active_goal_timeout() const;
2015 private:
2016 bool _internal_has_active_goal_timeout() const;
2017 public:
2019 uint32_t active_goal_timeout() const;
2020 void set_active_goal_timeout(uint32_t value);
2021 private:
2022 uint32_t _internal_active_goal_timeout() const;
2023 void _internal_set_active_goal_timeout(uint32_t value);
2024 public:
2025
2026 // optional int32 repeat_index = 44 [(.dccl.field) = {
2027 bool has_repeat_index() const;
2028 private:
2029 bool _internal_has_repeat_index() const;
2030 public:
2031 void clear_repeat_index();
2032 int32_t repeat_index() const;
2033 void set_repeat_index(int32_t value);
2034 private:
2035 int32_t _internal_repeat_index() const;
2036 void _internal_set_repeat_index(int32_t value);
2037 public:
2038
2039 // optional int32 calibration_status = 54 [(.dccl.field) = {
2040 bool has_calibration_status() const;
2041 private:
2042 bool _internal_has_calibration_status() const;
2043 public:
2045 int32_t calibration_status() const;
2046 void set_calibration_status(int32_t value);
2047 private:
2048 int32_t _internal_calibration_status() const;
2049 void _internal_set_calibration_status(int32_t value);
2050 public:
2051
2052 // optional double salinity = 51 [(.dccl.field) = {
2053 bool has_salinity() const;
2054 private:
2055 bool _internal_has_salinity() const;
2056 public:
2057 void clear_salinity();
2058 double salinity() const;
2059 void set_salinity(double value);
2060 private:
2061 double _internal_salinity() const;
2062 void _internal_set_salinity(double value);
2063 public:
2064
2065 // optional double temperature = 52 [(.dccl.field) = {
2066 bool has_temperature() const;
2067 private:
2068 bool _internal_has_temperature() const;
2069 public:
2070 void clear_temperature();
2071 double temperature() const;
2072 void set_temperature(double value);
2073 private:
2074 double _internal_temperature() const;
2075 void _internal_set_temperature(double value);
2076 public:
2077
2078 // optional double battery_percent = 53 [(.dccl.field) = {
2079 bool has_battery_percent() const;
2080 private:
2081 bool _internal_has_battery_percent() const;
2082 public:
2083 void clear_battery_percent();
2084 double battery_percent() const;
2085 void set_battery_percent(double value);
2086 private:
2087 double _internal_battery_percent() const;
2088 void _internal_set_battery_percent(double value);
2089 public:
2090
2091 // optional double hdop = 56 [(.dccl.field) = {
2092 bool has_hdop() const;
2093 private:
2094 bool _internal_has_hdop() const;
2095 public:
2096 void clear_hdop();
2097 double hdop() const;
2098 void set_hdop(double value);
2099 private:
2100 double _internal_hdop() const;
2101 void _internal_set_hdop(double value);
2102 public:
2103
2104 // optional double pdop = 57 [(.dccl.field) = {
2105 bool has_pdop() const;
2106 private:
2107 bool _internal_has_pdop() const;
2108 public:
2109 void clear_pdop();
2110 double pdop() const;
2111 void set_pdop(double value);
2112 private:
2113 double _internal_pdop() const;
2114 void _internal_set_pdop(double value);
2115 public:
2116
2117 // optional uint64 received_time = 59 [(.dccl.field) = {
2118 bool has_received_time() const;
2119 private:
2120 bool _internal_has_received_time() const;
2121 public:
2122 void clear_received_time();
2123 uint64_t received_time() const;
2124 void set_received_time(uint64_t value);
2125 private:
2126 uint64_t _internal_received_time() const;
2127 void _internal_set_received_time(uint64_t value);
2128 public:
2129
2130 // optional uint64 mission_command_time = 71 [(.dccl.field) = {
2131 bool has_mission_command_time() const;
2132 private:
2133 bool _internal_has_mission_command_time() const;
2134 public:
2136 uint64_t mission_command_time() const;
2137 void set_mission_command_time(uint64_t value);
2138 private:
2139 uint64_t _internal_mission_command_time() const;
2140 void _internal_set_mission_command_time(uint64_t value);
2141 public:
2142
2143 // optional int32 wifi_link_quality_percentage = 58 [(.dccl.field) = {
2145 private:
2146 bool _internal_has_wifi_link_quality_percentage() const;
2147 public:
2149 int32_t wifi_link_quality_percentage() const;
2150 void set_wifi_link_quality_percentage(int32_t value);
2151 private:
2152 int32_t _internal_wifi_link_quality_percentage() const;
2153 void _internal_set_wifi_link_quality_percentage(int32_t value);
2154 public:
2155
2156 // optional .goby.middleware.protobuf.HealthState health_state = 4 [(.jaia.field) = {
2157 bool has_health_state() const;
2158 private:
2159 bool _internal_has_health_state() const;
2160 public:
2161 void clear_health_state();
2162 ::goby::middleware::protobuf::HealthState health_state() const;
2163 void set_health_state(::goby::middleware::protobuf::HealthState value);
2164 private:
2165 ::goby::middleware::protobuf::HealthState _internal_health_state() const;
2166 void _internal_set_health_state(::goby::middleware::protobuf::HealthState value);
2167 public:
2168
2169 // optional .jaiabot.protobuf.BotType bot_type = 7 [(.jaia.field) = {
2170 bool has_bot_type() const;
2171 private:
2172 bool _internal_has_bot_type() const;
2173 public:
2174 void clear_bot_type();
2177 private:
2178 ::jaiabot::protobuf::BotType _internal_bot_type() const;
2179 void _internal_set_bot_type(::jaiabot::protobuf::BotType value);
2180 public:
2181
2182 // optional .jaiabot.protobuf.Link link = 8 [(.dccl.field) = {
2183 bool has_link() const;
2184 private:
2185 bool _internal_has_link() const;
2186 public:
2187 void clear_link();
2190 private:
2191 ::jaiabot::protobuf::Link _internal_link() const;
2192 void _internal_set_link(::jaiabot::protobuf::Link value);
2193 public:
2194
2195 // optional .jaiabot.protobuf.IMUCalibrationState calibration_state = 55;
2196 bool has_calibration_state() const;
2197 private:
2198 bool _internal_has_calibration_state() const;
2199 public:
2203 private:
2204 ::jaiabot::protobuf::IMUCalibrationState _internal_calibration_state() const;
2205 void _internal_set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value);
2206 public:
2207
2208 // .jaiabot.protobuf.StormStatus storm = 100;
2209 bool has_storm() const;
2210 private:
2211 bool _internal_has_storm() const;
2212 public:
2214 const ::jaiabot::protobuf::StormStatus& storm() const;
2215 PROTOBUF_NODISCARD ::jaiabot::protobuf::StormStatus* release_storm();
2218 private:
2219 const ::jaiabot::protobuf::StormStatus& _internal_storm() const;
2220 ::jaiabot::protobuf::StormStatus* _internal_mutable_storm();
2221 public:
2225
2229 typedef boost::units::time_dimension time_dimension;
2230
2231 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;
2232
2233 template<typename Quantity >
2234 void set_time_with_units(Quantity value_w_units)
2235 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2236
2237 template<typename Quantity >
2238 Quantity time_with_units() const
2239 { return Quantity(time() * time_unit()); };
2240
2241 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
2243
2244 typedef boost::units::time_dimension last_command_time_dimension;
2245
2246 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;
2247
2248 template<typename Quantity >
2249 void set_last_command_time_with_units(Quantity value_w_units)
2250 { set_last_command_time(boost::units::quantity<last_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2251
2252 template<typename Quantity >
2254 { return Quantity(last_command_time() * last_command_time_unit()); };
2255
2256 boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > last_command_time_with_units() const
2258
2259 typedef boost::units::length_dimension sensor_depth_dimension;
2260
2261 typedef boost::units::unit<sensor_depth_dimension,boost::units::si::system> sensor_depth_unit;
2262
2263 template<typename Quantity >
2264 void set_sensor_depth_with_units(Quantity value_w_units)
2265 { set_sensor_depth(boost::units::quantity<sensor_depth_unit,double >(value_w_units).value() ); };
2266
2267 template<typename Quantity >
2269 { return Quantity(sensor_depth() * sensor_depth_unit()); };
2270
2271 boost::units::quantity< sensor_depth_unit,double > sensor_depth_with_units() const
2273
2274 typedef boost::units::length_dimension depth_dimension;
2275
2276 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
2277
2278 template<typename Quantity >
2279 void set_depth_with_units(Quantity value_w_units)
2280 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
2281
2282 template<typename Quantity >
2283 Quantity depth_with_units() const
2284 { return Quantity(depth() * depth_unit()); };
2285
2286 boost::units::quantity< depth_unit,double > depth_with_units() const
2288
2289 typedef boost::units::length_dimension distance_to_active_goal_dimension;
2290
2291 typedef boost::units::unit<distance_to_active_goal_dimension,boost::units::si::system> distance_to_active_goal_unit;
2292
2293 template<typename Quantity >
2294 void set_distance_to_active_goal_with_units(Quantity value_w_units)
2295 { set_distance_to_active_goal(boost::units::quantity<distance_to_active_goal_unit,double >(value_w_units).value() ); };
2296
2297 template<typename Quantity >
2300
2301 boost::units::quantity< distance_to_active_goal_unit,double > distance_to_active_goal_with_units() const
2303
2304 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type active_goal_timeout_dimension;
2305
2306 typedef boost::units::unit<active_goal_timeout_dimension,boost::units::si::system> active_goal_timeout_unit;
2307
2308 template<typename Quantity >
2309 void set_active_goal_timeout_with_units(Quantity value_w_units)
2310 { set_active_goal_timeout(boost::units::quantity<active_goal_timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
2311
2312 template<typename Quantity >
2314 { return Quantity(active_goal_timeout() * active_goal_timeout_unit()); };
2315
2316 boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > active_goal_timeout_with_units() const
2318
2319 typedef boost::units::temperature_dimension temperature_dimension;
2320
2321 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
2322
2323 template<typename Quantity >
2324 void set_temperature_with_units(Quantity value_w_units)
2325 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
2326
2327 template<typename Quantity >
2328 Quantity temperature_with_units() const
2329 { return Quantity(temperature() * temperature_unit()); };
2330
2331 boost::units::quantity< temperature_unit,double > temperature_with_units() const
2333
2334 typedef boost::units::time_dimension received_time_dimension;
2335
2336 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;
2337
2338 template<typename Quantity >
2339 void set_received_time_with_units(Quantity value_w_units)
2340 { set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2341
2342 template<typename Quantity >
2344 { return Quantity(received_time() * received_time_unit()); };
2345
2346 boost::units::quantity< received_time_unit,google::protobuf::uint64 > received_time_with_units() const
2348
2349 typedef boost::units::time_dimension mission_command_time_dimension;
2350
2351 typedef boost::units::make_scaled_unit<boost::units::unit<mission_command_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type mission_command_time_unit;
2352
2353 template<typename Quantity >
2354 void set_mission_command_time_with_units(Quantity value_w_units)
2355 { set_mission_command_time(boost::units::quantity<mission_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2356
2357 template<typename Quantity >
2359 { return Quantity(mission_command_time() * mission_command_time_unit()); };
2360
2361 boost::units::quantity< mission_command_time_unit,google::protobuf::uint64 > mission_command_time_with_units() const
2363
2364 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus)
2365 private:
2366 class _Internal;
2367 void set_has_storm();
2368
2369 inline bool has_bot_type_status() const;
2370 inline void clear_has_bot_type_status();
2371
2372 // helper for ByteSizeLong()
2373 size_t RequiredFieldsByteSizeFallback() const;
2374
2375 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2376 typedef void InternalArenaConstructable_;
2377 typedef void DestructorSkippable_;
2378 struct Impl_ {
2379 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2380 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2381 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> error_;
2382 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> warning_;
2383 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink > active_links_;
2384 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mission_name_;
2388 uint64_t time_;
2389 uint64_t last_command_time_;
2390 double sensor_depth_;
2391 double depth_;
2392 uint32_t bot_id_;
2393 int mission_state_;
2394 double distance_to_active_goal_;
2395 int32_t active_goal_;
2396 uint32_t active_goal_timeout_;
2397 int32_t repeat_index_;
2398 int32_t calibration_status_;
2399 double salinity_;
2400 double temperature_;
2401 double battery_percent_;
2402 double hdop_;
2403 double pdop_;
2404 uint64_t received_time_;
2405 uint64_t mission_command_time_;
2406 int32_t wifi_link_quality_percentage_;
2407 int health_state_;
2408 int bot_type_;
2409 int link_;
2410 int calibration_state_;
2413 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
2415 } bot_type_status_;
2416 uint32_t _oneof_case_[1];
2417
2418 };
2419 union { Impl_ _impl_; };
2420 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2421};
2422// -------------------------------------------------------------------
2423
2425 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DriftPacket.EstimatedDrift) */ {
2426 public:
2429 explicit PROTOBUF_CONSTEXPR DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2430
2434 *this = ::std::move(from);
2435 }
2436
2438 CopyFrom(from);
2439 return *this;
2440 }
2442 if (this == &from) return *this;
2443 if (GetOwningArena() == from.GetOwningArena()
2444 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2445 && GetOwningArena() != nullptr
2446 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2447 ) {
2448 InternalSwap(&from);
2449 } else {
2450 CopyFrom(from);
2451 }
2452 return *this;
2453 }
2454
2455 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2456 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2457 }
2458 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2459 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2460 }
2461
2462 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2463 return GetDescriptor();
2464 }
2465 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2466 return default_instance().GetMetadata().descriptor;
2467 }
2468 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2469 return default_instance().GetMetadata().reflection;
2470 }
2478 static constexpr int kIndexInFileMessages =
2479 6;
2480
2482 a.Swap(&b);
2483 }
2484 inline void Swap(DriftPacket_EstimatedDrift* other) {
2485 if (other == this) return;
2486 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2487 if (GetOwningArena() != nullptr &&
2488 GetOwningArena() == other->GetOwningArena()) {
2489 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2490 if (GetOwningArena() == other->GetOwningArena()) {
2491 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2492 InternalSwap(other);
2493 } else {
2494 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2495 }
2496 }
2498 if (other == this) return;
2499 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2500 InternalSwap(other);
2501 }
2502
2503 // implements Message ----------------------------------------------
2504
2505 DriftPacket_EstimatedDrift* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2506 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(arena);
2507 }
2508 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2510 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2512 DriftPacket_EstimatedDrift::MergeImpl(*this, from);
2513 }
2514 private:
2515 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2516 public:
2517 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2518 bool IsInitialized() const final;
2519
2520 size_t ByteSizeLong() const final;
2521 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2523 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2524 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2525
2526 private:
2527 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2528 void SharedDtor();
2529 void SetCachedSize(int size) const final;
2530 void InternalSwap(DriftPacket_EstimatedDrift* other);
2531
2532 private:
2533 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2534 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2535 return "jaiabot.protobuf.DriftPacket.EstimatedDrift";
2536 }
2537 protected:
2538 explicit DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2539 bool is_message_owned = false);
2540 public:
2541
2542 static const ClassData _class_data_;
2543 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2544
2545 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2546
2547 // nested types ----------------------------------------------------
2548
2549 // accessors -------------------------------------------------------
2550
2551 enum : int {
2554 };
2555 // required double speed = 1 [(.dccl.field) = {
2556 bool has_speed() const;
2557 private:
2558 bool _internal_has_speed() const;
2559 public:
2560 void clear_speed();
2561 double speed() const;
2562 void set_speed(double value);
2563 private:
2564 double _internal_speed() const;
2565 void _internal_set_speed(double value);
2566 public:
2567
2568 // optional double heading = 3 [(.dccl.field) = {
2569 bool has_heading() const;
2570 private:
2571 bool _internal_has_heading() const;
2572 public:
2573 void clear_heading();
2574 double heading() const;
2575 void set_heading(double value);
2576 private:
2577 double _internal_heading() const;
2578 void _internal_set_heading(double value);
2579 public:
2580
2581 typedef boost::units::velocity_dimension speed_dimension;
2582
2583 typedef boost::units::unit<speed_dimension,boost::units::si::system> speed_unit;
2584
2585 template<typename Quantity >
2586 void set_speed_with_units(Quantity value_w_units)
2587 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
2588
2589 template<typename Quantity >
2590 Quantity speed_with_units() const
2591 { return Quantity(speed() * speed_unit()); };
2592
2593 boost::units::quantity< speed_unit,double > speed_with_units() const
2595
2596 typedef boost::units::plane_angle_dimension heading_dimension;
2597
2598 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
2599
2600 template<typename Quantity >
2601 void set_heading_with_units(Quantity value_w_units)
2602 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
2603
2604 template<typename Quantity >
2605 Quantity heading_with_units() const
2606 { return Quantity(heading() * heading_unit()); };
2607
2608 boost::units::quantity< heading_unit,double > heading_with_units() const
2610
2611 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DriftPacket.EstimatedDrift)
2612 private:
2613 class _Internal;
2614
2615 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2616 typedef void InternalArenaConstructable_;
2617 typedef void DestructorSkippable_;
2618 struct Impl_ {
2619 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2620 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2621 double speed_;
2622 double heading_;
2623 };
2624 union { Impl_ _impl_; };
2625 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2626};
2627// -------------------------------------------------------------------
2628
2629class DriftPacket final :
2630 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DriftPacket) */ {
2631 public:
2632 inline DriftPacket() : DriftPacket(nullptr) {}
2633 ~DriftPacket() override;
2634 explicit PROTOBUF_CONSTEXPR DriftPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2635
2637 DriftPacket(DriftPacket&& from) noexcept
2638 : DriftPacket() {
2639 *this = ::std::move(from);
2640 }
2641
2642 inline DriftPacket& operator=(const DriftPacket& from) {
2643 CopyFrom(from);
2644 return *this;
2645 }
2646 inline DriftPacket& operator=(DriftPacket&& from) noexcept {
2647 if (this == &from) return *this;
2648 if (GetOwningArena() == from.GetOwningArena()
2649 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2650 && GetOwningArena() != nullptr
2651 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2652 ) {
2653 InternalSwap(&from);
2654 } else {
2655 CopyFrom(from);
2656 }
2657 return *this;
2658 }
2659
2660 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2661 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2662 }
2663 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2664 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2665 }
2666
2667 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2668 return GetDescriptor();
2669 }
2670 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2671 return default_instance().GetMetadata().descriptor;
2672 }
2673 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2674 return default_instance().GetMetadata().reflection;
2675 }
2677 return *internal_default_instance();
2678 }
2680 return reinterpret_cast<const DriftPacket*>(
2682 }
2683 static constexpr int kIndexInFileMessages =
2684 7;
2685
2686 friend void swap(DriftPacket& a, DriftPacket& b) {
2687 a.Swap(&b);
2688 }
2689 inline void Swap(DriftPacket* other) {
2690 if (other == this) return;
2691 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2692 if (GetOwningArena() != nullptr &&
2693 GetOwningArena() == other->GetOwningArena()) {
2694 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2695 if (GetOwningArena() == other->GetOwningArena()) {
2696 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2697 InternalSwap(other);
2698 } else {
2699 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2700 }
2701 }
2703 if (other == this) return;
2704 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2705 InternalSwap(other);
2706 }
2707
2708 // implements Message ----------------------------------------------
2709
2710 DriftPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2711 return CreateMaybeMessage<DriftPacket>(arena);
2712 }
2713 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2714 void CopyFrom(const DriftPacket& from);
2715 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2716 void MergeFrom( const DriftPacket& from) {
2717 DriftPacket::MergeImpl(*this, from);
2718 }
2719 private:
2720 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2721 public:
2722 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2723 bool IsInitialized() const final;
2724
2725 size_t ByteSizeLong() const final;
2726 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2728 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2729 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2730
2731 private:
2732 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2733 void SharedDtor();
2734 void SetCachedSize(int size) const final;
2735 void InternalSwap(DriftPacket* other);
2736
2737 private:
2738 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2739 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2740 return "jaiabot.protobuf.DriftPacket";
2741 }
2742 protected:
2743 explicit DriftPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2744 bool is_message_owned = false);
2745 public:
2746
2747 static const ClassData _class_data_;
2748 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2749
2750 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2751
2752 // nested types ----------------------------------------------------
2753
2755
2756 // accessors -------------------------------------------------------
2757
2758 enum : int {
2764 };
2765 // optional .jaiabot.protobuf.DriftPacket.EstimatedDrift estimated_drift = 10 [(.jaia.field) = {
2766 bool has_estimated_drift() const;
2767 private:
2768 bool _internal_has_estimated_drift() const;
2769 public:
2770 void clear_estimated_drift();
2771 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& estimated_drift() const;
2772 PROTOBUF_NODISCARD ::jaiabot::protobuf::DriftPacket_EstimatedDrift* release_estimated_drift();
2773 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* mutable_estimated_drift();
2774 void set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift);
2775 private:
2776 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& _internal_estimated_drift() const;
2777 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* _internal_mutable_estimated_drift();
2778 public:
2779 void unsafe_arena_set_allocated_estimated_drift(
2781 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* unsafe_arena_release_estimated_drift();
2782
2783 // optional .jaiabot.protobuf.GeographicCoordinate start_location = 11 [(.jaia.field) = {
2784 bool has_start_location() const;
2785 private:
2786 bool _internal_has_start_location() const;
2787 public:
2789 const ::jaiabot::protobuf::GeographicCoordinate& start_location() const;
2790 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
2793 private:
2794 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location() const;
2795 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
2796 public:
2800
2801 // optional .jaiabot.protobuf.GeographicCoordinate end_location = 12 [(.jaia.field) = {
2802 bool has_end_location() const;
2803 private:
2804 bool _internal_has_end_location() const;
2805 public:
2807 const ::jaiabot::protobuf::GeographicCoordinate& end_location() const;
2808 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_end_location();
2811 private:
2812 const ::jaiabot::protobuf::GeographicCoordinate& _internal_end_location() const;
2813 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_end_location();
2814 public:
2818
2819 // optional double significant_wave_height = 13 [(.dccl.field) = {
2820 bool has_significant_wave_height() const;
2821 private:
2822 bool _internal_has_significant_wave_height() const;
2823 public:
2825 double significant_wave_height() const;
2826 void set_significant_wave_height(double value);
2827 private:
2828 double _internal_significant_wave_height() const;
2829 void _internal_set_significant_wave_height(double value);
2830 public:
2831
2832 // optional int32 drift_duration = 1 [default = 0, (.dccl.field) = {
2833 bool has_drift_duration() const;
2834 private:
2835 bool _internal_has_drift_duration() const;
2836 public:
2837 void clear_drift_duration();
2838 int32_t drift_duration() const;
2839 void set_drift_duration(int32_t value);
2840 private:
2841 int32_t _internal_drift_duration() const;
2842 void _internal_set_drift_duration(int32_t value);
2843 public:
2844
2845 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type drift_duration_dimension;
2846
2847 typedef boost::units::unit<drift_duration_dimension,boost::units::si::system> drift_duration_unit;
2848
2849 template<typename Quantity >
2850 void set_drift_duration_with_units(Quantity value_w_units)
2851 { set_drift_duration(boost::units::quantity<drift_duration_unit,google::protobuf::int32 >(value_w_units).value() ); };
2852
2853 template<typename Quantity >
2855 { return Quantity(drift_duration() * drift_duration_unit()); };
2856
2857 boost::units::quantity< drift_duration_unit,google::protobuf::int32 > drift_duration_with_units() const
2859
2860 typedef boost::units::length_dimension significant_wave_height_dimension;
2861
2862 typedef boost::units::unit<significant_wave_height_dimension,boost::units::si::system> significant_wave_height_unit;
2863
2864 template<typename Quantity >
2865 void set_significant_wave_height_with_units(Quantity value_w_units)
2866 { set_significant_wave_height(boost::units::quantity<significant_wave_height_unit,double >(value_w_units).value() ); };
2867
2868 template<typename Quantity >
2871
2872 boost::units::quantity< significant_wave_height_unit,double > significant_wave_height_with_units() const
2874
2875 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DriftPacket)
2876 private:
2877 class _Internal;
2878
2879 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2880 typedef void InternalArenaConstructable_;
2881 typedef void DestructorSkippable_;
2882 struct Impl_ {
2883 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2884 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2888 double significant_wave_height_;
2889 int32_t drift_duration_;
2890 };
2891 union { Impl_ _impl_; };
2892 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2893};
2894// -------------------------------------------------------------------
2895
2897 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket.Measurements) */ {
2898 public:
2901 explicit PROTOBUF_CONSTEXPR DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2902
2906 *this = ::std::move(from);
2907 }
2908
2910 CopyFrom(from);
2911 return *this;
2912 }
2914 if (this == &from) return *this;
2915 if (GetOwningArena() == from.GetOwningArena()
2916 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2917 && GetOwningArena() != nullptr
2918 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2919 ) {
2920 InternalSwap(&from);
2921 } else {
2922 CopyFrom(from);
2923 }
2924 return *this;
2925 }
2926
2927 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2928 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2929 }
2930 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2931 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2932 }
2933
2934 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2935 return GetDescriptor();
2936 }
2937 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2938 return default_instance().GetMetadata().descriptor;
2939 }
2940 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2941 return default_instance().GetMetadata().reflection;
2942 }
2947 return reinterpret_cast<const DivePacket_Measurements*>(
2949 }
2950 static constexpr int kIndexInFileMessages =
2951 8;
2952
2954 a.Swap(&b);
2955 }
2956 inline void Swap(DivePacket_Measurements* other) {
2957 if (other == this) return;
2958 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2959 if (GetOwningArena() != nullptr &&
2960 GetOwningArena() == other->GetOwningArena()) {
2961 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2962 if (GetOwningArena() == other->GetOwningArena()) {
2963 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2964 InternalSwap(other);
2965 } else {
2966 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2967 }
2968 }
2970 if (other == this) return;
2971 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2972 InternalSwap(other);
2973 }
2974
2975 // implements Message ----------------------------------------------
2976
2977 DivePacket_Measurements* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2978 return CreateMaybeMessage<DivePacket_Measurements>(arena);
2979 }
2980 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2982 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2984 DivePacket_Measurements::MergeImpl(*this, from);
2985 }
2986 private:
2987 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2988 public:
2989 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2990 bool IsInitialized() const final;
2991
2992 size_t ByteSizeLong() const final;
2993 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2995 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2996 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2997
2998 private:
2999 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3000 void SharedDtor();
3001 void SetCachedSize(int size) const final;
3002 void InternalSwap(DivePacket_Measurements* other);
3003
3004 private:
3005 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3006 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3007 return "jaiabot.protobuf.DivePacket.Measurements";
3008 }
3009 protected:
3010 explicit DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3011 bool is_message_owned = false);
3012 public:
3013
3014 static const ClassData _class_data_;
3015 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3016
3017 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3018
3019 // nested types ----------------------------------------------------
3020
3021 // accessors -------------------------------------------------------
3022
3023 enum : int {
3027 };
3028 // optional double mean_depth = 1 [(.dccl.field) = {
3029 bool has_mean_depth() const;
3030 private:
3031 bool _internal_has_mean_depth() const;
3032 public:
3033 void clear_mean_depth();
3034 double mean_depth() const;
3035 void set_mean_depth(double value);
3036 private:
3037 double _internal_mean_depth() const;
3038 void _internal_set_mean_depth(double value);
3039 public:
3040
3041 // optional double mean_temperature = 2 [(.dccl.field) = {
3042 bool has_mean_temperature() const;
3043 private:
3044 bool _internal_has_mean_temperature() const;
3045 public:
3046 void clear_mean_temperature();
3047 double mean_temperature() const;
3048 void set_mean_temperature(double value);
3049 private:
3050 double _internal_mean_temperature() const;
3051 void _internal_set_mean_temperature(double value);
3052 public:
3053
3054 // optional double mean_salinity = 3 [(.dccl.field) = {
3055 bool has_mean_salinity() const;
3056 private:
3057 bool _internal_has_mean_salinity() const;
3058 public:
3059 void clear_mean_salinity();
3060 double mean_salinity() const;
3061 void set_mean_salinity(double value);
3062 private:
3063 double _internal_mean_salinity() const;
3064 void _internal_set_mean_salinity(double value);
3065 public:
3066
3067 typedef boost::units::length_dimension mean_depth_dimension;
3068
3069 typedef boost::units::unit<mean_depth_dimension,boost::units::si::system> mean_depth_unit;
3070
3071 template<typename Quantity >
3072 void set_mean_depth_with_units(Quantity value_w_units)
3073 { set_mean_depth(boost::units::quantity<mean_depth_unit,double >(value_w_units).value() ); };
3074
3075 template<typename Quantity >
3076 Quantity mean_depth_with_units() const
3077 { return Quantity(mean_depth() * mean_depth_unit()); };
3078
3079 boost::units::quantity< mean_depth_unit,double > mean_depth_with_units() const
3081
3082 typedef boost::units::temperature_dimension mean_temperature_dimension;
3083
3084 typedef boost::units::absolute<boost::units::unit<mean_temperature_dimension,boost::units::celsius::system> > mean_temperature_unit;
3085
3086 template<typename Quantity >
3087 void set_mean_temperature_with_units(Quantity value_w_units)
3088 { set_mean_temperature(boost::units::quantity<mean_temperature_unit,double >(value_w_units).value() ); };
3089
3090 template<typename Quantity >
3092 { return Quantity(mean_temperature() * mean_temperature_unit()); };
3093
3094 boost::units::quantity< mean_temperature_unit,double > mean_temperature_with_units() const
3096
3097 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket.Measurements)
3098 private:
3099 class _Internal;
3100
3101 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3102 typedef void InternalArenaConstructable_;
3103 typedef void DestructorSkippable_;
3104 struct Impl_ {
3105 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3106 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3107 double mean_depth_;
3108 double mean_temperature_;
3109 double mean_salinity_;
3110 };
3111 union { Impl_ _impl_; };
3112 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3113};
3114// -------------------------------------------------------------------
3115
3117 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector) */ {
3118 public:
3121 explicit PROTOBUF_CONSTEXPR DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3122
3128
3130 CopyFrom(from);
3131 return *this;
3132 }
3134 if (this == &from) return *this;
3135 if (GetOwningArena() == from.GetOwningArena()
3136 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3137 && GetOwningArena() != nullptr
3138 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3139 ) {
3140 InternalSwap(&from);
3141 } else {
3142 CopyFrom(from);
3143 }
3144 return *this;
3145 }
3146
3147 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3148 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3149 }
3150 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3151 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3152 }
3153
3154 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3155 return GetDescriptor();
3156 }
3157 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3158 return default_instance().GetMetadata().descriptor;
3159 }
3160 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3161 return default_instance().GetMetadata().reflection;
3162 }
3170 static constexpr int kIndexInFileMessages =
3171 9;
3172
3177 if (other == this) return;
3178 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3179 if (GetOwningArena() != nullptr &&
3180 GetOwningArena() == other->GetOwningArena()) {
3181 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3182 if (GetOwningArena() == other->GetOwningArena()) {
3183 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3184 InternalSwap(other);
3185 } else {
3186 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3187 }
3188 }
3190 if (other == this) return;
3191 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3192 InternalSwap(other);
3193 }
3194
3195 // implements Message ----------------------------------------------
3196
3197 DivePacket_SubsurfaceCurrentVector* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3198 return CreateMaybeMessage<DivePacket_SubsurfaceCurrentVector>(arena);
3199 }
3200 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3202 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3204 DivePacket_SubsurfaceCurrentVector::MergeImpl(*this, from);
3205 }
3206 private:
3207 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3208 public:
3209 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3210 bool IsInitialized() const final;
3211
3212 size_t ByteSizeLong() const final;
3213 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3215 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3216 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3217
3218 private:
3219 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3220 void SharedDtor();
3221 void SetCachedSize(int size) const final;
3222 void InternalSwap(DivePacket_SubsurfaceCurrentVector* other);
3223
3224 private:
3225 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3226 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3227 return "jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector";
3228 }
3229 protected:
3230 explicit DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3231 bool is_message_owned = false);
3232 public:
3233
3234 static const ClassData _class_data_;
3235 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3236
3237 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3238
3239 // nested types ----------------------------------------------------
3240
3241 // accessors -------------------------------------------------------
3242
3243 enum : int {
3246 };
3247 // required double velocity = 1 [(.dccl.field) = {
3248 bool has_velocity() const;
3249 private:
3250 bool _internal_has_velocity() const;
3251 public:
3252 void clear_velocity();
3253 double velocity() const;
3254 void set_velocity(double value);
3255 private:
3256 double _internal_velocity() const;
3257 void _internal_set_velocity(double value);
3258 public:
3259
3260 // required double heading = 2 [(.dccl.field) = {
3261 bool has_heading() const;
3262 private:
3263 bool _internal_has_heading() const;
3264 public:
3265 void clear_heading();
3266 double heading() const;
3267 void set_heading(double value);
3268 private:
3269 double _internal_heading() const;
3270 void _internal_set_heading(double value);
3271 public:
3272
3273 typedef boost::units::velocity_dimension velocity_dimension;
3274
3275 typedef boost::units::unit<velocity_dimension,boost::units::si::system> velocity_unit;
3276
3277 template<typename Quantity >
3278 void set_velocity_with_units(Quantity value_w_units)
3279 { set_velocity(boost::units::quantity<velocity_unit,double >(value_w_units).value() ); };
3280
3281 template<typename Quantity >
3282 Quantity velocity_with_units() const
3283 { return Quantity(velocity() * velocity_unit()); };
3284
3285 boost::units::quantity< velocity_unit,double > velocity_with_units() const
3287
3288 typedef boost::units::plane_angle_dimension heading_dimension;
3289
3290 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
3291
3292 template<typename Quantity >
3293 void set_heading_with_units(Quantity value_w_units)
3294 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
3295
3296 template<typename Quantity >
3297 Quantity heading_with_units() const
3298 { return Quantity(heading() * heading_unit()); };
3299
3300 boost::units::quantity< heading_unit,double > heading_with_units() const
3302
3303 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector)
3304 private:
3305 class _Internal;
3306
3307 // helper for ByteSizeLong()
3308 size_t RequiredFieldsByteSizeFallback() const;
3309
3310 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3311 typedef void InternalArenaConstructable_;
3312 typedef void DestructorSkippable_;
3313 struct Impl_ {
3314 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3315 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3316 double velocity_;
3317 double heading_;
3318 };
3319 union { Impl_ _impl_; };
3320 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3321};
3322// -------------------------------------------------------------------
3323
3324class DivePacket final :
3325 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket) */ {
3326 public:
3327 inline DivePacket() : DivePacket(nullptr) {}
3328 ~DivePacket() override;
3329 explicit PROTOBUF_CONSTEXPR DivePacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3330
3332 DivePacket(DivePacket&& from) noexcept
3333 : DivePacket() {
3334 *this = ::std::move(from);
3335 }
3336
3337 inline DivePacket& operator=(const DivePacket& from) {
3338 CopyFrom(from);
3339 return *this;
3340 }
3341 inline DivePacket& operator=(DivePacket&& from) noexcept {
3342 if (this == &from) return *this;
3343 if (GetOwningArena() == from.GetOwningArena()
3344 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3345 && GetOwningArena() != nullptr
3346 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3347 ) {
3348 InternalSwap(&from);
3349 } else {
3350 CopyFrom(from);
3351 }
3352 return *this;
3353 }
3354
3355 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3356 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3357 }
3358 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3359 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3360 }
3361
3362 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3363 return GetDescriptor();
3364 }
3365 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3366 return default_instance().GetMetadata().descriptor;
3367 }
3368 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3369 return default_instance().GetMetadata().reflection;
3370 }
3372 return *internal_default_instance();
3373 }
3374 static inline const DivePacket* internal_default_instance() {
3375 return reinterpret_cast<const DivePacket*>(
3377 }
3378 static constexpr int kIndexInFileMessages =
3379 10;
3380
3381 friend void swap(DivePacket& a, DivePacket& b) {
3382 a.Swap(&b);
3383 }
3384 inline void Swap(DivePacket* other) {
3385 if (other == this) return;
3386 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3387 if (GetOwningArena() != nullptr &&
3388 GetOwningArena() == other->GetOwningArena()) {
3389 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3390 if (GetOwningArena() == other->GetOwningArena()) {
3391 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3392 InternalSwap(other);
3393 } else {
3394 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3395 }
3396 }
3398 if (other == this) return;
3399 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3400 InternalSwap(other);
3401 }
3402
3403 // implements Message ----------------------------------------------
3404
3405 DivePacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3406 return CreateMaybeMessage<DivePacket>(arena);
3407 }
3408 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3409 void CopyFrom(const DivePacket& from);
3410 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3411 void MergeFrom( const DivePacket& from) {
3412 DivePacket::MergeImpl(*this, from);
3413 }
3414 private:
3415 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3416 public:
3417 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3418 bool IsInitialized() const final;
3419
3420 size_t ByteSizeLong() const final;
3421 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3423 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3424 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3425
3426 private:
3427 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3428 void SharedDtor();
3429 void SetCachedSize(int size) const final;
3430 void InternalSwap(DivePacket* other);
3431
3432 private:
3433 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3434 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3435 return "jaiabot.protobuf.DivePacket";
3436 }
3437 protected:
3438 explicit DivePacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3439 bool is_message_owned = false);
3440 public:
3441
3442 static const ClassData _class_data_;
3443 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3444
3445 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3446
3447 // nested types ----------------------------------------------------
3448
3451
3453 static constexpr BottomType HARD =
3455 static constexpr BottomType SOFT =
3457 static inline bool BottomType_IsValid(int value) {
3458 return DivePacket_BottomType_IsValid(value);
3459 }
3460 static constexpr BottomType BottomType_MIN =
3462 static constexpr BottomType BottomType_MAX =
3464 static constexpr int BottomType_ARRAYSIZE =
3466 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
3470 template<typename T>
3471 static inline const std::string& BottomType_Name(T enum_t_value) {
3472 static_assert(::std::is_same<T, BottomType>::value ||
3473 ::std::is_integral<T>::value,
3474 "Incorrect type passed to function BottomType_Name.");
3475 return DivePacket_BottomType_Name(enum_t_value);
3476 }
3477 static inline bool BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3478 BottomType* value) {
3479 return DivePacket_BottomType_Parse(name, value);
3480 }
3481
3482 // accessors -------------------------------------------------------
3483
3484 enum : int {
3497 };
3498 // repeated .jaiabot.protobuf.DivePacket.Measurements measurement = 14 [(.dccl.field) = {
3499 int measurement_size() const;
3500 private:
3501 int _internal_measurement_size() const;
3502 public:
3503 void clear_measurement();
3504 ::jaiabot::protobuf::DivePacket_Measurements* mutable_measurement(int index);
3505 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
3506 mutable_measurement();
3507 private:
3508 const ::jaiabot::protobuf::DivePacket_Measurements& _internal_measurement(int index) const;
3509 ::jaiabot::protobuf::DivePacket_Measurements* _internal_add_measurement();
3510 public:
3511 const ::jaiabot::protobuf::DivePacket_Measurements& measurement(int index) const;
3513 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
3514 measurement() const;
3515
3516 // optional .jaiabot.protobuf.GeographicCoordinate start_location = 15 [(.jaia.field) = {
3517 bool has_start_location() const;
3518 private:
3519 bool _internal_has_start_location() const;
3520 public:
3522 const ::jaiabot::protobuf::GeographicCoordinate& start_location() const;
3523 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
3526 private:
3527 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location() const;
3528 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
3529 public:
3533
3534 // optional .jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector subsurface_current = 21 [(.jaia.field) = {
3535 bool has_subsurface_current() const;
3536 private:
3537 bool _internal_has_subsurface_current() const;
3538 public:
3540 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& subsurface_current() const;
3541 PROTOBUF_NODISCARD ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* release_subsurface_current();
3544 private:
3545 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& _internal_subsurface_current() const;
3546 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* _internal_mutable_subsurface_current();
3547 public:
3551
3552 // required double dive_rate = 10 [(.dccl.field) = {
3553 bool has_dive_rate() const;
3554 private:
3555 bool _internal_has_dive_rate() const;
3556 public:
3557 void clear_dive_rate();
3558 double dive_rate() const;
3559 void set_dive_rate(double value);
3560 private:
3561 double _internal_dive_rate() const;
3562 void _internal_set_dive_rate(double value);
3563 public:
3564
3565 // optional double unpowered_rise_rate = 11 [(.dccl.field) = {
3566 bool has_unpowered_rise_rate() const;
3567 private:
3568 bool _internal_has_unpowered_rise_rate() const;
3569 public:
3571 double unpowered_rise_rate() const;
3572 void set_unpowered_rise_rate(double value);
3573 private:
3574 double _internal_unpowered_rise_rate() const;
3575 void _internal_set_unpowered_rise_rate(double value);
3576 public:
3577
3578 // optional double powered_rise_rate = 12 [(.dccl.field) = {
3579 bool has_powered_rise_rate() const;
3580 private:
3581 bool _internal_has_powered_rise_rate() const;
3582 public:
3584 double powered_rise_rate() const;
3585 void set_powered_rise_rate(double value);
3586 private:
3587 double _internal_powered_rise_rate() const;
3588 void _internal_set_powered_rise_rate(double value);
3589 public:
3590
3591 // required double depth_achieved = 13 [(.dccl.field) = {
3592 bool has_depth_achieved() const;
3593 private:
3594 bool _internal_has_depth_achieved() const;
3595 public:
3596 void clear_depth_achieved();
3597 double depth_achieved() const;
3598 void set_depth_achieved(double value);
3599 private:
3600 double _internal_depth_achieved() const;
3601 void _internal_set_depth_achieved(double value);
3602 public:
3603
3604 // optional double duration_to_acquire_gps = 16 [(.dccl.field) = {
3605 bool has_duration_to_acquire_gps() const;
3606 private:
3607 bool _internal_has_duration_to_acquire_gps() const;
3608 public:
3610 double duration_to_acquire_gps() const;
3611 void set_duration_to_acquire_gps(double value);
3612 private:
3613 double _internal_duration_to_acquire_gps() const;
3614 void _internal_set_duration_to_acquire_gps(double value);
3615 public:
3616
3617 // optional double max_acceleration = 20 [(.dccl.field) = {
3618 bool has_max_acceleration() const;
3619 private:
3620 bool _internal_has_max_acceleration() const;
3621 public:
3623 double max_acceleration() const;
3624 void set_max_acceleration(double value);
3625 private:
3626 double _internal_max_acceleration() const;
3627 void _internal_set_max_acceleration(double value);
3628 public:
3629
3630 // optional bool bottom_dive = 17 [default = false, (.jaia.field) = {
3631 bool has_bottom_dive() const;
3632 private:
3633 bool _internal_has_bottom_dive() const;
3634 public:
3635 void clear_bottom_dive();
3636 bool bottom_dive() const;
3637 void set_bottom_dive(bool value);
3638 private:
3639 bool _internal_bottom_dive() const;
3640 void _internal_set_bottom_dive(bool value);
3641 public:
3642
3643 // optional bool reached_min_depth = 18 [default = false, (.jaia.field) = {
3644 bool has_reached_min_depth() const;
3645 private:
3646 bool _internal_has_reached_min_depth() const;
3647 public:
3649 bool reached_min_depth() const;
3650 void set_reached_min_depth(bool value);
3651 private:
3652 bool _internal_reached_min_depth() const;
3653 void _internal_set_reached_min_depth(bool value);
3654 public:
3655
3656 // optional .jaiabot.protobuf.DivePacket.BottomType bottom_type = 19 [(.jaia.field) = {
3657 bool has_bottom_type() const;
3658 private:
3659 bool _internal_has_bottom_type() const;
3660 public:
3661 void clear_bottom_type();
3664 private:
3665 ::jaiabot::protobuf::DivePacket_BottomType _internal_bottom_type() const;
3666 void _internal_set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value);
3667 public:
3668
3669 typedef boost::units::velocity_dimension dive_rate_dimension;
3670
3671 typedef boost::units::unit<dive_rate_dimension,boost::units::si::system> dive_rate_unit;
3672
3673 template<typename Quantity >
3674 void set_dive_rate_with_units(Quantity value_w_units)
3675 { set_dive_rate(boost::units::quantity<dive_rate_unit,double >(value_w_units).value() ); };
3676
3677 template<typename Quantity >
3678 Quantity dive_rate_with_units() const
3679 { return Quantity(dive_rate() * dive_rate_unit()); };
3680
3681 boost::units::quantity< dive_rate_unit,double > dive_rate_with_units() const
3683
3684 typedef boost::units::velocity_dimension unpowered_rise_rate_dimension;
3685
3686 typedef boost::units::unit<unpowered_rise_rate_dimension,boost::units::si::system> unpowered_rise_rate_unit;
3687
3688 template<typename Quantity >
3689 void set_unpowered_rise_rate_with_units(Quantity value_w_units)
3690 { set_unpowered_rise_rate(boost::units::quantity<unpowered_rise_rate_unit,double >(value_w_units).value() ); };
3691
3692 template<typename Quantity >
3694 { return Quantity(unpowered_rise_rate() * unpowered_rise_rate_unit()); };
3695
3696 boost::units::quantity< unpowered_rise_rate_unit,double > unpowered_rise_rate_with_units() const
3698
3699 typedef boost::units::velocity_dimension powered_rise_rate_dimension;
3700
3701 typedef boost::units::unit<powered_rise_rate_dimension,boost::units::si::system> powered_rise_rate_unit;
3702
3703 template<typename Quantity >
3704 void set_powered_rise_rate_with_units(Quantity value_w_units)
3705 { set_powered_rise_rate(boost::units::quantity<powered_rise_rate_unit,double >(value_w_units).value() ); };
3706
3707 template<typename Quantity >
3709 { return Quantity(powered_rise_rate() * powered_rise_rate_unit()); };
3710
3711 boost::units::quantity< powered_rise_rate_unit,double > powered_rise_rate_with_units() const
3713
3714 typedef boost::units::length_dimension depth_achieved_dimension;
3715
3716 typedef boost::units::unit<depth_achieved_dimension,boost::units::si::system> depth_achieved_unit;
3717
3718 template<typename Quantity >
3719 void set_depth_achieved_with_units(Quantity value_w_units)
3720 { set_depth_achieved(boost::units::quantity<depth_achieved_unit,double >(value_w_units).value() ); };
3721
3722 template<typename Quantity >
3724 { return Quantity(depth_achieved() * depth_achieved_unit()); };
3725
3726 boost::units::quantity< depth_achieved_unit,double > depth_achieved_with_units() const
3728
3729 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type duration_to_acquire_gps_dimension;
3730
3731 typedef boost::units::unit<duration_to_acquire_gps_dimension,boost::units::si::system> duration_to_acquire_gps_unit;
3732
3733 template<typename Quantity >
3734 void set_duration_to_acquire_gps_with_units(Quantity value_w_units)
3735 { set_duration_to_acquire_gps(boost::units::quantity<duration_to_acquire_gps_unit,double >(value_w_units).value() ); };
3736
3737 template<typename Quantity >
3740
3741 boost::units::quantity< duration_to_acquire_gps_unit,double > duration_to_acquire_gps_with_units() const
3743
3744 typedef boost::units::acceleration_dimension max_acceleration_dimension;
3745
3746 typedef boost::units::unit<max_acceleration_dimension,boost::units::si::system> max_acceleration_unit;
3747
3748 template<typename Quantity >
3749 void set_max_acceleration_with_units(Quantity value_w_units)
3750 { set_max_acceleration(boost::units::quantity<max_acceleration_unit,double >(value_w_units).value() ); };
3751
3752 template<typename Quantity >
3754 { return Quantity(max_acceleration() * max_acceleration_unit()); };
3755
3756 boost::units::quantity< max_acceleration_unit,double > max_acceleration_with_units() const
3758
3759 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket)
3760 private:
3761 class _Internal;
3762
3763 // helper for ByteSizeLong()
3764 size_t RequiredFieldsByteSizeFallback() const;
3765
3766 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3767 typedef void InternalArenaConstructable_;
3768 typedef void DestructorSkippable_;
3769 struct Impl_ {
3770 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3771 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3772 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > measurement_;
3775 double dive_rate_;
3776 double unpowered_rise_rate_;
3777 double powered_rise_rate_;
3778 double depth_achieved_;
3779 double duration_to_acquire_gps_;
3780 double max_acceleration_;
3781 bool bottom_dive_;
3782 bool reached_min_depth_;
3783 int bottom_type_;
3784 };
3785 union { Impl_ _impl_; };
3786 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3787};
3788// -------------------------------------------------------------------
3789
3791 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.StormCTDProfile.Sample) */ {
3792 public:
3795 explicit PROTOBUF_CONSTEXPR StormCTDProfile_Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3796
3800 *this = ::std::move(from);
3801 }
3802
3804 CopyFrom(from);
3805 return *this;
3806 }
3808 if (this == &from) return *this;
3809 if (GetOwningArena() == from.GetOwningArena()
3810 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3811 && GetOwningArena() != nullptr
3812 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3813 ) {
3814 InternalSwap(&from);
3815 } else {
3816 CopyFrom(from);
3817 }
3818 return *this;
3819 }
3820
3821 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3822 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3823 }
3824 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3825 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3826 }
3827
3828 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3829 return GetDescriptor();
3830 }
3831 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3832 return default_instance().GetMetadata().descriptor;
3833 }
3834 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3835 return default_instance().GetMetadata().reflection;
3836 }
3841 return reinterpret_cast<const StormCTDProfile_Sample*>(
3843 }
3844 static constexpr int kIndexInFileMessages =
3845 11;
3846
3848 a.Swap(&b);
3849 }
3850 inline void Swap(StormCTDProfile_Sample* other) {
3851 if (other == this) return;
3852 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3853 if (GetOwningArena() != nullptr &&
3854 GetOwningArena() == other->GetOwningArena()) {
3855 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3856 if (GetOwningArena() == other->GetOwningArena()) {
3857 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3858 InternalSwap(other);
3859 } else {
3860 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3861 }
3862 }
3864 if (other == this) return;
3865 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3866 InternalSwap(other);
3867 }
3868
3869 // implements Message ----------------------------------------------
3870
3871 StormCTDProfile_Sample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3872 return CreateMaybeMessage<StormCTDProfile_Sample>(arena);
3873 }
3874 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3876 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3878 StormCTDProfile_Sample::MergeImpl(*this, from);
3879 }
3880 private:
3881 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3882 public:
3883 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3884 bool IsInitialized() const final;
3885
3886 size_t ByteSizeLong() const final;
3887 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3889 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3890 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3891
3892 private:
3893 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3894 void SharedDtor();
3895 void SetCachedSize(int size) const final;
3896 void InternalSwap(StormCTDProfile_Sample* other);
3897
3898 private:
3899 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3900 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3901 return "jaiabot.protobuf.StormCTDProfile.Sample";
3902 }
3903 protected:
3904 explicit StormCTDProfile_Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3905 bool is_message_owned = false);
3906 public:
3907
3908 static const ClassData _class_data_;
3909 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3910
3911 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3912
3913 // nested types ----------------------------------------------------
3914
3915 // accessors -------------------------------------------------------
3916
3917 enum : int {
3921 };
3922 // required double depth = 1 [(.dccl.field) = {
3923 bool has_depth() const;
3924 private:
3925 bool _internal_has_depth() const;
3926 public:
3927 void clear_depth();
3928 double depth() const;
3929 void set_depth(double value);
3930 private:
3931 double _internal_depth() const;
3932 void _internal_set_depth(double value);
3933 public:
3934
3935 // required double temperature = 2 [(.dccl.field) = {
3936 bool has_temperature() const;
3937 private:
3938 bool _internal_has_temperature() const;
3939 public:
3940 void clear_temperature();
3941 double temperature() const;
3942 void set_temperature(double value);
3943 private:
3944 double _internal_temperature() const;
3945 void _internal_set_temperature(double value);
3946 public:
3947
3948 // required double salinity = 3 [(.dccl.field) = {
3949 bool has_salinity() const;
3950 private:
3951 bool _internal_has_salinity() const;
3952 public:
3953 void clear_salinity();
3954 double salinity() const;
3955 void set_salinity(double value);
3956 private:
3957 double _internal_salinity() const;
3958 void _internal_set_salinity(double value);
3959 public:
3960
3961 typedef boost::units::length_dimension depth_dimension;
3962
3963 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
3964
3965 template<typename Quantity >
3966 void set_depth_with_units(Quantity value_w_units)
3967 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
3968
3969 template<typename Quantity >
3970 Quantity depth_with_units() const
3971 { return Quantity(depth() * depth_unit()); };
3972
3973 boost::units::quantity< depth_unit,double > depth_with_units() const
3975
3976 typedef boost::units::temperature_dimension temperature_dimension;
3977
3978 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
3979
3980 template<typename Quantity >
3981 void set_temperature_with_units(Quantity value_w_units)
3982 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
3983
3984 template<typename Quantity >
3985 Quantity temperature_with_units() const
3986 { return Quantity(temperature() * temperature_unit()); };
3987
3988 boost::units::quantity< temperature_unit,double > temperature_with_units() const
3990
3991 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.StormCTDProfile.Sample)
3992 private:
3993 class _Internal;
3994
3995 // helper for ByteSizeLong()
3996 size_t RequiredFieldsByteSizeFallback() const;
3997
3998 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3999 typedef void InternalArenaConstructable_;
4000 typedef void DestructorSkippable_;
4001 struct Impl_ {
4002 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4003 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4004 double depth_;
4005 double temperature_;
4006 double salinity_;
4007 };
4008 union { Impl_ _impl_; };
4009 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4010};
4011// -------------------------------------------------------------------
4012
4013class StormCTDProfile final :
4014 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.StormCTDProfile) */ {
4015 public:
4016 inline StormCTDProfile() : StormCTDProfile(nullptr) {}
4018 explicit PROTOBUF_CONSTEXPR StormCTDProfile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4019
4022 : StormCTDProfile() {
4023 *this = ::std::move(from);
4024 }
4025
4027 CopyFrom(from);
4028 return *this;
4029 }
4030 inline StormCTDProfile& operator=(StormCTDProfile&& from) noexcept {
4031 if (this == &from) return *this;
4032 if (GetOwningArena() == from.GetOwningArena()
4033 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4034 && GetOwningArena() != nullptr
4035 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4036 ) {
4037 InternalSwap(&from);
4038 } else {
4039 CopyFrom(from);
4040 }
4041 return *this;
4042 }
4043
4044 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4045 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4046 }
4047 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4048 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4049 }
4050
4051 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4052 return GetDescriptor();
4053 }
4054 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4055 return default_instance().GetMetadata().descriptor;
4056 }
4057 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4058 return default_instance().GetMetadata().reflection;
4059 }
4061 return *internal_default_instance();
4062 }
4064 return reinterpret_cast<const StormCTDProfile*>(
4066 }
4067 static constexpr int kIndexInFileMessages =
4068 12;
4069
4071 a.Swap(&b);
4072 }
4073 inline void Swap(StormCTDProfile* other) {
4074 if (other == this) return;
4075 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4076 if (GetOwningArena() != nullptr &&
4077 GetOwningArena() == other->GetOwningArena()) {
4078 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4079 if (GetOwningArena() == other->GetOwningArena()) {
4080 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4081 InternalSwap(other);
4082 } else {
4083 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4084 }
4085 }
4087 if (other == this) return;
4088 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4089 InternalSwap(other);
4090 }
4091
4092 // implements Message ----------------------------------------------
4093
4094 StormCTDProfile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4095 return CreateMaybeMessage<StormCTDProfile>(arena);
4096 }
4097 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4098 void CopyFrom(const StormCTDProfile& from);
4099 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4100 void MergeFrom( const StormCTDProfile& from) {
4101 StormCTDProfile::MergeImpl(*this, from);
4102 }
4103 private:
4104 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4105 public:
4106 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4107 bool IsInitialized() const final;
4108
4109 size_t ByteSizeLong() const final;
4110 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4112 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4113 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4114
4115 private:
4116 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4117 void SharedDtor();
4118 void SetCachedSize(int size) const final;
4119 void InternalSwap(StormCTDProfile* other);
4120
4121 private:
4122 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4123 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4124 return "jaiabot.protobuf.StormCTDProfile";
4125 }
4126 protected:
4127 explicit StormCTDProfile(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4128 bool is_message_owned = false);
4129 public:
4130
4131 static const ClassData _class_data_;
4132 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4133
4134 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4135
4136 // nested types ----------------------------------------------------
4137
4139
4140 // accessors -------------------------------------------------------
4141
4142 enum : int {
4148 };
4149 // repeated .jaiabot.protobuf.StormCTDProfile.Sample sample = 3 [(.dccl.field) = {
4150 int sample_size() const;
4151 private:
4152 int _internal_sample_size() const;
4153 public:
4154 void clear_sample();
4155 ::jaiabot::protobuf::StormCTDProfile_Sample* mutable_sample(int index);
4156 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormCTDProfile_Sample >*
4157 mutable_sample();
4158 private:
4159 const ::jaiabot::protobuf::StormCTDProfile_Sample& _internal_sample(int index) const;
4160 ::jaiabot::protobuf::StormCTDProfile_Sample* _internal_add_sample();
4161 public:
4162 const ::jaiabot::protobuf::StormCTDProfile_Sample& sample(int index) const;
4164 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormCTDProfile_Sample >&
4165 sample() const;
4166
4167 // required .jaiabot.protobuf.GeographicCoordinate location = 2;
4168 bool has_location() const;
4169 private:
4170 bool _internal_has_location() const;
4171 public:
4173 const ::jaiabot::protobuf::GeographicCoordinate& location() const;
4174 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
4177 private:
4178 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
4179 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
4180 public:
4184
4185 // required uint64 profile_time = 1 [(.dccl.field) = {
4186 bool has_profile_time() const;
4187 private:
4188 bool _internal_has_profile_time() const;
4189 public:
4190 void clear_profile_time();
4191 uint64_t profile_time() const;
4192 void set_profile_time(uint64_t value);
4193 private:
4194 uint64_t _internal_profile_time() const;
4195 void _internal_set_profile_time(uint64_t value);
4196 public:
4197
4198 // required uint32 part_index = 4 [(.dccl.field) = {
4199 bool has_part_index() const;
4200 private:
4201 bool _internal_has_part_index() const;
4202 public:
4203 void clear_part_index();
4204 uint32_t part_index() const;
4205 void set_part_index(uint32_t value);
4206 private:
4207 uint32_t _internal_part_index() const;
4208 void _internal_set_part_index(uint32_t value);
4209 public:
4210
4211 // required uint32 num_parts = 5 [(.dccl.field) = {
4212 bool has_num_parts() const;
4213 private:
4214 bool _internal_has_num_parts() const;
4215 public:
4216 void clear_num_parts();
4217 uint32_t num_parts() const;
4218 void set_num_parts(uint32_t value);
4219 private:
4220 uint32_t _internal_num_parts() const;
4221 void _internal_set_num_parts(uint32_t value);
4222 public:
4223
4224 typedef boost::units::time_dimension profile_time_dimension;
4225
4226 typedef boost::units::make_scaled_unit<boost::units::unit<profile_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type profile_time_unit;
4227
4228 template<typename Quantity >
4229 void set_profile_time_with_units(Quantity value_w_units)
4230 { set_profile_time(boost::units::quantity<profile_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4231
4232 template<typename Quantity >
4234 { return Quantity(profile_time() * profile_time_unit()); };
4235
4236 boost::units::quantity< profile_time_unit,google::protobuf::uint64 > profile_time_with_units() const
4238
4239 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.StormCTDProfile)
4240 private:
4241 class _Internal;
4242
4243 // helper for ByteSizeLong()
4244 size_t RequiredFieldsByteSizeFallback() const;
4245
4246 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4247 typedef void InternalArenaConstructable_;
4248 typedef void DestructorSkippable_;
4249 struct Impl_ {
4250 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4251 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4252 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormCTDProfile_Sample > sample_;
4254 uint64_t profile_time_;
4255 uint32_t part_index_;
4256 uint32_t num_parts_;
4257 };
4258 union { Impl_ _impl_; };
4259 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4260};
4261// -------------------------------------------------------------------
4262
4263class TaskPacket final :
4264 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.TaskPacket) */ {
4265 public:
4266 inline TaskPacket() : TaskPacket(nullptr) {}
4267 ~TaskPacket() override;
4268 explicit PROTOBUF_CONSTEXPR TaskPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4269
4271 TaskPacket(TaskPacket&& from) noexcept
4272 : TaskPacket() {
4273 *this = ::std::move(from);
4274 }
4275
4276 inline TaskPacket& operator=(const TaskPacket& from) {
4277 CopyFrom(from);
4278 return *this;
4279 }
4280 inline TaskPacket& operator=(TaskPacket&& from) noexcept {
4281 if (this == &from) return *this;
4282 if (GetOwningArena() == from.GetOwningArena()
4283 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4284 && GetOwningArena() != nullptr
4285 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4286 ) {
4287 InternalSwap(&from);
4288 } else {
4289 CopyFrom(from);
4290 }
4291 return *this;
4292 }
4293
4294 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4295 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4296 }
4297 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4298 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4299 }
4300
4301 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4302 return GetDescriptor();
4303 }
4304 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4305 return default_instance().GetMetadata().descriptor;
4306 }
4307 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4308 return default_instance().GetMetadata().reflection;
4309 }
4311 return *internal_default_instance();
4312 }
4319
4320 static inline const TaskPacket* internal_default_instance() {
4321 return reinterpret_cast<const TaskPacket*>(
4323 }
4324 static constexpr int kIndexInFileMessages =
4325 13;
4326
4327 friend void swap(TaskPacket& a, TaskPacket& b) {
4328 a.Swap(&b);
4329 }
4330 inline void Swap(TaskPacket* other) {
4331 if (other == this) return;
4332 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4333 if (GetOwningArena() != nullptr &&
4334 GetOwningArena() == other->GetOwningArena()) {
4335 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4336 if (GetOwningArena() == other->GetOwningArena()) {
4337 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4338 InternalSwap(other);
4339 } else {
4340 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4341 }
4342 }
4344 if (other == this) return;
4345 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4346 InternalSwap(other);
4347 }
4348
4349 // implements Message ----------------------------------------------
4350
4351 TaskPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4352 return CreateMaybeMessage<TaskPacket>(arena);
4353 }
4354 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4355 void CopyFrom(const TaskPacket& from);
4356 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4357 void MergeFrom( const TaskPacket& from) {
4358 TaskPacket::MergeImpl(*this, from);
4359 }
4360 private:
4361 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4362 public:
4363 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4364 bool IsInitialized() const final;
4365
4366 size_t ByteSizeLong() const final;
4367 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4369 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4370 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4371
4372 private:
4373 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4374 void SharedDtor();
4375 void SetCachedSize(int size) const final;
4376 void InternalSwap(TaskPacket* other);
4377
4378 private:
4379 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4380 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4381 return "jaiabot.protobuf.TaskPacket";
4382 }
4383 protected:
4384 explicit TaskPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4385 bool is_message_owned = false);
4386 public:
4387
4388 static const ClassData _class_data_;
4389 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4390
4391 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4392
4393 // nested types ----------------------------------------------------
4394
4395 // accessors -------------------------------------------------------
4396
4397 enum : int {
4410 };
4411 // optional string mission_name = 72 [(.dccl.field) = {
4412 bool has_mission_name() const;
4413 private:
4414 bool _internal_has_mission_name() const;
4415 public:
4416 void clear_mission_name();
4417 const std::string& mission_name() const;
4418 template <typename ArgT0 = const std::string&, typename... ArgT>
4419 void set_mission_name(ArgT0&& arg0, ArgT... args);
4420 std::string* mutable_mission_name();
4421 PROTOBUF_NODISCARD std::string* release_mission_name();
4422 void set_allocated_mission_name(std::string* mission_name);
4423 private:
4424 const std::string& _internal_mission_name() const;
4425 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mission_name(const std::string& value);
4426 std::string* _internal_mutable_mission_name();
4427 public:
4428
4429 // optional .jaiabot.protobuf.DriftPacket drift = 11 [(.jaia.field) = {
4430 bool has_drift() const;
4431 private:
4432 bool _internal_has_drift() const;
4433 public:
4434 void clear_drift();
4435 const ::jaiabot::protobuf::DriftPacket& drift() const;
4436 PROTOBUF_NODISCARD ::jaiabot::protobuf::DriftPacket* release_drift();
4439 private:
4440 const ::jaiabot::protobuf::DriftPacket& _internal_drift() const;
4441 ::jaiabot::protobuf::DriftPacket* _internal_mutable_drift();
4442 public:
4446
4447 // required uint64 start_time = 2 [(.dccl.field) = {
4448 bool has_start_time() const;
4449 private:
4450 bool _internal_has_start_time() const;
4451 public:
4452 void clear_start_time();
4453 uint64_t start_time() const;
4454 void set_start_time(uint64_t value);
4455 private:
4456 uint64_t _internal_start_time() const;
4457 void _internal_set_start_time(uint64_t value);
4458 public:
4459
4460 // required uint32 bot_id = 1 [(.dccl.field) = {
4461 bool has_bot_id() const;
4462 private:
4463 bool _internal_has_bot_id() const;
4464 public:
4465 void clear_bot_id();
4466 uint32_t bot_id() const;
4467 void set_bot_id(uint32_t value);
4468 private:
4469 uint32_t _internal_bot_id() const;
4470 void _internal_set_bot_id(uint32_t value);
4471 public:
4472
4473 // required .jaiabot.protobuf.MissionTask.TaskType type = 4 [(.jaia.field) = {
4474 bool has_type() const;
4475 private:
4476 bool _internal_has_type() const;
4477 public:
4478 void clear_type();
4481 private:
4482 ::jaiabot::protobuf::MissionTask_TaskType _internal_type() const;
4483 void _internal_set_type(::jaiabot::protobuf::MissionTask_TaskType value);
4484 public:
4485
4486 // required uint64 end_time = 3 [(.dccl.field) = {
4487 bool has_end_time() const;
4488 private:
4489 bool _internal_has_end_time() const;
4490 public:
4491 void clear_end_time();
4492 uint64_t end_time() const;
4493 void set_end_time(uint64_t value);
4494 private:
4495 uint64_t _internal_end_time() const;
4496 void _internal_set_end_time(uint64_t value);
4497 public:
4498
4499 // optional uint64 mission_command_time = 71 [(.dccl.field) = {
4500 bool has_mission_command_time() const;
4501 private:
4502 bool _internal_has_mission_command_time() const;
4503 public:
4505 uint64_t mission_command_time() const;
4506 void set_mission_command_time(uint64_t value);
4507 private:
4508 uint64_t _internal_mission_command_time() const;
4509 void _internal_set_mission_command_time(uint64_t value);
4510 public:
4511
4512 // optional int32 storm_id = 6 [(.dccl.field) = {
4513 bool has_storm_id() const;
4514 private:
4515 bool _internal_has_storm_id() const;
4516 public:
4517 void clear_storm_id();
4518 int32_t storm_id() const;
4519 void set_storm_id(int32_t value);
4520 private:
4521 int32_t _internal_storm_id() const;
4522 void _internal_set_storm_id(int32_t value);
4523 public:
4524
4525 // optional .jaiabot.protobuf.Link link = 5 [(.dccl.field) = {
4526 bool has_link() const;
4527 private:
4528 bool _internal_has_link() const;
4529 public:
4530 void clear_link();
4533 private:
4534 ::jaiabot::protobuf::Link _internal_link() const;
4535 void _internal_set_link(::jaiabot::protobuf::Link value);
4536 public:
4537
4538 // .jaiabot.protobuf.DivePacket dive = 10 [(.jaia.field) = {
4539 bool has_dive() const;
4540 private:
4541 bool _internal_has_dive() const;
4542 public:
4543 void clear_dive();
4544 const ::jaiabot::protobuf::DivePacket& dive() const;
4545 PROTOBUF_NODISCARD ::jaiabot::protobuf::DivePacket* release_dive();
4548 private:
4549 const ::jaiabot::protobuf::DivePacket& _internal_dive() const;
4550 ::jaiabot::protobuf::DivePacket* _internal_mutable_dive();
4551 public:
4555
4556 // .jaiabot.protobuf.StormAirDescentData storm_air_descent = 12;
4557 bool has_storm_air_descent() const;
4558 private:
4559 bool _internal_has_storm_air_descent() const;
4560 public:
4562 const ::jaiabot::protobuf::StormAirDescentData& storm_air_descent() const;
4563 PROTOBUF_NODISCARD ::jaiabot::protobuf::StormAirDescentData* release_storm_air_descent();
4566 private:
4567 const ::jaiabot::protobuf::StormAirDescentData& _internal_storm_air_descent() const;
4568 ::jaiabot::protobuf::StormAirDescentData* _internal_mutable_storm_air_descent();
4569 public:
4573
4574 // .jaiabot.protobuf.StormCTDProfile storm_ctd_profile = 14;
4575 bool has_storm_ctd_profile() const;
4576 private:
4577 bool _internal_has_storm_ctd_profile() const;
4578 public:
4580 const ::jaiabot::protobuf::StormCTDProfile& storm_ctd_profile() const;
4581 PROTOBUF_NODISCARD ::jaiabot::protobuf::StormCTDProfile* release_storm_ctd_profile();
4584 private:
4585 const ::jaiabot::protobuf::StormCTDProfile& _internal_storm_ctd_profile() const;
4586 ::jaiabot::protobuf::StormCTDProfile* _internal_mutable_storm_ctd_profile();
4587 public:
4591
4594 enum DCCLParameters { DCCL_ID = 20481, DCCL_MAX_BYTES = 250 };
4595 typedef boost::units::time_dimension start_time_dimension;
4596
4597 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;
4598
4599 template<typename Quantity >
4600 void set_start_time_with_units(Quantity value_w_units)
4601 { set_start_time(boost::units::quantity<start_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4602
4603 template<typename Quantity >
4604 Quantity start_time_with_units() const
4605 { return Quantity(start_time() * start_time_unit()); };
4606
4607 boost::units::quantity< start_time_unit,google::protobuf::uint64 > start_time_with_units() const
4609
4610 typedef boost::units::time_dimension end_time_dimension;
4611
4612 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;
4613
4614 template<typename Quantity >
4615 void set_end_time_with_units(Quantity value_w_units)
4616 { set_end_time(boost::units::quantity<end_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4617
4618 template<typename Quantity >
4619 Quantity end_time_with_units() const
4620 { return Quantity(end_time() * end_time_unit()); };
4621
4622 boost::units::quantity< end_time_unit,google::protobuf::uint64 > end_time_with_units() const
4624
4625 typedef boost::units::time_dimension mission_command_time_dimension;
4626
4627 typedef boost::units::make_scaled_unit<boost::units::unit<mission_command_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type mission_command_time_unit;
4628
4629 template<typename Quantity >
4630 void set_mission_command_time_with_units(Quantity value_w_units)
4631 { set_mission_command_time(boost::units::quantity<mission_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4632
4633 template<typename Quantity >
4635 { return Quantity(mission_command_time() * mission_command_time_unit()); };
4636
4637 boost::units::quantity< mission_command_time_unit,google::protobuf::uint64 > mission_command_time_with_units() const
4639
4640 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.TaskPacket)
4641 private:
4642 class _Internal;
4643 void set_has_dive();
4644 void set_has_storm_air_descent();
4645 void set_has_storm_ctd_profile();
4646
4647 inline bool has_vertical_data() const;
4648 inline void clear_has_vertical_data();
4649
4650 // helper for ByteSizeLong()
4651 size_t RequiredFieldsByteSizeFallback() const;
4652
4653 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4654 typedef void InternalArenaConstructable_;
4655 typedef void DestructorSkippable_;
4656 struct Impl_ {
4657 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4658 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4659 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mission_name_;
4661 uint64_t start_time_;
4662 uint32_t bot_id_;
4663 int type_;
4664 uint64_t end_time_;
4665 uint64_t mission_command_time_;
4666 int32_t storm_id_;
4667 int link_;
4675 uint32_t _oneof_case_[1];
4676
4677 };
4678 union { Impl_ _impl_; };
4679 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4680};
4681// -------------------------------------------------------------------
4682
4683class ContactUpdate final :
4684 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.ContactUpdate) */ {
4685 public:
4686 inline ContactUpdate() : ContactUpdate(nullptr) {}
4687 ~ContactUpdate() override;
4688 explicit PROTOBUF_CONSTEXPR ContactUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4689
4692 : ContactUpdate() {
4693 *this = ::std::move(from);
4694 }
4695
4697 CopyFrom(from);
4698 return *this;
4699 }
4700 inline ContactUpdate& operator=(ContactUpdate&& from) noexcept {
4701 if (this == &from) return *this;
4702 if (GetOwningArena() == from.GetOwningArena()
4703 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4704 && GetOwningArena() != nullptr
4705 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4706 ) {
4707 InternalSwap(&from);
4708 } else {
4709 CopyFrom(from);
4710 }
4711 return *this;
4712 }
4713
4714 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4715 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4716 }
4717 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4718 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4719 }
4720
4721 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4722 return GetDescriptor();
4723 }
4724 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4725 return default_instance().GetMetadata().descriptor;
4726 }
4727 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4728 return default_instance().GetMetadata().reflection;
4729 }
4731 return *internal_default_instance();
4732 }
4734 return reinterpret_cast<const ContactUpdate*>(
4736 }
4737 static constexpr int kIndexInFileMessages =
4738 14;
4739
4740 friend void swap(ContactUpdate& a, ContactUpdate& b) {
4741 a.Swap(&b);
4742 }
4743 inline void Swap(ContactUpdate* other) {
4744 if (other == this) return;
4745 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4746 if (GetOwningArena() != nullptr &&
4747 GetOwningArena() == other->GetOwningArena()) {
4748 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4749 if (GetOwningArena() == other->GetOwningArena()) {
4750 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4751 InternalSwap(other);
4752 } else {
4753 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4754 }
4755 }
4757 if (other == this) return;
4758 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4759 InternalSwap(other);
4760 }
4761
4762 // implements Message ----------------------------------------------
4763
4764 ContactUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4765 return CreateMaybeMessage<ContactUpdate>(arena);
4766 }
4767 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4768 void CopyFrom(const ContactUpdate& from);
4769 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4770 void MergeFrom( const ContactUpdate& from) {
4771 ContactUpdate::MergeImpl(*this, from);
4772 }
4773 private:
4774 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4775 public:
4776 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4777 bool IsInitialized() const final;
4778
4779 size_t ByteSizeLong() const final;
4780 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4782 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4783 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4784
4785 private:
4786 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4787 void SharedDtor();
4788 void SetCachedSize(int size) const final;
4789 void InternalSwap(ContactUpdate* other);
4790
4791 private:
4792 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4793 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4794 return "jaiabot.protobuf.ContactUpdate";
4795 }
4796 protected:
4797 explicit ContactUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4798 bool is_message_owned = false);
4799 public:
4800
4801 static const ClassData _class_data_;
4802 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4803
4804 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4805
4806 // nested types ----------------------------------------------------
4807
4808 // accessors -------------------------------------------------------
4809
4810 enum : int {
4815 };
4816 // required .jaiabot.protobuf.GeographicCoordinate location = 2;
4817 bool has_location() const;
4818 private:
4819 bool _internal_has_location() const;
4820 public:
4822 const ::jaiabot::protobuf::GeographicCoordinate& location() const;
4823 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
4826 private:
4827 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
4828 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
4829 public:
4833
4834 // optional double speed_over_ground = 3 [(.dccl.field) = {
4835 bool has_speed_over_ground() const;
4836 private:
4837 bool _internal_has_speed_over_ground() const;
4838 public:
4840 double speed_over_ground() const;
4841 void set_speed_over_ground(double value);
4842 private:
4843 double _internal_speed_over_ground() const;
4844 void _internal_set_speed_over_ground(double value);
4845 public:
4846
4847 // optional double heading_or_cog = 5 [(.dccl.field) = {
4848 bool has_heading_or_cog() const;
4849 private:
4850 bool _internal_has_heading_or_cog() const;
4851 public:
4852 void clear_heading_or_cog();
4853 double heading_or_cog() const;
4854 void set_heading_or_cog(double value);
4855 private:
4856 double _internal_heading_or_cog() const;
4857 void _internal_set_heading_or_cog(double value);
4858 public:
4859
4860 // optional int32 contact = 1 [(.dccl.field) = {
4861 bool has_contact() const;
4862 private:
4863 bool _internal_has_contact() const;
4864 public:
4865 void clear_contact();
4866 int32_t contact() const;
4867 void set_contact(int32_t value);
4868 private:
4869 int32_t _internal_contact() const;
4870 void _internal_set_contact(int32_t value);
4871 public:
4872
4873 enum DCCLParameters { DCCL_ID = 20482, DCCL_MAX_BYTES = 16 };
4874 typedef boost::units::velocity_dimension speed_over_ground_dimension;
4875
4876 typedef boost::units::unit<speed_over_ground_dimension,boost::units::si::system> speed_over_ground_unit;
4877
4878 template<typename Quantity >
4879 void set_speed_over_ground_with_units(Quantity value_w_units)
4880 { set_speed_over_ground(boost::units::quantity<speed_over_ground_unit,double >(value_w_units).value() ); };
4881
4882 template<typename Quantity >
4884 { return Quantity(speed_over_ground() * speed_over_ground_unit()); };
4885
4886 boost::units::quantity< speed_over_ground_unit,double > speed_over_ground_with_units() const
4888
4889 typedef boost::units::plane_angle_dimension heading_or_cog_dimension;
4890
4891 typedef boost::units::unit<heading_or_cog_dimension,boost::units::degree::system> heading_or_cog_unit;
4892
4893 template<typename Quantity >
4894 void set_heading_or_cog_with_units(Quantity value_w_units)
4895 { set_heading_or_cog(boost::units::quantity<heading_or_cog_unit,double >(value_w_units).value() ); };
4896
4897 template<typename Quantity >
4899 { return Quantity(heading_or_cog() * heading_or_cog_unit()); };
4900
4901 boost::units::quantity< heading_or_cog_unit,double > heading_or_cog_with_units() const
4903
4904 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.ContactUpdate)
4905 private:
4906 class _Internal;
4907
4908 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4909 typedef void InternalArenaConstructable_;
4910 typedef void DestructorSkippable_;
4911 struct Impl_ {
4912 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4913 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4915 double speed_over_ground_;
4916 double heading_or_cog_;
4917 int32_t contact_;
4918 };
4919 union { Impl_ _impl_; };
4920 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4921};
4922// -------------------------------------------------------------------
4923
4924class Hub2HubData final :
4925 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Hub2HubData) */ {
4926 public:
4927 inline Hub2HubData() : Hub2HubData(nullptr) {}
4928 ~Hub2HubData() override;
4929 explicit PROTOBUF_CONSTEXPR Hub2HubData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4930
4932 Hub2HubData(Hub2HubData&& from) noexcept
4933 : Hub2HubData() {
4934 *this = ::std::move(from);
4935 }
4936
4937 inline Hub2HubData& operator=(const Hub2HubData& from) {
4938 CopyFrom(from);
4939 return *this;
4940 }
4941 inline Hub2HubData& operator=(Hub2HubData&& from) noexcept {
4942 if (this == &from) return *this;
4943 if (GetOwningArena() == from.GetOwningArena()
4944 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4945 && GetOwningArena() != nullptr
4946 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4947 ) {
4948 InternalSwap(&from);
4949 } else {
4950 CopyFrom(from);
4951 }
4952 return *this;
4953 }
4954
4955 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4956 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4957 }
4958 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4959 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4960 }
4961
4962 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4963 return GetDescriptor();
4964 }
4965 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4966 return default_instance().GetMetadata().descriptor;
4967 }
4968 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4969 return default_instance().GetMetadata().reflection;
4970 }
4972 return *internal_default_instance();
4973 }
4982
4984 return reinterpret_cast<const Hub2HubData*>(
4986 }
4987 static constexpr int kIndexInFileMessages =
4988 15;
4989
4990 friend void swap(Hub2HubData& a, Hub2HubData& b) {
4991 a.Swap(&b);
4992 }
4993 inline void Swap(Hub2HubData* other) {
4994 if (other == this) return;
4995 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4996 if (GetOwningArena() != nullptr &&
4997 GetOwningArena() == other->GetOwningArena()) {
4998 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4999 if (GetOwningArena() == other->GetOwningArena()) {
5000 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5001 InternalSwap(other);
5002 } else {
5003 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5004 }
5005 }
5007 if (other == this) return;
5008 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5009 InternalSwap(other);
5010 }
5011
5012 // implements Message ----------------------------------------------
5013
5014 Hub2HubData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
5015 return CreateMaybeMessage<Hub2HubData>(arena);
5016 }
5017 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
5018 void CopyFrom(const Hub2HubData& from);
5019 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
5020 void MergeFrom( const Hub2HubData& from) {
5021 Hub2HubData::MergeImpl(*this, from);
5022 }
5023 private:
5024 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
5025 public:
5026 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5027 bool IsInitialized() const final;
5028
5029 size_t ByteSizeLong() const final;
5030 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5032 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5033 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5034
5035 private:
5036 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5037 void SharedDtor();
5038 void SetCachedSize(int size) const final;
5039 void InternalSwap(Hub2HubData* other);
5040
5041 private:
5042 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5043 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5044 return "jaiabot.protobuf.Hub2HubData";
5045 }
5046 protected:
5047 explicit Hub2HubData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5048 bool is_message_owned = false);
5049 public:
5050
5051 static const ClassData _class_data_;
5052 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
5053
5054 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5055
5056 // nested types ----------------------------------------------------
5057
5058 // accessors -------------------------------------------------------
5059
5060 enum : int {
5069 };
5070 // required uint64 time = 2 [(.dccl.field) = {
5071 bool has_time() const;
5072 private:
5073 bool _internal_has_time() const;
5074 public:
5075 void clear_time();
5076 uint64_t time() const;
5077 void set_time(uint64_t value);
5078 private:
5079 uint64_t _internal_time() const;
5080 void _internal_set_time(uint64_t value);
5081 public:
5082
5083 // required uint32 hub_id = 1 [(.dccl.field) = {
5084 bool has_hub_id() const;
5085 private:
5086 bool _internal_has_hub_id() const;
5087 public:
5088 void clear_hub_id();
5089 uint32_t hub_id() const;
5090 void set_hub_id(uint32_t value);
5091 private:
5092 uint32_t _internal_hub_id() const;
5093 void _internal_set_hub_id(uint32_t value);
5094 public:
5095
5096 // optional .jaiabot.protobuf.Link bot_link = 3;
5097 bool has_bot_link() const;
5098 private:
5099 bool _internal_has_bot_link() const;
5100 public:
5101 void clear_bot_link();
5102 ::jaiabot::protobuf::Link bot_link() const;
5103 void set_bot_link(::jaiabot::protobuf::Link value);
5104 private:
5105 ::jaiabot::protobuf::Link _internal_bot_link() const;
5106 void _internal_set_bot_link(::jaiabot::protobuf::Link value);
5107 public:
5108
5109 // .jaiabot.protobuf.BotStatus bot_status = 10;
5110 bool has_bot_status() const;
5111 private:
5112 bool _internal_has_bot_status() const;
5113 public:
5114 void clear_bot_status();
5115 const ::jaiabot::protobuf::BotStatus& bot_status() const;
5116 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus* release_bot_status();
5117 ::jaiabot::protobuf::BotStatus* mutable_bot_status();
5119 private:
5120 const ::jaiabot::protobuf::BotStatus& _internal_bot_status() const;
5121 ::jaiabot::protobuf::BotStatus* _internal_mutable_bot_status();
5122 public:
5126
5127 // .jaiabot.protobuf.TaskPacket task_packet = 11;
5128 bool has_task_packet() const;
5129 private:
5130 bool _internal_has_task_packet() const;
5131 public:
5132 void clear_task_packet();
5133 const ::jaiabot::protobuf::TaskPacket& task_packet() const;
5134 PROTOBUF_NODISCARD ::jaiabot::protobuf::TaskPacket* release_task_packet();
5137 private:
5138 const ::jaiabot::protobuf::TaskPacket& _internal_task_packet() const;
5139 ::jaiabot::protobuf::TaskPacket* _internal_mutable_task_packet();
5140 public:
5144
5145 // .jaiabot.protobuf.Command command_for_bot = 12;
5146 bool has_command_for_bot() const;
5147 private:
5148 bool _internal_has_command_for_bot() const;
5149 public:
5150 void clear_command_for_bot();
5151 const ::jaiabot::protobuf::Command& command_for_bot() const;
5152 PROTOBUF_NODISCARD ::jaiabot::protobuf::Command* release_command_for_bot();
5155 private:
5156 const ::jaiabot::protobuf::Command& _internal_command_for_bot() const;
5157 ::jaiabot::protobuf::Command* _internal_mutable_command_for_bot();
5158 public:
5162
5163 // .jaiabot.protobuf.CommandCommsResult command_comms_result = 13;
5164 bool has_command_comms_result() const;
5165 private:
5166 bool _internal_has_command_comms_result() const;
5167 public:
5169 const ::jaiabot::protobuf::CommandCommsResult& command_comms_result() const;
5170 PROTOBUF_NODISCARD ::jaiabot::protobuf::CommandCommsResult* release_command_comms_result();
5173 private:
5174 const ::jaiabot::protobuf::CommandCommsResult& _internal_command_comms_result() const;
5175 ::jaiabot::protobuf::CommandCommsResult* _internal_mutable_command_comms_result();
5176 public:
5180
5181 // .jaiabot.protobuf.HubStatus hub_status = 14;
5182 bool has_hub_status() const;
5183 private:
5184 bool _internal_has_hub_status() const;
5185 public:
5187 const ::jaiabot::protobuf::HubStatus& hub_status() const;
5188 PROTOBUF_NODISCARD ::jaiabot::protobuf::HubStatus* release_hub_status();
5191 private:
5192 const ::jaiabot::protobuf::HubStatus& _internal_hub_status() const;
5193 ::jaiabot::protobuf::HubStatus* _internal_mutable_hub_status();
5194 public:
5198
5201 enum DCCLParameters { DCCL_ID = 20483, DCCL_MAX_BYTES = 1000 };
5202 typedef boost::units::time_dimension time_dimension;
5203
5204 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;
5205
5206 template<typename Quantity >
5207 void set_time_with_units(Quantity value_w_units)
5208 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
5209
5210 template<typename Quantity >
5211 Quantity time_with_units() const
5212 { return Quantity(time() * time_unit()); };
5213
5214 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
5216
5217 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Hub2HubData)
5218 private:
5219 class _Internal;
5220 void set_has_bot_status();
5221 void set_has_task_packet();
5222 void set_has_command_for_bot();
5223 void set_has_command_comms_result();
5224 void set_has_hub_status();
5225
5226 inline bool has_contents() const;
5227 inline void clear_has_contents();
5228
5229 // helper for ByteSizeLong()
5230 size_t RequiredFieldsByteSizeFallback() const;
5231
5232 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5233 typedef void InternalArenaConstructable_;
5234 typedef void DestructorSkippable_;
5235 struct Impl_ {
5236 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5237 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5238 uint64_t time_;
5239 uint32_t hub_id_;
5240 int bot_link_;
5250 uint32_t _oneof_case_[1];
5251
5252 };
5253 union { Impl_ _impl_; };
5254 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
5255};
5256// -------------------------------------------------------------------
5257
5259 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.CommandCommsResult) */ {
5260 public:
5263 explicit PROTOBUF_CONSTEXPR CommandCommsResult(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5264
5267 : CommandCommsResult() {
5268 *this = ::std::move(from);
5269 }
5270
5272 CopyFrom(from);
5273 return *this;
5274 }
5276 if (this == &from) return *this;
5277 if (GetOwningArena() == from.GetOwningArena()
5278 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5279 && GetOwningArena() != nullptr
5280 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
5281 ) {
5282 InternalSwap(&from);
5283 } else {
5284 CopyFrom(from);
5285 }
5286 return *this;
5287 }
5288
5289 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
5290 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
5291 }
5292 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
5293 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
5294 }
5295
5296 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5297 return GetDescriptor();
5298 }
5299 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5300 return default_instance().GetMetadata().descriptor;
5301 }
5302 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5303 return default_instance().GetMetadata().reflection;
5304 }
5306 return *internal_default_instance();
5307 }
5309 return reinterpret_cast<const CommandCommsResult*>(
5311 }
5312 static constexpr int kIndexInFileMessages =
5313 16;
5314
5316 a.Swap(&b);
5317 }
5318 inline void Swap(CommandCommsResult* other) {
5319 if (other == this) return;
5320 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5321 if (GetOwningArena() != nullptr &&
5322 GetOwningArena() == other->GetOwningArena()) {
5323 #else // PROTOBUF_FORCE_COPY_IN_SWAP
5324 if (GetOwningArena() == other->GetOwningArena()) {
5325 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5326 InternalSwap(other);
5327 } else {
5328 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5329 }
5330 }
5332 if (other == this) return;
5333 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5334 InternalSwap(other);
5335 }
5336
5337 // implements Message ----------------------------------------------
5338
5339 CommandCommsResult* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
5340 return CreateMaybeMessage<CommandCommsResult>(arena);
5341 }
5342 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
5343 void CopyFrom(const CommandCommsResult& from);
5344 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
5345 void MergeFrom( const CommandCommsResult& from) {
5346 CommandCommsResult::MergeImpl(*this, from);
5347 }
5348 private:
5349 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
5350 public:
5351 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5352 bool IsInitialized() const final;
5353
5354 size_t ByteSizeLong() const final;
5355 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5357 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5358 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5359
5360 private:
5361 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5362 void SharedDtor();
5363 void SetCachedSize(int size) const final;
5364 void InternalSwap(CommandCommsResult* other);
5365
5366 private:
5367 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5368 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5369 return "jaiabot.protobuf.CommandCommsResult";
5370 }
5371 protected:
5372 explicit CommandCommsResult(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5373 bool is_message_owned = false);
5374 public:
5375
5376 static const ClassData _class_data_;
5377 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
5378
5379 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5380
5381 // nested types ----------------------------------------------------
5382
5384 static constexpr CommsResult SUCCESS =
5386 static constexpr CommsResult FAILURE =
5388 static inline bool CommsResult_IsValid(int value) {
5390 }
5391 static constexpr CommsResult CommsResult_MIN =
5393 static constexpr CommsResult CommsResult_MAX =
5395 static constexpr int CommsResult_ARRAYSIZE =
5397 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
5401 template<typename T>
5402 static inline const std::string& CommsResult_Name(T enum_t_value) {
5403 static_assert(::std::is_same<T, CommsResult>::value ||
5404 ::std::is_integral<T>::value,
5405 "Incorrect type passed to function CommsResult_Name.");
5406 return CommandCommsResult_CommsResult_Name(enum_t_value);
5407 }
5408 static inline bool CommsResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
5409 CommsResult* value) {
5410 return CommandCommsResult_CommsResult_Parse(name, value);
5411 }
5412
5413 // accessors -------------------------------------------------------
5414
5415 enum : int {
5419 };
5420 // required .jaiabot.protobuf.Command orig_command = 3;
5421 bool has_orig_command() const;
5422 private:
5423 bool _internal_has_orig_command() const;
5424 public:
5425 void clear_orig_command();
5426 const ::jaiabot::protobuf::Command& orig_command() const;
5427 PROTOBUF_NODISCARD ::jaiabot::protobuf::Command* release_orig_command();
5428 ::jaiabot::protobuf::Command* mutable_orig_command();
5429 void set_allocated_orig_command(::jaiabot::protobuf::Command* orig_command);
5430 private:
5431 const ::jaiabot::protobuf::Command& _internal_orig_command() const;
5432 ::jaiabot::protobuf::Command* _internal_mutable_orig_command();
5433 public:
5434 void unsafe_arena_set_allocated_orig_command(
5435 ::jaiabot::protobuf::Command* orig_command);
5436 ::jaiabot::protobuf::Command* unsafe_arena_release_orig_command();
5437
5438 // required .jaiabot.protobuf.CommandCommsResult.CommsResult result = 1;
5439 bool has_result() const;
5440 private:
5441 bool _internal_has_result() const;
5442 public:
5443 void clear_result();
5446 private:
5448 void _internal_set_result(::jaiabot::protobuf::CommandCommsResult_CommsResult value);
5449 public:
5450
5451 // required .jaiabot.protobuf.Link link = 2;
5452 bool has_link() const;
5453 private:
5454 bool _internal_has_link() const;
5455 public:
5456 void clear_link();
5457 ::jaiabot::protobuf::Link link() const;
5458 void set_link(::jaiabot::protobuf::Link value);
5459 private:
5460 ::jaiabot::protobuf::Link _internal_link() const;
5461 void _internal_set_link(::jaiabot::protobuf::Link value);
5462 public:
5463
5464 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.CommandCommsResult)
5465 private:
5466 class _Internal;
5467
5468 // helper for ByteSizeLong()
5469 size_t RequiredFieldsByteSizeFallback() const;
5470
5471 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5472 typedef void InternalArenaConstructable_;
5473 typedef void DestructorSkippable_;
5474 struct Impl_ {
5475 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5476 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5477 ::jaiabot::protobuf::Command* orig_command_;
5478 int result_;
5479 int link_;
5480 };
5481 union { Impl_ _impl_; };
5482 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
5483};
5484// ===================================================================
5485
5486
5487// ===================================================================
5488
5489#ifdef __GNUC__
5490 #pragma GCC diagnostic push
5491 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
5492#endif // __GNUC__
5493// Command
5494
5495// required uint32 bot_id = 1 [(.dccl.field) = {
5496inline bool Command::_internal_has_bot_id() const {
5497 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5498 return value;
5499}
5500inline bool Command::has_bot_id() const {
5501 return _internal_has_bot_id();
5502}
5504 _impl_.bot_id_ = 0u;
5505 _impl_._has_bits_[0] &= ~0x00000002u;
5506}
5507inline uint32_t Command::_internal_bot_id() const {
5508 return _impl_.bot_id_;
5509}
5510inline uint32_t Command::bot_id() const {
5511 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.bot_id)
5512 return _internal_bot_id();
5513}
5514inline void Command::_internal_set_bot_id(uint32_t value) {
5515 _impl_._has_bits_[0] |= 0x00000002u;
5516 _impl_.bot_id_ = value;
5517}
5518inline void Command::set_bot_id(uint32_t value) {
5519 _internal_set_bot_id(value);
5520 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.bot_id)
5521}
5522
5523// required uint64 time = 2 [(.dccl.field) = {
5524inline bool Command::_internal_has_time() const {
5525 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5526 return value;
5527}
5528inline bool Command::has_time() const {
5529 return _internal_has_time();
5530}
5531inline void Command::clear_time() {
5532 _impl_.time_ = uint64_t{0u};
5533 _impl_._has_bits_[0] &= ~0x00000001u;
5534}
5535inline uint64_t Command::_internal_time() const {
5536 return _impl_.time_;
5537}
5538inline uint64_t Command::time() const {
5539 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.time)
5540 return _internal_time();
5541}
5542inline void Command::_internal_set_time(uint64_t value) {
5543 _impl_._has_bits_[0] |= 0x00000001u;
5544 _impl_.time_ = value;
5545}
5546inline void Command::set_time(uint64_t value) {
5547 _internal_set_time(value);
5548 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.time)
5549}
5550
5551// optional .jaiabot.protobuf.Link link = 3 [(.dccl.field) = {
5552inline bool Command::_internal_has_link() const {
5553 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5554 return value;
5555}
5556inline bool Command::has_link() const {
5557 return _internal_has_link();
5558}
5559inline void Command::clear_link() {
5560 _impl_.link_ = -1;
5561 _impl_._has_bits_[0] &= ~0x00000008u;
5562}
5563inline ::jaiabot::protobuf::Link Command::_internal_link() const {
5564 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
5565}
5566inline ::jaiabot::protobuf::Link Command::link() const {
5567 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.link)
5568 return _internal_link();
5569}
5570inline void Command::_internal_set_link(::jaiabot::protobuf::Link value) {
5571 assert(::jaiabot::protobuf::Link_IsValid(value));
5572 _impl_._has_bits_[0] |= 0x00000008u;
5573 _impl_.link_ = value;
5574}
5576 _internal_set_link(value);
5577 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.link)
5578}
5579
5580// optional uint32 from_hub_id = 4 [(.dccl.field) = {
5581inline bool Command::_internal_has_from_hub_id() const {
5582 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5583 return value;
5584}
5585inline bool Command::has_from_hub_id() const {
5586 return _internal_has_from_hub_id();
5587}
5589 _impl_.from_hub_id_ = 0u;
5590 _impl_._has_bits_[0] &= ~0x00000004u;
5591}
5592inline uint32_t Command::_internal_from_hub_id() const {
5593 return _impl_.from_hub_id_;
5594}
5595inline uint32_t Command::from_hub_id() const {
5596 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.from_hub_id)
5597 return _internal_from_hub_id();
5598}
5599inline void Command::_internal_set_from_hub_id(uint32_t value) {
5600 _impl_._has_bits_[0] |= 0x00000004u;
5601 _impl_.from_hub_id_ = value;
5602}
5603inline void Command::set_from_hub_id(uint32_t value) {
5604 _internal_set_from_hub_id(value);
5605 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.from_hub_id)
5606}
5607
5608// required .jaiabot.protobuf.Command.CommandType type = 10 [(.jaia.field) = {
5609inline bool Command::_internal_has_type() const {
5610 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5611 return value;
5612}
5613inline bool Command::has_type() const {
5614 return _internal_has_type();
5615}
5616inline void Command::clear_type() {
5617 _impl_.type_ = 1;
5618 _impl_._has_bits_[0] &= ~0x00000010u;
5619}
5620inline ::jaiabot::protobuf::Command_CommandType Command::_internal_type() const {
5621 return static_cast< ::jaiabot::protobuf::Command_CommandType >(_impl_.type_);
5622}
5623inline ::jaiabot::protobuf::Command_CommandType Command::type() const {
5624 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.type)
5625 return _internal_type();
5626}
5627inline void Command::_internal_set_type(::jaiabot::protobuf::Command_CommandType value) {
5629 _impl_._has_bits_[0] |= 0x00000010u;
5630 _impl_.type_ = value;
5631}
5633 _internal_set_type(value);
5634 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.type)
5635}
5636
5637// .jaiabot.protobuf.MissionPlan plan = 20 [(.jaia.field) = {
5638inline bool Command::_internal_has_plan() const {
5639 return command_data_case() == kPlan;
5640}
5641inline bool Command::has_plan() const {
5642 return _internal_has_plan();
5643}
5644inline void Command::set_has_plan() {
5645 _impl_._oneof_case_[0] = kPlan;
5646}
5647inline ::jaiabot::protobuf::MissionPlan* Command::release_plan() {
5648 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.plan)
5649 if (_internal_has_plan()) {
5650 clear_has_command_data();
5651 ::jaiabot::protobuf::MissionPlan* temp = _impl_.command_data_.plan_;
5652 if (GetArenaForAllocation() != nullptr) {
5653 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5654 }
5655 _impl_.command_data_.plan_ = nullptr;
5656 return temp;
5657 } else {
5658 return nullptr;
5659 }
5660}
5661inline const ::jaiabot::protobuf::MissionPlan& Command::_internal_plan() const {
5662 return _internal_has_plan()
5663 ? *_impl_.command_data_.plan_
5665}
5666inline const ::jaiabot::protobuf::MissionPlan& Command::plan() const {
5667 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.plan)
5668 return _internal_plan();
5669}
5670inline ::jaiabot::protobuf::MissionPlan* Command::unsafe_arena_release_plan() {
5671 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.plan)
5672 if (_internal_has_plan()) {
5673 clear_has_command_data();
5674 ::jaiabot::protobuf::MissionPlan* temp = _impl_.command_data_.plan_;
5675 _impl_.command_data_.plan_ = nullptr;
5676 return temp;
5677 } else {
5678 return nullptr;
5679 }
5680}
5683 if (plan) {
5684 set_has_plan();
5685 _impl_.command_data_.plan_ = plan;
5686 }
5687 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.plan)
5688}
5689inline ::jaiabot::protobuf::MissionPlan* Command::_internal_mutable_plan() {
5690 if (!_internal_has_plan()) {
5691 clear_command_data();
5692 set_has_plan();
5693 _impl_.command_data_.plan_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionPlan >(GetArenaForAllocation());
5694 }
5695 return _impl_.command_data_.plan_;
5696}
5697inline ::jaiabot::protobuf::MissionPlan* Command::mutable_plan() {
5698 ::jaiabot::protobuf::MissionPlan* _msg = _internal_mutable_plan();
5699 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.plan)
5700 return _msg;
5701}
5702
5703// .jaiabot.protobuf.RemoteControl rc = 30 [(.jaia.field) = {
5704inline bool Command::_internal_has_rc() const {
5705 return command_data_case() == kRc;
5706}
5707inline bool Command::has_rc() const {
5708 return _internal_has_rc();
5709}
5710inline void Command::set_has_rc() {
5711 _impl_._oneof_case_[0] = kRc;
5712}
5713inline ::jaiabot::protobuf::RemoteControl* Command::release_rc() {
5714 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.rc)
5715 if (_internal_has_rc()) {
5716 clear_has_command_data();
5717 ::jaiabot::protobuf::RemoteControl* temp = _impl_.command_data_.rc_;
5718 if (GetArenaForAllocation() != nullptr) {
5719 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5720 }
5721 _impl_.command_data_.rc_ = nullptr;
5722 return temp;
5723 } else {
5724 return nullptr;
5725 }
5726}
5727inline const ::jaiabot::protobuf::RemoteControl& Command::_internal_rc() const {
5728 return _internal_has_rc()
5729 ? *_impl_.command_data_.rc_
5731}
5732inline const ::jaiabot::protobuf::RemoteControl& Command::rc() const {
5733 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.rc)
5734 return _internal_rc();
5735}
5736inline ::jaiabot::protobuf::RemoteControl* Command::unsafe_arena_release_rc() {
5737 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.rc)
5738 if (_internal_has_rc()) {
5739 clear_has_command_data();
5740 ::jaiabot::protobuf::RemoteControl* temp = _impl_.command_data_.rc_;
5741 _impl_.command_data_.rc_ = nullptr;
5742 return temp;
5743 } else {
5744 return nullptr;
5745 }
5746}
5749 if (rc) {
5750 set_has_rc();
5751 _impl_.command_data_.rc_ = rc;
5752 }
5753 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.rc)
5754}
5755inline ::jaiabot::protobuf::RemoteControl* Command::_internal_mutable_rc() {
5756 if (!_internal_has_rc()) {
5757 clear_command_data();
5758 set_has_rc();
5759 _impl_.command_data_.rc_ = CreateMaybeMessage< ::jaiabot::protobuf::RemoteControl >(GetArenaForAllocation());
5760 }
5761 return _impl_.command_data_.rc_;
5762}
5763inline ::jaiabot::protobuf::RemoteControl* Command::mutable_rc() {
5764 ::jaiabot::protobuf::RemoteControl* _msg = _internal_mutable_rc();
5765 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.rc)
5766 return _msg;
5767}
5768
5769// .jaiabot.protobuf.MissionTask rc_task = 31;
5770inline bool Command::_internal_has_rc_task() const {
5771 return command_data_case() == kRcTask;
5772}
5773inline bool Command::has_rc_task() const {
5774 return _internal_has_rc_task();
5775}
5776inline void Command::set_has_rc_task() {
5777 _impl_._oneof_case_[0] = kRcTask;
5778}
5779inline ::jaiabot::protobuf::MissionTask* Command::release_rc_task() {
5780 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.rc_task)
5781 if (_internal_has_rc_task()) {
5782 clear_has_command_data();
5783 ::jaiabot::protobuf::MissionTask* temp = _impl_.command_data_.rc_task_;
5784 if (GetArenaForAllocation() != nullptr) {
5785 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5786 }
5787 _impl_.command_data_.rc_task_ = nullptr;
5788 return temp;
5789 } else {
5790 return nullptr;
5791 }
5792}
5793inline const ::jaiabot::protobuf::MissionTask& Command::_internal_rc_task() const {
5794 return _internal_has_rc_task()
5795 ? *_impl_.command_data_.rc_task_
5797}
5798inline const ::jaiabot::protobuf::MissionTask& Command::rc_task() const {
5799 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.rc_task)
5800 return _internal_rc_task();
5801}
5802inline ::jaiabot::protobuf::MissionTask* Command::unsafe_arena_release_rc_task() {
5803 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.rc_task)
5804 if (_internal_has_rc_task()) {
5805 clear_has_command_data();
5806 ::jaiabot::protobuf::MissionTask* temp = _impl_.command_data_.rc_task_;
5807 _impl_.command_data_.rc_task_ = nullptr;
5808 return temp;
5809 } else {
5810 return nullptr;
5811 }
5812}
5815 if (rc_task) {
5816 set_has_rc_task();
5817 _impl_.command_data_.rc_task_ = rc_task;
5818 }
5819 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.rc_task)
5820}
5821inline ::jaiabot::protobuf::MissionTask* Command::_internal_mutable_rc_task() {
5822 if (!_internal_has_rc_task()) {
5823 clear_command_data();
5824 set_has_rc_task();
5825 _impl_.command_data_.rc_task_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionTask >(GetArenaForAllocation());
5826 }
5827 return _impl_.command_data_.rc_task_;
5828}
5829inline ::jaiabot::protobuf::MissionTask* Command::mutable_rc_task() {
5830 ::jaiabot::protobuf::MissionTask* _msg = _internal_mutable_rc_task();
5831 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.rc_task)
5832 return _msg;
5833}
5834
5835// .jaiabot.protobuf.StormMissionUpdate storm = 40;
5836inline bool Command::_internal_has_storm() const {
5837 return command_data_case() == kStorm;
5838}
5839inline bool Command::has_storm() const {
5840 return _internal_has_storm();
5841}
5842inline void Command::set_has_storm() {
5843 _impl_._oneof_case_[0] = kStorm;
5844}
5845inline ::jaiabot::protobuf::StormMissionUpdate* Command::release_storm() {
5846 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.storm)
5847 if (_internal_has_storm()) {
5848 clear_has_command_data();
5849 ::jaiabot::protobuf::StormMissionUpdate* temp = _impl_.command_data_.storm_;
5850 if (GetArenaForAllocation() != nullptr) {
5851 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5852 }
5853 _impl_.command_data_.storm_ = nullptr;
5854 return temp;
5855 } else {
5856 return nullptr;
5857 }
5858}
5859inline const ::jaiabot::protobuf::StormMissionUpdate& Command::_internal_storm() const {
5860 return _internal_has_storm()
5861 ? *_impl_.command_data_.storm_
5863}
5864inline const ::jaiabot::protobuf::StormMissionUpdate& Command::storm() const {
5865 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.storm)
5866 return _internal_storm();
5867}
5868inline ::jaiabot::protobuf::StormMissionUpdate* Command::unsafe_arena_release_storm() {
5869 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.storm)
5870 if (_internal_has_storm()) {
5871 clear_has_command_data();
5872 ::jaiabot::protobuf::StormMissionUpdate* temp = _impl_.command_data_.storm_;
5873 _impl_.command_data_.storm_ = nullptr;
5874 return temp;
5875 } else {
5876 return nullptr;
5877 }
5878}
5881 if (storm) {
5882 set_has_storm();
5883 _impl_.command_data_.storm_ = storm;
5884 }
5885 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.storm)
5886}
5887inline ::jaiabot::protobuf::StormMissionUpdate* Command::_internal_mutable_storm() {
5888 if (!_internal_has_storm()) {
5889 clear_command_data();
5890 set_has_storm();
5891 _impl_.command_data_.storm_ = CreateMaybeMessage< ::jaiabot::protobuf::StormMissionUpdate >(GetArenaForAllocation());
5892 }
5893 return _impl_.command_data_.storm_;
5894}
5895inline ::jaiabot::protobuf::StormMissionUpdate* Command::mutable_storm() {
5896 ::jaiabot::protobuf::StormMissionUpdate* _msg = _internal_mutable_storm();
5897 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.storm)
5898 return _msg;
5899}
5900
5901inline bool Command::has_command_data() const {
5902 return command_data_case() != COMMAND_DATA_NOT_SET;
5903}
5904inline void Command::clear_has_command_data() {
5905 _impl_._oneof_case_[0] = COMMAND_DATA_NOT_SET;
5906}
5908 return Command::CommandDataCase(_impl_._oneof_case_[0]);
5909}
5910// -------------------------------------------------------------------
5911
5912// CommandForHub
5913
5914// required uint32 hub_id = 1 [(.jaia.field) = {
5915inline bool CommandForHub::_internal_has_hub_id() const {
5916 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5917 return value;
5918}
5919inline bool CommandForHub::has_hub_id() const {
5920 return _internal_has_hub_id();
5921}
5923 _impl_.hub_id_ = 0u;
5924 _impl_._has_bits_[0] &= ~0x00000004u;
5925}
5926inline uint32_t CommandForHub::_internal_hub_id() const {
5927 return _impl_.hub_id_;
5928}
5929inline uint32_t CommandForHub::hub_id() const {
5930 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.hub_id)
5931 return _internal_hub_id();
5932}
5933inline void CommandForHub::_internal_set_hub_id(uint32_t value) {
5934 _impl_._has_bits_[0] |= 0x00000004u;
5935 _impl_.hub_id_ = value;
5936}
5937inline void CommandForHub::set_hub_id(uint32_t value) {
5938 _internal_set_hub_id(value);
5939 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.hub_id)
5940}
5941
5942// required uint64 time = 2 [(.dccl.field) = {
5943inline bool CommandForHub::_internal_has_time() const {
5944 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5945 return value;
5946}
5947inline bool CommandForHub::has_time() const {
5948 return _internal_has_time();
5949}
5951 _impl_.time_ = uint64_t{0u};
5952 _impl_._has_bits_[0] &= ~0x00000002u;
5953}
5954inline uint64_t CommandForHub::_internal_time() const {
5955 return _impl_.time_;
5956}
5957inline uint64_t CommandForHub::time() const {
5958 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.time)
5959 return _internal_time();
5960}
5961inline void CommandForHub::_internal_set_time(uint64_t value) {
5962 _impl_._has_bits_[0] |= 0x00000002u;
5963 _impl_.time_ = value;
5964}
5965inline void CommandForHub::set_time(uint64_t value) {
5966 _internal_set_time(value);
5967 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.time)
5968}
5969
5970// required .jaiabot.protobuf.CommandForHub.HubCommandType type = 10 [(.jaia.field) = {
5971inline bool CommandForHub::_internal_has_type() const {
5972 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5973 return value;
5974}
5975inline bool CommandForHub::has_type() const {
5976 return _internal_has_type();
5977}
5979 _impl_.type_ = 5;
5980 _impl_._has_bits_[0] &= ~0x00000010u;
5981}
5982inline ::jaiabot::protobuf::CommandForHub_HubCommandType CommandForHub::_internal_type() const {
5983 return static_cast< ::jaiabot::protobuf::CommandForHub_HubCommandType >(_impl_.type_);
5984}
5985inline ::jaiabot::protobuf::CommandForHub_HubCommandType CommandForHub::type() const {
5986 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.type)
5987 return _internal_type();
5988}
5989inline void CommandForHub::_internal_set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value) {
5991 _impl_._has_bits_[0] |= 0x00000010u;
5992 _impl_.type_ = value;
5993}
5995 _internal_set_type(value);
5996 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.type)
5997}
5998
5999// optional uint32 scan_for_bot_id = 11;
6000inline bool CommandForHub::_internal_has_scan_for_bot_id() const {
6001 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6002 return value;
6003}
6005 return _internal_has_scan_for_bot_id();
6006}
6008 _impl_.scan_for_bot_id_ = 0u;
6009 _impl_._has_bits_[0] &= ~0x00000008u;
6010}
6011inline uint32_t CommandForHub::_internal_scan_for_bot_id() const {
6012 return _impl_.scan_for_bot_id_;
6013}
6014inline uint32_t CommandForHub::scan_for_bot_id() const {
6015 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.scan_for_bot_id)
6016 return _internal_scan_for_bot_id();
6017}
6018inline void CommandForHub::_internal_set_scan_for_bot_id(uint32_t value) {
6019 _impl_._has_bits_[0] |= 0x00000008u;
6020 _impl_.scan_for_bot_id_ = value;
6021}
6022inline void CommandForHub::set_scan_for_bot_id(uint32_t value) {
6023 _internal_set_scan_for_bot_id(value);
6024 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.scan_for_bot_id)
6025}
6026
6027// optional .jaiabot.protobuf.GeographicCoordinate hub_location = 80 [(.jaia.field) = {
6028inline bool CommandForHub::_internal_has_hub_location() const {
6029 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6030 PROTOBUF_ASSUME(!value || _impl_.hub_location_ != nullptr);
6031 return value;
6032}
6034 return _internal_has_hub_location();
6035}
6036inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::_internal_hub_location() const {
6037 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.hub_location_;
6038 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
6040}
6041inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::hub_location() const {
6042 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.hub_location)
6043 return _internal_hub_location();
6044}
6047 if (GetArenaForAllocation() == nullptr) {
6048 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hub_location_);
6049 }
6050 _impl_.hub_location_ = hub_location;
6051 if (hub_location) {
6052 _impl_._has_bits_[0] |= 0x00000001u;
6053 } else {
6054 _impl_._has_bits_[0] &= ~0x00000001u;
6055 }
6056 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.CommandForHub.hub_location)
6057}
6058inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::release_hub_location() {
6059 _impl_._has_bits_[0] &= ~0x00000001u;
6061 _impl_.hub_location_ = nullptr;
6062#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6063 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6064 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6065 if (GetArenaForAllocation() == nullptr) { delete old; }
6066#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6067 if (GetArenaForAllocation() != nullptr) {
6068 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6069 }
6070#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6071 return temp;
6072}
6073inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::unsafe_arena_release_hub_location() {
6074 // @@protoc_insertion_point(field_release:jaiabot.protobuf.CommandForHub.hub_location)
6075 _impl_._has_bits_[0] &= ~0x00000001u;
6077 _impl_.hub_location_ = nullptr;
6078 return temp;
6079}
6080inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::_internal_mutable_hub_location() {
6081 _impl_._has_bits_[0] |= 0x00000001u;
6082 if (_impl_.hub_location_ == nullptr) {
6083 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
6084 _impl_.hub_location_ = p;
6085 }
6086 return _impl_.hub_location_;
6087}
6088inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::mutable_hub_location() {
6089 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_hub_location();
6090 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.CommandForHub.hub_location)
6091 return _msg;
6092}
6094 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6095 if (message_arena == nullptr) {
6096 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hub_location_);
6097 }
6098 if (hub_location) {
6099 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6100 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
6101 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hub_location));
6102 if (message_arena != submessage_arena) {
6103 hub_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6104 message_arena, hub_location, submessage_arena);
6105 }
6106 _impl_._has_bits_[0] |= 0x00000001u;
6107 } else {
6108 _impl_._has_bits_[0] &= ~0x00000001u;
6109 }
6110 _impl_.hub_location_ = hub_location;
6111 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.CommandForHub.hub_location)
6112}
6113
6114// -------------------------------------------------------------------
6115
6116// BotStatus_ActiveLink
6117
6118// required .jaiabot.protobuf.Link link = 1;
6119inline bool BotStatus_ActiveLink::_internal_has_link() const {
6120 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6121 return value;
6122}
6124 return _internal_has_link();
6125}
6127 _impl_.link_ = -1;
6128 _impl_._has_bits_[0] &= ~0x00000002u;
6129}
6130inline ::jaiabot::protobuf::Link BotStatus_ActiveLink::_internal_link() const {
6131 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
6132}
6133inline ::jaiabot::protobuf::Link BotStatus_ActiveLink::link() const {
6134 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.ActiveLink.link)
6135 return _internal_link();
6136}
6137inline void BotStatus_ActiveLink::_internal_set_link(::jaiabot::protobuf::Link value) {
6138 assert(::jaiabot::protobuf::Link_IsValid(value));
6139 _impl_._has_bits_[0] |= 0x00000002u;
6140 _impl_.link_ = value;
6141}
6143 _internal_set_link(value);
6144 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.ActiveLink.link)
6145}
6146
6147// optional uint64 last_received_time = 2 [(.dccl.field) = {
6148inline bool BotStatus_ActiveLink::_internal_has_last_received_time() const {
6149 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6150 return value;
6151}
6153 return _internal_has_last_received_time();
6154}
6156 _impl_.last_received_time_ = uint64_t{0u};
6157 _impl_._has_bits_[0] &= ~0x00000001u;
6158}
6159inline uint64_t BotStatus_ActiveLink::_internal_last_received_time() const {
6160 return _impl_.last_received_time_;
6161}
6163 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.ActiveLink.last_received_time)
6164 return _internal_last_received_time();
6165}
6166inline void BotStatus_ActiveLink::_internal_set_last_received_time(uint64_t value) {
6167 _impl_._has_bits_[0] |= 0x00000001u;
6168 _impl_.last_received_time_ = value;
6169}
6171 _internal_set_last_received_time(value);
6172 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.ActiveLink.last_received_time)
6173}
6174
6175// -------------------------------------------------------------------
6176
6177// BotStatus_Attitude
6178
6179// optional double roll = 1 [(.dccl.field) = {
6180inline bool BotStatus_Attitude::_internal_has_roll() const {
6181 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6182 return value;
6183}
6184inline bool BotStatus_Attitude::has_roll() const {
6185 return _internal_has_roll();
6186}
6188 _impl_.roll_ = 0;
6189 _impl_._has_bits_[0] &= ~0x00000001u;
6190}
6191inline double BotStatus_Attitude::_internal_roll() const {
6192 return _impl_.roll_;
6193}
6194inline double BotStatus_Attitude::roll() const {
6195 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.roll)
6196 return _internal_roll();
6197}
6198inline void BotStatus_Attitude::_internal_set_roll(double value) {
6199 _impl_._has_bits_[0] |= 0x00000001u;
6200 _impl_.roll_ = value;
6201}
6202inline void BotStatus_Attitude::set_roll(double value) {
6203 _internal_set_roll(value);
6204 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.roll)
6205}
6206
6207// optional double pitch = 2 [(.dccl.field) = {
6208inline bool BotStatus_Attitude::_internal_has_pitch() const {
6209 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6210 return value;
6211}
6213 return _internal_has_pitch();
6214}
6216 _impl_.pitch_ = 0;
6217 _impl_._has_bits_[0] &= ~0x00000002u;
6218}
6219inline double BotStatus_Attitude::_internal_pitch() const {
6220 return _impl_.pitch_;
6221}
6222inline double BotStatus_Attitude::pitch() const {
6223 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.pitch)
6224 return _internal_pitch();
6225}
6226inline void BotStatus_Attitude::_internal_set_pitch(double value) {
6227 _impl_._has_bits_[0] |= 0x00000002u;
6228 _impl_.pitch_ = value;
6229}
6230inline void BotStatus_Attitude::set_pitch(double value) {
6231 _internal_set_pitch(value);
6232 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.pitch)
6233}
6234
6235// optional double heading = 3 [(.dccl.field) = {
6236inline bool BotStatus_Attitude::_internal_has_heading() const {
6237 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6238 return value;
6239}
6241 return _internal_has_heading();
6242}
6244 _impl_.heading_ = 0;
6245 _impl_._has_bits_[0] &= ~0x00000004u;
6246}
6247inline double BotStatus_Attitude::_internal_heading() const {
6248 return _impl_.heading_;
6249}
6250inline double BotStatus_Attitude::heading() const {
6251 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.heading)
6252 return _internal_heading();
6253}
6254inline void BotStatus_Attitude::_internal_set_heading(double value) {
6255 _impl_._has_bits_[0] |= 0x00000004u;
6256 _impl_.heading_ = value;
6257}
6258inline void BotStatus_Attitude::set_heading(double value) {
6259 _internal_set_heading(value);
6260 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.heading)
6261}
6262
6263// optional double course_over_ground = 4 [(.dccl.field) = {
6264inline bool BotStatus_Attitude::_internal_has_course_over_ground() const {
6265 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6266 return value;
6267}
6269 return _internal_has_course_over_ground();
6270}
6272 _impl_.course_over_ground_ = 0;
6273 _impl_._has_bits_[0] &= ~0x00000008u;
6274}
6275inline double BotStatus_Attitude::_internal_course_over_ground() const {
6276 return _impl_.course_over_ground_;
6277}
6279 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.course_over_ground)
6280 return _internal_course_over_ground();
6281}
6282inline void BotStatus_Attitude::_internal_set_course_over_ground(double value) {
6283 _impl_._has_bits_[0] |= 0x00000008u;
6284 _impl_.course_over_ground_ = value;
6285}
6287 _internal_set_course_over_ground(value);
6288 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.course_over_ground)
6289}
6290
6291// -------------------------------------------------------------------
6292
6293// BotStatus_Speed
6294
6295// optional double over_ground = 1 [(.dccl.field) = {
6296inline bool BotStatus_Speed::_internal_has_over_ground() const {
6297 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6298 return value;
6299}
6301 return _internal_has_over_ground();
6302}
6304 _impl_.over_ground_ = 0;
6305 _impl_._has_bits_[0] &= ~0x00000001u;
6306}
6307inline double BotStatus_Speed::_internal_over_ground() const {
6308 return _impl_.over_ground_;
6309}
6310inline double BotStatus_Speed::over_ground() const {
6311 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Speed.over_ground)
6312 return _internal_over_ground();
6313}
6314inline void BotStatus_Speed::_internal_set_over_ground(double value) {
6315 _impl_._has_bits_[0] |= 0x00000001u;
6316 _impl_.over_ground_ = value;
6317}
6318inline void BotStatus_Speed::set_over_ground(double value) {
6319 _internal_set_over_ground(value);
6320 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Speed.over_ground)
6321}
6322
6323// optional double over_water = 2 [(.dccl.field) = {
6324inline bool BotStatus_Speed::_internal_has_over_water() const {
6325 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6326 return value;
6327}
6329 return _internal_has_over_water();
6330}
6332 _impl_.over_water_ = 0;
6333 _impl_._has_bits_[0] &= ~0x00000002u;
6334}
6335inline double BotStatus_Speed::_internal_over_water() const {
6336 return _impl_.over_water_;
6337}
6338inline double BotStatus_Speed::over_water() const {
6339 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Speed.over_water)
6340 return _internal_over_water();
6341}
6342inline void BotStatus_Speed::_internal_set_over_water(double value) {
6343 _impl_._has_bits_[0] |= 0x00000002u;
6344 _impl_.over_water_ = value;
6345}
6346inline void BotStatus_Speed::set_over_water(double value) {
6347 _internal_set_over_water(value);
6348 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Speed.over_water)
6349}
6350
6351// -------------------------------------------------------------------
6352
6353// BotStatus
6354
6355// required uint32 bot_id = 1 [(.dccl.field) = {
6356inline bool BotStatus::_internal_has_bot_id() const {
6357 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
6358 return value;
6359}
6360inline bool BotStatus::has_bot_id() const {
6361 return _internal_has_bot_id();
6362}
6364 _impl_.bot_id_ = 0u;
6365 _impl_._has_bits_[0] &= ~0x00000100u;
6366}
6367inline uint32_t BotStatus::_internal_bot_id() const {
6368 return _impl_.bot_id_;
6369}
6370inline uint32_t BotStatus::bot_id() const {
6371 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.bot_id)
6372 return _internal_bot_id();
6373}
6374inline void BotStatus::_internal_set_bot_id(uint32_t value) {
6375 _impl_._has_bits_[0] |= 0x00000100u;
6376 _impl_.bot_id_ = value;
6377}
6378inline void BotStatus::set_bot_id(uint32_t value) {
6379 _internal_set_bot_id(value);
6380 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.bot_id)
6381}
6382
6383// required uint64 time = 2 [(.dccl.field) = {
6384inline bool BotStatus::_internal_has_time() const {
6385 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
6386 return value;
6387}
6388inline bool BotStatus::has_time() const {
6389 return _internal_has_time();
6390}
6392 _impl_.time_ = uint64_t{0u};
6393 _impl_._has_bits_[0] &= ~0x00000010u;
6394}
6395inline uint64_t BotStatus::_internal_time() const {
6396 return _impl_.time_;
6397}
6398inline uint64_t BotStatus::time() const {
6399 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.time)
6400 return _internal_time();
6401}
6402inline void BotStatus::_internal_set_time(uint64_t value) {
6403 _impl_._has_bits_[0] |= 0x00000010u;
6404 _impl_.time_ = value;
6405}
6406inline void BotStatus::set_time(uint64_t value) {
6407 _internal_set_time(value);
6408 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.time)
6409}
6410
6411// optional uint64 last_command_time = 3 [(.dccl.field) = {
6412inline bool BotStatus::_internal_has_last_command_time() const {
6413 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
6414 return value;
6415}
6417 return _internal_has_last_command_time();
6418}
6420 _impl_.last_command_time_ = uint64_t{0u};
6421 _impl_._has_bits_[0] &= ~0x00000020u;
6422}
6423inline uint64_t BotStatus::_internal_last_command_time() const {
6424 return _impl_.last_command_time_;
6425}
6426inline uint64_t BotStatus::last_command_time() const {
6427 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.last_command_time)
6428 return _internal_last_command_time();
6429}
6430inline void BotStatus::_internal_set_last_command_time(uint64_t value) {
6431 _impl_._has_bits_[0] |= 0x00000020u;
6432 _impl_.last_command_time_ = value;
6433}
6434inline void BotStatus::set_last_command_time(uint64_t value) {
6435 _internal_set_last_command_time(value);
6436 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.last_command_time)
6437}
6438
6439// optional .goby.middleware.protobuf.HealthState health_state = 4 [(.jaia.field) = {
6440inline bool BotStatus::_internal_has_health_state() const {
6441 bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
6442 return value;
6443}
6444inline bool BotStatus::has_health_state() const {
6445 return _internal_has_health_state();
6446}
6448 _impl_.health_state_ = 1;
6449 _impl_._has_bits_[0] &= ~0x00800000u;
6450}
6451inline ::goby::middleware::protobuf::HealthState BotStatus::_internal_health_state() const {
6452 return static_cast< ::goby::middleware::protobuf::HealthState >(_impl_.health_state_);
6453}
6454inline ::goby::middleware::protobuf::HealthState BotStatus::health_state() const {
6455 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.health_state)
6456 return _internal_health_state();
6457}
6458inline void BotStatus::_internal_set_health_state(::goby::middleware::protobuf::HealthState value) {
6459 assert(::goby::middleware::protobuf::HealthState_IsValid(value));
6460 _impl_._has_bits_[0] |= 0x00800000u;
6461 _impl_.health_state_ = value;
6462}
6463inline void BotStatus::set_health_state(::goby::middleware::protobuf::HealthState value) {
6464 _internal_set_health_state(value);
6465 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.health_state)
6466}
6467
6468// repeated .jaiabot.protobuf.Error error = 5 [(.dccl.field) = {
6469inline int BotStatus::_internal_error_size() const {
6470 return _impl_.error_.size();
6471}
6472inline int BotStatus::error_size() const {
6473 return _internal_error_size();
6474}
6476 _impl_.error_.Clear();
6477}
6478inline ::jaiabot::protobuf::Error BotStatus::_internal_error(int index) const {
6479 return static_cast< ::jaiabot::protobuf::Error >(_impl_.error_.Get(index));
6480}
6481inline ::jaiabot::protobuf::Error BotStatus::error(int index) const {
6482 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.error)
6483 return _internal_error(index);
6484}
6487 _impl_.error_.Set(index, value);
6488 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.error)
6489}
6490inline void BotStatus::_internal_add_error(::jaiabot::protobuf::Error value) {
6492 _impl_.error_.Add(value);
6493}
6495 _internal_add_error(value);
6496 // @@protoc_insertion_point(field_add:jaiabot.protobuf.BotStatus.error)
6497}
6498inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
6500 // @@protoc_insertion_point(field_list:jaiabot.protobuf.BotStatus.error)
6501 return _impl_.error_;
6502}
6503inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
6504BotStatus::_internal_mutable_error() {
6505 return &_impl_.error_;
6506}
6507inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
6509 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.BotStatus.error)
6510 return _internal_mutable_error();
6511}
6512
6513// repeated .jaiabot.protobuf.Warning warning = 6 [(.dccl.field) = {
6514inline int BotStatus::_internal_warning_size() const {
6515 return _impl_.warning_.size();
6516}
6517inline int BotStatus::warning_size() const {
6518 return _internal_warning_size();
6519}
6521 _impl_.warning_.Clear();
6522}
6523inline ::jaiabot::protobuf::Warning BotStatus::_internal_warning(int index) const {
6524 return static_cast< ::jaiabot::protobuf::Warning >(_impl_.warning_.Get(index));
6525}
6526inline ::jaiabot::protobuf::Warning BotStatus::warning(int index) const {
6527 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.warning)
6528 return _internal_warning(index);
6529}
6532 _impl_.warning_.Set(index, value);
6533 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.warning)
6534}
6535inline void BotStatus::_internal_add_warning(::jaiabot::protobuf::Warning value) {
6537 _impl_.warning_.Add(value);
6538}
6540 _internal_add_warning(value);
6541 // @@protoc_insertion_point(field_add:jaiabot.protobuf.BotStatus.warning)
6542}
6543inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
6545 // @@protoc_insertion_point(field_list:jaiabot.protobuf.BotStatus.warning)
6546 return _impl_.warning_;
6547}
6548inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
6549BotStatus::_internal_mutable_warning() {
6550 return &_impl_.warning_;
6551}
6552inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
6554 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.BotStatus.warning)
6555 return _internal_mutable_warning();
6556}
6557
6558// optional .jaiabot.protobuf.BotType bot_type = 7 [(.jaia.field) = {
6559inline bool BotStatus::_internal_has_bot_type() const {
6560 bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
6561 return value;
6562}
6563inline bool BotStatus::has_bot_type() const {
6564 return _internal_has_bot_type();
6565}
6567 _impl_.bot_type_ = 1;
6568 _impl_._has_bits_[0] &= ~0x01000000u;
6569}
6570inline ::jaiabot::protobuf::BotType BotStatus::_internal_bot_type() const {
6571 return static_cast< ::jaiabot::protobuf::BotType >(_impl_.bot_type_);
6572}
6573inline ::jaiabot::protobuf::BotType BotStatus::bot_type() const {
6574 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.bot_type)
6575 return _internal_bot_type();
6576}
6577inline void BotStatus::_internal_set_bot_type(::jaiabot::protobuf::BotType value) {
6579 _impl_._has_bits_[0] |= 0x01000000u;
6580 _impl_.bot_type_ = value;
6581}
6583 _internal_set_bot_type(value);
6584 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.bot_type)
6585}
6586
6587// optional .jaiabot.protobuf.Link link = 8 [(.dccl.field) = {
6588inline bool BotStatus::_internal_has_link() const {
6589 bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0;
6590 return value;
6591}
6592inline bool BotStatus::has_link() const {
6593 return _internal_has_link();
6594}
6596 _impl_.link_ = -1;
6597 _impl_._has_bits_[0] &= ~0x02000000u;
6598}
6599inline ::jaiabot::protobuf::Link BotStatus::_internal_link() const {
6600 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
6601}
6602inline ::jaiabot::protobuf::Link BotStatus::link() const {
6603 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.link)
6604 return _internal_link();
6605}
6606inline void BotStatus::_internal_set_link(::jaiabot::protobuf::Link value) {
6607 assert(::jaiabot::protobuf::Link_IsValid(value));
6608 _impl_._has_bits_[0] |= 0x02000000u;
6609 _impl_.link_ = value;
6610}
6612 _internal_set_link(value);
6613 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.link)
6614}
6615
6616// repeated .jaiabot.protobuf.BotStatus.ActiveLink active_links = 9 [(.dccl.field) = {
6617inline int BotStatus::_internal_active_links_size() const {
6618 return _impl_.active_links_.size();
6619}
6621 return _internal_active_links_size();
6622}
6624 _impl_.active_links_.Clear();
6625}
6626inline ::jaiabot::protobuf::BotStatus_ActiveLink* BotStatus::mutable_active_links(int index) {
6627 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.active_links)
6628 return _impl_.active_links_.Mutable(index);
6629}
6630inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >*
6632 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.BotStatus.active_links)
6633 return &_impl_.active_links_;
6634}
6635inline const ::jaiabot::protobuf::BotStatus_ActiveLink& BotStatus::_internal_active_links(int index) const {
6636 return _impl_.active_links_.Get(index);
6637}
6638inline const ::jaiabot::protobuf::BotStatus_ActiveLink& BotStatus::active_links(int index) const {
6639 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.active_links)
6640 return _internal_active_links(index);
6641}
6642inline ::jaiabot::protobuf::BotStatus_ActiveLink* BotStatus::_internal_add_active_links() {
6643 return _impl_.active_links_.Add();
6644}
6645inline ::jaiabot::protobuf::BotStatus_ActiveLink* BotStatus::add_active_links() {
6646 ::jaiabot::protobuf::BotStatus_ActiveLink* _add = _internal_add_active_links();
6647 // @@protoc_insertion_point(field_add:jaiabot.protobuf.BotStatus.active_links)
6648 return _add;
6649}
6650inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >&
6652 // @@protoc_insertion_point(field_list:jaiabot.protobuf.BotStatus.active_links)
6653 return _impl_.active_links_;
6654}
6655
6656// optional .jaiabot.protobuf.GeographicCoordinate location = 10 [(.jaia.field) = {
6657inline bool BotStatus::_internal_has_location() const {
6658 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6659 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
6660 return value;
6661}
6662inline bool BotStatus::has_location() const {
6663 return _internal_has_location();
6664}
6665inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::_internal_location() const {
6666 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
6667 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
6669}
6670inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::location() const {
6671 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.location)
6672 return _internal_location();
6673}
6676 if (GetArenaForAllocation() == nullptr) {
6677 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
6678 }
6679 _impl_.location_ = location;
6680 if (location) {
6681 _impl_._has_bits_[0] |= 0x00000002u;
6682 } else {
6683 _impl_._has_bits_[0] &= ~0x00000002u;
6684 }
6685 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.location)
6686}
6687inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::release_location() {
6688 _impl_._has_bits_[0] &= ~0x00000002u;
6690 _impl_.location_ = nullptr;
6691#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6692 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6693 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6694 if (GetArenaForAllocation() == nullptr) { delete old; }
6695#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6696 if (GetArenaForAllocation() != nullptr) {
6697 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6698 }
6699#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6700 return temp;
6701}
6702inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::unsafe_arena_release_location() {
6703 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.location)
6704 _impl_._has_bits_[0] &= ~0x00000002u;
6706 _impl_.location_ = nullptr;
6707 return temp;
6708}
6709inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::_internal_mutable_location() {
6710 _impl_._has_bits_[0] |= 0x00000002u;
6711 if (_impl_.location_ == nullptr) {
6712 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
6713 _impl_.location_ = p;
6714 }
6715 return _impl_.location_;
6716}
6717inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::mutable_location() {
6718 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_location();
6719 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.location)
6720 return _msg;
6721}
6723 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6724 if (message_arena == nullptr) {
6725 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
6726 }
6727 if (location) {
6728 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6729 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
6730 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location));
6731 if (message_arena != submessage_arena) {
6732 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6733 message_arena, location, submessage_arena);
6734 }
6735 _impl_._has_bits_[0] |= 0x00000002u;
6736 } else {
6737 _impl_._has_bits_[0] &= ~0x00000002u;
6738 }
6739 _impl_.location_ = location;
6740 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.location)
6741}
6742
6743// optional double sensor_depth = 11 [(.dccl.field) = {
6744inline bool BotStatus::_internal_has_sensor_depth() const {
6745 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
6746 return value;
6747}
6748inline bool BotStatus::has_sensor_depth() const {
6749 return _internal_has_sensor_depth();
6750}
6752 _impl_.sensor_depth_ = 0;
6753 _impl_._has_bits_[0] &= ~0x00000040u;
6754}
6755inline double BotStatus::_internal_sensor_depth() const {
6756 return _impl_.sensor_depth_;
6757}
6758inline double BotStatus::sensor_depth() const {
6759 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.sensor_depth)
6760 return _internal_sensor_depth();
6761}
6762inline void BotStatus::_internal_set_sensor_depth(double value) {
6763 _impl_._has_bits_[0] |= 0x00000040u;
6764 _impl_.sensor_depth_ = value;
6765}
6766inline void BotStatus::set_sensor_depth(double value) {
6767 _internal_set_sensor_depth(value);
6768 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.sensor_depth)
6769}
6770
6771// optional double depth = 12 [(.dccl.field) = {
6772inline bool BotStatus::_internal_has_depth() const {
6773 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
6774 return value;
6775}
6776inline bool BotStatus::has_depth() const {
6777 return _internal_has_depth();
6778}
6780 _impl_.depth_ = 0;
6781 _impl_._has_bits_[0] &= ~0x00000080u;
6782}
6783inline double BotStatus::_internal_depth() const {
6784 return _impl_.depth_;
6785}
6786inline double BotStatus::depth() const {
6787 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.depth)
6788 return _internal_depth();
6789}
6790inline void BotStatus::_internal_set_depth(double value) {
6791 _impl_._has_bits_[0] |= 0x00000080u;
6792 _impl_.depth_ = value;
6793}
6794inline void BotStatus::set_depth(double value) {
6795 _internal_set_depth(value);
6796 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.depth)
6797}
6798
6799// optional .jaiabot.protobuf.BotStatus.Attitude attitude = 20 [(.jaia.field) = {
6800inline bool BotStatus::_internal_has_attitude() const {
6801 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6802 PROTOBUF_ASSUME(!value || _impl_.attitude_ != nullptr);
6803 return value;
6804}
6805inline bool BotStatus::has_attitude() const {
6806 return _internal_has_attitude();
6807}
6809 if (_impl_.attitude_ != nullptr) _impl_.attitude_->Clear();
6810 _impl_._has_bits_[0] &= ~0x00000004u;
6811}
6812inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::_internal_attitude() const {
6813 const ::jaiabot::protobuf::BotStatus_Attitude* p = _impl_.attitude_;
6814 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::BotStatus_Attitude&>(
6816}
6817inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::attitude() const {
6818 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.attitude)
6819 return _internal_attitude();
6820}
6823 if (GetArenaForAllocation() == nullptr) {
6824 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attitude_);
6825 }
6826 _impl_.attitude_ = attitude;
6827 if (attitude) {
6828 _impl_._has_bits_[0] |= 0x00000004u;
6829 } else {
6830 _impl_._has_bits_[0] &= ~0x00000004u;
6831 }
6832 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.attitude)
6833}
6834inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::release_attitude() {
6835 _impl_._has_bits_[0] &= ~0x00000004u;
6837 _impl_.attitude_ = nullptr;
6838#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6839 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6840 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6841 if (GetArenaForAllocation() == nullptr) { delete old; }
6842#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6843 if (GetArenaForAllocation() != nullptr) {
6844 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6845 }
6846#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6847 return temp;
6848}
6849inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::unsafe_arena_release_attitude() {
6850 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.attitude)
6851 _impl_._has_bits_[0] &= ~0x00000004u;
6853 _impl_.attitude_ = nullptr;
6854 return temp;
6855}
6856inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::_internal_mutable_attitude() {
6857 _impl_._has_bits_[0] |= 0x00000004u;
6858 if (_impl_.attitude_ == nullptr) {
6859 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(GetArenaForAllocation());
6860 _impl_.attitude_ = p;
6861 }
6862 return _impl_.attitude_;
6863}
6864inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::mutable_attitude() {
6865 ::jaiabot::protobuf::BotStatus_Attitude* _msg = _internal_mutable_attitude();
6866 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.attitude)
6867 return _msg;
6868}
6870 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6871 if (message_arena == nullptr) {
6872 delete _impl_.attitude_;
6873 }
6874 if (attitude) {
6875 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6876 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attitude);
6877 if (message_arena != submessage_arena) {
6878 attitude = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6879 message_arena, attitude, submessage_arena);
6880 }
6881 _impl_._has_bits_[0] |= 0x00000004u;
6882 } else {
6883 _impl_._has_bits_[0] &= ~0x00000004u;
6884 }
6885 _impl_.attitude_ = attitude;
6886 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.attitude)
6887}
6888
6889// optional .jaiabot.protobuf.BotStatus.Speed speed = 30 [(.jaia.field) = {
6890inline bool BotStatus::_internal_has_speed() const {
6891 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6892 PROTOBUF_ASSUME(!value || _impl_.speed_ != nullptr);
6893 return value;
6894}
6895inline bool BotStatus::has_speed() const {
6896 return _internal_has_speed();
6897}
6899 if (_impl_.speed_ != nullptr) _impl_.speed_->Clear();
6900 _impl_._has_bits_[0] &= ~0x00000008u;
6901}
6902inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::_internal_speed() const {
6903 const ::jaiabot::protobuf::BotStatus_Speed* p = _impl_.speed_;
6904 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::BotStatus_Speed&>(
6906}
6907inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::speed() const {
6908 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.speed)
6909 return _internal_speed();
6910}
6913 if (GetArenaForAllocation() == nullptr) {
6914 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.speed_);
6915 }
6916 _impl_.speed_ = speed;
6917 if (speed) {
6918 _impl_._has_bits_[0] |= 0x00000008u;
6919 } else {
6920 _impl_._has_bits_[0] &= ~0x00000008u;
6921 }
6922 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.speed)
6923}
6924inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::release_speed() {
6925 _impl_._has_bits_[0] &= ~0x00000008u;
6927 _impl_.speed_ = nullptr;
6928#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6929 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6930 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6931 if (GetArenaForAllocation() == nullptr) { delete old; }
6932#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6933 if (GetArenaForAllocation() != nullptr) {
6934 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6935 }
6936#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6937 return temp;
6938}
6939inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::unsafe_arena_release_speed() {
6940 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.speed)
6941 _impl_._has_bits_[0] &= ~0x00000008u;
6943 _impl_.speed_ = nullptr;
6944 return temp;
6945}
6946inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::_internal_mutable_speed() {
6947 _impl_._has_bits_[0] |= 0x00000008u;
6948 if (_impl_.speed_ == nullptr) {
6949 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(GetArenaForAllocation());
6950 _impl_.speed_ = p;
6951 }
6952 return _impl_.speed_;
6953}
6954inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::mutable_speed() {
6955 ::jaiabot::protobuf::BotStatus_Speed* _msg = _internal_mutable_speed();
6956 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.speed)
6957 return _msg;
6958}
6960 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6961 if (message_arena == nullptr) {
6962 delete _impl_.speed_;
6963 }
6964 if (speed) {
6965 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6966 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(speed);
6967 if (message_arena != submessage_arena) {
6968 speed = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6969 message_arena, speed, submessage_arena);
6970 }
6971 _impl_._has_bits_[0] |= 0x00000008u;
6972 } else {
6973 _impl_._has_bits_[0] &= ~0x00000008u;
6974 }
6975 _impl_.speed_ = speed;
6976 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.speed)
6977}
6978
6979// optional .jaiabot.protobuf.MissionState mission_state = 40 [(.jaia.field) = {
6980inline bool BotStatus::_internal_has_mission_state() const {
6981 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
6982 return value;
6983}
6984inline bool BotStatus::has_mission_state() const {
6985 return _internal_has_mission_state();
6986}
6988 _impl_.mission_state_ = 0;
6989 _impl_._has_bits_[0] &= ~0x00000200u;
6990}
6991inline ::jaiabot::protobuf::MissionState BotStatus::_internal_mission_state() const {
6992 return static_cast< ::jaiabot::protobuf::MissionState >(_impl_.mission_state_);
6993}
6994inline ::jaiabot::protobuf::MissionState BotStatus::mission_state() const {
6995 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.mission_state)
6996 return _internal_mission_state();
6997}
6998inline void BotStatus::_internal_set_mission_state(::jaiabot::protobuf::MissionState value) {
7000 _impl_._has_bits_[0] |= 0x00000200u;
7001 _impl_.mission_state_ = value;
7002}
7004 _internal_set_mission_state(value);
7005 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.mission_state)
7006}
7007
7008// optional int32 active_goal = 41 [(.dccl.field) = {
7009inline bool BotStatus::_internal_has_active_goal() const {
7010 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
7011 return value;
7012}
7013inline bool BotStatus::has_active_goal() const {
7014 return _internal_has_active_goal();
7015}
7017 _impl_.active_goal_ = 0;
7018 _impl_._has_bits_[0] &= ~0x00000800u;
7019}
7020inline int32_t BotStatus::_internal_active_goal() const {
7021 return _impl_.active_goal_;
7022}
7023inline int32_t BotStatus::active_goal() const {
7024 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.active_goal)
7025 return _internal_active_goal();
7026}
7027inline void BotStatus::_internal_set_active_goal(int32_t value) {
7028 _impl_._has_bits_[0] |= 0x00000800u;
7029 _impl_.active_goal_ = value;
7030}
7031inline void BotStatus::set_active_goal(int32_t value) {
7032 _internal_set_active_goal(value);
7033 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.active_goal)
7034}
7035
7036// optional double distance_to_active_goal = 42 [(.dccl.field) = {
7037inline bool BotStatus::_internal_has_distance_to_active_goal() const {
7038 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
7039 return value;
7040}
7042 return _internal_has_distance_to_active_goal();
7043}
7045 _impl_.distance_to_active_goal_ = 0;
7046 _impl_._has_bits_[0] &= ~0x00000400u;
7047}
7048inline double BotStatus::_internal_distance_to_active_goal() const {
7049 return _impl_.distance_to_active_goal_;
7050}
7052 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.distance_to_active_goal)
7053 return _internal_distance_to_active_goal();
7054}
7055inline void BotStatus::_internal_set_distance_to_active_goal(double value) {
7056 _impl_._has_bits_[0] |= 0x00000400u;
7057 _impl_.distance_to_active_goal_ = value;
7058}
7060 _internal_set_distance_to_active_goal(value);
7061 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.distance_to_active_goal)
7062}
7063
7064// optional uint32 active_goal_timeout = 43 [(.dccl.field) = {
7065inline bool BotStatus::_internal_has_active_goal_timeout() const {
7066 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
7067 return value;
7068}
7070 return _internal_has_active_goal_timeout();
7071}
7073 _impl_.active_goal_timeout_ = 0u;
7074 _impl_._has_bits_[0] &= ~0x00001000u;
7075}
7076inline uint32_t BotStatus::_internal_active_goal_timeout() const {
7077 return _impl_.active_goal_timeout_;
7078}
7079inline uint32_t BotStatus::active_goal_timeout() const {
7080 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.active_goal_timeout)
7081 return _internal_active_goal_timeout();
7082}
7083inline void BotStatus::_internal_set_active_goal_timeout(uint32_t value) {
7084 _impl_._has_bits_[0] |= 0x00001000u;
7085 _impl_.active_goal_timeout_ = value;
7086}
7087inline void BotStatus::set_active_goal_timeout(uint32_t value) {
7088 _internal_set_active_goal_timeout(value);
7089 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.active_goal_timeout)
7090}
7091
7092// optional int32 repeat_index = 44 [(.dccl.field) = {
7093inline bool BotStatus::_internal_has_repeat_index() const {
7094 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
7095 return value;
7096}
7097inline bool BotStatus::has_repeat_index() const {
7098 return _internal_has_repeat_index();
7099}
7101 _impl_.repeat_index_ = 0;
7102 _impl_._has_bits_[0] &= ~0x00002000u;
7103}
7104inline int32_t BotStatus::_internal_repeat_index() const {
7105 return _impl_.repeat_index_;
7106}
7107inline int32_t BotStatus::repeat_index() const {
7108 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.repeat_index)
7109 return _internal_repeat_index();
7110}
7111inline void BotStatus::_internal_set_repeat_index(int32_t value) {
7112 _impl_._has_bits_[0] |= 0x00002000u;
7113 _impl_.repeat_index_ = value;
7114}
7115inline void BotStatus::set_repeat_index(int32_t value) {
7116 _internal_set_repeat_index(value);
7117 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.repeat_index)
7118}
7119
7120// optional double salinity = 51 [(.dccl.field) = {
7121inline bool BotStatus::_internal_has_salinity() const {
7122 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
7123 return value;
7124}
7125inline bool BotStatus::has_salinity() const {
7126 return _internal_has_salinity();
7127}
7129 _impl_.salinity_ = 0;
7130 _impl_._has_bits_[0] &= ~0x00008000u;
7131}
7132inline double BotStatus::_internal_salinity() const {
7133 return _impl_.salinity_;
7134}
7135inline double BotStatus::salinity() const {
7136 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.salinity)
7137 return _internal_salinity();
7138}
7139inline void BotStatus::_internal_set_salinity(double value) {
7140 _impl_._has_bits_[0] |= 0x00008000u;
7141 _impl_.salinity_ = value;
7142}
7143inline void BotStatus::set_salinity(double value) {
7144 _internal_set_salinity(value);
7145 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.salinity)
7146}
7147
7148// optional double temperature = 52 [(.dccl.field) = {
7149inline bool BotStatus::_internal_has_temperature() const {
7150 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
7151 return value;
7152}
7153inline bool BotStatus::has_temperature() const {
7154 return _internal_has_temperature();
7155}
7157 _impl_.temperature_ = 0;
7158 _impl_._has_bits_[0] &= ~0x00010000u;
7159}
7160inline double BotStatus::_internal_temperature() const {
7161 return _impl_.temperature_;
7162}
7163inline double BotStatus::temperature() const {
7164 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.temperature)
7165 return _internal_temperature();
7166}
7167inline void BotStatus::_internal_set_temperature(double value) {
7168 _impl_._has_bits_[0] |= 0x00010000u;
7169 _impl_.temperature_ = value;
7170}
7171inline void BotStatus::set_temperature(double value) {
7172 _internal_set_temperature(value);
7173 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.temperature)
7174}
7175
7176// optional double battery_percent = 53 [(.dccl.field) = {
7177inline bool BotStatus::_internal_has_battery_percent() const {
7178 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
7179 return value;
7180}
7182 return _internal_has_battery_percent();
7183}
7185 _impl_.battery_percent_ = 0;
7186 _impl_._has_bits_[0] &= ~0x00020000u;
7187}
7188inline double BotStatus::_internal_battery_percent() const {
7189 return _impl_.battery_percent_;
7190}
7191inline double BotStatus::battery_percent() const {
7192 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.battery_percent)
7193 return _internal_battery_percent();
7194}
7195inline void BotStatus::_internal_set_battery_percent(double value) {
7196 _impl_._has_bits_[0] |= 0x00020000u;
7197 _impl_.battery_percent_ = value;
7198}
7199inline void BotStatus::set_battery_percent(double value) {
7200 _internal_set_battery_percent(value);
7201 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.battery_percent)
7202}
7203
7204// optional int32 calibration_status = 54 [(.dccl.field) = {
7205inline bool BotStatus::_internal_has_calibration_status() const {
7206 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
7207 return value;
7208}
7210 return _internal_has_calibration_status();
7211}
7213 _impl_.calibration_status_ = 0;
7214 _impl_._has_bits_[0] &= ~0x00004000u;
7215}
7216inline int32_t BotStatus::_internal_calibration_status() const {
7217 return _impl_.calibration_status_;
7218}
7219inline int32_t BotStatus::calibration_status() const {
7220 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.calibration_status)
7221 return _internal_calibration_status();
7222}
7223inline void BotStatus::_internal_set_calibration_status(int32_t value) {
7224 _impl_._has_bits_[0] |= 0x00004000u;
7225 _impl_.calibration_status_ = value;
7226}
7227inline void BotStatus::set_calibration_status(int32_t value) {
7228 _internal_set_calibration_status(value);
7229 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.calibration_status)
7230}
7231
7232// optional .jaiabot.protobuf.IMUCalibrationState calibration_state = 55;
7233inline bool BotStatus::_internal_has_calibration_state() const {
7234 bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0;
7235 return value;
7236}
7238 return _internal_has_calibration_state();
7239}
7241 _impl_.calibration_state_ = 1;
7242 _impl_._has_bits_[0] &= ~0x04000000u;
7243}
7244inline ::jaiabot::protobuf::IMUCalibrationState BotStatus::_internal_calibration_state() const {
7245 return static_cast< ::jaiabot::protobuf::IMUCalibrationState >(_impl_.calibration_state_);
7246}
7247inline ::jaiabot::protobuf::IMUCalibrationState BotStatus::calibration_state() const {
7248 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.calibration_state)
7249 return _internal_calibration_state();
7250}
7251inline void BotStatus::_internal_set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value) {
7253 _impl_._has_bits_[0] |= 0x04000000u;
7254 _impl_.calibration_state_ = value;
7255}
7257 _internal_set_calibration_state(value);
7258 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.calibration_state)
7259}
7260
7261// optional double hdop = 56 [(.dccl.field) = {
7262inline bool BotStatus::_internal_has_hdop() const {
7263 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
7264 return value;
7265}
7266inline bool BotStatus::has_hdop() const {
7267 return _internal_has_hdop();
7268}
7270 _impl_.hdop_ = 0;
7271 _impl_._has_bits_[0] &= ~0x00040000u;
7272}
7273inline double BotStatus::_internal_hdop() const {
7274 return _impl_.hdop_;
7275}
7276inline double BotStatus::hdop() const {
7277 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.hdop)
7278 return _internal_hdop();
7279}
7280inline void BotStatus::_internal_set_hdop(double value) {
7281 _impl_._has_bits_[0] |= 0x00040000u;
7282 _impl_.hdop_ = value;
7283}
7284inline void BotStatus::set_hdop(double value) {
7285 _internal_set_hdop(value);
7286 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.hdop)
7287}
7288
7289// optional double pdop = 57 [(.dccl.field) = {
7290inline bool BotStatus::_internal_has_pdop() const {
7291 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
7292 return value;
7293}
7294inline bool BotStatus::has_pdop() const {
7295 return _internal_has_pdop();
7296}
7298 _impl_.pdop_ = 0;
7299 _impl_._has_bits_[0] &= ~0x00080000u;
7300}
7301inline double BotStatus::_internal_pdop() const {
7302 return _impl_.pdop_;
7303}
7304inline double BotStatus::pdop() const {
7305 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.pdop)
7306 return _internal_pdop();
7307}
7308inline void BotStatus::_internal_set_pdop(double value) {
7309 _impl_._has_bits_[0] |= 0x00080000u;
7310 _impl_.pdop_ = value;
7311}
7312inline void BotStatus::set_pdop(double value) {
7313 _internal_set_pdop(value);
7314 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.pdop)
7315}
7316
7317// optional int32 wifi_link_quality_percentage = 58 [(.dccl.field) = {
7318inline bool BotStatus::_internal_has_wifi_link_quality_percentage() const {
7319 bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
7320 return value;
7321}
7323 return _internal_has_wifi_link_quality_percentage();
7324}
7326 _impl_.wifi_link_quality_percentage_ = 0;
7327 _impl_._has_bits_[0] &= ~0x00400000u;
7328}
7329inline int32_t BotStatus::_internal_wifi_link_quality_percentage() const {
7330 return _impl_.wifi_link_quality_percentage_;
7331}
7333 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.wifi_link_quality_percentage)
7334 return _internal_wifi_link_quality_percentage();
7335}
7336inline void BotStatus::_internal_set_wifi_link_quality_percentage(int32_t value) {
7337 _impl_._has_bits_[0] |= 0x00400000u;
7338 _impl_.wifi_link_quality_percentage_ = value;
7339}
7341 _internal_set_wifi_link_quality_percentage(value);
7342 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.wifi_link_quality_percentage)
7343}
7344
7345// optional uint64 received_time = 59 [(.dccl.field) = {
7346inline bool BotStatus::_internal_has_received_time() const {
7347 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
7348 return value;
7349}
7350inline bool BotStatus::has_received_time() const {
7351 return _internal_has_received_time();
7352}
7354 _impl_.received_time_ = uint64_t{0u};
7355 _impl_._has_bits_[0] &= ~0x00100000u;
7356}
7357inline uint64_t BotStatus::_internal_received_time() const {
7358 return _impl_.received_time_;
7359}
7360inline uint64_t BotStatus::received_time() const {
7361 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.received_time)
7362 return _internal_received_time();
7363}
7364inline void BotStatus::_internal_set_received_time(uint64_t value) {
7365 _impl_._has_bits_[0] |= 0x00100000u;
7366 _impl_.received_time_ = value;
7367}
7368inline void BotStatus::set_received_time(uint64_t value) {
7369 _internal_set_received_time(value);
7370 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.received_time)
7371}
7372
7373// optional uint64 mission_command_time = 71 [(.dccl.field) = {
7374inline bool BotStatus::_internal_has_mission_command_time() const {
7375 bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
7376 return value;
7377}
7379 return _internal_has_mission_command_time();
7380}
7382 _impl_.mission_command_time_ = uint64_t{0u};
7383 _impl_._has_bits_[0] &= ~0x00200000u;
7384}
7385inline uint64_t BotStatus::_internal_mission_command_time() const {
7386 return _impl_.mission_command_time_;
7387}
7388inline uint64_t BotStatus::mission_command_time() const {
7389 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.mission_command_time)
7390 return _internal_mission_command_time();
7391}
7392inline void BotStatus::_internal_set_mission_command_time(uint64_t value) {
7393 _impl_._has_bits_[0] |= 0x00200000u;
7394 _impl_.mission_command_time_ = value;
7395}
7396inline void BotStatus::set_mission_command_time(uint64_t value) {
7397 _internal_set_mission_command_time(value);
7398 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.mission_command_time)
7399}
7400
7401// optional string mission_name = 72 [(.dccl.field) = {
7402inline bool BotStatus::_internal_has_mission_name() const {
7403 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7404 return value;
7405}
7406inline bool BotStatus::has_mission_name() const {
7407 return _internal_has_mission_name();
7408}
7410 _impl_.mission_name_.ClearToEmpty();
7411 _impl_._has_bits_[0] &= ~0x00000001u;
7412}
7413inline const std::string& BotStatus::mission_name() const {
7414 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.mission_name)
7415 return _internal_mission_name();
7416}
7417template <typename ArgT0, typename... ArgT>
7418inline PROTOBUF_ALWAYS_INLINE
7419void BotStatus::set_mission_name(ArgT0&& arg0, ArgT... args) {
7420 _impl_._has_bits_[0] |= 0x00000001u;
7421 _impl_.mission_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
7422 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.mission_name)
7423}
7424inline std::string* BotStatus::mutable_mission_name() {
7425 std::string* _s = _internal_mutable_mission_name();
7426 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.mission_name)
7427 return _s;
7428}
7429inline const std::string& BotStatus::_internal_mission_name() const {
7430 return _impl_.mission_name_.Get();
7431}
7432inline void BotStatus::_internal_set_mission_name(const std::string& value) {
7433 _impl_._has_bits_[0] |= 0x00000001u;
7434 _impl_.mission_name_.Set(value, GetArenaForAllocation());
7435}
7436inline std::string* BotStatus::_internal_mutable_mission_name() {
7437 _impl_._has_bits_[0] |= 0x00000001u;
7438 return _impl_.mission_name_.Mutable(GetArenaForAllocation());
7439}
7440inline std::string* BotStatus::release_mission_name() {
7441 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.mission_name)
7442 if (!_internal_has_mission_name()) {
7443 return nullptr;
7444 }
7445 _impl_._has_bits_[0] &= ~0x00000001u;
7446 auto* p = _impl_.mission_name_.Release();
7447#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7448 if (_impl_.mission_name_.IsDefault()) {
7449 _impl_.mission_name_.Set("", GetArenaForAllocation());
7450 }
7451#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7452 return p;
7453}
7455 if (mission_name != nullptr) {
7456 _impl_._has_bits_[0] |= 0x00000001u;
7457 } else {
7458 _impl_._has_bits_[0] &= ~0x00000001u;
7459 }
7460 _impl_.mission_name_.SetAllocated(mission_name, GetArenaForAllocation());
7461#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7462 if (_impl_.mission_name_.IsDefault()) {
7463 _impl_.mission_name_.Set("", GetArenaForAllocation());
7464 }
7465#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7466 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.mission_name)
7467}
7468
7469// .jaiabot.protobuf.StormStatus storm = 100;
7470inline bool BotStatus::_internal_has_storm() const {
7471 return bot_type_status_case() == kStorm;
7472}
7473inline bool BotStatus::has_storm() const {
7474 return _internal_has_storm();
7475}
7476inline void BotStatus::set_has_storm() {
7477 _impl_._oneof_case_[0] = kStorm;
7478}
7479inline ::jaiabot::protobuf::StormStatus* BotStatus::release_storm() {
7480 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.storm)
7481 if (_internal_has_storm()) {
7482 clear_has_bot_type_status();
7483 ::jaiabot::protobuf::StormStatus* temp = _impl_.bot_type_status_.storm_;
7484 if (GetArenaForAllocation() != nullptr) {
7485 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7486 }
7487 _impl_.bot_type_status_.storm_ = nullptr;
7488 return temp;
7489 } else {
7490 return nullptr;
7491 }
7492}
7493inline const ::jaiabot::protobuf::StormStatus& BotStatus::_internal_storm() const {
7494 return _internal_has_storm()
7495 ? *_impl_.bot_type_status_.storm_
7497}
7498inline const ::jaiabot::protobuf::StormStatus& BotStatus::storm() const {
7499 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.storm)
7500 return _internal_storm();
7501}
7502inline ::jaiabot::protobuf::StormStatus* BotStatus::unsafe_arena_release_storm() {
7503 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.BotStatus.storm)
7504 if (_internal_has_storm()) {
7505 clear_has_bot_type_status();
7506 ::jaiabot::protobuf::StormStatus* temp = _impl_.bot_type_status_.storm_;
7507 _impl_.bot_type_status_.storm_ = nullptr;
7508 return temp;
7509 } else {
7510 return nullptr;
7511 }
7512}
7515 if (storm) {
7516 set_has_storm();
7517 _impl_.bot_type_status_.storm_ = storm;
7518 }
7519 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.storm)
7520}
7521inline ::jaiabot::protobuf::StormStatus* BotStatus::_internal_mutable_storm() {
7522 if (!_internal_has_storm()) {
7523 clear_bot_type_status();
7524 set_has_storm();
7525 _impl_.bot_type_status_.storm_ = CreateMaybeMessage< ::jaiabot::protobuf::StormStatus >(GetArenaForAllocation());
7526 }
7527 return _impl_.bot_type_status_.storm_;
7528}
7529inline ::jaiabot::protobuf::StormStatus* BotStatus::mutable_storm() {
7530 ::jaiabot::protobuf::StormStatus* _msg = _internal_mutable_storm();
7531 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.storm)
7532 return _msg;
7533}
7534
7535inline bool BotStatus::has_bot_type_status() const {
7536 return bot_type_status_case() != BOT_TYPE_STATUS_NOT_SET;
7537}
7538inline void BotStatus::clear_has_bot_type_status() {
7539 _impl_._oneof_case_[0] = BOT_TYPE_STATUS_NOT_SET;
7540}
7544// -------------------------------------------------------------------
7545
7546// DriftPacket_EstimatedDrift
7547
7548// required double speed = 1 [(.dccl.field) = {
7549inline bool DriftPacket_EstimatedDrift::_internal_has_speed() const {
7550 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7551 return value;
7552}
7554 return _internal_has_speed();
7555}
7557 _impl_.speed_ = 0;
7558 _impl_._has_bits_[0] &= ~0x00000001u;
7559}
7560inline double DriftPacket_EstimatedDrift::_internal_speed() const {
7561 return _impl_.speed_;
7562}
7564 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.EstimatedDrift.speed)
7565 return _internal_speed();
7566}
7567inline void DriftPacket_EstimatedDrift::_internal_set_speed(double value) {
7568 _impl_._has_bits_[0] |= 0x00000001u;
7569 _impl_.speed_ = value;
7570}
7571inline void DriftPacket_EstimatedDrift::set_speed(double value) {
7572 _internal_set_speed(value);
7573 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.EstimatedDrift.speed)
7574}
7575
7576// optional double heading = 3 [(.dccl.field) = {
7577inline bool DriftPacket_EstimatedDrift::_internal_has_heading() const {
7578 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7579 return value;
7580}
7582 return _internal_has_heading();
7583}
7585 _impl_.heading_ = 0;
7586 _impl_._has_bits_[0] &= ~0x00000002u;
7587}
7588inline double DriftPacket_EstimatedDrift::_internal_heading() const {
7589 return _impl_.heading_;
7590}
7592 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.EstimatedDrift.heading)
7593 return _internal_heading();
7594}
7595inline void DriftPacket_EstimatedDrift::_internal_set_heading(double value) {
7596 _impl_._has_bits_[0] |= 0x00000002u;
7597 _impl_.heading_ = value;
7598}
7600 _internal_set_heading(value);
7601 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.EstimatedDrift.heading)
7602}
7603
7604// -------------------------------------------------------------------
7605
7606// DriftPacket
7607
7608// optional int32 drift_duration = 1 [default = 0, (.dccl.field) = {
7609inline bool DriftPacket::_internal_has_drift_duration() const {
7610 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
7611 return value;
7612}
7614 return _internal_has_drift_duration();
7615}
7617 _impl_.drift_duration_ = 0;
7618 _impl_._has_bits_[0] &= ~0x00000010u;
7619}
7620inline int32_t DriftPacket::_internal_drift_duration() const {
7621 return _impl_.drift_duration_;
7622}
7623inline int32_t DriftPacket::drift_duration() const {
7624 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.drift_duration)
7625 return _internal_drift_duration();
7626}
7627inline void DriftPacket::_internal_set_drift_duration(int32_t value) {
7628 _impl_._has_bits_[0] |= 0x00000010u;
7629 _impl_.drift_duration_ = value;
7630}
7631inline void DriftPacket::set_drift_duration(int32_t value) {
7632 _internal_set_drift_duration(value);
7633 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.drift_duration)
7634}
7635
7636// optional .jaiabot.protobuf.DriftPacket.EstimatedDrift estimated_drift = 10 [(.jaia.field) = {
7637inline bool DriftPacket::_internal_has_estimated_drift() const {
7638 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7639 PROTOBUF_ASSUME(!value || _impl_.estimated_drift_ != nullptr);
7640 return value;
7641}
7643 return _internal_has_estimated_drift();
7644}
7646 if (_impl_.estimated_drift_ != nullptr) _impl_.estimated_drift_->Clear();
7647 _impl_._has_bits_[0] &= ~0x00000001u;
7648}
7649inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::_internal_estimated_drift() const {
7650 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift* p = _impl_.estimated_drift_;
7651 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DriftPacket_EstimatedDrift&>(
7653}
7654inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::estimated_drift() const {
7655 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.estimated_drift)
7656 return _internal_estimated_drift();
7657}
7660 if (GetArenaForAllocation() == nullptr) {
7661 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.estimated_drift_);
7662 }
7663 _impl_.estimated_drift_ = estimated_drift;
7664 if (estimated_drift) {
7665 _impl_._has_bits_[0] |= 0x00000001u;
7666 } else {
7667 _impl_._has_bits_[0] &= ~0x00000001u;
7668 }
7669 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.estimated_drift)
7670}
7671inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::release_estimated_drift() {
7672 _impl_._has_bits_[0] &= ~0x00000001u;
7674 _impl_.estimated_drift_ = nullptr;
7675#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7676 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7677 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7678 if (GetArenaForAllocation() == nullptr) { delete old; }
7679#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7680 if (GetArenaForAllocation() != nullptr) {
7681 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7682 }
7683#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7684 return temp;
7685}
7686inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::unsafe_arena_release_estimated_drift() {
7687 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.estimated_drift)
7688 _impl_._has_bits_[0] &= ~0x00000001u;
7690 _impl_.estimated_drift_ = nullptr;
7691 return temp;
7692}
7693inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::_internal_mutable_estimated_drift() {
7694 _impl_._has_bits_[0] |= 0x00000001u;
7695 if (_impl_.estimated_drift_ == nullptr) {
7697 _impl_.estimated_drift_ = p;
7698 }
7699 return _impl_.estimated_drift_;
7700}
7701inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::mutable_estimated_drift() {
7702 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* _msg = _internal_mutable_estimated_drift();
7703 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.estimated_drift)
7704 return _msg;
7705}
7707 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7708 if (message_arena == nullptr) {
7709 delete _impl_.estimated_drift_;
7710 }
7711 if (estimated_drift) {
7712 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7713 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(estimated_drift);
7714 if (message_arena != submessage_arena) {
7715 estimated_drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7716 message_arena, estimated_drift, submessage_arena);
7717 }
7718 _impl_._has_bits_[0] |= 0x00000001u;
7719 } else {
7720 _impl_._has_bits_[0] &= ~0x00000001u;
7721 }
7722 _impl_.estimated_drift_ = estimated_drift;
7723 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.estimated_drift)
7724}
7725
7726// optional .jaiabot.protobuf.GeographicCoordinate start_location = 11 [(.jaia.field) = {
7727inline bool DriftPacket::_internal_has_start_location() const {
7728 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7729 PROTOBUF_ASSUME(!value || _impl_.start_location_ != nullptr);
7730 return value;
7731}
7733 return _internal_has_start_location();
7734}
7735inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_start_location() const {
7736 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
7737 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
7739}
7740inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::start_location() const {
7741 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.start_location)
7742 return _internal_start_location();
7743}
7746 if (GetArenaForAllocation() == nullptr) {
7747 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
7748 }
7749 _impl_.start_location_ = start_location;
7750 if (start_location) {
7751 _impl_._has_bits_[0] |= 0x00000002u;
7752 } else {
7753 _impl_._has_bits_[0] &= ~0x00000002u;
7754 }
7755 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.start_location)
7756}
7757inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_start_location() {
7758 _impl_._has_bits_[0] &= ~0x00000002u;
7759 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
7760 _impl_.start_location_ = nullptr;
7761#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7762 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7763 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7764 if (GetArenaForAllocation() == nullptr) { delete old; }
7765#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7766 if (GetArenaForAllocation() != nullptr) {
7767 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7768 }
7769#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7770 return temp;
7771}
7772inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_start_location() {
7773 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.start_location)
7774 _impl_._has_bits_[0] &= ~0x00000002u;
7775 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
7776 _impl_.start_location_ = nullptr;
7777 return temp;
7778}
7779inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_start_location() {
7780 _impl_._has_bits_[0] |= 0x00000002u;
7781 if (_impl_.start_location_ == nullptr) {
7782 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
7783 _impl_.start_location_ = p;
7784 }
7785 return _impl_.start_location_;
7786}
7787inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_start_location() {
7788 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_start_location();
7789 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.start_location)
7790 return _msg;
7791}
7793 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7794 if (message_arena == nullptr) {
7795 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
7796 }
7797 if (start_location) {
7798 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7799 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
7800 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_location));
7801 if (message_arena != submessage_arena) {
7802 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7803 message_arena, start_location, submessage_arena);
7804 }
7805 _impl_._has_bits_[0] |= 0x00000002u;
7806 } else {
7807 _impl_._has_bits_[0] &= ~0x00000002u;
7808 }
7809 _impl_.start_location_ = start_location;
7810 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.start_location)
7811}
7812
7813// optional .jaiabot.protobuf.GeographicCoordinate end_location = 12 [(.jaia.field) = {
7814inline bool DriftPacket::_internal_has_end_location() const {
7815 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7816 PROTOBUF_ASSUME(!value || _impl_.end_location_ != nullptr);
7817 return value;
7818}
7820 return _internal_has_end_location();
7821}
7822inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_end_location() const {
7823 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.end_location_;
7824 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
7826}
7827inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::end_location() const {
7828 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.end_location)
7829 return _internal_end_location();
7830}
7833 if (GetArenaForAllocation() == nullptr) {
7834 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_location_);
7835 }
7836 _impl_.end_location_ = end_location;
7837 if (end_location) {
7838 _impl_._has_bits_[0] |= 0x00000004u;
7839 } else {
7840 _impl_._has_bits_[0] &= ~0x00000004u;
7841 }
7842 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.end_location)
7843}
7844inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_end_location() {
7845 _impl_._has_bits_[0] &= ~0x00000004u;
7847 _impl_.end_location_ = nullptr;
7848#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7849 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7850 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7851 if (GetArenaForAllocation() == nullptr) { delete old; }
7852#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7853 if (GetArenaForAllocation() != nullptr) {
7854 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7855 }
7856#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7857 return temp;
7858}
7859inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_end_location() {
7860 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.end_location)
7861 _impl_._has_bits_[0] &= ~0x00000004u;
7863 _impl_.end_location_ = nullptr;
7864 return temp;
7865}
7866inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_end_location() {
7867 _impl_._has_bits_[0] |= 0x00000004u;
7868 if (_impl_.end_location_ == nullptr) {
7869 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
7870 _impl_.end_location_ = p;
7871 }
7872 return _impl_.end_location_;
7873}
7874inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_end_location() {
7875 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_end_location();
7876 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.end_location)
7877 return _msg;
7878}
7880 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7881 if (message_arena == nullptr) {
7882 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_location_);
7883 }
7884 if (end_location) {
7885 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7886 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
7887 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_location));
7888 if (message_arena != submessage_arena) {
7889 end_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7890 message_arena, end_location, submessage_arena);
7891 }
7892 _impl_._has_bits_[0] |= 0x00000004u;
7893 } else {
7894 _impl_._has_bits_[0] &= ~0x00000004u;
7895 }
7896 _impl_.end_location_ = end_location;
7897 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.end_location)
7898}
7899
7900// optional double significant_wave_height = 13 [(.dccl.field) = {
7901inline bool DriftPacket::_internal_has_significant_wave_height() const {
7902 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7903 return value;
7904}
7906 return _internal_has_significant_wave_height();
7907}
7909 _impl_.significant_wave_height_ = 0;
7910 _impl_._has_bits_[0] &= ~0x00000008u;
7911}
7912inline double DriftPacket::_internal_significant_wave_height() const {
7913 return _impl_.significant_wave_height_;
7914}
7916 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.significant_wave_height)
7917 return _internal_significant_wave_height();
7918}
7919inline void DriftPacket::_internal_set_significant_wave_height(double value) {
7920 _impl_._has_bits_[0] |= 0x00000008u;
7921 _impl_.significant_wave_height_ = value;
7922}
7924 _internal_set_significant_wave_height(value);
7925 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.significant_wave_height)
7926}
7927
7928// -------------------------------------------------------------------
7929
7930// DivePacket_Measurements
7931
7932// optional double mean_depth = 1 [(.dccl.field) = {
7933inline bool DivePacket_Measurements::_internal_has_mean_depth() const {
7934 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7935 return value;
7936}
7938 return _internal_has_mean_depth();
7939}
7941 _impl_.mean_depth_ = 0;
7942 _impl_._has_bits_[0] &= ~0x00000001u;
7943}
7944inline double DivePacket_Measurements::_internal_mean_depth() const {
7945 return _impl_.mean_depth_;
7946}
7948 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_depth)
7949 return _internal_mean_depth();
7950}
7951inline void DivePacket_Measurements::_internal_set_mean_depth(double value) {
7952 _impl_._has_bits_[0] |= 0x00000001u;
7953 _impl_.mean_depth_ = value;
7954}
7956 _internal_set_mean_depth(value);
7957 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_depth)
7958}
7959
7960// optional double mean_temperature = 2 [(.dccl.field) = {
7961inline bool DivePacket_Measurements::_internal_has_mean_temperature() const {
7962 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7963 return value;
7964}
7966 return _internal_has_mean_temperature();
7967}
7969 _impl_.mean_temperature_ = 0;
7970 _impl_._has_bits_[0] &= ~0x00000002u;
7971}
7972inline double DivePacket_Measurements::_internal_mean_temperature() const {
7973 return _impl_.mean_temperature_;
7974}
7976 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_temperature)
7977 return _internal_mean_temperature();
7978}
7979inline void DivePacket_Measurements::_internal_set_mean_temperature(double value) {
7980 _impl_._has_bits_[0] |= 0x00000002u;
7981 _impl_.mean_temperature_ = value;
7982}
7984 _internal_set_mean_temperature(value);
7985 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_temperature)
7986}
7987
7988// optional double mean_salinity = 3 [(.dccl.field) = {
7989inline bool DivePacket_Measurements::_internal_has_mean_salinity() const {
7990 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7991 return value;
7992}
7994 return _internal_has_mean_salinity();
7995}
7997 _impl_.mean_salinity_ = 0;
7998 _impl_._has_bits_[0] &= ~0x00000004u;
7999}
8000inline double DivePacket_Measurements::_internal_mean_salinity() const {
8001 return _impl_.mean_salinity_;
8002}
8004 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_salinity)
8005 return _internal_mean_salinity();
8006}
8007inline void DivePacket_Measurements::_internal_set_mean_salinity(double value) {
8008 _impl_._has_bits_[0] |= 0x00000004u;
8009 _impl_.mean_salinity_ = value;
8010}
8012 _internal_set_mean_salinity(value);
8013 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_salinity)
8014}
8015
8016// -------------------------------------------------------------------
8017
8018// DivePacket_SubsurfaceCurrentVector
8019
8020// required double velocity = 1 [(.dccl.field) = {
8021inline bool DivePacket_SubsurfaceCurrentVector::_internal_has_velocity() const {
8022 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8023 return value;
8024}
8026 return _internal_has_velocity();
8027}
8029 _impl_.velocity_ = 0;
8030 _impl_._has_bits_[0] &= ~0x00000001u;
8031}
8032inline double DivePacket_SubsurfaceCurrentVector::_internal_velocity() const {
8033 return _impl_.velocity_;
8034}
8036 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.velocity)
8037 return _internal_velocity();
8038}
8039inline void DivePacket_SubsurfaceCurrentVector::_internal_set_velocity(double value) {
8040 _impl_._has_bits_[0] |= 0x00000001u;
8041 _impl_.velocity_ = value;
8042}
8044 _internal_set_velocity(value);
8045 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.velocity)
8046}
8047
8048// required double heading = 2 [(.dccl.field) = {
8049inline bool DivePacket_SubsurfaceCurrentVector::_internal_has_heading() const {
8050 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8051 return value;
8052}
8054 return _internal_has_heading();
8055}
8057 _impl_.heading_ = 0;
8058 _impl_._has_bits_[0] &= ~0x00000002u;
8059}
8060inline double DivePacket_SubsurfaceCurrentVector::_internal_heading() const {
8061 return _impl_.heading_;
8062}
8064 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.heading)
8065 return _internal_heading();
8066}
8067inline void DivePacket_SubsurfaceCurrentVector::_internal_set_heading(double value) {
8068 _impl_._has_bits_[0] |= 0x00000002u;
8069 _impl_.heading_ = value;
8070}
8072 _internal_set_heading(value);
8073 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.heading)
8074}
8075
8076// -------------------------------------------------------------------
8077
8078// DivePacket
8079
8080// required double dive_rate = 10 [(.dccl.field) = {
8081inline bool DivePacket::_internal_has_dive_rate() const {
8082 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8083 return value;
8084}
8085inline bool DivePacket::has_dive_rate() const {
8086 return _internal_has_dive_rate();
8087}
8089 _impl_.dive_rate_ = 0;
8090 _impl_._has_bits_[0] &= ~0x00000004u;
8091}
8092inline double DivePacket::_internal_dive_rate() const {
8093 return _impl_.dive_rate_;
8094}
8095inline double DivePacket::dive_rate() const {
8096 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.dive_rate)
8097 return _internal_dive_rate();
8098}
8099inline void DivePacket::_internal_set_dive_rate(double value) {
8100 _impl_._has_bits_[0] |= 0x00000004u;
8101 _impl_.dive_rate_ = value;
8102}
8103inline void DivePacket::set_dive_rate(double value) {
8104 _internal_set_dive_rate(value);
8105 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.dive_rate)
8106}
8107
8108// optional double unpowered_rise_rate = 11 [(.dccl.field) = {
8109inline bool DivePacket::_internal_has_unpowered_rise_rate() const {
8110 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
8111 return value;
8112}
8114 return _internal_has_unpowered_rise_rate();
8115}
8117 _impl_.unpowered_rise_rate_ = 0;
8118 _impl_._has_bits_[0] &= ~0x00000008u;
8119}
8120inline double DivePacket::_internal_unpowered_rise_rate() const {
8121 return _impl_.unpowered_rise_rate_;
8122}
8123inline double DivePacket::unpowered_rise_rate() const {
8124 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.unpowered_rise_rate)
8125 return _internal_unpowered_rise_rate();
8126}
8127inline void DivePacket::_internal_set_unpowered_rise_rate(double value) {
8128 _impl_._has_bits_[0] |= 0x00000008u;
8129 _impl_.unpowered_rise_rate_ = value;
8130}
8131inline void DivePacket::set_unpowered_rise_rate(double value) {
8132 _internal_set_unpowered_rise_rate(value);
8133 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.unpowered_rise_rate)
8134}
8135
8136// optional double powered_rise_rate = 12 [(.dccl.field) = {
8137inline bool DivePacket::_internal_has_powered_rise_rate() const {
8138 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
8139 return value;
8140}
8142 return _internal_has_powered_rise_rate();
8143}
8145 _impl_.powered_rise_rate_ = 0;
8146 _impl_._has_bits_[0] &= ~0x00000010u;
8147}
8148inline double DivePacket::_internal_powered_rise_rate() const {
8149 return _impl_.powered_rise_rate_;
8150}
8151inline double DivePacket::powered_rise_rate() const {
8152 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.powered_rise_rate)
8153 return _internal_powered_rise_rate();
8154}
8155inline void DivePacket::_internal_set_powered_rise_rate(double value) {
8156 _impl_._has_bits_[0] |= 0x00000010u;
8157 _impl_.powered_rise_rate_ = value;
8158}
8159inline void DivePacket::set_powered_rise_rate(double value) {
8160 _internal_set_powered_rise_rate(value);
8161 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.powered_rise_rate)
8162}
8163
8164// required double depth_achieved = 13 [(.dccl.field) = {
8165inline bool DivePacket::_internal_has_depth_achieved() const {
8166 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
8167 return value;
8168}
8170 return _internal_has_depth_achieved();
8171}
8173 _impl_.depth_achieved_ = 0;
8174 _impl_._has_bits_[0] &= ~0x00000020u;
8175}
8176inline double DivePacket::_internal_depth_achieved() const {
8177 return _impl_.depth_achieved_;
8178}
8179inline double DivePacket::depth_achieved() const {
8180 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.depth_achieved)
8181 return _internal_depth_achieved();
8182}
8183inline void DivePacket::_internal_set_depth_achieved(double value) {
8184 _impl_._has_bits_[0] |= 0x00000020u;
8185 _impl_.depth_achieved_ = value;
8186}
8187inline void DivePacket::set_depth_achieved(double value) {
8188 _internal_set_depth_achieved(value);
8189 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.depth_achieved)
8190}
8191
8192// repeated .jaiabot.protobuf.DivePacket.Measurements measurement = 14 [(.dccl.field) = {
8193inline int DivePacket::_internal_measurement_size() const {
8194 return _impl_.measurement_.size();
8195}
8197 return _internal_measurement_size();
8198}
8200 _impl_.measurement_.Clear();
8201}
8202inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::mutable_measurement(int index) {
8203 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.measurement)
8204 return _impl_.measurement_.Mutable(index);
8205}
8206inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
8208 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.DivePacket.measurement)
8209 return &_impl_.measurement_;
8210}
8211inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::_internal_measurement(int index) const {
8212 return _impl_.measurement_.Get(index);
8213}
8214inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::measurement(int index) const {
8215 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.measurement)
8216 return _internal_measurement(index);
8217}
8218inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::_internal_add_measurement() {
8219 return _impl_.measurement_.Add();
8220}
8221inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::add_measurement() {
8222 ::jaiabot::protobuf::DivePacket_Measurements* _add = _internal_add_measurement();
8223 // @@protoc_insertion_point(field_add:jaiabot.protobuf.DivePacket.measurement)
8224 return _add;
8225}
8226inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
8228 // @@protoc_insertion_point(field_list:jaiabot.protobuf.DivePacket.measurement)
8229 return _impl_.measurement_;
8230}
8231
8232// optional .jaiabot.protobuf.GeographicCoordinate start_location = 15 [(.jaia.field) = {
8233inline bool DivePacket::_internal_has_start_location() const {
8234 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8235 PROTOBUF_ASSUME(!value || _impl_.start_location_ != nullptr);
8236 return value;
8237}
8239 return _internal_has_start_location();
8240}
8241inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::_internal_start_location() const {
8242 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
8243 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
8245}
8246inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::start_location() const {
8247 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.start_location)
8248 return _internal_start_location();
8249}
8252 if (GetArenaForAllocation() == nullptr) {
8253 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
8254 }
8255 _impl_.start_location_ = start_location;
8256 if (start_location) {
8257 _impl_._has_bits_[0] |= 0x00000001u;
8258 } else {
8259 _impl_._has_bits_[0] &= ~0x00000001u;
8260 }
8261 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DivePacket.start_location)
8262}
8263inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::release_start_location() {
8264 _impl_._has_bits_[0] &= ~0x00000001u;
8265 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
8266 _impl_.start_location_ = nullptr;
8267#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8268 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8269 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8270 if (GetArenaForAllocation() == nullptr) { delete old; }
8271#else // PROTOBUF_FORCE_COPY_IN_RELEASE
8272 if (GetArenaForAllocation() != nullptr) {
8273 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8274 }
8275#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
8276 return temp;
8277}
8278inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::unsafe_arena_release_start_location() {
8279 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DivePacket.start_location)
8280 _impl_._has_bits_[0] &= ~0x00000001u;
8281 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
8282 _impl_.start_location_ = nullptr;
8283 return temp;
8284}
8285inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::_internal_mutable_start_location() {
8286 _impl_._has_bits_[0] |= 0x00000001u;
8287 if (_impl_.start_location_ == nullptr) {
8288 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
8289 _impl_.start_location_ = p;
8290 }
8291 return _impl_.start_location_;
8292}
8293inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::mutable_start_location() {
8294 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_start_location();
8295 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.start_location)
8296 return _msg;
8297}
8299 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8300 if (message_arena == nullptr) {
8301 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
8302 }
8303 if (start_location) {
8304 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8305 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
8306 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_location));
8307 if (message_arena != submessage_arena) {
8308 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8309 message_arena, start_location, submessage_arena);
8310 }
8311 _impl_._has_bits_[0] |= 0x00000001u;
8312 } else {
8313 _impl_._has_bits_[0] &= ~0x00000001u;
8314 }
8315 _impl_.start_location_ = start_location;
8316 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DivePacket.start_location)
8317}
8318
8319// optional double duration_to_acquire_gps = 16 [(.dccl.field) = {
8320inline bool DivePacket::_internal_has_duration_to_acquire_gps() const {
8321 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
8322 return value;
8323}
8325 return _internal_has_duration_to_acquire_gps();
8326}
8328 _impl_.duration_to_acquire_gps_ = 0;
8329 _impl_._has_bits_[0] &= ~0x00000040u;
8330}
8331inline double DivePacket::_internal_duration_to_acquire_gps() const {
8332 return _impl_.duration_to_acquire_gps_;
8333}
8335 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.duration_to_acquire_gps)
8336 return _internal_duration_to_acquire_gps();
8337}
8338inline void DivePacket::_internal_set_duration_to_acquire_gps(double value) {
8339 _impl_._has_bits_[0] |= 0x00000040u;
8340 _impl_.duration_to_acquire_gps_ = value;
8341}
8343 _internal_set_duration_to_acquire_gps(value);
8344 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.duration_to_acquire_gps)
8345}
8346
8347// optional bool bottom_dive = 17 [default = false, (.jaia.field) = {
8348inline bool DivePacket::_internal_has_bottom_dive() const {
8349 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
8350 return value;
8351}
8352inline bool DivePacket::has_bottom_dive() const {
8353 return _internal_has_bottom_dive();
8354}
8356 _impl_.bottom_dive_ = false;
8357 _impl_._has_bits_[0] &= ~0x00000100u;
8358}
8359inline bool DivePacket::_internal_bottom_dive() const {
8360 return _impl_.bottom_dive_;
8361}
8362inline bool DivePacket::bottom_dive() const {
8363 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.bottom_dive)
8364 return _internal_bottom_dive();
8365}
8366inline void DivePacket::_internal_set_bottom_dive(bool value) {
8367 _impl_._has_bits_[0] |= 0x00000100u;
8368 _impl_.bottom_dive_ = value;
8369}
8370inline void DivePacket::set_bottom_dive(bool value) {
8371 _internal_set_bottom_dive(value);
8372 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.bottom_dive)
8373}
8374
8375// optional bool reached_min_depth = 18 [default = false, (.jaia.field) = {
8376inline bool DivePacket::_internal_has_reached_min_depth() const {
8377 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
8378 return value;
8379}
8381 return _internal_has_reached_min_depth();
8382}
8384 _impl_.reached_min_depth_ = false;
8385 _impl_._has_bits_[0] &= ~0x00000200u;
8386}
8387inline bool DivePacket::_internal_reached_min_depth() const {
8388 return _impl_.reached_min_depth_;
8389}
8391 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.reached_min_depth)
8392 return _internal_reached_min_depth();
8393}
8394inline void DivePacket::_internal_set_reached_min_depth(bool value) {
8395 _impl_._has_bits_[0] |= 0x00000200u;
8396 _impl_.reached_min_depth_ = value;
8397}
8398inline void DivePacket::set_reached_min_depth(bool value) {
8399 _internal_set_reached_min_depth(value);
8400 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.reached_min_depth)
8401}
8402
8403// optional .jaiabot.protobuf.DivePacket.BottomType bottom_type = 19 [(.jaia.field) = {
8404inline bool DivePacket::_internal_has_bottom_type() const {
8405 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
8406 return value;
8407}
8408inline bool DivePacket::has_bottom_type() const {
8409 return _internal_has_bottom_type();
8410}
8412 _impl_.bottom_type_ = 1;
8413 _impl_._has_bits_[0] &= ~0x00000400u;
8414}
8415inline ::jaiabot::protobuf::DivePacket_BottomType DivePacket::_internal_bottom_type() const {
8416 return static_cast< ::jaiabot::protobuf::DivePacket_BottomType >(_impl_.bottom_type_);
8417}
8418inline ::jaiabot::protobuf::DivePacket_BottomType DivePacket::bottom_type() const {
8419 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.bottom_type)
8420 return _internal_bottom_type();
8421}
8422inline void DivePacket::_internal_set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value) {
8424 _impl_._has_bits_[0] |= 0x00000400u;
8425 _impl_.bottom_type_ = value;
8426}
8428 _internal_set_bottom_type(value);
8429 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.bottom_type)
8430}
8431
8432// optional double max_acceleration = 20 [(.dccl.field) = {
8433inline bool DivePacket::_internal_has_max_acceleration() const {
8434 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
8435 return value;
8436}
8438 return _internal_has_max_acceleration();
8439}
8441 _impl_.max_acceleration_ = 0;
8442 _impl_._has_bits_[0] &= ~0x00000080u;
8443}
8444inline double DivePacket::_internal_max_acceleration() const {
8445 return _impl_.max_acceleration_;
8446}
8447inline double DivePacket::max_acceleration() const {
8448 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.max_acceleration)
8449 return _internal_max_acceleration();
8450}
8451inline void DivePacket::_internal_set_max_acceleration(double value) {
8452 _impl_._has_bits_[0] |= 0x00000080u;
8453 _impl_.max_acceleration_ = value;
8454}
8455inline void DivePacket::set_max_acceleration(double value) {
8456 _internal_set_max_acceleration(value);
8457 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.max_acceleration)
8458}
8459
8460// optional .jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector subsurface_current = 21 [(.jaia.field) = {
8461inline bool DivePacket::_internal_has_subsurface_current() const {
8462 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8463 PROTOBUF_ASSUME(!value || _impl_.subsurface_current_ != nullptr);
8464 return value;
8465}
8467 return _internal_has_subsurface_current();
8468}
8470 if (_impl_.subsurface_current_ != nullptr) _impl_.subsurface_current_->Clear();
8471 _impl_._has_bits_[0] &= ~0x00000002u;
8472}
8473inline const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& DivePacket::_internal_subsurface_current() const {
8474 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* p = _impl_.subsurface_current_;
8475 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector&>(
8477}
8478inline const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& DivePacket::subsurface_current() const {
8479 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.subsurface_current)
8480 return _internal_subsurface_current();
8481}
8484 if (GetArenaForAllocation() == nullptr) {
8485 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.subsurface_current_);
8486 }
8487 _impl_.subsurface_current_ = subsurface_current;
8488 if (subsurface_current) {
8489 _impl_._has_bits_[0] |= 0x00000002u;
8490 } else {
8491 _impl_._has_bits_[0] &= ~0x00000002u;
8492 }
8493 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DivePacket.subsurface_current)
8494}
8495inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::release_subsurface_current() {
8496 _impl_._has_bits_[0] &= ~0x00000002u;
8498 _impl_.subsurface_current_ = nullptr;
8499#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8500 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8501 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8502 if (GetArenaForAllocation() == nullptr) { delete old; }
8503#else // PROTOBUF_FORCE_COPY_IN_RELEASE
8504 if (GetArenaForAllocation() != nullptr) {
8505 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8506 }
8507#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
8508 return temp;
8509}
8510inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::unsafe_arena_release_subsurface_current() {
8511 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DivePacket.subsurface_current)
8512 _impl_._has_bits_[0] &= ~0x00000002u;
8514 _impl_.subsurface_current_ = nullptr;
8515 return temp;
8516}
8517inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::_internal_mutable_subsurface_current() {
8518 _impl_._has_bits_[0] |= 0x00000002u;
8519 if (_impl_.subsurface_current_ == nullptr) {
8521 _impl_.subsurface_current_ = p;
8522 }
8523 return _impl_.subsurface_current_;
8524}
8525inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::mutable_subsurface_current() {
8526 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* _msg = _internal_mutable_subsurface_current();
8527 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.subsurface_current)
8528 return _msg;
8529}
8531 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8532 if (message_arena == nullptr) {
8533 delete _impl_.subsurface_current_;
8534 }
8535 if (subsurface_current) {
8536 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8537 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(subsurface_current);
8538 if (message_arena != submessage_arena) {
8539 subsurface_current = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8540 message_arena, subsurface_current, submessage_arena);
8541 }
8542 _impl_._has_bits_[0] |= 0x00000002u;
8543 } else {
8544 _impl_._has_bits_[0] &= ~0x00000002u;
8545 }
8546 _impl_.subsurface_current_ = subsurface_current;
8547 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DivePacket.subsurface_current)
8548}
8549
8550// -------------------------------------------------------------------
8551
8552// StormCTDProfile_Sample
8553
8554// required double depth = 1 [(.dccl.field) = {
8555inline bool StormCTDProfile_Sample::_internal_has_depth() const {
8556 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8557 return value;
8558}
8560 return _internal_has_depth();
8561}
8563 _impl_.depth_ = 0;
8564 _impl_._has_bits_[0] &= ~0x00000001u;
8565}
8566inline double StormCTDProfile_Sample::_internal_depth() const {
8567 return _impl_.depth_;
8568}
8569inline double StormCTDProfile_Sample::depth() const {
8570 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormCTDProfile.Sample.depth)
8571 return _internal_depth();
8572}
8573inline void StormCTDProfile_Sample::_internal_set_depth(double value) {
8574 _impl_._has_bits_[0] |= 0x00000001u;
8575 _impl_.depth_ = value;
8576}
8577inline void StormCTDProfile_Sample::set_depth(double value) {
8578 _internal_set_depth(value);
8579 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormCTDProfile.Sample.depth)
8580}
8581
8582// required double temperature = 2 [(.dccl.field) = {
8583inline bool StormCTDProfile_Sample::_internal_has_temperature() const {
8584 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8585 return value;
8586}
8588 return _internal_has_temperature();
8589}
8591 _impl_.temperature_ = 0;
8592 _impl_._has_bits_[0] &= ~0x00000002u;
8593}
8594inline double StormCTDProfile_Sample::_internal_temperature() const {
8595 return _impl_.temperature_;
8596}
8598 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormCTDProfile.Sample.temperature)
8599 return _internal_temperature();
8600}
8601inline void StormCTDProfile_Sample::_internal_set_temperature(double value) {
8602 _impl_._has_bits_[0] |= 0x00000002u;
8603 _impl_.temperature_ = value;
8604}
8606 _internal_set_temperature(value);
8607 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormCTDProfile.Sample.temperature)
8608}
8609
8610// required double salinity = 3 [(.dccl.field) = {
8611inline bool StormCTDProfile_Sample::_internal_has_salinity() const {
8612 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8613 return value;
8614}
8616 return _internal_has_salinity();
8617}
8619 _impl_.salinity_ = 0;
8620 _impl_._has_bits_[0] &= ~0x00000004u;
8621}
8622inline double StormCTDProfile_Sample::_internal_salinity() const {
8623 return _impl_.salinity_;
8624}
8626 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormCTDProfile.Sample.salinity)
8627 return _internal_salinity();
8628}
8629inline void StormCTDProfile_Sample::_internal_set_salinity(double value) {
8630 _impl_._has_bits_[0] |= 0x00000004u;
8631 _impl_.salinity_ = value;
8632}
8633inline void StormCTDProfile_Sample::set_salinity(double value) {
8634 _internal_set_salinity(value);
8635 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormCTDProfile.Sample.salinity)
8636}
8637
8638// -------------------------------------------------------------------
8639
8640// StormCTDProfile
8641
8642// required uint64 profile_time = 1 [(.dccl.field) = {
8643inline bool StormCTDProfile::_internal_has_profile_time() const {
8644 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8645 return value;
8646}
8648 return _internal_has_profile_time();
8649}
8651 _impl_.profile_time_ = uint64_t{0u};
8652 _impl_._has_bits_[0] &= ~0x00000002u;
8653}
8654inline uint64_t StormCTDProfile::_internal_profile_time() const {
8655 return _impl_.profile_time_;
8656}
8657inline uint64_t StormCTDProfile::profile_time() const {
8658 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormCTDProfile.profile_time)
8659 return _internal_profile_time();
8660}
8661inline void StormCTDProfile::_internal_set_profile_time(uint64_t value) {
8662 _impl_._has_bits_[0] |= 0x00000002u;
8663 _impl_.profile_time_ = value;
8664}
8665inline void StormCTDProfile::set_profile_time(uint64_t value) {
8666 _internal_set_profile_time(value);
8667 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormCTDProfile.profile_time)
8668}
8669
8670// required .jaiabot.protobuf.GeographicCoordinate location = 2;
8671inline bool StormCTDProfile::_internal_has_location() const {
8672 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8673 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
8674 return value;
8675}
8677 return _internal_has_location();
8678}
8679inline const ::jaiabot::protobuf::GeographicCoordinate& StormCTDProfile::_internal_location() const {
8680 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
8681 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
8683}
8684inline const ::jaiabot::protobuf::GeographicCoordinate& StormCTDProfile::location() const {
8685 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormCTDProfile.location)
8686 return _internal_location();
8687}
8690 if (GetArenaForAllocation() == nullptr) {
8691 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
8692 }
8693 _impl_.location_ = location;
8694 if (location) {
8695 _impl_._has_bits_[0] |= 0x00000001u;
8696 } else {
8697 _impl_._has_bits_[0] &= ~0x00000001u;
8698 }
8699 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.StormCTDProfile.location)
8700}
8701inline ::jaiabot::protobuf::GeographicCoordinate* StormCTDProfile::release_location() {
8702 _impl_._has_bits_[0] &= ~0x00000001u;
8704 _impl_.location_ = nullptr;
8705#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8706 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8707 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8708 if (GetArenaForAllocation() == nullptr) { delete old; }
8709#else // PROTOBUF_FORCE_COPY_IN_RELEASE
8710 if (GetArenaForAllocation() != nullptr) {
8711 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8712 }
8713#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
8714 return temp;
8715}
8716inline ::jaiabot::protobuf::GeographicCoordinate* StormCTDProfile::unsafe_arena_release_location() {
8717 // @@protoc_insertion_point(field_release:jaiabot.protobuf.StormCTDProfile.location)
8718 _impl_._has_bits_[0] &= ~0x00000001u;
8720 _impl_.location_ = nullptr;
8721 return temp;
8722}
8723inline ::jaiabot::protobuf::GeographicCoordinate* StormCTDProfile::_internal_mutable_location() {
8724 _impl_._has_bits_[0] |= 0x00000001u;
8725 if (_impl_.location_ == nullptr) {
8726 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
8727 _impl_.location_ = p;
8728 }
8729 return _impl_.location_;
8730}
8731inline ::jaiabot::protobuf::GeographicCoordinate* StormCTDProfile::mutable_location() {
8732 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_location();
8733 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.StormCTDProfile.location)
8734 return _msg;
8735}
8737 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8738 if (message_arena == nullptr) {
8739 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
8740 }
8741 if (location) {
8742 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8743 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
8744 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location));
8745 if (message_arena != submessage_arena) {
8746 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8747 message_arena, location, submessage_arena);
8748 }
8749 _impl_._has_bits_[0] |= 0x00000001u;
8750 } else {
8751 _impl_._has_bits_[0] &= ~0x00000001u;
8752 }
8753 _impl_.location_ = location;
8754 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.StormCTDProfile.location)
8755}
8756
8757// repeated .jaiabot.protobuf.StormCTDProfile.Sample sample = 3 [(.dccl.field) = {
8758inline int StormCTDProfile::_internal_sample_size() const {
8759 return _impl_.sample_.size();
8760}
8762 return _internal_sample_size();
8763}
8765 _impl_.sample_.Clear();
8766}
8767inline ::jaiabot::protobuf::StormCTDProfile_Sample* StormCTDProfile::mutable_sample(int index) {
8768 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.StormCTDProfile.sample)
8769 return _impl_.sample_.Mutable(index);
8770}
8771inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormCTDProfile_Sample >*
8773 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.StormCTDProfile.sample)
8774 return &_impl_.sample_;
8775}
8776inline const ::jaiabot::protobuf::StormCTDProfile_Sample& StormCTDProfile::_internal_sample(int index) const {
8777 return _impl_.sample_.Get(index);
8778}
8779inline const ::jaiabot::protobuf::StormCTDProfile_Sample& StormCTDProfile::sample(int index) const {
8780 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormCTDProfile.sample)
8781 return _internal_sample(index);
8782}
8783inline ::jaiabot::protobuf::StormCTDProfile_Sample* StormCTDProfile::_internal_add_sample() {
8784 return _impl_.sample_.Add();
8785}
8786inline ::jaiabot::protobuf::StormCTDProfile_Sample* StormCTDProfile::add_sample() {
8787 ::jaiabot::protobuf::StormCTDProfile_Sample* _add = _internal_add_sample();
8788 // @@protoc_insertion_point(field_add:jaiabot.protobuf.StormCTDProfile.sample)
8789 return _add;
8790}
8791inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormCTDProfile_Sample >&
8793 // @@protoc_insertion_point(field_list:jaiabot.protobuf.StormCTDProfile.sample)
8794 return _impl_.sample_;
8795}
8796
8797// required uint32 part_index = 4 [(.dccl.field) = {
8798inline bool StormCTDProfile::_internal_has_part_index() const {
8799 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8800 return value;
8801}
8803 return _internal_has_part_index();
8804}
8806 _impl_.part_index_ = 0u;
8807 _impl_._has_bits_[0] &= ~0x00000004u;
8808}
8809inline uint32_t StormCTDProfile::_internal_part_index() const {
8810 return _impl_.part_index_;
8811}
8812inline uint32_t StormCTDProfile::part_index() const {
8813 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormCTDProfile.part_index)
8814 return _internal_part_index();
8815}
8816inline void StormCTDProfile::_internal_set_part_index(uint32_t value) {
8817 _impl_._has_bits_[0] |= 0x00000004u;
8818 _impl_.part_index_ = value;
8819}
8820inline void StormCTDProfile::set_part_index(uint32_t value) {
8821 _internal_set_part_index(value);
8822 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormCTDProfile.part_index)
8823}
8824
8825// required uint32 num_parts = 5 [(.dccl.field) = {
8826inline bool StormCTDProfile::_internal_has_num_parts() const {
8827 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
8828 return value;
8829}
8831 return _internal_has_num_parts();
8832}
8834 _impl_.num_parts_ = 0u;
8835 _impl_._has_bits_[0] &= ~0x00000008u;
8836}
8837inline uint32_t StormCTDProfile::_internal_num_parts() const {
8838 return _impl_.num_parts_;
8839}
8840inline uint32_t StormCTDProfile::num_parts() const {
8841 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormCTDProfile.num_parts)
8842 return _internal_num_parts();
8843}
8844inline void StormCTDProfile::_internal_set_num_parts(uint32_t value) {
8845 _impl_._has_bits_[0] |= 0x00000008u;
8846 _impl_.num_parts_ = value;
8847}
8848inline void StormCTDProfile::set_num_parts(uint32_t value) {
8849 _internal_set_num_parts(value);
8850 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormCTDProfile.num_parts)
8851}
8852
8853// -------------------------------------------------------------------
8854
8855// TaskPacket
8856
8857// required uint32 bot_id = 1 [(.dccl.field) = {
8858inline bool TaskPacket::_internal_has_bot_id() const {
8859 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
8860 return value;
8861}
8862inline bool TaskPacket::has_bot_id() const {
8863 return _internal_has_bot_id();
8864}
8866 _impl_.bot_id_ = 0u;
8867 _impl_._has_bits_[0] &= ~0x00000008u;
8868}
8869inline uint32_t TaskPacket::_internal_bot_id() const {
8870 return _impl_.bot_id_;
8871}
8872inline uint32_t TaskPacket::bot_id() const {
8873 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.bot_id)
8874 return _internal_bot_id();
8875}
8876inline void TaskPacket::_internal_set_bot_id(uint32_t value) {
8877 _impl_._has_bits_[0] |= 0x00000008u;
8878 _impl_.bot_id_ = value;
8879}
8880inline void TaskPacket::set_bot_id(uint32_t value) {
8881 _internal_set_bot_id(value);
8882 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.bot_id)
8883}
8884
8885// required uint64 start_time = 2 [(.dccl.field) = {
8886inline bool TaskPacket::_internal_has_start_time() const {
8887 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8888 return value;
8889}
8890inline bool TaskPacket::has_start_time() const {
8891 return _internal_has_start_time();
8892}
8894 _impl_.start_time_ = uint64_t{0u};
8895 _impl_._has_bits_[0] &= ~0x00000004u;
8896}
8897inline uint64_t TaskPacket::_internal_start_time() const {
8898 return _impl_.start_time_;
8899}
8900inline uint64_t TaskPacket::start_time() const {
8901 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.start_time)
8902 return _internal_start_time();
8903}
8904inline void TaskPacket::_internal_set_start_time(uint64_t value) {
8905 _impl_._has_bits_[0] |= 0x00000004u;
8906 _impl_.start_time_ = value;
8907}
8908inline void TaskPacket::set_start_time(uint64_t value) {
8909 _internal_set_start_time(value);
8910 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.start_time)
8911}
8912
8913// required uint64 end_time = 3 [(.dccl.field) = {
8914inline bool TaskPacket::_internal_has_end_time() const {
8915 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
8916 return value;
8917}
8918inline bool TaskPacket::has_end_time() const {
8919 return _internal_has_end_time();
8920}
8922 _impl_.end_time_ = uint64_t{0u};
8923 _impl_._has_bits_[0] &= ~0x00000020u;
8924}
8925inline uint64_t TaskPacket::_internal_end_time() const {
8926 return _impl_.end_time_;
8927}
8928inline uint64_t TaskPacket::end_time() const {
8929 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.end_time)
8930 return _internal_end_time();
8931}
8932inline void TaskPacket::_internal_set_end_time(uint64_t value) {
8933 _impl_._has_bits_[0] |= 0x00000020u;
8934 _impl_.end_time_ = value;
8935}
8936inline void TaskPacket::set_end_time(uint64_t value) {
8937 _internal_set_end_time(value);
8938 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.end_time)
8939}
8940
8941// required .jaiabot.protobuf.MissionTask.TaskType type = 4 [(.jaia.field) = {
8942inline bool TaskPacket::_internal_has_type() const {
8943 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
8944 return value;
8945}
8946inline bool TaskPacket::has_type() const {
8947 return _internal_has_type();
8948}
8950 _impl_.type_ = 0;
8951 _impl_._has_bits_[0] &= ~0x00000010u;
8952}
8953inline ::jaiabot::protobuf::MissionTask_TaskType TaskPacket::_internal_type() const {
8954 return static_cast< ::jaiabot::protobuf::MissionTask_TaskType >(_impl_.type_);
8955}
8956inline ::jaiabot::protobuf::MissionTask_TaskType TaskPacket::type() const {
8957 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.type)
8958 return _internal_type();
8959}
8960inline void TaskPacket::_internal_set_type(::jaiabot::protobuf::MissionTask_TaskType value) {
8962 _impl_._has_bits_[0] |= 0x00000010u;
8963 _impl_.type_ = value;
8964}
8966 _internal_set_type(value);
8967 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.type)
8968}
8969
8970// optional .jaiabot.protobuf.Link link = 5 [(.dccl.field) = {
8971inline bool TaskPacket::_internal_has_link() const {
8972 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
8973 return value;
8974}
8975inline bool TaskPacket::has_link() const {
8976 return _internal_has_link();
8977}
8979 _impl_.link_ = -1;
8980 _impl_._has_bits_[0] &= ~0x00000100u;
8981}
8982inline ::jaiabot::protobuf::Link TaskPacket::_internal_link() const {
8983 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
8984}
8985inline ::jaiabot::protobuf::Link TaskPacket::link() const {
8986 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.link)
8987 return _internal_link();
8988}
8989inline void TaskPacket::_internal_set_link(::jaiabot::protobuf::Link value) {
8990 assert(::jaiabot::protobuf::Link_IsValid(value));
8991 _impl_._has_bits_[0] |= 0x00000100u;
8992 _impl_.link_ = value;
8993}
8995 _internal_set_link(value);
8996 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.link)
8997}
8998
8999// optional int32 storm_id = 6 [(.dccl.field) = {
9000inline bool TaskPacket::_internal_has_storm_id() const {
9001 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
9002 return value;
9003}
9004inline bool TaskPacket::has_storm_id() const {
9005 return _internal_has_storm_id();
9006}
9008 _impl_.storm_id_ = 0;
9009 _impl_._has_bits_[0] &= ~0x00000080u;
9010}
9011inline int32_t TaskPacket::_internal_storm_id() const {
9012 return _impl_.storm_id_;
9013}
9014inline int32_t TaskPacket::storm_id() const {
9015 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.storm_id)
9016 return _internal_storm_id();
9017}
9018inline void TaskPacket::_internal_set_storm_id(int32_t value) {
9019 _impl_._has_bits_[0] |= 0x00000080u;
9020 _impl_.storm_id_ = value;
9021}
9022inline void TaskPacket::set_storm_id(int32_t value) {
9023 _internal_set_storm_id(value);
9024 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.storm_id)
9025}
9026
9027// .jaiabot.protobuf.DivePacket dive = 10 [(.jaia.field) = {
9028inline bool TaskPacket::_internal_has_dive() const {
9029 return vertical_data_case() == kDive;
9030}
9031inline bool TaskPacket::has_dive() const {
9032 return _internal_has_dive();
9033}
9034inline void TaskPacket::set_has_dive() {
9035 _impl_._oneof_case_[0] = kDive;
9036}
9038 if (_internal_has_dive()) {
9039 if (GetArenaForAllocation() == nullptr) {
9040 delete _impl_.vertical_data_.dive_;
9041 }
9042 clear_has_vertical_data();
9043 }
9044}
9045inline ::jaiabot::protobuf::DivePacket* TaskPacket::release_dive() {
9046 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.dive)
9047 if (_internal_has_dive()) {
9048 clear_has_vertical_data();
9049 ::jaiabot::protobuf::DivePacket* temp = _impl_.vertical_data_.dive_;
9050 if (GetArenaForAllocation() != nullptr) {
9051 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9052 }
9053 _impl_.vertical_data_.dive_ = nullptr;
9054 return temp;
9055 } else {
9056 return nullptr;
9057 }
9058}
9059inline const ::jaiabot::protobuf::DivePacket& TaskPacket::_internal_dive() const {
9060 return _internal_has_dive()
9061 ? *_impl_.vertical_data_.dive_
9063}
9064inline const ::jaiabot::protobuf::DivePacket& TaskPacket::dive() const {
9065 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.dive)
9066 return _internal_dive();
9067}
9068inline ::jaiabot::protobuf::DivePacket* TaskPacket::unsafe_arena_release_dive() {
9069 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.TaskPacket.dive)
9070 if (_internal_has_dive()) {
9071 clear_has_vertical_data();
9072 ::jaiabot::protobuf::DivePacket* temp = _impl_.vertical_data_.dive_;
9073 _impl_.vertical_data_.dive_ = nullptr;
9074 return temp;
9075 } else {
9076 return nullptr;
9077 }
9078}
9081 if (dive) {
9082 set_has_dive();
9083 _impl_.vertical_data_.dive_ = dive;
9084 }
9085 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.TaskPacket.dive)
9086}
9087inline ::jaiabot::protobuf::DivePacket* TaskPacket::_internal_mutable_dive() {
9088 if (!_internal_has_dive()) {
9089 clear_vertical_data();
9090 set_has_dive();
9091 _impl_.vertical_data_.dive_ = CreateMaybeMessage< ::jaiabot::protobuf::DivePacket >(GetArenaForAllocation());
9092 }
9093 return _impl_.vertical_data_.dive_;
9094}
9095inline ::jaiabot::protobuf::DivePacket* TaskPacket::mutable_dive() {
9096 ::jaiabot::protobuf::DivePacket* _msg = _internal_mutable_dive();
9097 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.dive)
9098 return _msg;
9099}
9100
9101// .jaiabot.protobuf.StormAirDescentData storm_air_descent = 12;
9102inline bool TaskPacket::_internal_has_storm_air_descent() const {
9103 return vertical_data_case() == kStormAirDescent;
9104}
9106 return _internal_has_storm_air_descent();
9107}
9108inline void TaskPacket::set_has_storm_air_descent() {
9109 _impl_._oneof_case_[0] = kStormAirDescent;
9110}
9111inline ::jaiabot::protobuf::StormAirDescentData* TaskPacket::release_storm_air_descent() {
9112 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.storm_air_descent)
9113 if (_internal_has_storm_air_descent()) {
9114 clear_has_vertical_data();
9115 ::jaiabot::protobuf::StormAirDescentData* temp = _impl_.vertical_data_.storm_air_descent_;
9116 if (GetArenaForAllocation() != nullptr) {
9117 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9118 }
9119 _impl_.vertical_data_.storm_air_descent_ = nullptr;
9120 return temp;
9121 } else {
9122 return nullptr;
9123 }
9124}
9125inline const ::jaiabot::protobuf::StormAirDescentData& TaskPacket::_internal_storm_air_descent() const {
9126 return _internal_has_storm_air_descent()
9127 ? *_impl_.vertical_data_.storm_air_descent_
9129}
9130inline const ::jaiabot::protobuf::StormAirDescentData& TaskPacket::storm_air_descent() const {
9131 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.storm_air_descent)
9132 return _internal_storm_air_descent();
9133}
9134inline ::jaiabot::protobuf::StormAirDescentData* TaskPacket::unsafe_arena_release_storm_air_descent() {
9135 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.TaskPacket.storm_air_descent)
9136 if (_internal_has_storm_air_descent()) {
9137 clear_has_vertical_data();
9138 ::jaiabot::protobuf::StormAirDescentData* temp = _impl_.vertical_data_.storm_air_descent_;
9139 _impl_.vertical_data_.storm_air_descent_ = nullptr;
9140 return temp;
9141 } else {
9142 return nullptr;
9143 }
9144}
9147 if (storm_air_descent) {
9148 set_has_storm_air_descent();
9149 _impl_.vertical_data_.storm_air_descent_ = storm_air_descent;
9150 }
9151 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.TaskPacket.storm_air_descent)
9152}
9153inline ::jaiabot::protobuf::StormAirDescentData* TaskPacket::_internal_mutable_storm_air_descent() {
9154 if (!_internal_has_storm_air_descent()) {
9155 clear_vertical_data();
9156 set_has_storm_air_descent();
9157 _impl_.vertical_data_.storm_air_descent_ = CreateMaybeMessage< ::jaiabot::protobuf::StormAirDescentData >(GetArenaForAllocation());
9158 }
9159 return _impl_.vertical_data_.storm_air_descent_;
9160}
9161inline ::jaiabot::protobuf::StormAirDescentData* TaskPacket::mutable_storm_air_descent() {
9162 ::jaiabot::protobuf::StormAirDescentData* _msg = _internal_mutable_storm_air_descent();
9163 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.storm_air_descent)
9164 return _msg;
9165}
9166
9167// .jaiabot.protobuf.StormCTDProfile storm_ctd_profile = 14;
9168inline bool TaskPacket::_internal_has_storm_ctd_profile() const {
9169 return vertical_data_case() == kStormCtdProfile;
9170}
9172 return _internal_has_storm_ctd_profile();
9173}
9174inline void TaskPacket::set_has_storm_ctd_profile() {
9175 _impl_._oneof_case_[0] = kStormCtdProfile;
9176}
9178 if (_internal_has_storm_ctd_profile()) {
9179 if (GetArenaForAllocation() == nullptr) {
9180 delete _impl_.vertical_data_.storm_ctd_profile_;
9181 }
9182 clear_has_vertical_data();
9183 }
9184}
9185inline ::jaiabot::protobuf::StormCTDProfile* TaskPacket::release_storm_ctd_profile() {
9186 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.storm_ctd_profile)
9187 if (_internal_has_storm_ctd_profile()) {
9188 clear_has_vertical_data();
9189 ::jaiabot::protobuf::StormCTDProfile* temp = _impl_.vertical_data_.storm_ctd_profile_;
9190 if (GetArenaForAllocation() != nullptr) {
9191 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9192 }
9193 _impl_.vertical_data_.storm_ctd_profile_ = nullptr;
9194 return temp;
9195 } else {
9196 return nullptr;
9197 }
9198}
9199inline const ::jaiabot::protobuf::StormCTDProfile& TaskPacket::_internal_storm_ctd_profile() const {
9200 return _internal_has_storm_ctd_profile()
9201 ? *_impl_.vertical_data_.storm_ctd_profile_
9203}
9204inline const ::jaiabot::protobuf::StormCTDProfile& TaskPacket::storm_ctd_profile() const {
9205 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.storm_ctd_profile)
9206 return _internal_storm_ctd_profile();
9207}
9208inline ::jaiabot::protobuf::StormCTDProfile* TaskPacket::unsafe_arena_release_storm_ctd_profile() {
9209 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.TaskPacket.storm_ctd_profile)
9210 if (_internal_has_storm_ctd_profile()) {
9211 clear_has_vertical_data();
9212 ::jaiabot::protobuf::StormCTDProfile* temp = _impl_.vertical_data_.storm_ctd_profile_;
9213 _impl_.vertical_data_.storm_ctd_profile_ = nullptr;
9214 return temp;
9215 } else {
9216 return nullptr;
9217 }
9218}
9221 if (storm_ctd_profile) {
9222 set_has_storm_ctd_profile();
9223 _impl_.vertical_data_.storm_ctd_profile_ = storm_ctd_profile;
9224 }
9225 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.TaskPacket.storm_ctd_profile)
9226}
9227inline ::jaiabot::protobuf::StormCTDProfile* TaskPacket::_internal_mutable_storm_ctd_profile() {
9228 if (!_internal_has_storm_ctd_profile()) {
9229 clear_vertical_data();
9230 set_has_storm_ctd_profile();
9231 _impl_.vertical_data_.storm_ctd_profile_ = CreateMaybeMessage< ::jaiabot::protobuf::StormCTDProfile >(GetArenaForAllocation());
9232 }
9233 return _impl_.vertical_data_.storm_ctd_profile_;
9234}
9235inline ::jaiabot::protobuf::StormCTDProfile* TaskPacket::mutable_storm_ctd_profile() {
9236 ::jaiabot::protobuf::StormCTDProfile* _msg = _internal_mutable_storm_ctd_profile();
9237 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.storm_ctd_profile)
9238 return _msg;
9239}
9240
9241// optional .jaiabot.protobuf.DriftPacket drift = 11 [(.jaia.field) = {
9242inline bool TaskPacket::_internal_has_drift() const {
9243 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
9244 PROTOBUF_ASSUME(!value || _impl_.drift_ != nullptr);
9245 return value;
9246}
9247inline bool TaskPacket::has_drift() const {
9248 return _internal_has_drift();
9249}
9251 if (_impl_.drift_ != nullptr) _impl_.drift_->Clear();
9252 _impl_._has_bits_[0] &= ~0x00000002u;
9253}
9254inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::_internal_drift() const {
9255 const ::jaiabot::protobuf::DriftPacket* p = _impl_.drift_;
9256 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DriftPacket&>(
9258}
9259inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::drift() const {
9260 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.drift)
9261 return _internal_drift();
9262}
9265 if (GetArenaForAllocation() == nullptr) {
9266 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drift_);
9267 }
9268 _impl_.drift_ = drift;
9269 if (drift) {
9270 _impl_._has_bits_[0] |= 0x00000002u;
9271 } else {
9272 _impl_._has_bits_[0] &= ~0x00000002u;
9273 }
9274 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.TaskPacket.drift)
9275}
9276inline ::jaiabot::protobuf::DriftPacket* TaskPacket::release_drift() {
9277 _impl_._has_bits_[0] &= ~0x00000002u;
9279 _impl_.drift_ = nullptr;
9280#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
9281 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
9282 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9283 if (GetArenaForAllocation() == nullptr) { delete old; }
9284#else // PROTOBUF_FORCE_COPY_IN_RELEASE
9285 if (GetArenaForAllocation() != nullptr) {
9286 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9287 }
9288#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
9289 return temp;
9290}
9291inline ::jaiabot::protobuf::DriftPacket* TaskPacket::unsafe_arena_release_drift() {
9292 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.drift)
9293 _impl_._has_bits_[0] &= ~0x00000002u;
9295 _impl_.drift_ = nullptr;
9296 return temp;
9297}
9298inline ::jaiabot::protobuf::DriftPacket* TaskPacket::_internal_mutable_drift() {
9299 _impl_._has_bits_[0] |= 0x00000002u;
9300 if (_impl_.drift_ == nullptr) {
9301 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(GetArenaForAllocation());
9302 _impl_.drift_ = p;
9303 }
9304 return _impl_.drift_;
9305}
9306inline ::jaiabot::protobuf::DriftPacket* TaskPacket::mutable_drift() {
9307 ::jaiabot::protobuf::DriftPacket* _msg = _internal_mutable_drift();
9308 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.drift)
9309 return _msg;
9310}
9312 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
9313 if (message_arena == nullptr) {
9314 delete _impl_.drift_;
9315 }
9316 if (drift) {
9317 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9318 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(drift);
9319 if (message_arena != submessage_arena) {
9320 drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9321 message_arena, drift, submessage_arena);
9322 }
9323 _impl_._has_bits_[0] |= 0x00000002u;
9324 } else {
9325 _impl_._has_bits_[0] &= ~0x00000002u;
9326 }
9327 _impl_.drift_ = drift;
9328 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.TaskPacket.drift)
9329}
9330
9331// optional uint64 mission_command_time = 71 [(.dccl.field) = {
9332inline bool TaskPacket::_internal_has_mission_command_time() const {
9333 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
9334 return value;
9335}
9337 return _internal_has_mission_command_time();
9338}
9340 _impl_.mission_command_time_ = uint64_t{0u};
9341 _impl_._has_bits_[0] &= ~0x00000040u;
9342}
9343inline uint64_t TaskPacket::_internal_mission_command_time() const {
9344 return _impl_.mission_command_time_;
9345}
9346inline uint64_t TaskPacket::mission_command_time() const {
9347 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.mission_command_time)
9348 return _internal_mission_command_time();
9349}
9350inline void TaskPacket::_internal_set_mission_command_time(uint64_t value) {
9351 _impl_._has_bits_[0] |= 0x00000040u;
9352 _impl_.mission_command_time_ = value;
9353}
9354inline void TaskPacket::set_mission_command_time(uint64_t value) {
9355 _internal_set_mission_command_time(value);
9356 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.mission_command_time)
9357}
9358
9359// optional string mission_name = 72 [(.dccl.field) = {
9360inline bool TaskPacket::_internal_has_mission_name() const {
9361 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9362 return value;
9363}
9364inline bool TaskPacket::has_mission_name() const {
9365 return _internal_has_mission_name();
9366}
9368 _impl_.mission_name_.ClearToEmpty();
9369 _impl_._has_bits_[0] &= ~0x00000001u;
9370}
9371inline const std::string& TaskPacket::mission_name() const {
9372 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.mission_name)
9373 return _internal_mission_name();
9374}
9375template <typename ArgT0, typename... ArgT>
9376inline PROTOBUF_ALWAYS_INLINE
9377void TaskPacket::set_mission_name(ArgT0&& arg0, ArgT... args) {
9378 _impl_._has_bits_[0] |= 0x00000001u;
9379 _impl_.mission_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
9380 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.mission_name)
9381}
9383 std::string* _s = _internal_mutable_mission_name();
9384 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.mission_name)
9385 return _s;
9386}
9387inline const std::string& TaskPacket::_internal_mission_name() const {
9388 return _impl_.mission_name_.Get();
9389}
9390inline void TaskPacket::_internal_set_mission_name(const std::string& value) {
9391 _impl_._has_bits_[0] |= 0x00000001u;
9392 _impl_.mission_name_.Set(value, GetArenaForAllocation());
9393}
9394inline std::string* TaskPacket::_internal_mutable_mission_name() {
9395 _impl_._has_bits_[0] |= 0x00000001u;
9396 return _impl_.mission_name_.Mutable(GetArenaForAllocation());
9397}
9399 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.mission_name)
9400 if (!_internal_has_mission_name()) {
9401 return nullptr;
9402 }
9403 _impl_._has_bits_[0] &= ~0x00000001u;
9404 auto* p = _impl_.mission_name_.Release();
9405#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9406 if (_impl_.mission_name_.IsDefault()) {
9407 _impl_.mission_name_.Set("", GetArenaForAllocation());
9408 }
9409#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9410 return p;
9411}
9413 if (mission_name != nullptr) {
9414 _impl_._has_bits_[0] |= 0x00000001u;
9415 } else {
9416 _impl_._has_bits_[0] &= ~0x00000001u;
9417 }
9418 _impl_.mission_name_.SetAllocated(mission_name, GetArenaForAllocation());
9419#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9420 if (_impl_.mission_name_.IsDefault()) {
9421 _impl_.mission_name_.Set("", GetArenaForAllocation());
9422 }
9423#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9424 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.TaskPacket.mission_name)
9425}
9426
9427inline bool TaskPacket::has_vertical_data() const {
9428 return vertical_data_case() != VERTICAL_DATA_NOT_SET;
9429}
9430inline void TaskPacket::clear_has_vertical_data() {
9431 _impl_._oneof_case_[0] = VERTICAL_DATA_NOT_SET;
9432}
9436// -------------------------------------------------------------------
9437
9438// ContactUpdate
9439
9440// optional int32 contact = 1 [(.dccl.field) = {
9441inline bool ContactUpdate::_internal_has_contact() const {
9442 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
9443 return value;
9444}
9445inline bool ContactUpdate::has_contact() const {
9446 return _internal_has_contact();
9447}
9449 _impl_.contact_ = 0;
9450 _impl_._has_bits_[0] &= ~0x00000008u;
9451}
9452inline int32_t ContactUpdate::_internal_contact() const {
9453 return _impl_.contact_;
9454}
9455inline int32_t ContactUpdate::contact() const {
9456 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.contact)
9457 return _internal_contact();
9458}
9459inline void ContactUpdate::_internal_set_contact(int32_t value) {
9460 _impl_._has_bits_[0] |= 0x00000008u;
9461 _impl_.contact_ = value;
9462}
9463inline void ContactUpdate::set_contact(int32_t value) {
9464 _internal_set_contact(value);
9465 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.contact)
9466}
9467
9468// required .jaiabot.protobuf.GeographicCoordinate location = 2;
9469inline bool ContactUpdate::_internal_has_location() const {
9470 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9471 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
9472 return value;
9473}
9474inline bool ContactUpdate::has_location() const {
9475 return _internal_has_location();
9476}
9477inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::_internal_location() const {
9478 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
9479 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
9481}
9482inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::location() const {
9483 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.location)
9484 return _internal_location();
9485}
9488 if (GetArenaForAllocation() == nullptr) {
9489 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
9490 }
9491 _impl_.location_ = location;
9492 if (location) {
9493 _impl_._has_bits_[0] |= 0x00000001u;
9494 } else {
9495 _impl_._has_bits_[0] &= ~0x00000001u;
9496 }
9497 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ContactUpdate.location)
9498}
9499inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::release_location() {
9500 _impl_._has_bits_[0] &= ~0x00000001u;
9502 _impl_.location_ = nullptr;
9503#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
9504 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
9505 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9506 if (GetArenaForAllocation() == nullptr) { delete old; }
9507#else // PROTOBUF_FORCE_COPY_IN_RELEASE
9508 if (GetArenaForAllocation() != nullptr) {
9509 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9510 }
9511#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
9512 return temp;
9513}
9514inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::unsafe_arena_release_location() {
9515 // @@protoc_insertion_point(field_release:jaiabot.protobuf.ContactUpdate.location)
9516 _impl_._has_bits_[0] &= ~0x00000001u;
9518 _impl_.location_ = nullptr;
9519 return temp;
9520}
9521inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::_internal_mutable_location() {
9522 _impl_._has_bits_[0] |= 0x00000001u;
9523 if (_impl_.location_ == nullptr) {
9524 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
9525 _impl_.location_ = p;
9526 }
9527 return _impl_.location_;
9528}
9529inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::mutable_location() {
9530 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_location();
9531 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ContactUpdate.location)
9532 return _msg;
9533}
9535 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
9536 if (message_arena == nullptr) {
9537 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
9538 }
9539 if (location) {
9540 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9541 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
9542 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location));
9543 if (message_arena != submessage_arena) {
9544 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9545 message_arena, location, submessage_arena);
9546 }
9547 _impl_._has_bits_[0] |= 0x00000001u;
9548 } else {
9549 _impl_._has_bits_[0] &= ~0x00000001u;
9550 }
9551 _impl_.location_ = location;
9552 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ContactUpdate.location)
9553}
9554
9555// optional double speed_over_ground = 3 [(.dccl.field) = {
9556inline bool ContactUpdate::_internal_has_speed_over_ground() const {
9557 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
9558 return value;
9559}
9561 return _internal_has_speed_over_ground();
9562}
9564 _impl_.speed_over_ground_ = 0;
9565 _impl_._has_bits_[0] &= ~0x00000002u;
9566}
9567inline double ContactUpdate::_internal_speed_over_ground() const {
9568 return _impl_.speed_over_ground_;
9569}
9571 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.speed_over_ground)
9572 return _internal_speed_over_ground();
9573}
9574inline void ContactUpdate::_internal_set_speed_over_ground(double value) {
9575 _impl_._has_bits_[0] |= 0x00000002u;
9576 _impl_.speed_over_ground_ = value;
9577}
9578inline void ContactUpdate::set_speed_over_ground(double value) {
9579 _internal_set_speed_over_ground(value);
9580 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.speed_over_ground)
9581}
9582
9583// optional double heading_or_cog = 5 [(.dccl.field) = {
9584inline bool ContactUpdate::_internal_has_heading_or_cog() const {
9585 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
9586 return value;
9587}
9589 return _internal_has_heading_or_cog();
9590}
9592 _impl_.heading_or_cog_ = 0;
9593 _impl_._has_bits_[0] &= ~0x00000004u;
9594}
9595inline double ContactUpdate::_internal_heading_or_cog() const {
9596 return _impl_.heading_or_cog_;
9597}
9598inline double ContactUpdate::heading_or_cog() const {
9599 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.heading_or_cog)
9600 return _internal_heading_or_cog();
9601}
9602inline void ContactUpdate::_internal_set_heading_or_cog(double value) {
9603 _impl_._has_bits_[0] |= 0x00000004u;
9604 _impl_.heading_or_cog_ = value;
9605}
9606inline void ContactUpdate::set_heading_or_cog(double value) {
9607 _internal_set_heading_or_cog(value);
9608 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.heading_or_cog)
9609}
9610
9611// -------------------------------------------------------------------
9612
9613// Hub2HubData
9614
9615// required uint32 hub_id = 1 [(.dccl.field) = {
9616inline bool Hub2HubData::_internal_has_hub_id() const {
9617 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
9618 return value;
9619}
9620inline bool Hub2HubData::has_hub_id() const {
9621 return _internal_has_hub_id();
9622}
9624 _impl_.hub_id_ = 0u;
9625 _impl_._has_bits_[0] &= ~0x00000002u;
9626}
9627inline uint32_t Hub2HubData::_internal_hub_id() const {
9628 return _impl_.hub_id_;
9629}
9630inline uint32_t Hub2HubData::hub_id() const {
9631 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.hub_id)
9632 return _internal_hub_id();
9633}
9634inline void Hub2HubData::_internal_set_hub_id(uint32_t value) {
9635 _impl_._has_bits_[0] |= 0x00000002u;
9636 _impl_.hub_id_ = value;
9637}
9638inline void Hub2HubData::set_hub_id(uint32_t value) {
9639 _internal_set_hub_id(value);
9640 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Hub2HubData.hub_id)
9641}
9642
9643// required uint64 time = 2 [(.dccl.field) = {
9644inline bool Hub2HubData::_internal_has_time() const {
9645 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9646 return value;
9647}
9648inline bool Hub2HubData::has_time() const {
9649 return _internal_has_time();
9650}
9652 _impl_.time_ = uint64_t{0u};
9653 _impl_._has_bits_[0] &= ~0x00000001u;
9654}
9655inline uint64_t Hub2HubData::_internal_time() const {
9656 return _impl_.time_;
9657}
9658inline uint64_t Hub2HubData::time() const {
9659 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.time)
9660 return _internal_time();
9661}
9662inline void Hub2HubData::_internal_set_time(uint64_t value) {
9663 _impl_._has_bits_[0] |= 0x00000001u;
9664 _impl_.time_ = value;
9665}
9666inline void Hub2HubData::set_time(uint64_t value) {
9667 _internal_set_time(value);
9668 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Hub2HubData.time)
9669}
9670
9671// optional .jaiabot.protobuf.Link bot_link = 3;
9672inline bool Hub2HubData::_internal_has_bot_link() const {
9673 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
9674 return value;
9675}
9676inline bool Hub2HubData::has_bot_link() const {
9677 return _internal_has_bot_link();
9678}
9680 _impl_.bot_link_ = -1;
9681 _impl_._has_bits_[0] &= ~0x00000004u;
9682}
9683inline ::jaiabot::protobuf::Link Hub2HubData::_internal_bot_link() const {
9684 return static_cast< ::jaiabot::protobuf::Link >(_impl_.bot_link_);
9685}
9686inline ::jaiabot::protobuf::Link Hub2HubData::bot_link() const {
9687 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.bot_link)
9688 return _internal_bot_link();
9689}
9690inline void Hub2HubData::_internal_set_bot_link(::jaiabot::protobuf::Link value) {
9691 assert(::jaiabot::protobuf::Link_IsValid(value));
9692 _impl_._has_bits_[0] |= 0x00000004u;
9693 _impl_.bot_link_ = value;
9694}
9696 _internal_set_bot_link(value);
9697 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Hub2HubData.bot_link)
9698}
9699
9700// .jaiabot.protobuf.BotStatus bot_status = 10;
9701inline bool Hub2HubData::_internal_has_bot_status() const {
9702 return contents_case() == kBotStatus;
9703}
9704inline bool Hub2HubData::has_bot_status() const {
9705 return _internal_has_bot_status();
9706}
9707inline void Hub2HubData::set_has_bot_status() {
9708 _impl_._oneof_case_[0] = kBotStatus;
9709}
9711 if (_internal_has_bot_status()) {
9712 if (GetArenaForAllocation() == nullptr) {
9713 delete _impl_.contents_.bot_status_;
9714 }
9715 clear_has_contents();
9716 }
9717}
9718inline ::jaiabot::protobuf::BotStatus* Hub2HubData::release_bot_status() {
9719 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.bot_status)
9720 if (_internal_has_bot_status()) {
9721 clear_has_contents();
9722 ::jaiabot::protobuf::BotStatus* temp = _impl_.contents_.bot_status_;
9723 if (GetArenaForAllocation() != nullptr) {
9724 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9725 }
9726 _impl_.contents_.bot_status_ = nullptr;
9727 return temp;
9728 } else {
9729 return nullptr;
9730 }
9731}
9732inline const ::jaiabot::protobuf::BotStatus& Hub2HubData::_internal_bot_status() const {
9733 return _internal_has_bot_status()
9734 ? *_impl_.contents_.bot_status_
9736}
9737inline const ::jaiabot::protobuf::BotStatus& Hub2HubData::bot_status() const {
9738 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.bot_status)
9739 return _internal_bot_status();
9740}
9741inline ::jaiabot::protobuf::BotStatus* Hub2HubData::unsafe_arena_release_bot_status() {
9742 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.bot_status)
9743 if (_internal_has_bot_status()) {
9744 clear_has_contents();
9745 ::jaiabot::protobuf::BotStatus* temp = _impl_.contents_.bot_status_;
9746 _impl_.contents_.bot_status_ = nullptr;
9747 return temp;
9748 } else {
9749 return nullptr;
9750 }
9751}
9754 if (bot_status) {
9755 set_has_bot_status();
9756 _impl_.contents_.bot_status_ = bot_status;
9757 }
9758 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.bot_status)
9759}
9760inline ::jaiabot::protobuf::BotStatus* Hub2HubData::_internal_mutable_bot_status() {
9761 if (!_internal_has_bot_status()) {
9762 clear_contents();
9763 set_has_bot_status();
9764 _impl_.contents_.bot_status_ = CreateMaybeMessage< ::jaiabot::protobuf::BotStatus >(GetArenaForAllocation());
9765 }
9766 return _impl_.contents_.bot_status_;
9767}
9768inline ::jaiabot::protobuf::BotStatus* Hub2HubData::mutable_bot_status() {
9769 ::jaiabot::protobuf::BotStatus* _msg = _internal_mutable_bot_status();
9770 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.bot_status)
9771 return _msg;
9772}
9773
9774// .jaiabot.protobuf.TaskPacket task_packet = 11;
9775inline bool Hub2HubData::_internal_has_task_packet() const {
9776 return contents_case() == kTaskPacket;
9777}
9778inline bool Hub2HubData::has_task_packet() const {
9779 return _internal_has_task_packet();
9780}
9781inline void Hub2HubData::set_has_task_packet() {
9782 _impl_._oneof_case_[0] = kTaskPacket;
9783}
9785 if (_internal_has_task_packet()) {
9786 if (GetArenaForAllocation() == nullptr) {
9787 delete _impl_.contents_.task_packet_;
9788 }
9789 clear_has_contents();
9790 }
9791}
9792inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::release_task_packet() {
9793 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.task_packet)
9794 if (_internal_has_task_packet()) {
9795 clear_has_contents();
9796 ::jaiabot::protobuf::TaskPacket* temp = _impl_.contents_.task_packet_;
9797 if (GetArenaForAllocation() != nullptr) {
9798 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9799 }
9800 _impl_.contents_.task_packet_ = nullptr;
9801 return temp;
9802 } else {
9803 return nullptr;
9804 }
9805}
9806inline const ::jaiabot::protobuf::TaskPacket& Hub2HubData::_internal_task_packet() const {
9807 return _internal_has_task_packet()
9808 ? *_impl_.contents_.task_packet_
9810}
9811inline const ::jaiabot::protobuf::TaskPacket& Hub2HubData::task_packet() const {
9812 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.task_packet)
9813 return _internal_task_packet();
9814}
9815inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::unsafe_arena_release_task_packet() {
9816 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.task_packet)
9817 if (_internal_has_task_packet()) {
9818 clear_has_contents();
9819 ::jaiabot::protobuf::TaskPacket* temp = _impl_.contents_.task_packet_;
9820 _impl_.contents_.task_packet_ = nullptr;
9821 return temp;
9822 } else {
9823 return nullptr;
9824 }
9825}
9828 if (task_packet) {
9829 set_has_task_packet();
9830 _impl_.contents_.task_packet_ = task_packet;
9831 }
9832 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.task_packet)
9833}
9834inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::_internal_mutable_task_packet() {
9835 if (!_internal_has_task_packet()) {
9836 clear_contents();
9837 set_has_task_packet();
9838 _impl_.contents_.task_packet_ = CreateMaybeMessage< ::jaiabot::protobuf::TaskPacket >(GetArenaForAllocation());
9839 }
9840 return _impl_.contents_.task_packet_;
9841}
9842inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::mutable_task_packet() {
9843 ::jaiabot::protobuf::TaskPacket* _msg = _internal_mutable_task_packet();
9844 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.task_packet)
9845 return _msg;
9846}
9847
9848// .jaiabot.protobuf.Command command_for_bot = 12;
9849inline bool Hub2HubData::_internal_has_command_for_bot() const {
9850 return contents_case() == kCommandForBot;
9851}
9853 return _internal_has_command_for_bot();
9854}
9855inline void Hub2HubData::set_has_command_for_bot() {
9856 _impl_._oneof_case_[0] = kCommandForBot;
9857}
9859 if (_internal_has_command_for_bot()) {
9860 if (GetArenaForAllocation() == nullptr) {
9861 delete _impl_.contents_.command_for_bot_;
9862 }
9863 clear_has_contents();
9864 }
9865}
9866inline ::jaiabot::protobuf::Command* Hub2HubData::release_command_for_bot() {
9867 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.command_for_bot)
9868 if (_internal_has_command_for_bot()) {
9869 clear_has_contents();
9870 ::jaiabot::protobuf::Command* temp = _impl_.contents_.command_for_bot_;
9871 if (GetArenaForAllocation() != nullptr) {
9872 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9873 }
9874 _impl_.contents_.command_for_bot_ = nullptr;
9875 return temp;
9876 } else {
9877 return nullptr;
9878 }
9879}
9880inline const ::jaiabot::protobuf::Command& Hub2HubData::_internal_command_for_bot() const {
9881 return _internal_has_command_for_bot()
9882 ? *_impl_.contents_.command_for_bot_
9884}
9885inline const ::jaiabot::protobuf::Command& Hub2HubData::command_for_bot() const {
9886 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.command_for_bot)
9887 return _internal_command_for_bot();
9888}
9889inline ::jaiabot::protobuf::Command* Hub2HubData::unsafe_arena_release_command_for_bot() {
9890 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.command_for_bot)
9891 if (_internal_has_command_for_bot()) {
9892 clear_has_contents();
9893 ::jaiabot::protobuf::Command* temp = _impl_.contents_.command_for_bot_;
9894 _impl_.contents_.command_for_bot_ = nullptr;
9895 return temp;
9896 } else {
9897 return nullptr;
9898 }
9899}
9902 if (command_for_bot) {
9903 set_has_command_for_bot();
9904 _impl_.contents_.command_for_bot_ = command_for_bot;
9905 }
9906 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.command_for_bot)
9907}
9908inline ::jaiabot::protobuf::Command* Hub2HubData::_internal_mutable_command_for_bot() {
9909 if (!_internal_has_command_for_bot()) {
9910 clear_contents();
9911 set_has_command_for_bot();
9912 _impl_.contents_.command_for_bot_ = CreateMaybeMessage< ::jaiabot::protobuf::Command >(GetArenaForAllocation());
9913 }
9914 return _impl_.contents_.command_for_bot_;
9915}
9916inline ::jaiabot::protobuf::Command* Hub2HubData::mutable_command_for_bot() {
9917 ::jaiabot::protobuf::Command* _msg = _internal_mutable_command_for_bot();
9918 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.command_for_bot)
9919 return _msg;
9920}
9921
9922// .jaiabot.protobuf.CommandCommsResult command_comms_result = 13;
9923inline bool Hub2HubData::_internal_has_command_comms_result() const {
9924 return contents_case() == kCommandCommsResult;
9925}
9927 return _internal_has_command_comms_result();
9928}
9929inline void Hub2HubData::set_has_command_comms_result() {
9930 _impl_._oneof_case_[0] = kCommandCommsResult;
9931}
9933 if (_internal_has_command_comms_result()) {
9934 if (GetArenaForAllocation() == nullptr) {
9935 delete _impl_.contents_.command_comms_result_;
9936 }
9937 clear_has_contents();
9938 }
9939}
9940inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::release_command_comms_result() {
9941 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.command_comms_result)
9942 if (_internal_has_command_comms_result()) {
9943 clear_has_contents();
9944 ::jaiabot::protobuf::CommandCommsResult* temp = _impl_.contents_.command_comms_result_;
9945 if (GetArenaForAllocation() != nullptr) {
9946 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9947 }
9948 _impl_.contents_.command_comms_result_ = nullptr;
9949 return temp;
9950 } else {
9951 return nullptr;
9952 }
9953}
9954inline const ::jaiabot::protobuf::CommandCommsResult& Hub2HubData::_internal_command_comms_result() const {
9955 return _internal_has_command_comms_result()
9956 ? *_impl_.contents_.command_comms_result_
9958}
9959inline const ::jaiabot::protobuf::CommandCommsResult& Hub2HubData::command_comms_result() const {
9960 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.command_comms_result)
9961 return _internal_command_comms_result();
9962}
9963inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::unsafe_arena_release_command_comms_result() {
9964 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.command_comms_result)
9965 if (_internal_has_command_comms_result()) {
9966 clear_has_contents();
9967 ::jaiabot::protobuf::CommandCommsResult* temp = _impl_.contents_.command_comms_result_;
9968 _impl_.contents_.command_comms_result_ = nullptr;
9969 return temp;
9970 } else {
9971 return nullptr;
9972 }
9973}
9977 set_has_command_comms_result();
9978 _impl_.contents_.command_comms_result_ = command_comms_result;
9979 }
9980 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.command_comms_result)
9981}
9982inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::_internal_mutable_command_comms_result() {
9983 if (!_internal_has_command_comms_result()) {
9984 clear_contents();
9985 set_has_command_comms_result();
9986 _impl_.contents_.command_comms_result_ = CreateMaybeMessage< ::jaiabot::protobuf::CommandCommsResult >(GetArenaForAllocation());
9987 }
9988 return _impl_.contents_.command_comms_result_;
9989}
9990inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::mutable_command_comms_result() {
9991 ::jaiabot::protobuf::CommandCommsResult* _msg = _internal_mutable_command_comms_result();
9992 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.command_comms_result)
9993 return _msg;
9994}
9995
9996// .jaiabot.protobuf.HubStatus hub_status = 14;
9997inline bool Hub2HubData::_internal_has_hub_status() const {
9998 return contents_case() == kHubStatus;
9999}
10000inline bool Hub2HubData::has_hub_status() const {
10001 return _internal_has_hub_status();
10002}
10003inline void Hub2HubData::set_has_hub_status() {
10004 _impl_._oneof_case_[0] = kHubStatus;
10005}
10006inline ::jaiabot::protobuf::HubStatus* Hub2HubData::release_hub_status() {
10007 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.hub_status)
10008 if (_internal_has_hub_status()) {
10009 clear_has_contents();
10010 ::jaiabot::protobuf::HubStatus* temp = _impl_.contents_.hub_status_;
10011 if (GetArenaForAllocation() != nullptr) {
10012 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
10013 }
10014 _impl_.contents_.hub_status_ = nullptr;
10015 return temp;
10016 } else {
10017 return nullptr;
10018 }
10019}
10020inline const ::jaiabot::protobuf::HubStatus& Hub2HubData::_internal_hub_status() const {
10021 return _internal_has_hub_status()
10022 ? *_impl_.contents_.hub_status_
10024}
10025inline const ::jaiabot::protobuf::HubStatus& Hub2HubData::hub_status() const {
10026 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.hub_status)
10027 return _internal_hub_status();
10028}
10029inline ::jaiabot::protobuf::HubStatus* Hub2HubData::unsafe_arena_release_hub_status() {
10030 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.hub_status)
10031 if (_internal_has_hub_status()) {
10032 clear_has_contents();
10033 ::jaiabot::protobuf::HubStatus* temp = _impl_.contents_.hub_status_;
10034 _impl_.contents_.hub_status_ = nullptr;
10035 return temp;
10036 } else {
10037 return nullptr;
10038 }
10039}
10042 if (hub_status) {
10043 set_has_hub_status();
10044 _impl_.contents_.hub_status_ = hub_status;
10045 }
10046 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.hub_status)
10047}
10048inline ::jaiabot::protobuf::HubStatus* Hub2HubData::_internal_mutable_hub_status() {
10049 if (!_internal_has_hub_status()) {
10050 clear_contents();
10051 set_has_hub_status();
10052 _impl_.contents_.hub_status_ = CreateMaybeMessage< ::jaiabot::protobuf::HubStatus >(GetArenaForAllocation());
10053 }
10054 return _impl_.contents_.hub_status_;
10055}
10056inline ::jaiabot::protobuf::HubStatus* Hub2HubData::mutable_hub_status() {
10057 ::jaiabot::protobuf::HubStatus* _msg = _internal_mutable_hub_status();
10058 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.hub_status)
10059 return _msg;
10060}
10061
10062inline bool Hub2HubData::has_contents() const {
10063 return contents_case() != CONTENTS_NOT_SET;
10064}
10065inline void Hub2HubData::clear_has_contents() {
10066 _impl_._oneof_case_[0] = CONTENTS_NOT_SET;
10067}
10069 return Hub2HubData::ContentsCase(_impl_._oneof_case_[0]);
10070}
10071// -------------------------------------------------------------------
10072
10073// CommandCommsResult
10074
10075// required .jaiabot.protobuf.CommandCommsResult.CommsResult result = 1;
10076inline bool CommandCommsResult::_internal_has_result() const {
10077 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
10078 return value;
10079}
10081 return _internal_has_result();
10082}
10084 _impl_.result_ = 1;
10085 _impl_._has_bits_[0] &= ~0x00000002u;
10086}
10087inline ::jaiabot::protobuf::CommandCommsResult_CommsResult CommandCommsResult::_internal_result() const {
10088 return static_cast< ::jaiabot::protobuf::CommandCommsResult_CommsResult >(_impl_.result_);
10089}
10090inline ::jaiabot::protobuf::CommandCommsResult_CommsResult CommandCommsResult::result() const {
10091 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandCommsResult.result)
10092 return _internal_result();
10093}
10094inline void CommandCommsResult::_internal_set_result(::jaiabot::protobuf::CommandCommsResult_CommsResult value) {
10096 _impl_._has_bits_[0] |= 0x00000002u;
10097 _impl_.result_ = value;
10098}
10100 _internal_set_result(value);
10101 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandCommsResult.result)
10102}
10103
10104// required .jaiabot.protobuf.Link link = 2;
10105inline bool CommandCommsResult::_internal_has_link() const {
10106 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
10107 return value;
10108}
10109inline bool CommandCommsResult::has_link() const {
10110 return _internal_has_link();
10111}
10113 _impl_.link_ = -1;
10114 _impl_._has_bits_[0] &= ~0x00000004u;
10115}
10116inline ::jaiabot::protobuf::Link CommandCommsResult::_internal_link() const {
10117 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
10118}
10119inline ::jaiabot::protobuf::Link CommandCommsResult::link() const {
10120 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandCommsResult.link)
10121 return _internal_link();
10122}
10123inline void CommandCommsResult::_internal_set_link(::jaiabot::protobuf::Link value) {
10124 assert(::jaiabot::protobuf::Link_IsValid(value));
10125 _impl_._has_bits_[0] |= 0x00000004u;
10126 _impl_.link_ = value;
10127}
10129 _internal_set_link(value);
10130 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandCommsResult.link)
10131}
10132
10133// required .jaiabot.protobuf.Command orig_command = 3;
10134inline bool CommandCommsResult::_internal_has_orig_command() const {
10135 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
10136 PROTOBUF_ASSUME(!value || _impl_.orig_command_ != nullptr);
10137 return value;
10138}
10140 return _internal_has_orig_command();
10141}
10143 if (_impl_.orig_command_ != nullptr) _impl_.orig_command_->Clear();
10144 _impl_._has_bits_[0] &= ~0x00000001u;
10145}
10146inline const ::jaiabot::protobuf::Command& CommandCommsResult::_internal_orig_command() const {
10147 const ::jaiabot::protobuf::Command* p = _impl_.orig_command_;
10148 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::Command&>(
10150}
10151inline const ::jaiabot::protobuf::Command& CommandCommsResult::orig_command() const {
10152 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandCommsResult.orig_command)
10153 return _internal_orig_command();
10154}
10157 if (GetArenaForAllocation() == nullptr) {
10158 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.orig_command_);
10159 }
10160 _impl_.orig_command_ = orig_command;
10161 if (orig_command) {
10162 _impl_._has_bits_[0] |= 0x00000001u;
10163 } else {
10164 _impl_._has_bits_[0] &= ~0x00000001u;
10165 }
10166 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.CommandCommsResult.orig_command)
10167}
10168inline ::jaiabot::protobuf::Command* CommandCommsResult::release_orig_command() {
10169 _impl_._has_bits_[0] &= ~0x00000001u;
10170 ::jaiabot::protobuf::Command* temp = _impl_.orig_command_;
10171 _impl_.orig_command_ = nullptr;
10172#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
10173 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
10174 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
10175 if (GetArenaForAllocation() == nullptr) { delete old; }
10176#else // PROTOBUF_FORCE_COPY_IN_RELEASE
10177 if (GetArenaForAllocation() != nullptr) {
10178 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
10179 }
10180#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
10181 return temp;
10182}
10183inline ::jaiabot::protobuf::Command* CommandCommsResult::unsafe_arena_release_orig_command() {
10184 // @@protoc_insertion_point(field_release:jaiabot.protobuf.CommandCommsResult.orig_command)
10185 _impl_._has_bits_[0] &= ~0x00000001u;
10186 ::jaiabot::protobuf::Command* temp = _impl_.orig_command_;
10187 _impl_.orig_command_ = nullptr;
10188 return temp;
10189}
10190inline ::jaiabot::protobuf::Command* CommandCommsResult::_internal_mutable_orig_command() {
10191 _impl_._has_bits_[0] |= 0x00000001u;
10192 if (_impl_.orig_command_ == nullptr) {
10193 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Command>(GetArenaForAllocation());
10194 _impl_.orig_command_ = p;
10195 }
10196 return _impl_.orig_command_;
10197}
10198inline ::jaiabot::protobuf::Command* CommandCommsResult::mutable_orig_command() {
10199 ::jaiabot::protobuf::Command* _msg = _internal_mutable_orig_command();
10200 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.CommandCommsResult.orig_command)
10201 return _msg;
10202}
10204 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
10205 if (message_arena == nullptr) {
10206 delete _impl_.orig_command_;
10207 }
10208 if (orig_command) {
10209 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
10210 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(orig_command);
10211 if (message_arena != submessage_arena) {
10212 orig_command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
10213 message_arena, orig_command, submessage_arena);
10214 }
10215 _impl_._has_bits_[0] |= 0x00000001u;
10216 } else {
10217 _impl_._has_bits_[0] &= ~0x00000001u;
10218 }
10219 _impl_.orig_command_ = orig_command;
10220 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.CommandCommsResult.orig_command)
10221}
10222
10223#ifdef __GNUC__
10224 #pragma GCC diagnostic pop
10225#endif // __GNUC__
10226// -------------------------------------------------------------------
10227
10228// -------------------------------------------------------------------
10229
10230// -------------------------------------------------------------------
10231
10232// -------------------------------------------------------------------
10233
10234// -------------------------------------------------------------------
10235
10236// -------------------------------------------------------------------
10237
10238// -------------------------------------------------------------------
10239
10240// -------------------------------------------------------------------
10241
10242// -------------------------------------------------------------------
10243
10244// -------------------------------------------------------------------
10245
10246// -------------------------------------------------------------------
10247
10248// -------------------------------------------------------------------
10249
10250// -------------------------------------------------------------------
10251
10252// -------------------------------------------------------------------
10253
10254// -------------------------------------------------------------------
10255
10256// -------------------------------------------------------------------
10257
10258
10259// @@protoc_insertion_point(namespace_scope)
10260
10261} // namespace protobuf
10262} // namespace jaiabot
10263
10264PROTOBUF_NAMESPACE_OPEN
10265
10266template <> struct is_proto_enum< ::jaiabot::protobuf::Command_CommandType> : ::std::true_type {};
10267template <>
10269 return ::jaiabot::protobuf::Command_CommandType_descriptor();
10270}
10271template <> struct is_proto_enum< ::jaiabot::protobuf::CommandForHub_HubCommandType> : ::std::true_type {};
10272template <>
10274 return ::jaiabot::protobuf::CommandForHub_HubCommandType_descriptor();
10275}
10276template <> struct is_proto_enum< ::jaiabot::protobuf::DivePacket_BottomType> : ::std::true_type {};
10277template <>
10279 return ::jaiabot::protobuf::DivePacket_BottomType_descriptor();
10280}
10281template <> struct is_proto_enum< ::jaiabot::protobuf::CommandCommsResult_CommsResult> : ::std::true_type {};
10282template <>
10284 return ::jaiabot::protobuf::CommandCommsResult_CommsResult_descriptor();
10285}
10286
10287PROTOBUF_NAMESPACE_CLOSE
10288
10289// @@protoc_insertion_point(global_scope)
10290
10291#include <google/protobuf/port_undef.inc>
10292#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
static constexpr int kIndexInFileMessages
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)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
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()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
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
static constexpr int kIndexInFileMessages
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)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
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
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
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()
size_t ByteSizeLong() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(BotStatus_Speed *other)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
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)
::jaiabot::protobuf::BotStatus_Attitude * mutable_attitude()
::jaiabot::protobuf::BotStatus_Attitude * unsafe_arena_release_attitude()
void set_hdop(double value)
boost::units::make_scaled_unit< boost::units::unit< mission_command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type mission_command_time_unit
void set_link(::jaiabot::protobuf::Link value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Quantity last_command_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_bot_type(::jaiabot::protobuf::BotType value)
BotStatus(const BotStatus &from)
PROTOBUF_NODISCARD::jaiabot::protobuf::BotStatus_Attitude * release_attitude()
boost::units::time_dimension time_dimension
boost::units::quantity< depth_unit, double > depth_with_units() const
boost::units::unit< sensor_depth_dimension, boost::units::si::system > sensor_depth_unit
Quantity sensor_depth_with_units() const
boost::units::quantity< active_goal_timeout_unit, google::protobuf::uint32 > active_goal_timeout_with_units() const
Quantity depth_with_units() const
void set_depth(double value)
void set_active_goal_timeout(uint32_t value)
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_warning()
::jaiabot::protobuf::BotStatus_ActiveLink * mutable_active_links(int index)
void set_received_time(uint64_t value)
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
uint64_t mission_command_time() 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
::jaiabot::protobuf::BotStatus_ActiveLink * add_active_links()
BotStatus * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_calibration_status(int32_t value)
boost::units::quantity< temperature_unit, double > temperature_with_units() const
BotTypeStatusCase bot_type_status_case() const
boost::units::temperature_dimension temperature_dimension
Quantity distance_to_active_goal_with_units() const
void set_salinity(double value)
friend void swap(BotStatus &a, BotStatus &b)
::goby::middleware::protobuf::HealthState health_state() const
boost::units::unit< active_goal_timeout_dimension, boost::units::si::system > active_goal_timeout_unit
uint64_t last_command_time() const
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void set_active_goal(int32_t value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_mission_name(ArgT0 &&arg0, ArgT... args)
void Swap(BotStatus *other)
void set_distance_to_active_goal(double value)
BotStatus_Attitude Attitude
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
::jaiabot::protobuf::Link link() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
boost::units::quantity< received_time_unit, google::protobuf::uint64 > received_time_with_units() const
void set_time(uint64_t value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NODISCARD::jaiabot::protobuf::BotStatus_Speed * release_speed()
boost::units::time_dimension mission_command_time_dimension
void set_sensor_depth(double value)
void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
PROTOBUF_NODISCARD::jaiabot::protobuf::GeographicCoordinate * release_location()
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
const ::jaiabot::protobuf::BotStatus_Speed & speed() const
void unsafe_arena_set_allocated_storm(::jaiabot::protobuf::StormStatus *storm)
static constexpr int kIndexInFileMessages
::jaiabot::protobuf::Warning warning(int index) const
boost::units::length_dimension distance_to_active_goal_dimension
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_error()
void add_error(::jaiabot::protobuf::Error value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
int32_t calibration_status() const
bool has_distance_to_active_goal() const
static const BotStatus & default_instance()
bool IsInitialized() const final
boost::units::quantity< sensor_depth_unit, double > sensor_depth_with_units() const
void set_sensor_depth_with_units(Quantity value_w_units)
uint32_t active_goal_timeout() const
void set_last_command_time_with_units(Quantity value_w_units)
BotStatus_ActiveLink ActiveLink
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_
const ::jaiabot::protobuf::BotStatus_Attitude & attitude() const
void set_pdop(double value)
void set_temperature(double value)
PROTOBUF_NODISCARD std::string * release_mission_name()
void set_wifi_link_quality_percentage(int32_t value)
void set_bot_id(uint32_t value)
void add_warning(::jaiabot::protobuf::Warning value)
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()
void set_allocated_storm(::jaiabot::protobuf::StormStatus *storm)
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 unsafe_arena_set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed *speed)
size_t ByteSizeLong() const final
const std::string & mission_name() const
void set_health_state(::goby::middleware::protobuf::HealthState value)
double distance_to_active_goal() const
boost::units::length_dimension sensor_depth_dimension
void set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed *speed)
void set_mission_state(::jaiabot::protobuf::MissionState value)
void set_mission_command_time_with_units(Quantity value_w_units)
int GetCachedSize() const final
void set_battery_percent(double value)
void set_active_goal_timeout_with_units(Quantity value_w_units)
void set_received_time_with_units(Quantity value_w_units)
const ::jaiabot::protobuf::StormStatus & storm() const
static const BotStatus * internal_default_instance()
void set_depth_with_units(Quantity value_w_units)
void CopyFrom(const BotStatus &from)
const ::jaiabot::protobuf::GeographicCoordinate & location() const
::jaiabot::protobuf::BotStatus_Speed * mutable_speed()
::jaiabot::protobuf::StormStatus * unsafe_arena_release_storm()
void unsafe_arena_set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
int32_t wifi_link_quality_percentage() const
BotStatus(BotStatus &&from) noexcept
boost::units::unit< distance_to_active_goal_dimension, boost::units::si::system > distance_to_active_goal_unit
bool has_wifi_link_quality_percentage() const
Quantity active_goal_timeout_with_units() const
void set_warning(int index, ::jaiabot::protobuf::Warning value)
::jaiabot::protobuf::Error error(int index) const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_location()
boost::units::time_dimension last_command_time_dimension
void set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value)
void set_distance_to_active_goal_with_units(Quantity value_w_units)
Quantity time_with_units() const
void set_repeat_index(int32_t value)
void set_mission_command_time(uint64_t value)
void set_last_command_time(uint64_t value)
::jaiabot::protobuf::BotStatus_Speed * unsafe_arena_release_speed()
::jaiabot::protobuf::BotType bot_type() const
boost::units::quantity< mission_command_time_unit, google::protobuf::uint64 > mission_command_time_with_units() const
void set_error(int index, ::jaiabot::protobuf::Error value)
::jaiabot::protobuf::StormStatus * mutable_storm()
Quantity mission_command_time_with_units() const
void MergeFrom(const BotStatus &from)
boost::units::length_dimension depth_dimension
std::string * mutable_mission_name()
PROTOBUF_CONSTEXPR BotStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::jaiabot::protobuf::IMUCalibrationState calibration_state() const
BotStatus & operator=(BotStatus &&from) noexcept
void set_time_with_units(Quantity value_w_units)
void unsafe_arena_set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude *attitude)
void set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude *attitude)
const ::jaiabot::protobuf::BotStatus_ActiveLink & active_links(int index) const
::jaiabot::protobuf::MissionState mission_state() const
void set_allocated_mission_name(std::string *mission_name)
PROTOBUF_NODISCARD::jaiabot::protobuf::StormStatus * release_storm()
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
::jaiabot::protobuf::GeographicCoordinate * mutable_location()
void UnsafeArenaSwap(BotStatus *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_link(::jaiabot::protobuf::Link value)
void MergeFrom(const CommandCommsResult &from)
static constexpr int kIndexInFileMessages
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static constexpr int CommsResult_ARRAYSIZE
PROTOBUF_CONSTEXPR CommandCommsResult(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static bool CommsResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommsResult *value)
::jaiabot::protobuf::Command * mutable_orig_command()
CommandCommsResult_CommsResult CommsResult
void Swap(CommandCommsResult *other)
static const std::string & CommsResult_Name(T enum_t_value)
static bool CommsResult_IsValid(int value)
const ::jaiabot::protobuf::Command & orig_command() const
CommandCommsResult(const CommandCommsResult &from)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static constexpr CommsResult FAILURE
static constexpr CommsResult SUCCESS
::jaiabot::protobuf::Link link() const
CommandCommsResult(CommandCommsResult &&from) noexcept
void CopyFrom(const CommandCommsResult &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommsResult_descriptor()
::jaiabot::protobuf::Command * unsafe_arena_release_orig_command()
void UnsafeArenaSwap(CommandCommsResult *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_orig_command(::jaiabot::protobuf::Command *orig_command)
PROTOBUF_NODISCARD::jaiabot::protobuf::Command * release_orig_command()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
CommandCommsResult & operator=(const CommandCommsResult &from)
static const CommandCommsResult & default_instance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr CommsResult CommsResult_MAX
static const CommandCommsResult * internal_default_instance()
CommandCommsResult(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(CommandCommsResult &a, CommandCommsResult &b)
void unsafe_arena_set_allocated_orig_command(::jaiabot::protobuf::Command *orig_command)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
CommandCommsResult * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
CommandCommsResult & operator=(CommandCommsResult &&from) noexcept
::jaiabot::protobuf::CommandCommsResult_CommsResult result() const
static constexpr CommsResult CommsResult_MIN
void set_result(::jaiabot::protobuf::CommandCommsResult_CommsResult value)
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
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static constexpr HubCommandType SCAN_FOR_BOTS
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * HubCommandType_descriptor()
void set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate *hub_location)
static constexpr HubCommandType HubCommandType_MIN
PROTOBUF_NODISCARD::jaiabot::protobuf::GeographicCoordinate * release_hub_location()
static constexpr HubCommandType HubCommandType_MAX
void CopyFrom(const CommandForHub &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value)
CommandForHub(const CommandForHub &from)
boost::units::time_dimension time_dimension
const ::jaiabot::protobuf::GeographicCoordinate & hub_location() const
static const CommandForHub * internal_default_instance()
::jaiabot::protobuf::CommandForHub_HubCommandType type() const
friend void swap(CommandForHub &a, CommandForHub &b)
static const std::string & HubCommandType_Name(T enum_t_value)
static const ClassData _class_data_
static bool HubCommandType_IsValid(int value)
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()
static constexpr HubCommandType REBOOT_COMPUTER
void set_scan_for_bot_id(uint32_t value)
void unsafe_arena_set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate *hub_location)
PROTOBUF_CONSTEXPR CommandForHub(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static constexpr int kIndexInFileMessages
bool IsInitialized() const final
CommandForHub(CommandForHub &&from) noexcept
CommandForHub & operator=(const CommandForHub &from)
void set_time_with_units(Quantity value_w_units)
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_hub_location()
::jaiabot::protobuf::GeographicCoordinate * mutable_hub_location()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
CommandForHub & operator=(CommandForHub &&from) noexcept
CommandForHub_HubCommandType HubCommandType
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static constexpr HubCommandType SET_HUB_LOCATION
static constexpr HubCommandType RESTART_ALL_SERVICES
void set_hub_id(uint32_t value)
static constexpr int HubCommandType_ARRAYSIZE
void Swap(CommandForHub *other)
static const CommandForHub & default_instance()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
size_t ByteSizeLong() const final
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 constexpr HubCommandType SHUTDOWN_COMPUTER
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static constexpr HubCommandType CTD_DATA_OFFLOAD
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
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
const ::jaiabot::protobuf::RemoteControl & rc() const
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 constexpr CommandType STORM_DYNAMIC_MISSION_UPDATE
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 set_allocated_storm(::jaiabot::protobuf::StormMissionUpdate *storm)
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()
void unsafe_arena_set_allocated_storm(::jaiabot::protobuf::StormMissionUpdate *storm)
static const Command & default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() 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
const ::jaiabot::protobuf::MissionTask & rc_task() const
const ::jaiabot::protobuf::MissionPlan & plan() 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
::jaiabot::protobuf::StormMissionUpdate * mutable_storm()
PROTOBUF_NODISCARD::jaiabot::protobuf::StormMissionUpdate * release_storm()
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
Command_CommandType CommandType
::jaiabot::protobuf::StormMissionUpdate * unsafe_arena_release_storm()
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
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)
const ::jaiabot::protobuf::StormMissionUpdate & storm() const
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
const ::jaiabot::protobuf::GeographicCoordinate & location() const
ContactUpdate & operator=(ContactUpdate &&from) noexcept
PROTOBUF_CONSTEXPR ContactUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ContactUpdate * internal_default_instance()
size_t ByteSizeLong() const final
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
void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
bool IsInitialized() const final
ContactUpdate(const ContactUpdate &from)
static constexpr int kIndexInFileMessages
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
::jaiabot::protobuf::GeographicCoordinate * mutable_location()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
ContactUpdate & operator=(const ContactUpdate &from)
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_location()
void set_speed_over_ground(double value)
Quantity heading_or_cog_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void unsafe_arena_set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
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()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_heading_or_cog(double value)
void Swap(ContactUpdate *other)
void CopyFrom(const ContactUpdate &from)
void MergeFrom(const ContactUpdate &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_NODISCARD::jaiabot::protobuf::GeographicCoordinate * release_location()
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
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
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
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const DivePacket_Measurements &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
boost::units::length_dimension mean_depth_dimension
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(DivePacket_Measurements &a, DivePacket_Measurements &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void CopyFrom(const DivePacket_SubsurfaceCurrentVector &from)
void Swap(DivePacket_SubsurfaceCurrentVector *other)
DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const DivePacket_SubsurfaceCurrentVector * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::plane_angle_dimension heading_dimension
boost::units::quantity< heading_unit, double > heading_with_units() const
boost::units::unit< velocity_dimension, boost::units::si::system > velocity_unit
DivePacket_SubsurfaceCurrentVector(const DivePacket_SubsurfaceCurrentVector &from)
DivePacket_SubsurfaceCurrentVector * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::velocity_dimension velocity_dimension
friend void swap(DivePacket_SubsurfaceCurrentVector &a, DivePacket_SubsurfaceCurrentVector &b)
PROTOBUF_CONSTEXPR DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
boost::units::quantity< velocity_unit, double > velocity_with_units() const
DivePacket_SubsurfaceCurrentVector & operator=(DivePacket_SubsurfaceCurrentVector &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(DivePacket_SubsurfaceCurrentVector *other)
DivePacket_SubsurfaceCurrentVector(DivePacket_SubsurfaceCurrentVector &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const DivePacket_SubsurfaceCurrentVector & default_instance()
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
DivePacket_SubsurfaceCurrentVector & operator=(const DivePacket_SubsurfaceCurrentVector &from)
void MergeFrom(const DivePacket_SubsurfaceCurrentVector &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
boost::units::quantity< dive_rate_unit, double > dive_rate_with_units() const
void Swap(DivePacket *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector * mutable_subsurface_current()
static const DivePacket * internal_default_instance()
void set_duration_to_acquire_gps(double value)
DivePacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_max_acceleration(double value)
void set_dive_rate_with_units(Quantity value_w_units)
void set_dive_rate(double value)
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)
const ::jaiabot::protobuf::GeographicCoordinate & start_location() const
DivePacket(const DivePacket &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_start_location()
PROTOBUF_NODISCARD::jaiabot::protobuf::GeographicCoordinate * release_start_location()
DivePacket_SubsurfaceCurrentVector SubsurfaceCurrentVector
DivePacket & operator=(DivePacket &&from) noexcept
boost::units::acceleration_dimension max_acceleration_dimension
::jaiabot::protobuf::GeographicCoordinate * mutable_start_location()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_unpowered_rise_rate_with_units(Quantity value_w_units)
size_t ByteSizeLong() const final
void set_depth_achieved_with_units(Quantity value_w_units)
static bool BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BottomType *value)
static constexpr BottomType HARD
static constexpr int BottomType_ARRAYSIZE
::jaiabot::protobuf::DivePacket_BottomType bottom_type() const
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
DivePacket_Measurements Measurements
boost::units::length_dimension depth_achieved_dimension
Quantity dive_rate_with_units() const
static constexpr int kIndexInFileMessages
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
static constexpr BottomType BottomType_MAX
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
const ::jaiabot::protobuf::DivePacket_Measurements & measurement(int index) const
void set_depth_achieved(double value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
DivePacket_BottomType BottomType
boost::units::unit< powered_rise_rate_dimension, boost::units::si::system > powered_rise_rate_unit
::jaiabot::protobuf::DivePacket_Measurements * add_measurement()
void set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value)
static const std::string & BottomType_Name(T enum_t_value)
void set_unpowered_rise_rate(double value)
double duration_to_acquire_gps() const
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)
PROTOBUF_NODISCARD::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector * release_subsurface_current()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
bool IsInitialized() const final
void set_powered_rise_rate(double value)
boost::units::velocity_dimension unpowered_rise_rate_dimension
void UnsafeArenaSwap(DivePacket *other)
boost::units::quantity< max_acceleration_unit, double > max_acceleration_with_units() const
void unsafe_arena_set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate *start_location)
::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector * unsafe_arena_release_subsurface_current()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::jaiabot::protobuf::DivePacket_Measurements * mutable_measurement(int index)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BottomType_descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DivePacket(DivePacket &&from) noexcept
void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate *start_location)
static constexpr BottomType SOFT
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)
static bool BottomType_IsValid(int value)
Quantity max_acceleration_with_units() const
void set_powered_rise_rate_with_units(Quantity value_w_units)
Quantity powered_rise_rate_with_units() const
static constexpr BottomType BottomType_MIN
void set_allocated_subsurface_current(::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector *subsurface_current)
int GetCachedSize() const final
void set_duration_to_acquire_gps_with_units(Quantity value_w_units)
boost::units::velocity_dimension dive_rate_dimension
void set_reached_min_depth(bool value)
PROTOBUF_CONSTEXPR DivePacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void unsafe_arena_set_allocated_subsurface_current(::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector *subsurface_current)
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
const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector & subsurface_current() const
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
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
boost::units::quantity< heading_unit, double > heading_with_units() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
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
size_t ByteSizeLong() const final
void set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift *estimated_drift)
DriftPacket(const DriftPacket &from)
PROTOBUF_NODISCARD::jaiabot::protobuf::DriftPacket_EstimatedDrift * release_estimated_drift()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_NODISCARD::jaiabot::protobuf::GeographicCoordinate * release_end_location()
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)
::jaiabot::protobuf::DriftPacket_EstimatedDrift * mutable_estimated_drift()
boost::units::quantity< significant_wave_height_unit, double > significant_wave_height_with_units() const
DriftPacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DriftPacket(DriftPacket &&from) noexcept
void set_drift_duration_with_units(Quantity value_w_units)
void set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate *end_location)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static constexpr int kIndexInFileMessages
DriftPacket & operator=(const DriftPacket &from)
void set_drift_duration(int32_t value)
friend void swap(DriftPacket &a, DriftPacket &b)
void unsafe_arena_set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate *start_location)
DriftPacket_EstimatedDrift EstimatedDrift
void unsafe_arena_set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate *end_location)
boost::units::length_dimension significant_wave_height_dimension
::jaiabot::protobuf::GeographicCoordinate * mutable_end_location()
void unsafe_arena_set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift *estimated_drift)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
bool IsInitialized() const final
void UnsafeArenaSwap(DriftPacket *other)
static const ClassData _class_data_
const ::jaiabot::protobuf::GeographicCoordinate & end_location() const
boost::units::unit< significant_wave_height_dimension, boost::units::si::system > significant_wave_height_unit
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::jaiabot::protobuf::GeographicCoordinate * mutable_start_location()
void CopyFrom(const DriftPacket &from)
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_end_location()
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_start_location()
void set_significant_wave_height(double value)
const ::jaiabot::protobuf::DriftPacket_EstimatedDrift & estimated_drift() const
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
const ::jaiabot::protobuf::GeographicCoordinate & start_location() const
DriftPacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_NODISCARD::jaiabot::protobuf::GeographicCoordinate * release_start_location()
static const DriftPacket & default_instance()
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type drift_duration_dimension
void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate *start_location)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::jaiabot::protobuf::DriftPacket_EstimatedDrift * unsafe_arena_release_estimated_drift()
Quantity drift_duration_with_units() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_NODISCARD::jaiabot::protobuf::Command * release_command_for_bot()
PROTOBUF_NODISCARD::jaiabot::protobuf::HubStatus * release_hub_status()
PROTOBUF_NODISCARD::jaiabot::protobuf::BotStatus * release_bot_status()
PROTOBUF_CONSTEXPR Hub2HubData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::jaiabot::protobuf::TaskPacket * mutable_task_packet()
Hub2HubData(Hub2HubData &&from) noexcept
Hub2HubData(const Hub2HubData &from)
bool IsInitialized() const final
const ::jaiabot::protobuf::TaskPacket & task_packet() const
boost::units::time_dimension time_dimension
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static constexpr int kIndexInFileMessages
void unsafe_arena_set_allocated_hub_status(::jaiabot::protobuf::HubStatus *hub_status)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::jaiabot::protobuf::BotStatus * mutable_bot_status()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void unsafe_arena_set_allocated_task_packet(::jaiabot::protobuf::TaskPacket *task_packet)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::jaiabot::protobuf::HubStatus & hub_status() const
::jaiabot::protobuf::CommandCommsResult * unsafe_arena_release_command_comms_result()
::jaiabot::protobuf::Command * unsafe_arena_release_command_for_bot()
void unsafe_arena_set_allocated_command_for_bot(::jaiabot::protobuf::Command *command_for_bot)
::jaiabot::protobuf::HubStatus * unsafe_arena_release_hub_status()
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()
void unsafe_arena_set_allocated_command_comms_result(::jaiabot::protobuf::CommandCommsResult *command_comms_result)
::jaiabot::protobuf::Link bot_link() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::jaiabot::protobuf::BotStatus * unsafe_arena_release_bot_status()
void unsafe_arena_set_allocated_bot_status(::jaiabot::protobuf::BotStatus *bot_status)
Hub2HubData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_allocated_bot_status(::jaiabot::protobuf::BotStatus *bot_status)
void set_hub_id(uint32_t value)
void set_time(uint64_t value)
const ::jaiabot::protobuf::Command & command_for_bot() const
void MergeFrom(const Hub2HubData &from)
::jaiabot::protobuf::TaskPacket * unsafe_arena_release_task_packet()
PROTOBUF_NODISCARD::jaiabot::protobuf::TaskPacket * release_task_packet()
void set_allocated_hub_status(::jaiabot::protobuf::HubStatus *hub_status)
::jaiabot::protobuf::Command * mutable_command_for_bot()
::jaiabot::protobuf::CommandCommsResult * mutable_command_comms_result()
::jaiabot::protobuf::HubStatus * mutable_hub_status()
const ::jaiabot::protobuf::CommandCommsResult & command_comms_result() const
PROTOBUF_NODISCARD::jaiabot::protobuf::CommandCommsResult * release_command_comms_result()
Hub2HubData(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_command_comms_result(::jaiabot::protobuf::CommandCommsResult *command_comms_result)
Hub2HubData & operator=(const Hub2HubData &from)
void Swap(Hub2HubData *other)
static const ClassData _class_data_
void set_allocated_task_packet(::jaiabot::protobuf::TaskPacket *task_packet)
void set_allocated_command_for_bot(::jaiabot::protobuf::Command *command_for_bot)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const Hub2HubData * internal_default_instance()
const ::jaiabot::protobuf::BotStatus & bot_status() const
static const Hub2HubData & default_instance()
size_t ByteSizeLong() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
ContentsCase contents_case() const
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_bot_link(::jaiabot::protobuf::Link value)
void set_time_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void CopyFrom(const StormCTDProfile_Sample &from)
void Swap(StormCTDProfile_Sample *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const StormCTDProfile_Sample * internal_default_instance()
PROTOBUF_CONSTEXPR StormCTDProfile_Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
StormCTDProfile_Sample(StormCTDProfile_Sample &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::quantity< temperature_unit, double > temperature_with_units() const
StormCTDProfile_Sample & operator=(StormCTDProfile_Sample &&from) noexcept
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
boost::units::length_dimension depth_dimension
void UnsafeArenaSwap(StormCTDProfile_Sample *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_temperature_with_units(Quantity value_w_units)
boost::units::quantity< depth_unit, double > depth_with_units() const
boost::units::temperature_dimension temperature_dimension
StormCTDProfile_Sample(const StormCTDProfile_Sample &from)
void MergeFrom(const StormCTDProfile_Sample &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
StormCTDProfile_Sample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
static const StormCTDProfile_Sample & default_instance()
friend void swap(StormCTDProfile_Sample &a, StormCTDProfile_Sample &b)
StormCTDProfile_Sample & operator=(const StormCTDProfile_Sample &from)
StormCTDProfile_Sample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_depth_with_units(Quantity value_w_units)
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_location()
static const ClassData _class_data_
StormCTDProfile(StormCTDProfile &&from) noexcept
void set_profile_time_with_units(Quantity value_w_units)
static const StormCTDProfile & default_instance()
size_t ByteSizeLong() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
boost::units::make_scaled_unit< boost::units::unit< profile_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type profile_time_unit
boost::units::quantity< profile_time_unit, google::protobuf::uint64 > profile_time_with_units() const
void Swap(StormCTDProfile *other)
::jaiabot::protobuf::StormCTDProfile_Sample * mutable_sample(int index)
boost::units::time_dimension profile_time_dimension
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void MergeFrom(const StormCTDProfile &from)
friend void swap(StormCTDProfile &a, StormCTDProfile &b)
void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
void set_part_index(uint32_t value)
static constexpr int kIndexInFileMessages
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_CONSTEXPR StormCTDProfile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
StormCTDProfile(const StormCTDProfile &from)
StormCTDProfile * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::jaiabot::protobuf::GeographicCoordinate * mutable_location()
::jaiabot::protobuf::StormCTDProfile_Sample * add_sample()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void unsafe_arena_set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
StormCTDProfile & operator=(StormCTDProfile &&from) noexcept
static const StormCTDProfile * internal_default_instance()
const ::jaiabot::protobuf::StormCTDProfile_Sample & sample(int index) const
void CopyFrom(const StormCTDProfile &from)
void set_profile_time(uint64_t value)
StormCTDProfile & operator=(const StormCTDProfile &from)
void UnsafeArenaSwap(StormCTDProfile *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::jaiabot::protobuf::GeographicCoordinate & location() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
StormCTDProfile(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_NODISCARD::jaiabot::protobuf::GeographicCoordinate * release_location()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const std::string & mission_name() const
boost::units::time_dimension end_time_dimension
boost::units::make_scaled_unit< boost::units::unit< mission_command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type mission_command_time_unit
Quantity start_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
VerticalDataCase vertical_data_case() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
TaskPacket & operator=(TaskPacket &&from) noexcept
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
PROTOBUF_NODISCARD::jaiabot::protobuf::DivePacket * release_dive()
boost::units::quantity< end_time_unit, google::protobuf::uint64 > end_time_with_units() const
::jaiabot::protobuf::DriftPacket * mutable_drift()
void set_allocated_dive(::jaiabot::protobuf::DivePacket *dive)
::jaiabot::protobuf::DivePacket * mutable_dive()
const ::jaiabot::protobuf::StormCTDProfile & storm_ctd_profile() const
void set_allocated_drift(::jaiabot::protobuf::DriftPacket *drift)
const ::jaiabot::protobuf::StormAirDescentData & storm_air_descent() const
void set_type(::jaiabot::protobuf::MissionTask_TaskType value)
void set_allocated_storm_ctd_profile(::jaiabot::protobuf::StormCTDProfile *storm_ctd_profile)
void set_mission_command_time_with_units(Quantity value_w_units)
Quantity mission_command_time_with_units() const
Quantity end_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_end_time(uint64_t value)
void set_link(::jaiabot::protobuf::Link value)
boost::units::time_dimension mission_command_time_dimension
int GetCachedSize() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_dive(::jaiabot::protobuf::DivePacket *dive)
TaskPacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_CONSTEXPR TaskPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_mission_name(ArgT0 &&arg0, ArgT... args)
void set_storm_id(int32_t value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
TaskPacket(const TaskPacket &from)
void MergeFrom(const TaskPacket &from)
static const TaskPacket * internal_default_instance()
::jaiabot::protobuf::DivePacket * unsafe_arena_release_dive()
boost::units::quantity< start_time_unit, google::protobuf::uint64 > start_time_with_units() const
::jaiabot::protobuf::StormCTDProfile * unsafe_arena_release_storm_ctd_profile()
::jaiabot::protobuf::StormCTDProfile * mutable_storm_ctd_profile()
bool IsInitialized() const final
friend void swap(TaskPacket &a, TaskPacket &b)
size_t ByteSizeLong() const final
void set_start_time(uint64_t value)
void set_mission_command_time(uint64_t value)
boost::units::make_scaled_unit< boost::units::unit< start_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type start_time_unit
boost::units::quantity< mission_command_time_unit, google::protobuf::uint64 > mission_command_time_with_units() const
::jaiabot::protobuf::StormAirDescentData * mutable_storm_air_descent()
PROTOBUF_NODISCARD::jaiabot::protobuf::StormAirDescentData * release_storm_air_descent()
PROTOBUF_NODISCARD::jaiabot::protobuf::DriftPacket * release_drift()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void unsafe_arena_set_allocated_storm_ctd_profile(::jaiabot::protobuf::StormCTDProfile *storm_ctd_profile)
static constexpr int kIndexInFileMessages
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
PROTOBUF_NODISCARD std::string * release_mission_name()
static const ClassData _class_data_
static const TaskPacket & default_instance()
PROTOBUF_NODISCARD::jaiabot::protobuf::StormCTDProfile * release_storm_ctd_profile()
::jaiabot::protobuf::StormAirDescentData * unsafe_arena_release_storm_air_descent()
void Swap(TaskPacket *other)
void UnsafeArenaSwap(TaskPacket *other)
std::string * mutable_mission_name()
::jaiabot::protobuf::DriftPacket * unsafe_arena_release_drift()
void unsafe_arena_set_allocated_drift(::jaiabot::protobuf::DriftPacket *drift)
void set_allocated_mission_name(std::string *mission_name)
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)
uint64_t mission_command_time() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
TaskPacket(TaskPacket &&from) noexcept
void set_bot_id(uint32_t value)
boost::units::time_dimension start_time_dimension
::jaiabot::protobuf::MissionTask_TaskType type() const
void unsafe_arena_set_allocated_storm_air_descent(::jaiabot::protobuf::StormAirDescentData *storm_air_descent)
const ::jaiabot::protobuf::DriftPacket & drift() const
void set_start_time_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
::jaiabot::protobuf::Link link() const
void set_allocated_storm_air_descent(::jaiabot::protobuf::StormAirDescentData *storm_air_descent)
const ::jaiabot::protobuf::DivePacket & dive() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TaskPacket & operator=(const TaskPacket &from)
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::GeographicCoordinate * Arena::CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate >(Arena *)
::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector * Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::DivePacket_BottomType >()
::jaiabot::protobuf::DriftPacket * Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::CommandCommsResult_CommsResult >()
::jaiabot::protobuf::Command * Arena::CreateMaybeMessage<::jaiabot::protobuf::Command >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::Command_CommandType >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
::jaiabot::protobuf::BotStatus_Attitude * Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude >(Arena *)
::jaiabot::protobuf::DriftPacket_EstimatedDrift * Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift >(Arena *)
::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
constexpr DivePacket_BottomType DivePacket_BottomType_BottomType_MAX
BotStatus_SpeedDefaultTypeInternal _BotStatus_Speed_default_instance_
bool CommandForHub_HubCommandType_IsValid(int value)
BotStatus_ActiveLinkDefaultTypeInternal _BotStatus_ActiveLink_default_instance_
constexpr CommandCommsResult_CommsResult CommandCommsResult_CommsResult_CommsResult_MAX
constexpr int CommandCommsResult_CommsResult_CommsResult_ARRAYSIZE
StormMissionUpdateDefaultTypeInternal _StormMissionUpdate_default_instance_
constexpr int CommandForHub_HubCommandType_HubCommandType_ARRAYSIZE
constexpr int DivePacket_BottomType_BottomType_ARRAYSIZE
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandForHub_HubCommandType_descriptor()
MissionPlanDefaultTypeInternal _MissionPlan_default_instance_
StormCTDProfileDefaultTypeInternal _StormCTDProfile_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandCommsResult_CommsResult_descriptor()
bool Command_CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Command_CommandType *value)
constexpr CommandCommsResult_CommsResult CommandCommsResult_CommsResult_CommsResult_MIN
bool DivePacket_BottomType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * DivePacket_BottomType_descriptor()
Hub2HubDataDefaultTypeInternal _Hub2HubData_default_instance_
bool Error_IsValid(int value)
bool CommandCommsResult_CommsResult_IsValid(int value)
const std::string & CommandCommsResult_CommsResult_Name(T enum_t_value)
constexpr int Command_CommandType_CommandType_ARRAYSIZE
DriftPacket_EstimatedDriftDefaultTypeInternal _DriftPacket_EstimatedDrift_default_instance_
StormStatusDefaultTypeInternal _StormStatus_default_instance_
bool CommandCommsResult_CommsResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandCommsResult_CommsResult *value)
StormCTDProfile_SampleDefaultTypeInternal _StormCTDProfile_Sample_default_instance_
constexpr CommandForHub_HubCommandType CommandForHub_HubCommandType_HubCommandType_MAX
bool BotType_IsValid(int value)
StormAirDescentDataDefaultTypeInternal _StormAirDescentData_default_instance_
bool DivePacket_BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DivePacket_BottomType *value)
DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal _DivePacket_SubsurfaceCurrentVector_default_instance_
TaskPacketDefaultTypeInternal _TaskPacket_default_instance_
RemoteControlDefaultTypeInternal _RemoteControl_default_instance_
bool CommandForHub_HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandForHub_HubCommandType *value)
const std::string & Command_CommandType_Name(T enum_t_value)
ContactUpdateDefaultTypeInternal _ContactUpdate_default_instance_
CommandCommsResultDefaultTypeInternal _CommandCommsResult_default_instance_
const std::string & DivePacket_BottomType_Name(T enum_t_value)
@ CommandForHub_HubCommandType_RESTART_ALL_SERVICES
@ CommandForHub_HubCommandType_REBOOT_COMPUTER
@ CommandForHub_HubCommandType_SET_HUB_LOCATION
@ CommandForHub_HubCommandType_SCAN_FOR_BOTS
@ CommandForHub_HubCommandType_SHUTDOWN_COMPUTER
@ CommandForHub_HubCommandType_CTD_DATA_OFFLOAD
CommandDefaultTypeInternal _Command_default_instance_
DivePacket_MeasurementsDefaultTypeInternal _DivePacket_Measurements_default_instance_
DivePacketDefaultTypeInternal _DivePacket_default_instance_
bool MissionTask_TaskType_IsValid(int value)
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_STORM_DYNAMIC_MISSION_UPDATE
@ 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)
@ CommandCommsResult_CommsResult_FAILURE
@ CommandCommsResult_CommsResult_SUCCESS
BotStatusDefaultTypeInternal _BotStatus_default_instance_
bool Command_CommandType_IsValid(int value)
bool Warning_IsValid(int value)
CommandForHubDefaultTypeInternal _CommandForHub_default_instance_
bool IMUCalibrationState_IsValid(int value)
bool MissionState_IsValid(int value)
constexpr CommandForHub_HubCommandType CommandForHub_HubCommandType_HubCommandType_MIN
BotStatus_AttitudeDefaultTypeInternal _BotStatus_Attitude_default_instance_
HubStatusDefaultTypeInternal _HubStatus_default_instance_
constexpr Command_CommandType Command_CommandType_CommandType_MIN
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
::jaiabot::protobuf::StormMissionUpdate * storm_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
::jaiabot::protobuf::MissionPlan * plan_
::jaiabot::protobuf::MissionTask * rc_task_
::jaiabot::protobuf::RemoteControl * rc_
::jaiabot::protobuf::TaskPacket * task_packet_
::jaiabot::protobuf::CommandCommsResult * command_comms_result_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
::jaiabot::protobuf::StormAirDescentData * storm_air_descent_
::jaiabot::protobuf::StormCTDProfile * storm_ctd_profile_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_