4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmission_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmission_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_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.
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #include "dccl/option_extensions.pb.h"
36 #include "goby/middleware/protobuf/gpsd.pb.h"
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
43 #include <boost/units/systems/angle/degrees.hpp>
45 #include <boost/units/systems/si.hpp>
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2fmission_2eproto
52 static const ::google::protobuf::internal::ParseTableField
entries[];
53 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
54 static const ::google::protobuf::internal::ParseTable
schema[22];
57 static const ::google::protobuf::uint32
offsets[];
63 class BottomDepthSafetyParams;
64 class BottomDepthSafetyParamsDefaultTypeInternal;
66 class IvPBehaviorReport;
67 class IvPBehaviorReportDefaultTypeInternal;
69 class IvPBehaviorReport_TransitReport;
70 class IvPBehaviorReport_TransitReportDefaultTypeInternal;
72 class IvPBehaviorUpdate;
73 class IvPBehaviorUpdateDefaultTypeInternal;
75 class IvPBehaviorUpdate_ConstantHeadingUpdate;
76 class IvPBehaviorUpdate_ConstantHeadingUpdateDefaultTypeInternal;
78 class IvPBehaviorUpdate_ConstantSpeedUpdate;
79 class IvPBehaviorUpdate_ConstantSpeedUpdateDefaultTypeInternal;
81 class IvPBehaviorUpdate_ContactUpdate;
82 class IvPBehaviorUpdate_ContactUpdateDefaultTypeInternal;
84 class IvPBehaviorUpdate_StationkeepUpdate;
85 class IvPBehaviorUpdate_StationkeepUpdateDefaultTypeInternal;
87 class IvPBehaviorUpdate_TrailUpdate;
88 class IvPBehaviorUpdate_TrailUpdateDefaultTypeInternal;
90 class IvPBehaviorUpdate_TransitUpdate;
91 class IvPBehaviorUpdate_TransitUpdateDefaultTypeInternal;
94 class MissionPlanDefaultTypeInternal;
96 class MissionPlan_Goal;
97 class MissionPlan_GoalDefaultTypeInternal;
99 class MissionPlan_Recovery;
100 class MissionPlan_RecoveryDefaultTypeInternal;
102 class MissionPlan_TrailParam;
103 class MissionPlan_TrailParamDefaultTypeInternal;
106 class MissionReportDefaultTypeInternal;
109 class MissionTaskDefaultTypeInternal;
111 class MissionTask_ConstantHeadingParameters;
112 class MissionTask_ConstantHeadingParametersDefaultTypeInternal;
114 class MissionTask_DiveParameters;
115 class MissionTask_DiveParametersDefaultTypeInternal;
117 class MissionTask_DriftParameters;
118 class MissionTask_DriftParametersDefaultTypeInternal;
120 class MissionTask_StationKeepParameters;
121 class MissionTask_StationKeepParametersDefaultTypeInternal;
123 class MissionTpvMeetsGpsReq;
124 class MissionTpvMeetsGpsReqDefaultTypeInternal;
127 class SpeedsDefaultTypeInternal;
174 return ::google::protobuf::internal::NameOfEnum(
179 return ::google::protobuf::internal::ParseNamedEnum<MissionTask_TaskType>(
193 return ::google::protobuf::internal::NameOfEnum(
198 return ::google::protobuf::internal::ParseNamedEnum<MissionPlan_MissionStart>(
213 return ::google::protobuf::internal::NameOfEnum(
218 return ::google::protobuf::internal::ParseNamedEnum<MissionPlan_MovementType>(
266 return ::google::protobuf::internal::NameOfEnum(
271 return ::google::protobuf::internal::ParseNamedEnum<MissionState>(
276 class Speeds :
public ::google::protobuf::Message {
290 *
this = ::std::move(from);
294 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
295 if (
this != &from) InternalSwap(&from);
303 return _internal_metadata_.unknown_fields();
306 return _internal_metadata_.mutable_unknown_fields();
309 static const ::google::protobuf::Descriptor*
descriptor();
314 return reinterpret_cast<const Speeds*
>(
328 return CreateMaybeMessage<Speeds>(NULL);
331 Speeds*
New(::google::protobuf::Arena* arena)
const final {
332 return CreateMaybeMessage<Speeds>(arena);
334 void CopyFrom(const ::google::protobuf::Message& from)
final;
335 void MergeFrom(const ::google::protobuf::Message& from)
final;
343 ::
google::protobuf::io::CodedInputStream* input) final;
345 ::
google::protobuf::io::CodedOutputStream* output) const final;
347 bool deterministic, ::
google::protobuf::uint8* target) const final;
353 void SetCachedSize(
int size)
const final;
354 void InternalSwap(
Speeds* other);
356 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
359 inline void* MaybeArenaPtr()
const {
364 ::google::protobuf::Metadata
GetMetadata() const final;
388 template<typename Quantity >
390 {
set_transit(boost::units::quantity<transit_unit,double >(value_w_units).value() ); };
392 template<
typename Quantity >
397 {
return transit_with_units<boost::units::quantity< transit_unit,double > >(); };
399 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type
stationkeep_outer_dimension;
403 template<
typename Quantity >
405 {
set_stationkeep_outer(boost::units::quantity<stationkeep_outer_unit,double >(value_w_units).value() ); };
407 template<
typename Quantity >
412 {
return stationkeep_outer_with_units<boost::units::quantity< stationkeep_outer_unit,double > >(); };
416 void set_has_transit();
417 void clear_has_transit();
418 void set_has_stationkeep_outer();
419 void clear_has_stationkeep_outer();
421 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
422 ::google::protobuf::internal::HasBits<1> _has_bits_;
423 mutable ::google::protobuf::internal::CachedSize _cached_size_;
425 double stationkeep_outer_;
426 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
444 *
this = ::std::move(from);
448 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
449 if (
this != &from) InternalSwap(&from);
457 return _internal_metadata_.unknown_fields();
460 return _internal_metadata_.mutable_unknown_fields();
463 static const ::google::protobuf::Descriptor*
descriptor();
482 return CreateMaybeMessage<BottomDepthSafetyParams>(NULL);
486 return CreateMaybeMessage<BottomDepthSafetyParams>(arena);
488 void CopyFrom(const ::google::protobuf::Message& from)
final;
489 void MergeFrom(const ::google::protobuf::Message& from)
final;
497 ::
google::protobuf::io::CodedInputStream* input) final;
499 ::
google::protobuf::io::CodedOutputStream* output) const final;
501 bool deterministic, ::
google::protobuf::uint8* target) const final;
507 void SetCachedSize(
int size)
const final;
510 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
513 inline void* MaybeArenaPtr()
const {
518 ::google::protobuf::Metadata
GetMetadata() const final;
556 template<typename Quantity >
558 {
set_constant_heading(boost::units::quantity<constant_heading_unit,double >(value_w_units).value() ); };
560 template<
typename Quantity >
565 {
return constant_heading_with_units<boost::units::quantity< constant_heading_unit,double > >(); };
571 template<
typename Quantity >
573 {
set_constant_heading_time(boost::units::quantity<constant_heading_time_unit,google::protobuf::int32 >(value_w_units).value() ); };
575 template<
typename Quantity >
580 {
return constant_heading_time_with_units<boost::units::quantity< constant_heading_time_unit,google::protobuf::int32 > >(); };
582 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type
constant_heading_speed_dimension;
586 template<
typename Quantity >
590 template<
typename Quantity >
595 {
return constant_heading_speed_with_units<boost::units::quantity< constant_heading_speed_unit,double > >(); };
597 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type
safety_depth_dimension;
601 template<
typename Quantity >
603 {
set_safety_depth(boost::units::quantity<safety_depth_unit,double >(value_w_units).value() ); };
605 template<
typename Quantity >
610 {
return safety_depth_with_units<boost::units::quantity< safety_depth_unit,double > >(); };
614 void set_has_constant_heading();
615 void clear_has_constant_heading();
616 void set_has_constant_heading_time();
617 void clear_has_constant_heading_time();
618 void set_has_constant_heading_speed();
619 void clear_has_constant_heading_speed();
620 void set_has_safety_depth();
621 void clear_has_safety_depth();
624 size_t RequiredFieldsByteSizeFallback()
const;
626 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
627 ::google::protobuf::internal::HasBits<1> _has_bits_;
628 mutable ::google::protobuf::internal::CachedSize _cached_size_;
629 double constant_heading_;
630 ::google::protobuf::int32 constant_heading_time_;
631 double constant_heading_speed_;
632 double safety_depth_;
633 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
651 *
this = ::std::move(from);
655 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
656 if (
this != &from) InternalSwap(&from);
664 return _internal_metadata_.unknown_fields();
667 return _internal_metadata_.mutable_unknown_fields();
670 static const ::google::protobuf::Descriptor*
descriptor();
689 return CreateMaybeMessage<MissionReport>(NULL);
693 return CreateMaybeMessage<MissionReport>(arena);
695 void CopyFrom(const ::google::protobuf::Message& from)
final;
696 void MergeFrom(const ::google::protobuf::Message& from)
final;
704 ::
google::protobuf::io::CodedInputStream* input) final;
706 ::
google::protobuf::io::CodedOutputStream* output) const final;
708 bool deterministic, ::
google::protobuf::uint8* target) const final;
714 void SetCachedSize(
int size)
const final;
717 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
720 inline void* MaybeArenaPtr()
const {
725 ::google::protobuf::Metadata
GetMetadata() const final;
789 template<typename Quantity >
793 template<
typename Quantity >
798 {
return distance_to_active_goal_with_units<boost::units::quantity< distance_to_active_goal_unit,double > >(); };
804 template<
typename Quantity >
806 {
set_active_goal_timeout(boost::units::quantity<active_goal_timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
808 template<
typename Quantity >
813 {
return active_goal_timeout_with_units<boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > >(); };
817 void set_has_state();
818 void clear_has_state();
819 void set_has_active_goal();
820 void clear_has_active_goal();
821 void set_has_active_goal_location();
822 void clear_has_active_goal_location();
823 void set_has_distance_to_active_goal();
824 void clear_has_distance_to_active_goal();
825 void set_has_active_goal_timeout();
826 void clear_has_active_goal_timeout();
827 void set_has_data_offload_percentage();
828 void clear_has_data_offload_percentage();
829 void set_has_repeat_index();
830 void clear_has_repeat_index();
832 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
833 ::google::protobuf::internal::HasBits<1> _has_bits_;
834 mutable ::google::protobuf::internal::CachedSize _cached_size_;
836 ::google::protobuf::int32 repeat_index_;
838 ::google::protobuf::int32 active_goal_;
839 double distance_to_active_goal_;
840 ::google::protobuf::uint32 active_goal_timeout_;
841 ::google::protobuf::int32 data_offload_percentage_;
842 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
860 *
this = ::std::move(from);
864 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
865 if (
this != &from) InternalSwap(&from);
873 return _internal_metadata_.unknown_fields();
876 return _internal_metadata_.mutable_unknown_fields();
879 static const ::google::protobuf::Descriptor*
descriptor();
898 return CreateMaybeMessage<MissionTask_DiveParameters>(NULL);
902 return CreateMaybeMessage<MissionTask_DiveParameters>(arena);
904 void CopyFrom(const ::google::protobuf::Message& from)
final;
905 void MergeFrom(const ::google::protobuf::Message& from)
final;
913 ::
google::protobuf::io::CodedInputStream* input) final;
915 ::
google::protobuf::io::CodedOutputStream* output) const final;
917 bool deterministic, ::
google::protobuf::uint8* target) const final;
923 void SetCachedSize(
int size)
const final;
926 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
929 inline void* MaybeArenaPtr()
const {
934 ::google::protobuf::Metadata
GetMetadata() const final;
972 template<typename Quantity >
974 {
set_max_depth(boost::units::quantity<max_depth_unit,double >(value_w_units).value() ); };
976 template<
typename Quantity >
981 {
return max_depth_with_units<boost::units::quantity< max_depth_unit,double > >(); };
987 template<
typename Quantity >
989 {
set_depth_interval(boost::units::quantity<depth_interval_unit,double >(value_w_units).value() ); };
991 template<
typename Quantity >
996 {
return depth_interval_with_units<boost::units::quantity< depth_interval_unit,double > >(); };
998 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type
hold_time_dimension;
1000 typedef boost::units::unit<hold_time_dimension,boost::units::si::system>
hold_time_unit;
1002 template<
typename Quantity >
1004 {
set_hold_time(boost::units::quantity<hold_time_unit,double >(value_w_units).value() ); };
1006 template<
typename Quantity >
1011 {
return hold_time_with_units<boost::units::quantity< hold_time_unit,double > >(); };
1015 void set_has_max_depth();
1016 void clear_has_max_depth();
1017 void set_has_depth_interval();
1018 void clear_has_depth_interval();
1019 void set_has_hold_time();
1020 void clear_has_hold_time();
1021 void set_has_bottom_dive();
1022 void clear_has_bottom_dive();
1024 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1025 ::google::protobuf::internal::HasBits<1> _has_bits_;
1026 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1030 double depth_interval_;
1031 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
1049 *
this = ::std::move(from);
1053 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1054 if (
this != &from) InternalSwap(&from);
1062 return _internal_metadata_.unknown_fields();
1065 return _internal_metadata_.mutable_unknown_fields();
1068 static const ::google::protobuf::Descriptor*
descriptor();
1087 return CreateMaybeMessage<MissionTask_DriftParameters>(NULL);
1091 return CreateMaybeMessage<MissionTask_DriftParameters>(arena);
1093 void CopyFrom(const ::google::protobuf::Message& from)
final;
1094 void MergeFrom(const ::google::protobuf::Message& from)
final;
1102 ::
google::protobuf::io::CodedInputStream* input) final;
1104 ::
google::protobuf::io::CodedOutputStream* output) const final;
1106 bool deterministic, ::
google::protobuf::uint8* target) const final;
1112 void SetCachedSize(
int size)
const final;
1115 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1118 inline void* MaybeArenaPtr()
const {
1123 ::google::protobuf::Metadata
GetMetadata() const final;
1140 template<typename Quantity >
1142 {
set_drift_time(boost::units::quantity<drift_time_unit,google::protobuf::int32 >(value_w_units).value() ); };
1144 template<
typename Quantity >
1149 {
return drift_time_with_units<boost::units::quantity< drift_time_unit,google::protobuf::int32 > >(); };
1153 void set_has_drift_time();
1154 void clear_has_drift_time();
1156 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1157 ::google::protobuf::internal::HasBits<1> _has_bits_;
1158 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1159 ::google::protobuf::int32 drift_time_;
1160 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
1178 *
this = ::std::move(from);
1182 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1183 if (
this != &from) InternalSwap(&from);
1191 return _internal_metadata_.unknown_fields();
1194 return _internal_metadata_.mutable_unknown_fields();
1197 static const ::google::protobuf::Descriptor*
descriptor();
1216 return CreateMaybeMessage<MissionTask_ConstantHeadingParameters>(NULL);
1220 return CreateMaybeMessage<MissionTask_ConstantHeadingParameters>(arena);
1222 void CopyFrom(const ::google::protobuf::Message& from)
final;
1223 void MergeFrom(const ::google::protobuf::Message& from)
final;
1231 ::
google::protobuf::io::CodedInputStream* input) final;
1233 ::
google::protobuf::io::CodedOutputStream* output) const final;
1235 bool deterministic, ::
google::protobuf::uint8* target) const final;
1241 void SetCachedSize(
int size)
const final;
1244 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1247 inline void* MaybeArenaPtr()
const {
1252 ::google::protobuf::Metadata
GetMetadata() const final;
1283 template<typename Quantity >
1285 {
set_constant_heading(boost::units::quantity<constant_heading_unit,double >(value_w_units).value() ); };
1287 template<
typename Quantity >
1292 {
return constant_heading_with_units<boost::units::quantity< constant_heading_unit,double > >(); };
1298 template<
typename Quantity >
1300 {
set_constant_heading_time(boost::units::quantity<constant_heading_time_unit,google::protobuf::int32 >(value_w_units).value() ); };
1302 template<
typename Quantity >
1307 {
return constant_heading_time_with_units<boost::units::quantity< constant_heading_time_unit,google::protobuf::int32 > >(); };
1309 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type
constant_heading_speed_dimension;
1313 template<
typename Quantity >
1317 template<
typename Quantity >
1322 {
return constant_heading_speed_with_units<boost::units::quantity< constant_heading_speed_unit,double > >(); };
1326 void set_has_constant_heading();
1327 void clear_has_constant_heading();
1328 void set_has_constant_heading_time();
1329 void clear_has_constant_heading_time();
1330 void set_has_constant_heading_speed();
1331 void clear_has_constant_heading_speed();
1333 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1334 ::google::protobuf::internal::HasBits<1> _has_bits_;
1335 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1336 double constant_heading_;
1337 ::google::protobuf::int32 constant_heading_time_;
1338 double constant_heading_speed_;
1339 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
1357 *
this = ::std::move(from);
1361 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1362 if (
this != &from) InternalSwap(&from);
1370 return _internal_metadata_.unknown_fields();
1373 return _internal_metadata_.mutable_unknown_fields();
1376 static const ::google::protobuf::Descriptor*
descriptor();
1395 return CreateMaybeMessage<MissionTask_StationKeepParameters>(NULL);
1399 return CreateMaybeMessage<MissionTask_StationKeepParameters>(arena);
1401 void CopyFrom(const ::google::protobuf::Message& from)
final;
1402 void MergeFrom(const ::google::protobuf::Message& from)
final;
1410 ::
google::protobuf::io::CodedInputStream* input) final;
1412 ::
google::protobuf::io::CodedOutputStream* output) const final;
1414 bool deterministic, ::
google::protobuf::uint8* target) const final;
1420 void SetCachedSize(
int size)
const final;
1423 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1426 inline void* MaybeArenaPtr()
const {
1431 ::google::protobuf::Metadata
GetMetadata() const final;
1448 template<typename Quantity >
1450 {
set_station_keep_time(boost::units::quantity<station_keep_time_unit,google::protobuf::int32 >(value_w_units).value() ); };
1452 template<
typename Quantity >
1457 {
return station_keep_time_with_units<boost::units::quantity< station_keep_time_unit,google::protobuf::int32 > >(); };
1461 void set_has_station_keep_time();
1462 void clear_has_station_keep_time();
1464 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1465 ::google::protobuf::internal::HasBits<1> _has_bits_;
1466 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1467 ::google::protobuf::int32 station_keep_time_;
1468 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
1486 *
this = ::std::move(from);
1490 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1491 if (
this != &from) InternalSwap(&from);
1499 return _internal_metadata_.unknown_fields();
1502 return _internal_metadata_.mutable_unknown_fields();
1505 static const ::google::protobuf::Descriptor*
descriptor();
1524 return CreateMaybeMessage<MissionTask>(NULL);
1528 return CreateMaybeMessage<MissionTask>(arena);
1530 void CopyFrom(const ::google::protobuf::Message& from)
final;
1531 void MergeFrom(const ::google::protobuf::Message& from)
final;
1539 ::
google::protobuf::io::CodedInputStream* input) final;
1541 ::
google::protobuf::io::CodedOutputStream* output) const final;
1543 bool deterministic, ::
google::protobuf::uint8* target) const final;
1549 void SetCachedSize(
int size)
const final;
1552 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1555 inline void* MaybeArenaPtr()
const {
1560 ::google::protobuf::Metadata
GetMetadata() const final;
1589 static inline const ::google::protobuf::EnumDescriptor*
1608 const ::jaiabot::protobuf::MissionTask_DiveParameters& _internal_dive()
const;
1610 const ::jaiabot::protobuf::MissionTask_DiveParameters&
dive()
const;
1620 const ::jaiabot::protobuf::MissionTask_DriftParameters& _internal_surface_drift()
const;
1622 const ::jaiabot::protobuf::MissionTask_DriftParameters&
surface_drift()
const;
1632 const ::jaiabot::protobuf::MissionTask_ConstantHeadingParameters& _internal_constant_heading()
const;
1634 const ::jaiabot::protobuf::MissionTask_ConstantHeadingParameters&
constant_heading()
const;
1644 const ::jaiabot::protobuf::MissionTask_StationKeepParameters& _internal_station_keep()
const;
1646 const ::jaiabot::protobuf::MissionTask_StationKeepParameters&
station_keep()
const;
1667 void set_has_type();
1668 void clear_has_type();
1669 void set_has_dive();
1670 void clear_has_dive();
1671 void set_has_surface_drift();
1672 void clear_has_surface_drift();
1673 void set_has_constant_heading();
1674 void clear_has_constant_heading();
1675 void set_has_start_echo();
1676 void clear_has_start_echo();
1677 void set_has_station_keep();
1678 void clear_has_station_keep();
1680 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1681 ::google::protobuf::internal::HasBits<1> _has_bits_;
1682 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1689 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
1707 *
this = ::std::move(from);
1711 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1712 if (
this != &from) InternalSwap(&from);
1720 return _internal_metadata_.unknown_fields();
1723 return _internal_metadata_.mutable_unknown_fields();
1726 static const ::google::protobuf::Descriptor*
descriptor();
1745 return CreateMaybeMessage<MissionPlan_Goal>(NULL);
1749 return CreateMaybeMessage<MissionPlan_Goal>(arena);
1751 void CopyFrom(const ::google::protobuf::Message& from)
final;
1752 void MergeFrom(const ::google::protobuf::Message& from)
final;
1760 ::
google::protobuf::io::CodedInputStream* input) final;
1762 ::
google::protobuf::io::CodedOutputStream* output) const final;
1764 bool deterministic, ::
google::protobuf::uint8* target) const final;
1770 void SetCachedSize(
int size)
const final;
1773 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1776 inline void* MaybeArenaPtr()
const {
1781 ::google::protobuf::Metadata
GetMetadata() const final;
1791 const ::std::
string&
name() const;
1792 void set_name(const ::std::
string& value);
1794 void set_name(::std::string&& value);
1797 void set_name(
const char* value,
size_t size);
1807 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
1809 const ::jaiabot::protobuf::GeographicCoordinate&
location()
const;
1819 const ::jaiabot::protobuf::MissionTask& _internal_task()
const;
1821 const ::jaiabot::protobuf::MissionTask&
task()
const;
1835 void set_has_name();
1836 void clear_has_name();
1837 void set_has_location();
1838 void clear_has_location();
1839 void set_has_task();
1840 void clear_has_task();
1841 void set_has_movewptmode();
1842 void clear_has_movewptmode();
1844 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1845 ::google::protobuf::internal::HasBits<1> _has_bits_;
1846 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1847 ::google::protobuf::internal::ArenaStringPtr name_;
1851 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
1869 *
this = ::std::move(from);
1873 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1874 if (
this != &from) InternalSwap(&from);
1882 return _internal_metadata_.unknown_fields();
1885 return _internal_metadata_.mutable_unknown_fields();
1888 static const ::google::protobuf::Descriptor*
descriptor();
1907 return CreateMaybeMessage<MissionPlan_Recovery>(NULL);
1911 return CreateMaybeMessage<MissionPlan_Recovery>(arena);
1913 void CopyFrom(const ::google::protobuf::Message& from)
final;
1914 void MergeFrom(const ::google::protobuf::Message& from)
final;
1922 ::
google::protobuf::io::CodedInputStream* input) final;
1924 ::
google::protobuf::io::CodedOutputStream* output) const final;
1926 bool deterministic, ::
google::protobuf::uint8* target) const final;
1932 void SetCachedSize(
int size)
const final;
1935 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1938 inline void* MaybeArenaPtr()
const {
1943 ::google::protobuf::Metadata
GetMetadata() const final;
1970 void set_has_recover_at_final_goal();
1971 void clear_has_recover_at_final_goal();
1972 void set_has_location();
1973 void clear_has_location();
1975 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1976 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1977 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1979 bool recover_at_final_goal_;
1998 *
this = ::std::move(from);
2001 inline MissionPlan_TrailParam&
operator=(MissionPlan_TrailParam&& from) noexcept {
2002 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2003 if (
this != &from) InternalSwap(&from);
2011 return _internal_metadata_.unknown_fields();
2014 return _internal_metadata_.mutable_unknown_fields();
2017 static const ::google::protobuf::Descriptor*
descriptor();
2036 return CreateMaybeMessage<MissionPlan_TrailParam>(NULL);
2040 return CreateMaybeMessage<MissionPlan_TrailParam>(arena);
2042 void CopyFrom(const ::google::protobuf::Message& from)
final;
2043 void MergeFrom(const ::google::protobuf::Message& from)
final;
2051 ::
google::protobuf::io::CodedInputStream* input) final;
2053 ::
google::protobuf::io::CodedOutputStream* output) const final;
2055 bool deterministic, ::
google::protobuf::uint8* target) const final;
2061 void SetCachedSize(
int size)
const final;
2064 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2067 inline void* MaybeArenaPtr()
const {
2072 ::google::protobuf::Metadata
GetMetadata() const final;
2079 bool has_contact() const;
2080 void clear_contact();
2081 static const
int kContactFieldNumber = 1;
2082 ::
google::protobuf::int32 contact() const;
2083 void set_contact(::
google::protobuf::int32 value);
2086 bool has_angle_relative() const;
2087 void clear_angle_relative();
2088 static const
int kAngleRelativeFieldNumber = 3;
2089 bool angle_relative() const;
2090 void set_angle_relative(
bool value);
2093 bool has_angle() const;
2095 static const
int kAngleFieldNumber = 2;
2096 double angle() const;
2097 void set_angle(
double value);
2100 bool has_range() const;
2102 static const
int kRangeFieldNumber = 4;
2103 double range() const;
2104 void set_range(
double value);
2110 template<typename Quantity >
2111 void set_angle_with_units(Quantity value_w_units)
2112 { set_angle(boost::units::quantity<angle_unit,double >(value_w_units).value() ); };
2114 template<
typename Quantity >
2116 {
return Quantity(angle() *
angle_unit()); };
2119 {
return angle_with_units<boost::units::quantity< angle_unit,double > >(); };
2121 typedef boost::units::length_dimension range_dimension;
2123 typedef boost::units::unit<range_dimension,boost::units::si::system>
range_unit;
2125 template<
typename Quantity >
2127 { set_range(boost::units::quantity<range_unit,double >(value_w_units).value() ); };
2129 template<
typename Quantity >
2131 {
return Quantity(range() *
range_unit()); };
2134 {
return range_with_units<boost::units::quantity< range_unit,double > >(); };
2138 void set_has_contact();
2139 void clear_has_contact();
2140 void set_has_angle();
2141 void clear_has_angle();
2142 void set_has_angle_relative();
2143 void clear_has_angle_relative();
2144 void set_has_range();
2145 void clear_has_range();
2147 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2148 ::google::protobuf::internal::HasBits<1> _has_bits_;
2149 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2150 ::google::protobuf::int32 contact_;
2151 bool angle_relative_;
2154 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
2172 *
this = ::std::move(from);
2175 inline MissionPlan&
operator=(MissionPlan&& from) noexcept {
2176 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2177 if (
this != &from) InternalSwap(&from);
2185 return _internal_metadata_.unknown_fields();
2188 return _internal_metadata_.mutable_unknown_fields();
2191 static const ::google::protobuf::Descriptor*
descriptor();
2196 MOVEMENT_PARAMS_NOT_SET = 0,
2215 return CreateMaybeMessage<MissionPlan>(NULL);
2219 return CreateMaybeMessage<MissionPlan>(arena);
2221 void CopyFrom(const ::google::protobuf::Message& from)
final;
2222 void MergeFrom(const ::google::protobuf::Message& from)
final;
2230 ::
google::protobuf::io::CodedInputStream* input) final;
2232 ::
google::protobuf::io::CodedOutputStream* output) const final;
2234 bool deterministic, ::
google::protobuf::uint8* target) const final;
2240 void SetCachedSize(
int size)
const final;
2243 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2246 inline void* MaybeArenaPtr()
const {
2251 ::google::protobuf::Metadata
GetMetadata() const final;
2264 static inline
bool MissionStart_IsValid(
int value) {
2271 static const int MissionStart_ARRAYSIZE =
2273 static inline const ::google::protobuf::EnumDescriptor*
2299 static const int MovementType_ARRAYSIZE =
2301 static inline const ::google::protobuf::EnumDescriptor*
2316 int goal_size()
const;
2318 static const int kGoalFieldNumber = 3;
2320 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::MissionPlan_Goal >*
2322 const ::jaiabot::protobuf::MissionPlan_Goal& goal(
int index)
const;
2324 const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::MissionPlan_Goal >&
2328 bool has_recovery()
const;
2329 void clear_recovery();
2330 static const int kRecoveryFieldNumber = 4;
2332 const ::jaiabot::protobuf::MissionPlan_Recovery& _internal_recovery()
const;
2334 const ::jaiabot::protobuf::MissionPlan_Recovery& recovery()
const;
2340 bool has_speeds()
const;
2341 void clear_speeds();
2342 static const int kSpeedsFieldNumber = 5;
2344 const ::jaiabot::protobuf::Speeds& _internal_speeds()
const;
2346 const ::jaiabot::protobuf::Speeds& speeds()
const;
2352 bool has_bottom_depth_safety_params()
const;
2353 void clear_bottom_depth_safety_params();
2354 static const int kBottomDepthSafetyParamsFieldNumber = 6;
2356 const ::jaiabot::protobuf::BottomDepthSafetyParams& _internal_bottom_depth_safety_params()
const;
2358 const ::jaiabot::protobuf::BottomDepthSafetyParams& bottom_depth_safety_params()
const;
2364 bool has_fragment_index()
const;
2365 void clear_fragment_index();
2366 static const int kFragmentIndexFieldNumber = 7;
2367 ::google::protobuf::uint32 fragment_index()
const;
2368 void set_fragment_index(::google::protobuf::uint32 value);
2371 bool has_expected_fragments()
const;
2372 void clear_expected_fragments();
2373 static const int kExpectedFragmentsFieldNumber = 8;
2374 ::google::protobuf::uint32 expected_fragments()
const;
2375 void set_expected_fragments(::google::protobuf::uint32 value);
2378 bool has_repeats()
const;
2379 void clear_repeats();
2380 static const int kRepeatsFieldNumber = 9;
2381 ::google::protobuf::uint32 repeats()
const;
2382 void set_repeats(::google::protobuf::uint32 value);
2385 bool has_start()
const;
2387 static const int kStartFieldNumber = 1;
2392 bool has_movement()
const;
2393 void clear_movement();
2394 static const int kMovementFieldNumber = 2;
2399 bool has_trail()
const;
2401 static const int kTrailFieldNumber = 10;
2403 const ::jaiabot::protobuf::MissionPlan_TrailParam& _internal_trail()
const;
2405 const ::jaiabot::protobuf::MissionPlan_TrailParam& trail()
const;
2410 void clear_movement_params();
2414 void set_has_start();
2415 void clear_has_start();
2416 void set_has_movement();
2417 void clear_has_movement();
2418 void set_has_recovery();
2419 void clear_has_recovery();
2420 void set_has_speeds();
2421 void clear_has_speeds();
2422 void set_has_bottom_depth_safety_params();
2423 void clear_has_bottom_depth_safety_params();
2424 void set_has_fragment_index();
2425 void clear_has_fragment_index();
2426 void set_has_expected_fragments();
2427 void clear_has_expected_fragments();
2428 void set_has_trail();
2429 void set_has_repeats();
2430 void clear_has_repeats();
2432 inline bool has_movement_params()
const;
2433 inline void clear_has_movement_params();
2435 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2436 ::google::protobuf::internal::HasBits<1> _has_bits_;
2437 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2438 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::MissionPlan_Goal > goal_;
2442 ::google::protobuf::uint32 fragment_index_;
2443 ::google::protobuf::uint32 expected_fragments_;
2444 ::google::protobuf::uint32 repeats_;
2447 union MovementParamsUnion {
2448 MovementParamsUnion() {}
2451 ::google::protobuf::uint32 _oneof_case_[1];
2453 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
2471 *
this = ::std::move(from);
2474 inline IvPBehaviorUpdate_TransitUpdate&
operator=(IvPBehaviorUpdate_TransitUpdate&& from) noexcept {
2475 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2476 if (
this != &from) InternalSwap(&from);
2484 return _internal_metadata_.unknown_fields();
2487 return _internal_metadata_.mutable_unknown_fields();
2490 static const ::google::protobuf::Descriptor*
descriptor();
2509 return CreateMaybeMessage<IvPBehaviorUpdate_TransitUpdate>(NULL);
2513 return CreateMaybeMessage<IvPBehaviorUpdate_TransitUpdate>(arena);
2515 void CopyFrom(const ::google::protobuf::Message& from)
final;
2516 void MergeFrom(const ::google::protobuf::Message& from)
final;
2524 ::
google::protobuf::io::CodedInputStream* input) final;
2526 ::
google::protobuf::io::CodedOutputStream* output) const final;
2528 bool deterministic, ::
google::protobuf::uint8* target) const final;
2534 void SetCachedSize(
int size)
const final;
2537 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2540 inline void* MaybeArenaPtr()
const {
2545 ::google::protobuf::Metadata
GetMetadata() const final;
2554 static const
int kXFieldNumber = 2;
2556 void set_x(
double value);
2561 static const
int kYFieldNumber = 3;
2563 void set_y(
double value);
2566 bool has_active() const;
2567 void clear_active();
2568 static const
int kActiveFieldNumber = 1;
2569 bool active() const;
2570 void set_active(
bool value);
2573 bool has_slip_radius() const;
2574 void clear_slip_radius();
2575 static const
int kSlipRadiusFieldNumber = 5;
2576 ::
google::protobuf::int32 slip_radius() const;
2577 void set_slip_radius(::
google::protobuf::int32 value);
2580 bool has_speed() const;
2582 static const
int kSpeedFieldNumber = 4;
2583 double speed() const;
2584 void set_speed(
double value);
2590 template<typename Quantity >
2591 void set_x_with_units(Quantity value_w_units)
2592 { set_x(boost::units::quantity<x_unit,double >(value_w_units).value() ); };
2594 template<
typename Quantity >
2596 {
return Quantity(x() *
x_unit()); };
2599 {
return x_with_units<boost::units::quantity< x_unit,double > >(); };
2601 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1 >::type y_dimension;
2603 typedef boost::units::unit<y_dimension,boost::units::si::system>
y_unit;
2605 template<
typename Quantity >
2607 { set_y(boost::units::quantity<y_unit,double >(value_w_units).value() ); };
2609 template<
typename Quantity >
2611 {
return Quantity(y() *
y_unit()); };
2614 {
return y_with_units<boost::units::quantity< y_unit,double > >(); };
2616 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type speed_dimension;
2618 typedef boost::units::unit<speed_dimension,boost::units::si::system>
speed_unit;
2620 template<
typename Quantity >
2622 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
2624 template<
typename Quantity >
2626 {
return Quantity(speed() *
speed_unit()); };
2629 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
2633 void set_has_active();
2634 void clear_has_active();
2639 void set_has_speed();
2640 void clear_has_speed();
2641 void set_has_slip_radius();
2642 void clear_has_slip_radius();
2644 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2645 ::google::protobuf::internal::HasBits<1> _has_bits_;
2646 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2650 ::google::protobuf::int32 slip_radius_;
2652 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
2670 *
this = ::std::move(from);
2673 inline IvPBehaviorUpdate_StationkeepUpdate&
operator=(IvPBehaviorUpdate_StationkeepUpdate&& from) noexcept {
2674 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2675 if (
this != &from) InternalSwap(&from);
2683 return _internal_metadata_.unknown_fields();
2686 return _internal_metadata_.mutable_unknown_fields();
2689 static const ::google::protobuf::Descriptor*
descriptor();
2708 return CreateMaybeMessage<IvPBehaviorUpdate_StationkeepUpdate>(NULL);
2712 return CreateMaybeMessage<IvPBehaviorUpdate_StationkeepUpdate>(arena);
2714 void CopyFrom(const ::google::protobuf::Message& from)
final;
2715 void MergeFrom(const ::google::protobuf::Message& from)
final;
2723 ::
google::protobuf::io::CodedInputStream* input) final;
2725 ::
google::protobuf::io::CodedOutputStream* output) const final;
2727 bool deterministic, ::
google::protobuf::uint8* target) const final;
2733 void SetCachedSize(
int size)
const final;
2736 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2739 inline void* MaybeArenaPtr()
const {
2744 ::google::protobuf::Metadata
GetMetadata() const final;
2753 static const
int kXFieldNumber = 2;
2755 void set_x(
double value);
2760 static const
int kYFieldNumber = 3;
2762 void set_y(
double value);
2765 bool has_outer_speed() const;
2766 void clear_outer_speed();
2767 static const
int kOuterSpeedFieldNumber = 4;
2768 double outer_speed() const;
2769 void set_outer_speed(
double value);
2772 bool has_transit_speed() const;
2773 void clear_transit_speed();
2774 static const
int kTransitSpeedFieldNumber = 5;
2775 double transit_speed() const;
2776 void set_transit_speed(
double value);
2779 bool has_active() const;
2780 void clear_active();
2781 static const
int kActiveFieldNumber = 1;
2782 bool active() const;
2783 void set_active(
bool value);
2786 bool has_center_activate() const;
2787 void clear_center_activate();
2788 static const
int kCenterActivateFieldNumber = 6;
2789 bool center_activate() const;
2790 void set_center_activate(
bool value);
2796 template<typename Quantity >
2797 void set_x_with_units(Quantity value_w_units)
2798 { set_x(boost::units::quantity<x_unit,double >(value_w_units).value() ); };
2800 template<
typename Quantity >
2802 {
return Quantity(x() *
x_unit()); };
2805 {
return x_with_units<boost::units::quantity< x_unit,double > >(); };
2807 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1 >::type y_dimension;
2809 typedef boost::units::unit<y_dimension,boost::units::si::system>
y_unit;
2811 template<
typename Quantity >
2813 { set_y(boost::units::quantity<y_unit,double >(value_w_units).value() ); };
2815 template<
typename Quantity >
2817 {
return Quantity(y() *
y_unit()); };
2820 {
return y_with_units<boost::units::quantity< y_unit,double > >(); };
2822 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type outer_speed_dimension;
2826 template<
typename Quantity >
2828 { set_outer_speed(boost::units::quantity<outer_speed_unit,double >(value_w_units).value() ); };
2830 template<
typename Quantity >
2835 {
return outer_speed_with_units<boost::units::quantity< outer_speed_unit,double > >(); };
2837 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type transit_speed_dimension;
2841 template<
typename Quantity >
2843 { set_transit_speed(boost::units::quantity<transit_speed_unit,double >(value_w_units).value() ); };
2845 template<
typename Quantity >
2850 {
return transit_speed_with_units<boost::units::quantity< transit_speed_unit,double > >(); };
2854 void set_has_active();
2855 void clear_has_active();
2860 void set_has_outer_speed();
2861 void clear_has_outer_speed();
2862 void set_has_transit_speed();
2863 void clear_has_transit_speed();
2864 void set_has_center_activate();
2865 void clear_has_center_activate();
2867 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2868 ::google::protobuf::internal::HasBits<1> _has_bits_;
2869 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2872 double outer_speed_;
2873 double transit_speed_;
2875 bool center_activate_;
2876 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
2894 *
this = ::std::move(from);
2897 inline IvPBehaviorUpdate_ConstantHeadingUpdate&
operator=(IvPBehaviorUpdate_ConstantHeadingUpdate&& from) noexcept {
2898 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2899 if (
this != &from) InternalSwap(&from);
2907 return _internal_metadata_.unknown_fields();
2910 return _internal_metadata_.mutable_unknown_fields();
2913 static const ::google::protobuf::Descriptor*
descriptor();
2932 return CreateMaybeMessage<IvPBehaviorUpdate_ConstantHeadingUpdate>(NULL);
2936 return CreateMaybeMessage<IvPBehaviorUpdate_ConstantHeadingUpdate>(arena);
2938 void CopyFrom(const ::google::protobuf::Message& from)
final;
2939 void MergeFrom(const ::google::protobuf::Message& from)
final;
2947 ::
google::protobuf::io::CodedInputStream* input) final;
2949 ::
google::protobuf::io::CodedOutputStream* output) const final;
2951 bool deterministic, ::
google::protobuf::uint8* target) const final;
2957 void SetCachedSize(
int size)
const final;
2960 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2963 inline void* MaybeArenaPtr()
const {
2968 ::google::protobuf::Metadata
GetMetadata() const final;
2975 bool has_heading() const;
2976 void clear_heading();
2977 static const
int kHeadingFieldNumber = 2;
2978 double heading() const;
2979 void set_heading(
double value);
2982 bool has_active() const;
2983 void clear_active();
2984 static const
int kActiveFieldNumber = 1;
2985 bool active() const;
2986 void set_active(
bool value);
2992 template<typename Quantity >
2993 void set_heading_with_units(Quantity value_w_units)
2994 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
2996 template<
typename Quantity >
3001 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
3005 void set_has_active();
3006 void clear_has_active();
3007 void set_has_heading();
3008 void clear_has_heading();
3010 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3011 ::google::protobuf::internal::HasBits<1> _has_bits_;
3012 mutable ::google::protobuf::internal::CachedSize _cached_size_;
3015 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
3033 *
this = ::std::move(from);
3036 inline IvPBehaviorUpdate_ConstantSpeedUpdate&
operator=(IvPBehaviorUpdate_ConstantSpeedUpdate&& from) noexcept {
3037 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3038 if (
this != &from) InternalSwap(&from);
3046 return _internal_metadata_.unknown_fields();
3049 return _internal_metadata_.mutable_unknown_fields();
3052 static const ::google::protobuf::Descriptor*
descriptor();
3071 return CreateMaybeMessage<IvPBehaviorUpdate_ConstantSpeedUpdate>(NULL);
3075 return CreateMaybeMessage<IvPBehaviorUpdate_ConstantSpeedUpdate>(arena);
3077 void CopyFrom(const ::google::protobuf::Message& from)
final;
3078 void MergeFrom(const ::google::protobuf::Message& from)
final;
3086 ::
google::protobuf::io::CodedInputStream* input) final;
3088 ::
google::protobuf::io::CodedOutputStream* output) const final;
3090 bool deterministic, ::
google::protobuf::uint8* target) const final;
3096 void SetCachedSize(
int size)
const final;
3099 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3102 inline void* MaybeArenaPtr()
const {
3107 ::google::protobuf::Metadata
GetMetadata() const final;
3114 bool has_speed() const;
3116 static const
int kSpeedFieldNumber = 2;
3117 double speed() const;
3118 void set_speed(
double value);
3121 bool has_active() const;
3122 void clear_active();
3123 static const
int kActiveFieldNumber = 1;
3124 bool active() const;
3125 void set_active(
bool value);
3131 template<typename Quantity >
3132 void set_speed_with_units(Quantity value_w_units)
3133 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
3135 template<
typename Quantity >
3137 {
return Quantity(speed() *
speed_unit()); };
3140 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
3144 void set_has_active();
3145 void clear_has_active();
3146 void set_has_speed();
3147 void clear_has_speed();
3149 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3150 ::google::protobuf::internal::HasBits<1> _has_bits_;
3151 mutable ::google::protobuf::internal::CachedSize _cached_size_;
3154 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
3172 *
this = ::std::move(from);
3175 inline IvPBehaviorUpdate_TrailUpdate&
operator=(IvPBehaviorUpdate_TrailUpdate&& from) noexcept {
3176 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3177 if (
this != &from) InternalSwap(&from);
3185 return _internal_metadata_.unknown_fields();
3188 return _internal_metadata_.mutable_unknown_fields();
3191 static const ::google::protobuf::Descriptor*
descriptor();
3210 return CreateMaybeMessage<IvPBehaviorUpdate_TrailUpdate>(NULL);
3214 return CreateMaybeMessage<IvPBehaviorUpdate_TrailUpdate>(arena);
3216 void CopyFrom(const ::google::protobuf::Message& from)
final;
3217 void MergeFrom(const ::google::protobuf::Message& from)
final;
3225 ::
google::protobuf::io::CodedInputStream* input) final;
3227 ::
google::protobuf::io::CodedOutputStream* output) const final;
3229 bool deterministic, ::
google::protobuf::uint8* target) const final;
3235 void SetCachedSize(
int size)
const final;
3238 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3241 inline void* MaybeArenaPtr()
const {
3246 ::google::protobuf::Metadata
GetMetadata() const final;
3253 bool has_param() const;
3255 static const
int kParamFieldNumber = 2;
3265 bool has_active() const;
3266 void clear_active();
3267 static const
int kActiveFieldNumber = 1;
3268 bool active() const;
3269 void set_active(
bool value);
3273 void set_has_active();
3274 void clear_has_active();
3275 void set_has_param();
3276 void clear_has_param();
3278 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3279 ::
google::protobuf::internal::HasBits<1> _has_bits_;
3280 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
3301 *
this = ::std::move(from);
3304 inline IvPBehaviorUpdate_ContactUpdate&
operator=(IvPBehaviorUpdate_ContactUpdate&& from) noexcept {
3305 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3306 if (
this != &from) InternalSwap(&from);
3314 return _internal_metadata_.unknown_fields();
3317 return _internal_metadata_.mutable_unknown_fields();
3320 static const ::google::protobuf::Descriptor*
descriptor();
3339 return CreateMaybeMessage<IvPBehaviorUpdate_ContactUpdate>(NULL);
3343 return CreateMaybeMessage<IvPBehaviorUpdate_ContactUpdate>(arena);
3345 void CopyFrom(const ::google::protobuf::Message& from)
final;
3346 void MergeFrom(const ::google::protobuf::Message& from)
final;
3354 ::
google::protobuf::io::CodedInputStream* input) final;
3356 ::
google::protobuf::io::CodedOutputStream* output) const final;
3358 bool deterministic, ::
google::protobuf::uint8* target) const final;
3364 void SetCachedSize(
int size)
const final;
3367 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3370 inline void* MaybeArenaPtr()
const {
3375 ::google::protobuf::Metadata
GetMetadata() const final;
3384 static const
int kXFieldNumber = 2;
3386 void set_x(
double value);
3391 static const
int kYFieldNumber = 3;
3393 void set_y(
double value);
3396 bool has_speed() const;
3398 static const
int kSpeedFieldNumber = 4;
3399 double speed() const;
3400 void set_speed(
double value);
3403 bool has_heading_or_cog() const;
3404 void clear_heading_or_cog();
3405 static const
int kHeadingOrCogFieldNumber = 5;
3406 double heading_or_cog() const;
3407 void set_heading_or_cog(
double value);
3410 bool has_contact() const;
3411 void clear_contact();
3412 static const
int kContactFieldNumber = 1;
3413 ::
google::protobuf::int32 contact() const;
3414 void set_contact(::
google::protobuf::int32 value);
3420 template<typename Quantity >
3421 void set_x_with_units(Quantity value_w_units)
3422 { set_x(boost::units::quantity<x_unit,double >(value_w_units).value() ); };
3424 template<
typename Quantity >
3426 {
return Quantity(x() *
x_unit()); };
3429 {
return x_with_units<boost::units::quantity< x_unit,double > >(); };
3431 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1 >::type y_dimension;
3433 typedef boost::units::unit<y_dimension,boost::units::si::system>
y_unit;
3435 template<
typename Quantity >
3437 { set_y(boost::units::quantity<y_unit,double >(value_w_units).value() ); };
3439 template<
typename Quantity >
3441 {
return Quantity(y() *
y_unit()); };
3444 {
return y_with_units<boost::units::quantity< y_unit,double > >(); };
3446 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type speed_dimension;
3448 typedef boost::units::unit<speed_dimension,boost::units::si::system>
speed_unit;
3450 template<
typename Quantity >
3452 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
3454 template<
typename Quantity >
3456 {
return Quantity(speed() *
speed_unit()); };
3459 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
3461 typedef boost::units::plane_angle_dimension heading_or_cog_dimension;
3465 template<
typename Quantity >
3467 { set_heading_or_cog(boost::units::quantity<heading_or_cog_unit,double >(value_w_units).value() ); };
3469 template<
typename Quantity >
3474 {
return heading_or_cog_with_units<boost::units::quantity< heading_or_cog_unit,double > >(); };
3478 void set_has_contact();
3479 void clear_has_contact();
3484 void set_has_speed();
3485 void clear_has_speed();
3486 void set_has_heading_or_cog();
3487 void clear_has_heading_or_cog();
3489 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3490 ::google::protobuf::internal::HasBits<1> _has_bits_;
3491 mutable ::google::protobuf::internal::CachedSize _cached_size_;
3495 double heading_or_cog_;
3496 ::google::protobuf::int32 contact_;
3497 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
3515 *
this = ::std::move(from);
3518 inline IvPBehaviorUpdate&
operator=(IvPBehaviorUpdate&& from) noexcept {
3519 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3520 if (
this != &from) InternalSwap(&from);
3528 return _internal_metadata_.unknown_fields();
3531 return _internal_metadata_.mutable_unknown_fields();
3534 static const ::google::protobuf::Descriptor*
descriptor();
3540 kConstantHeading = 3,
3544 BEHAVIOR_NOT_SET = 0,
3563 return CreateMaybeMessage<IvPBehaviorUpdate>(NULL);
3567 return CreateMaybeMessage<IvPBehaviorUpdate>(arena);
3569 void CopyFrom(const ::google::protobuf::Message& from)
final;
3570 void MergeFrom(const ::google::protobuf::Message& from)
final;
3578 ::
google::protobuf::io::CodedInputStream* input) final;
3580 ::
google::protobuf::io::CodedOutputStream* output) const final;
3582 bool deterministic, ::
google::protobuf::uint8* target) const final;
3588 void SetCachedSize(
int size)
const final;
3591 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3594 inline void* MaybeArenaPtr()
const {
3599 ::google::protobuf::Metadata
GetMetadata() const final;
3613 bool has_transit() const;
3614 void clear_transit();
3615 static const
int kTransitFieldNumber = 1;
3625 bool has_stationkeep() const;
3626 void clear_stationkeep();
3627 static const
int kStationkeepFieldNumber = 2;
3637 bool has_constantheading() const;
3638 void clear_constantheading();
3639 static const
int kConstantHeadingFieldNumber = 3;
3649 bool has_constantspeed() const;
3650 void clear_constantspeed();
3651 static const
int kConstantSpeedFieldNumber = 4;
3661 bool has_trail() const;
3663 static const
int kTrailFieldNumber = 5;
3673 bool has_contact() const;
3674 void clear_contact();
3675 static const
int kContactFieldNumber = 6;
3684 void clear_behavior();
3688 void set_has_transit();
3689 void set_has_stationkeep();
3690 void set_has_constantheading();
3691 void set_has_constantspeed();
3692 void set_has_trail();
3693 void set_has_contact();
3695 inline
bool has_behavior() const;
3696 inline
void clear_has_behavior();
3698 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3699 ::
google::protobuf::internal::HasBits<1> _has_bits_;
3700 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
3701 union BehaviorUnion {
3710 ::google::protobuf::uint32 _oneof_case_[1];
3712 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
3730 *
this = ::std::move(from);
3733 inline IvPBehaviorReport_TransitReport&
operator=(IvPBehaviorReport_TransitReport&& from) noexcept {
3734 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3735 if (
this != &from) InternalSwap(&from);
3743 return _internal_metadata_.unknown_fields();
3746 return _internal_metadata_.mutable_unknown_fields();
3749 static const ::google::protobuf::Descriptor*
descriptor();
3768 return CreateMaybeMessage<IvPBehaviorReport_TransitReport>(NULL);
3772 return CreateMaybeMessage<IvPBehaviorReport_TransitReport>(arena);
3774 void CopyFrom(const ::google::protobuf::Message& from)
final;
3775 void MergeFrom(const ::google::protobuf::Message& from)
final;
3783 ::
google::protobuf::io::CodedInputStream* input) final;
3785 ::
google::protobuf::io::CodedOutputStream* output) const final;
3787 bool deterministic, ::
google::protobuf::uint8* target) const final;
3793 void SetCachedSize(
int size)
const final;
3796 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3799 inline void* MaybeArenaPtr()
const {
3804 ::google::protobuf::Metadata
GetMetadata() const final;
3811 bool has_waypoint_reached() const;
3812 void clear_waypoint_reached();
3813 static const
int kWaypointReachedFieldNumber = 1;
3814 bool waypoint_reached() const;
3815 void set_waypoint_reached(
bool value);
3819 void set_has_waypoint_reached();
3820 void clear_has_waypoint_reached();
3822 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3823 ::
google::protobuf::internal::HasBits<1> _has_bits_;
3824 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
3825 bool waypoint_reached_;
3844 *
this = ::std::move(from);
3847 inline IvPBehaviorReport&
operator=(IvPBehaviorReport&& from) noexcept {
3848 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3849 if (
this != &from) InternalSwap(&from);
3857 return _internal_metadata_.unknown_fields();
3860 return _internal_metadata_.mutable_unknown_fields();
3863 static const ::google::protobuf::Descriptor*
descriptor();
3868 BEHAVIOR_NOT_SET = 0,
3887 return CreateMaybeMessage<IvPBehaviorReport>(NULL);
3891 return CreateMaybeMessage<IvPBehaviorReport>(arena);
3893 void CopyFrom(const ::google::protobuf::Message& from)
final;
3894 void MergeFrom(const ::google::protobuf::Message& from)
final;
3902 ::
google::protobuf::io::CodedInputStream* input) final;
3904 ::
google::protobuf::io::CodedOutputStream* output) const final;
3906 bool deterministic, ::
google::protobuf::uint8* target) const final;
3912 void SetCachedSize(
int size)
const final;
3915 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3918 inline void* MaybeArenaPtr()
const {
3923 ::google::protobuf::Metadata
GetMetadata() const final;
3932 bool has_transit() const;
3933 void clear_transit();
3934 static const
int kTransitFieldNumber = 1;
3943 void clear_behavior();
3947 void set_has_transit();
3949 inline
bool has_behavior() const;
3950 inline
void clear_has_behavior();
3952 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3953 ::
google::protobuf::internal::HasBits<1> _has_bits_;
3954 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
3955 union BehaviorUnion {
3959 ::google::protobuf::uint32 _oneof_case_[1];
3961 friend struct ::protobuf_jaiabot_2fmessages_2fmission_2eproto::TableStruct;
3979 *
this = ::std::move(from);
3982 inline MissionTpvMeetsGpsReq&
operator=(MissionTpvMeetsGpsReq&& from) noexcept {
3983 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3984 if (
this != &from) InternalSwap(&from);
3992 return _internal_metadata_.unknown_fields();
3995 return _internal_metadata_.mutable_unknown_fields();
3998 static const ::google::protobuf::Descriptor*
descriptor();
4017 return CreateMaybeMessage<MissionTpvMeetsGpsReq>(NULL);
4021 return CreateMaybeMessage<MissionTpvMeetsGpsReq>(arena);
4023 void CopyFrom(const ::google::protobuf::Message& from)
final;
4024 void MergeFrom(const ::google::protobuf::Message& from)
final;
4032 ::
google::protobuf::io::CodedInputStream* input) final;
4034 ::
google::protobuf::io::CodedOutputStream* output) const final;
4036 bool deterministic, ::
google::protobuf::uint8* target) const final;
4042 void SetCachedSize(
int size)
const final;
4045 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
4048 inline void* MaybeArenaPtr()
const {
4053 ::google::protobuf::Metadata
GetMetadata() const final;
4060 bool has_tpv() const;
4062 static const
int kTpvFieldNumber = 1;
4064 const ::
goby::middleware::protobuf::gpsd::TimePositionVelocity& _internal_tpv() const;
4066 const ::
goby::middleware::protobuf::gpsd::TimePositionVelocity& tpv() const;
4067 ::
goby::middleware::protobuf::gpsd::TimePositionVelocity* release_tpv();
4068 ::
goby::middleware::protobuf::gpsd::TimePositionVelocity* mutable_tpv();
4069 void set_allocated_tpv(::
goby::middleware::protobuf::gpsd::TimePositionVelocity* tpv);
4074 void clear_has_tpv();
4076 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4077 ::
google::protobuf::internal::HasBits<1> _has_bits_;
4078 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
4079 ::
goby::middleware::protobuf::gpsd::TimePositionVelocity* tpv_;
4088 #pragma GCC diagnostic push
4089 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
4095 return (_has_bits_[0] & 0x00000001u) != 0;
4097 inline void Speeds::set_has_transit() {
4098 _has_bits_[0] |= 0x00000001u;
4100 inline void Speeds::clear_has_transit() {
4101 _has_bits_[0] &= ~0x00000001u;
4105 clear_has_transit();
4119 return (_has_bits_[0] & 0x00000002u) != 0;
4121 inline void Speeds::set_has_stationkeep_outer() {
4122 _has_bits_[0] |= 0x00000002u;
4124 inline void Speeds::clear_has_stationkeep_outer() {
4125 _has_bits_[0] &= ~0x00000002u;
4128 stationkeep_outer_ = 0.5;
4129 clear_has_stationkeep_outer();
4133 return stationkeep_outer_;
4136 set_has_stationkeep_outer();
4137 stationkeep_outer_ = value;
4147 return (_has_bits_[0] & 0x00000001u) != 0;
4149 inline void BottomDepthSafetyParams::set_has_constant_heading() {
4150 _has_bits_[0] |= 0x00000001u;
4152 inline void BottomDepthSafetyParams::clear_has_constant_heading() {
4153 _has_bits_[0] &= ~0x00000001u;
4156 constant_heading_ = 0;
4157 clear_has_constant_heading();
4161 return constant_heading_;
4164 set_has_constant_heading();
4165 constant_heading_ = value;
4171 return (_has_bits_[0] & 0x00000002u) != 0;
4173 inline void BottomDepthSafetyParams::set_has_constant_heading_time() {
4174 _has_bits_[0] |= 0x00000002u;
4176 inline void BottomDepthSafetyParams::clear_has_constant_heading_time() {
4177 _has_bits_[0] &= ~0x00000002u;
4180 constant_heading_time_ = 0;
4181 clear_has_constant_heading_time();
4185 return constant_heading_time_;
4188 set_has_constant_heading_time();
4189 constant_heading_time_ = value;
4195 return (_has_bits_[0] & 0x00000004u) != 0;
4197 inline void BottomDepthSafetyParams::set_has_constant_heading_speed() {
4198 _has_bits_[0] |= 0x00000004u;
4200 inline void BottomDepthSafetyParams::clear_has_constant_heading_speed() {
4201 _has_bits_[0] &= ~0x00000004u;
4204 constant_heading_speed_ = 2;
4205 clear_has_constant_heading_speed();
4209 return constant_heading_speed_;
4212 set_has_constant_heading_speed();
4213 constant_heading_speed_ = value;
4219 return (_has_bits_[0] & 0x00000008u) != 0;
4221 inline void BottomDepthSafetyParams::set_has_safety_depth() {
4222 _has_bits_[0] |= 0x00000008u;
4224 inline void BottomDepthSafetyParams::clear_has_safety_depth() {
4225 _has_bits_[0] &= ~0x00000008u;
4229 clear_has_safety_depth();
4233 return safety_depth_;
4236 set_has_safety_depth();
4237 safety_depth_ = value;
4247 return (_has_bits_[0] & 0x00000004u) != 0;
4249 inline void MissionReport::set_has_state() {
4250 _has_bits_[0] |= 0x00000004u;
4252 inline void MissionReport::clear_has_state() {
4253 _has_bits_[0] &= ~0x00000004u;
4272 return (_has_bits_[0] & 0x00000008u) != 0;
4274 inline void MissionReport::set_has_active_goal() {
4275 _has_bits_[0] |= 0x00000008u;
4277 inline void MissionReport::clear_has_active_goal() {
4278 _has_bits_[0] &= ~0x00000008u;
4282 clear_has_active_goal();
4286 return active_goal_;
4289 set_has_active_goal();
4290 active_goal_ = value;
4296 return (_has_bits_[0] & 0x00000001u) != 0;
4298 inline void MissionReport::set_has_active_goal_location() {
4299 _has_bits_[0] |= 0x00000001u;
4301 inline void MissionReport::clear_has_active_goal_location() {
4302 _has_bits_[0] &= ~0x00000001u;
4304 inline const ::jaiabot::protobuf::GeographicCoordinate& MissionReport::_internal_active_goal_location()
const {
4305 return *active_goal_location_;
4308 const ::jaiabot::protobuf::GeographicCoordinate* p = active_goal_location_;
4315 clear_has_active_goal_location();
4317 active_goal_location_ = NULL;
4321 set_has_active_goal_location();
4322 if (active_goal_location_ == NULL) {
4323 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
4324 active_goal_location_ = p;
4327 return active_goal_location_;
4330 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4331 if (message_arena == NULL) {
4332 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(active_goal_location_);
4334 if (active_goal_location) {
4335 ::google::protobuf::Arena* submessage_arena = NULL;
4336 if (message_arena != submessage_arena) {
4337 active_goal_location = ::google::protobuf::internal::GetOwnedMessage(
4338 message_arena, active_goal_location, submessage_arena);
4340 set_has_active_goal_location();
4342 clear_has_active_goal_location();
4344 active_goal_location_ = active_goal_location;
4350 return (_has_bits_[0] & 0x00000010u) != 0;
4352 inline void MissionReport::set_has_distance_to_active_goal() {
4353 _has_bits_[0] |= 0x00000010u;
4355 inline void MissionReport::clear_has_distance_to_active_goal() {
4356 _has_bits_[0] &= ~0x00000010u;
4359 distance_to_active_goal_ = 0;
4360 clear_has_distance_to_active_goal();
4364 return distance_to_active_goal_;
4367 set_has_distance_to_active_goal();
4368 distance_to_active_goal_ = value;
4374 return (_has_bits_[0] & 0x00000020u) != 0;
4376 inline void MissionReport::set_has_active_goal_timeout() {
4377 _has_bits_[0] |= 0x00000020u;
4379 inline void MissionReport::clear_has_active_goal_timeout() {
4380 _has_bits_[0] &= ~0x00000020u;
4383 active_goal_timeout_ = 0u;
4384 clear_has_active_goal_timeout();
4388 return active_goal_timeout_;
4391 set_has_active_goal_timeout();
4392 active_goal_timeout_ = value;
4398 return (_has_bits_[0] & 0x00000040u) != 0;
4400 inline void MissionReport::set_has_data_offload_percentage() {
4401 _has_bits_[0] |= 0x00000040u;
4403 inline void MissionReport::clear_has_data_offload_percentage() {
4404 _has_bits_[0] &= ~0x00000040u;
4407 data_offload_percentage_ = 0;
4408 clear_has_data_offload_percentage();
4412 return data_offload_percentage_;
4415 set_has_data_offload_percentage();
4416 data_offload_percentage_ = value;
4422 return (_has_bits_[0] & 0x00000002u) != 0;
4424 inline void MissionReport::set_has_repeat_index() {
4425 _has_bits_[0] |= 0x00000002u;
4427 inline void MissionReport::clear_has_repeat_index() {
4428 _has_bits_[0] &= ~0x00000002u;
4432 clear_has_repeat_index();
4436 return repeat_index_;
4439 set_has_repeat_index();
4440 repeat_index_ = value;
4450 return (_has_bits_[0] & 0x00000004u) != 0;
4452 inline void MissionTask_DiveParameters::set_has_max_depth() {
4453 _has_bits_[0] |= 0x00000004u;
4455 inline void MissionTask_DiveParameters::clear_has_max_depth() {
4456 _has_bits_[0] &= ~0x00000004u;
4460 clear_has_max_depth();
4467 set_has_max_depth();
4474 return (_has_bits_[0] & 0x00000008u) != 0;
4476 inline void MissionTask_DiveParameters::set_has_depth_interval() {
4477 _has_bits_[0] |= 0x00000008u;
4479 inline void MissionTask_DiveParameters::clear_has_depth_interval() {
4480 _has_bits_[0] &= ~0x00000008u;
4483 depth_interval_ = ::google::protobuf::internal::Infinity();
4484 clear_has_depth_interval();
4488 return depth_interval_;
4491 set_has_depth_interval();
4492 depth_interval_ = value;
4498 return (_has_bits_[0] & 0x00000001u) != 0;
4500 inline void MissionTask_DiveParameters::set_has_hold_time() {
4501 _has_bits_[0] |= 0x00000001u;
4503 inline void MissionTask_DiveParameters::clear_has_hold_time() {
4504 _has_bits_[0] &= ~0x00000001u;
4508 clear_has_hold_time();
4515 set_has_hold_time();
4522 return (_has_bits_[0] & 0x00000002u) != 0;
4524 inline void MissionTask_DiveParameters::set_has_bottom_dive() {
4525 _has_bits_[0] |= 0x00000002u;
4527 inline void MissionTask_DiveParameters::clear_has_bottom_dive() {
4528 _has_bits_[0] &= ~0x00000002u;
4531 bottom_dive_ =
false;
4532 clear_has_bottom_dive();
4536 return bottom_dive_;
4539 set_has_bottom_dive();
4540 bottom_dive_ = value;
4550 return (_has_bits_[0] & 0x00000001u) != 0;
4552 inline void MissionTask_DriftParameters::set_has_drift_time() {
4553 _has_bits_[0] |= 0x00000001u;
4555 inline void MissionTask_DriftParameters::clear_has_drift_time() {
4556 _has_bits_[0] &= ~0x00000001u;
4560 clear_has_drift_time();
4567 set_has_drift_time();
4568 drift_time_ = value;
4578 return (_has_bits_[0] & 0x00000001u) != 0;
4580 inline void MissionTask_ConstantHeadingParameters::set_has_constant_heading() {
4581 _has_bits_[0] |= 0x00000001u;
4583 inline void MissionTask_ConstantHeadingParameters::clear_has_constant_heading() {
4584 _has_bits_[0] &= ~0x00000001u;
4587 constant_heading_ = 0;
4588 clear_has_constant_heading();
4592 return constant_heading_;
4595 set_has_constant_heading();
4596 constant_heading_ = value;
4602 return (_has_bits_[0] & 0x00000002u) != 0;
4604 inline void MissionTask_ConstantHeadingParameters::set_has_constant_heading_time() {
4605 _has_bits_[0] |= 0x00000002u;
4607 inline void MissionTask_ConstantHeadingParameters::clear_has_constant_heading_time() {
4608 _has_bits_[0] &= ~0x00000002u;
4611 constant_heading_time_ = 0;
4612 clear_has_constant_heading_time();
4616 return constant_heading_time_;
4619 set_has_constant_heading_time();
4620 constant_heading_time_ = value;
4626 return (_has_bits_[0] & 0x00000004u) != 0;
4628 inline void MissionTask_ConstantHeadingParameters::set_has_constant_heading_speed() {
4629 _has_bits_[0] |= 0x00000004u;
4631 inline void MissionTask_ConstantHeadingParameters::clear_has_constant_heading_speed() {
4632 _has_bits_[0] &= ~0x00000004u;
4635 constant_heading_speed_ = 2;
4636 clear_has_constant_heading_speed();
4640 return constant_heading_speed_;
4643 set_has_constant_heading_speed();
4644 constant_heading_speed_ = value;
4654 return (_has_bits_[0] & 0x00000001u) != 0;
4656 inline void MissionTask_StationKeepParameters::set_has_station_keep_time() {
4657 _has_bits_[0] |= 0x00000001u;
4659 inline void MissionTask_StationKeepParameters::clear_has_station_keep_time() {
4660 _has_bits_[0] &= ~0x00000001u;
4663 station_keep_time_ = 10;
4664 clear_has_station_keep_time();
4668 return station_keep_time_;
4671 set_has_station_keep_time();
4672 station_keep_time_ = value;
4682 return (_has_bits_[0] & 0x00000010u) != 0;
4684 inline void MissionTask::set_has_type() {
4685 _has_bits_[0] |= 0x00000010u;
4687 inline void MissionTask::clear_has_type() {
4688 _has_bits_[0] &= ~0x00000010u;
4707 return (_has_bits_[0] & 0x00000001u) != 0;
4709 inline void MissionTask::set_has_dive() {
4710 _has_bits_[0] |= 0x00000001u;
4712 inline void MissionTask::clear_has_dive() {
4713 _has_bits_[0] &= ~0x00000001u;
4716 if (dive_ != NULL) dive_->Clear();
4719 inline const ::jaiabot::protobuf::MissionTask_DiveParameters& MissionTask::_internal_dive()
const {
4723 const ::jaiabot::protobuf::MissionTask_DiveParameters* p = dive_;
4737 if (dive_ == NULL) {
4738 auto* p = CreateMaybeMessage<::jaiabot::protobuf::MissionTask_DiveParameters>(GetArenaNoVirtual());
4745 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4746 if (message_arena == NULL) {
4750 ::google::protobuf::Arena* submessage_arena = NULL;
4751 if (message_arena != submessage_arena) {
4752 dive = ::google::protobuf::internal::GetOwnedMessage(
4753 message_arena, dive, submessage_arena);
4765 return (_has_bits_[0] & 0x00000002u) != 0;
4767 inline void MissionTask::set_has_surface_drift() {
4768 _has_bits_[0] |= 0x00000002u;
4770 inline void MissionTask::clear_has_surface_drift() {
4771 _has_bits_[0] &= ~0x00000002u;
4774 if (surface_drift_ != NULL) surface_drift_->Clear();
4775 clear_has_surface_drift();
4777 inline const ::jaiabot::protobuf::MissionTask_DriftParameters& MissionTask::_internal_surface_drift()
const {
4778 return *surface_drift_;
4781 const ::jaiabot::protobuf::MissionTask_DriftParameters* p = surface_drift_;
4788 clear_has_surface_drift();
4790 surface_drift_ = NULL;
4794 set_has_surface_drift();
4795 if (surface_drift_ == NULL) {
4796 auto* p = CreateMaybeMessage<::jaiabot::protobuf::MissionTask_DriftParameters>(GetArenaNoVirtual());
4800 return surface_drift_;
4803 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4804 if (message_arena == NULL) {
4805 delete surface_drift_;
4807 if (surface_drift) {
4808 ::google::protobuf::Arena* submessage_arena = NULL;
4809 if (message_arena != submessage_arena) {
4810 surface_drift = ::google::protobuf::internal::GetOwnedMessage(
4811 message_arena, surface_drift, submessage_arena);
4813 set_has_surface_drift();
4815 clear_has_surface_drift();
4817 surface_drift_ = surface_drift;
4823 return (_has_bits_[0] & 0x00000004u) != 0;
4825 inline void MissionTask::set_has_constant_heading() {
4826 _has_bits_[0] |= 0x00000004u;
4828 inline void MissionTask::clear_has_constant_heading() {
4829 _has_bits_[0] &= ~0x00000004u;
4832 if (constant_heading_ != NULL) constant_heading_->Clear();
4833 clear_has_constant_heading();
4835 inline const ::jaiabot::protobuf::MissionTask_ConstantHeadingParameters& MissionTask::_internal_constant_heading()
const {
4836 return *constant_heading_;
4839 const ::jaiabot::protobuf::MissionTask_ConstantHeadingParameters* p = constant_heading_;
4846 clear_has_constant_heading();
4848 constant_heading_ = NULL;
4852 set_has_constant_heading();
4853 if (constant_heading_ == NULL) {
4854 auto* p = CreateMaybeMessage<::jaiabot::protobuf::MissionTask_ConstantHeadingParameters>(GetArenaNoVirtual());
4855 constant_heading_ = p;
4858 return constant_heading_;
4861 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4862 if (message_arena == NULL) {
4863 delete constant_heading_;
4865 if (constant_heading) {
4866 ::google::protobuf::Arena* submessage_arena = NULL;
4867 if (message_arena != submessage_arena) {
4868 constant_heading = ::google::protobuf::internal::GetOwnedMessage(
4869 message_arena, constant_heading, submessage_arena);
4871 set_has_constant_heading();
4873 clear_has_constant_heading();
4875 constant_heading_ = constant_heading;
4881 return (_has_bits_[0] & 0x00000020u) != 0;
4883 inline void MissionTask::set_has_start_echo() {
4884 _has_bits_[0] |= 0x00000020u;
4886 inline void MissionTask::clear_has_start_echo() {
4887 _has_bits_[0] &= ~0x00000020u;
4890 start_echo_ =
false;
4891 clear_has_start_echo();
4898 set_has_start_echo();
4899 start_echo_ = value;
4905 return (_has_bits_[0] & 0x00000008u) != 0;
4907 inline void MissionTask::set_has_station_keep() {
4908 _has_bits_[0] |= 0x00000008u;
4910 inline void MissionTask::clear_has_station_keep() {
4911 _has_bits_[0] &= ~0x00000008u;
4914 if (station_keep_ != NULL) station_keep_->Clear();
4915 clear_has_station_keep();
4917 inline const ::jaiabot::protobuf::MissionTask_StationKeepParameters& MissionTask::_internal_station_keep()
const {
4918 return *station_keep_;
4921 const ::jaiabot::protobuf::MissionTask_StationKeepParameters* p = station_keep_;
4928 clear_has_station_keep();
4930 station_keep_ = NULL;
4934 set_has_station_keep();
4935 if (station_keep_ == NULL) {
4936 auto* p = CreateMaybeMessage<::jaiabot::protobuf::MissionTask_StationKeepParameters>(GetArenaNoVirtual());
4940 return station_keep_;
4943 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4944 if (message_arena == NULL) {
4945 delete station_keep_;
4948 ::google::protobuf::Arena* submessage_arena = NULL;
4949 if (message_arena != submessage_arena) {
4950 station_keep = ::google::protobuf::internal::GetOwnedMessage(
4951 message_arena, station_keep, submessage_arena);
4953 set_has_station_keep();
4955 clear_has_station_keep();
4957 station_keep_ = station_keep;
4967 return (_has_bits_[0] & 0x00000001u) != 0;
4969 inline void MissionPlan_Goal::set_has_name() {
4970 _has_bits_[0] |= 0x00000001u;
4972 inline void MissionPlan_Goal::clear_has_name() {
4973 _has_bits_[0] &= ~0x00000001u;
4976 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4981 return name_.GetNoArena();
4985 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4992 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4997 GOOGLE_DCHECK(value != NULL);
4999 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5004 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5005 ::std::string(
reinterpret_cast<const char*
>(value), size));
5011 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5019 return name_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5027 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
5033 return (_has_bits_[0] & 0x00000002u) != 0;
5035 inline void MissionPlan_Goal::set_has_location() {
5036 _has_bits_[0] |= 0x00000002u;
5038 inline void MissionPlan_Goal::clear_has_location() {
5039 _has_bits_[0] &= ~0x00000002u;
5041 inline const ::jaiabot::protobuf::GeographicCoordinate& MissionPlan_Goal::_internal_location()
const {
5045 const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
5052 clear_has_location();
5059 if (location_ == NULL) {
5060 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
5067 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5068 if (message_arena == NULL) {
5069 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(location_);
5072 ::google::protobuf::Arena* submessage_arena = NULL;
5073 if (message_arena != submessage_arena) {
5074 location = ::google::protobuf::internal::GetOwnedMessage(
5075 message_arena,
location, submessage_arena);
5079 clear_has_location();
5087 return (_has_bits_[0] & 0x00000004u) != 0;
5089 inline void MissionPlan_Goal::set_has_task() {
5090 _has_bits_[0] |= 0x00000004u;
5092 inline void MissionPlan_Goal::clear_has_task() {
5093 _has_bits_[0] &= ~0x00000004u;
5096 if (task_ != NULL) task_->Clear();
5099 inline const ::jaiabot::protobuf::MissionTask& MissionPlan_Goal::_internal_task()
const {
5103 const ::jaiabot::protobuf::MissionTask* p = task_;
5117 if (task_ == NULL) {
5118 auto* p = CreateMaybeMessage<::jaiabot::protobuf::MissionTask>(GetArenaNoVirtual());
5125 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5126 if (message_arena == NULL) {
5130 ::google::protobuf::Arena* submessage_arena = NULL;
5131 if (message_arena != submessage_arena) {
5132 task = ::google::protobuf::internal::GetOwnedMessage(
5133 message_arena, task, submessage_arena);
5145 return (_has_bits_[0] & 0x00000008u) != 0;
5147 inline void MissionPlan_Goal::set_has_movewptmode() {
5148 _has_bits_[0] |= 0x00000008u;
5150 inline void MissionPlan_Goal::clear_has_movewptmode() {
5151 _has_bits_[0] &= ~0x00000008u;
5154 movewptmode_ =
false;
5155 clear_has_movewptmode();
5159 return movewptmode_;
5162 set_has_movewptmode();
5163 movewptmode_ = value;
5173 return (_has_bits_[0] & 0x00000002u) != 0;
5175 inline void MissionPlan_Recovery::set_has_recover_at_final_goal() {
5176 _has_bits_[0] |= 0x00000002u;
5178 inline void MissionPlan_Recovery::clear_has_recover_at_final_goal() {
5179 _has_bits_[0] &= ~0x00000002u;
5182 recover_at_final_goal_ =
true;
5183 clear_has_recover_at_final_goal();
5187 return recover_at_final_goal_;
5190 set_has_recover_at_final_goal();
5191 recover_at_final_goal_ = value;
5197 return (_has_bits_[0] & 0x00000001u) != 0;
5199 inline void MissionPlan_Recovery::set_has_location() {
5200 _has_bits_[0] |= 0x00000001u;
5202 inline void MissionPlan_Recovery::clear_has_location() {
5203 _has_bits_[0] &= ~0x00000001u;
5205 inline const ::jaiabot::protobuf::GeographicCoordinate& MissionPlan_Recovery::_internal_location()
const {
5209 const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
5216 clear_has_location();
5223 if (location_ == NULL) {
5224 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
5231 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5232 if (message_arena == NULL) {
5233 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(location_);
5236 ::google::protobuf::Arena* submessage_arena = NULL;
5237 if (message_arena != submessage_arena) {
5238 location = ::google::protobuf::internal::GetOwnedMessage(
5239 message_arena,
location, submessage_arena);
5243 clear_has_location();
5255 return (_has_bits_[0] & 0x00000001u) != 0;
5257 inline void MissionPlan_TrailParam::set_has_contact() {
5258 _has_bits_[0] |= 0x00000001u;
5260 inline void MissionPlan_TrailParam::clear_has_contact() {
5261 _has_bits_[0] &= ~0x00000001u;
5265 clear_has_contact();
5279 return (_has_bits_[0] & 0x00000004u) != 0;
5281 inline void MissionPlan_TrailParam::set_has_angle() {
5282 _has_bits_[0] |= 0x00000004u;
5284 inline void MissionPlan_TrailParam::clear_has_angle() {
5285 _has_bits_[0] &= ~0x00000004u;
5303 return (_has_bits_[0] & 0x00000002u) != 0;
5305 inline void MissionPlan_TrailParam::set_has_angle_relative() {
5306 _has_bits_[0] |= 0x00000002u;
5308 inline void MissionPlan_TrailParam::clear_has_angle_relative() {
5309 _has_bits_[0] &= ~0x00000002u;
5312 angle_relative_ =
true;
5313 clear_has_angle_relative();
5317 return angle_relative_;
5320 set_has_angle_relative();
5321 angle_relative_ = value;
5327 return (_has_bits_[0] & 0x00000008u) != 0;
5329 inline void MissionPlan_TrailParam::set_has_range() {
5330 _has_bits_[0] |= 0x00000008u;
5332 inline void MissionPlan_TrailParam::clear_has_range() {
5333 _has_bits_[0] &= ~0x00000008u;
5355 return (_has_bits_[0] & 0x00000040u) != 0;
5357 inline void MissionPlan::set_has_start() {
5358 _has_bits_[0] |= 0x00000040u;
5360 inline void MissionPlan::clear_has_start() {
5361 _has_bits_[0] &= ~0x00000040u;
5380 return (_has_bits_[0] & 0x00000080u) != 0;
5382 inline void MissionPlan::set_has_movement() {
5383 _has_bits_[0] |= 0x00000080u;
5385 inline void MissionPlan::clear_has_movement() {
5386 _has_bits_[0] &= ~0x00000080u;
5390 clear_has_movement();
5405 return goal_.size();
5412 return goal_.Mutable(index);
5414 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::MissionPlan_Goal >*
5421 return goal_.Get(index);
5427 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::MissionPlan_Goal >&
5435 return (_has_bits_[0] & 0x00000001u) != 0;
5437 inline void MissionPlan::set_has_recovery() {
5438 _has_bits_[0] |= 0x00000001u;
5440 inline void MissionPlan::clear_has_recovery() {
5441 _has_bits_[0] &= ~0x00000001u;
5444 if (recovery_ != NULL) recovery_->Clear();
5445 clear_has_recovery();
5447 inline const ::jaiabot::protobuf::MissionPlan_Recovery& MissionPlan::_internal_recovery()
const {
5451 const ::jaiabot::protobuf::MissionPlan_Recovery* p = recovery_;
5458 clear_has_recovery();
5465 if (recovery_ == NULL) {
5466 auto* p = CreateMaybeMessage<::jaiabot::protobuf::MissionPlan_Recovery>(GetArenaNoVirtual());
5473 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5474 if (message_arena == NULL) {
5478 ::google::protobuf::Arena* submessage_arena = NULL;
5479 if (message_arena != submessage_arena) {
5480 recovery = ::google::protobuf::internal::GetOwnedMessage(
5481 message_arena, recovery, submessage_arena);
5485 clear_has_recovery();
5487 recovery_ = recovery;
5493 return (_has_bits_[0] & 0x00000002u) != 0;
5495 inline void MissionPlan::set_has_speeds() {
5496 _has_bits_[0] |= 0x00000002u;
5498 inline void MissionPlan::clear_has_speeds() {
5499 _has_bits_[0] &= ~0x00000002u;
5502 if (speeds_ != NULL) speeds_->Clear();
5505 inline const ::jaiabot::protobuf::Speeds& MissionPlan::_internal_speeds()
const {
5509 const ::jaiabot::protobuf::Speeds* p = speeds_;
5523 if (speeds_ == NULL) {
5524 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Speeds>(GetArenaNoVirtual());
5531 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5532 if (message_arena == NULL) {
5536 ::google::protobuf::Arena* submessage_arena = NULL;
5537 if (message_arena != submessage_arena) {
5538 speeds = ::google::protobuf::internal::GetOwnedMessage(
5539 message_arena, speeds, submessage_arena);
5551 return (_has_bits_[0] & 0x00000004u) != 0;
5553 inline void MissionPlan::set_has_bottom_depth_safety_params() {
5554 _has_bits_[0] |= 0x00000004u;
5556 inline void MissionPlan::clear_has_bottom_depth_safety_params() {
5557 _has_bits_[0] &= ~0x00000004u;
5560 if (bottom_depth_safety_params_ != NULL) bottom_depth_safety_params_->Clear();
5561 clear_has_bottom_depth_safety_params();
5563 inline const ::jaiabot::protobuf::BottomDepthSafetyParams& MissionPlan::_internal_bottom_depth_safety_params()
const {
5564 return *bottom_depth_safety_params_;
5567 const ::jaiabot::protobuf::BottomDepthSafetyParams* p = bottom_depth_safety_params_;
5574 clear_has_bottom_depth_safety_params();
5576 bottom_depth_safety_params_ = NULL;
5580 set_has_bottom_depth_safety_params();
5581 if (bottom_depth_safety_params_ == NULL) {
5582 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BottomDepthSafetyParams>(GetArenaNoVirtual());
5583 bottom_depth_safety_params_ = p;
5586 return bottom_depth_safety_params_;
5589 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5590 if (message_arena == NULL) {
5591 delete bottom_depth_safety_params_;
5593 if (bottom_depth_safety_params) {
5594 ::google::protobuf::Arena* submessage_arena = NULL;
5595 if (message_arena != submessage_arena) {
5596 bottom_depth_safety_params = ::google::protobuf::internal::GetOwnedMessage(
5597 message_arena, bottom_depth_safety_params, submessage_arena);
5599 set_has_bottom_depth_safety_params();
5601 clear_has_bottom_depth_safety_params();
5603 bottom_depth_safety_params_ = bottom_depth_safety_params;
5609 return (_has_bits_[0] & 0x00000008u) != 0;
5611 inline void MissionPlan::set_has_fragment_index() {
5612 _has_bits_[0] |= 0x00000008u;
5614 inline void MissionPlan::clear_has_fragment_index() {
5615 _has_bits_[0] &= ~0x00000008u;
5618 fragment_index_ = 0u;
5619 clear_has_fragment_index();
5623 return fragment_index_;
5626 set_has_fragment_index();
5627 fragment_index_ = value;
5633 return (_has_bits_[0] & 0x00000010u) != 0;
5635 inline void MissionPlan::set_has_expected_fragments() {
5636 _has_bits_[0] |= 0x00000010u;
5638 inline void MissionPlan::clear_has_expected_fragments() {
5639 _has_bits_[0] &= ~0x00000010u;
5642 expected_fragments_ = 0u;
5643 clear_has_expected_fragments();
5647 return expected_fragments_;
5650 set_has_expected_fragments();
5651 expected_fragments_ = value;
5657 return movement_params_case() == kTrail;
5659 inline void MissionPlan::set_has_trail() {
5660 _oneof_case_[0] = kTrail;
5664 delete movement_params_.trail_;
5665 clear_has_movement_params();
5668 inline const ::jaiabot::protobuf::MissionPlan_TrailParam& MissionPlan::_internal_trail()
const {
5669 return *movement_params_.trail_;
5674 clear_has_movement_params();
5676 movement_params_.trail_ = NULL;
5685 ? *movement_params_.trail_
5690 clear_movement_params();
5692 movement_params_.trail_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionPlan_TrailParam >(
5693 GetArenaNoVirtual());
5696 return movement_params_.trail_;
5701 return (_has_bits_[0] & 0x00000020u) != 0;
5703 inline void MissionPlan::set_has_repeats() {
5704 _has_bits_[0] |= 0x00000020u;
5706 inline void MissionPlan::clear_has_repeats() {
5707 _has_bits_[0] &= ~0x00000020u;
5711 clear_has_repeats();
5723 inline bool MissionPlan::has_movement_params()
const {
5724 return movement_params_case() != MOVEMENT_PARAMS_NOT_SET;
5726 inline void MissionPlan::clear_has_movement_params() {
5727 _oneof_case_[0] = MOVEMENT_PARAMS_NOT_SET;
5738 return (_has_bits_[0] & 0x00000004u) != 0;
5740 inline void IvPBehaviorUpdate_TransitUpdate::set_has_active() {
5741 _has_bits_[0] |= 0x00000004u;
5743 inline void IvPBehaviorUpdate_TransitUpdate::clear_has_active() {
5744 _has_bits_[0] &= ~0x00000004u;
5762 return (_has_bits_[0] & 0x00000001u) != 0;
5764 inline void IvPBehaviorUpdate_TransitUpdate::set_has_x() {
5765 _has_bits_[0] |= 0x00000001u;
5767 inline void IvPBehaviorUpdate_TransitUpdate::clear_has_x() {
5768 _has_bits_[0] &= ~0x00000001u;
5786 return (_has_bits_[0] & 0x00000002u) != 0;
5788 inline void IvPBehaviorUpdate_TransitUpdate::set_has_y() {
5789 _has_bits_[0] |= 0x00000002u;
5791 inline void IvPBehaviorUpdate_TransitUpdate::clear_has_y() {
5792 _has_bits_[0] &= ~0x00000002u;
5810 return (_has_bits_[0] & 0x00000010u) != 0;
5812 inline void IvPBehaviorUpdate_TransitUpdate::set_has_speed() {
5813 _has_bits_[0] |= 0x00000010u;
5815 inline void IvPBehaviorUpdate_TransitUpdate::clear_has_speed() {
5816 _has_bits_[0] &= ~0x00000010u;
5834 return (_has_bits_[0] & 0x00000008u) != 0;
5836 inline void IvPBehaviorUpdate_TransitUpdate::set_has_slip_radius() {
5837 _has_bits_[0] |= 0x00000008u;
5839 inline void IvPBehaviorUpdate_TransitUpdate::clear_has_slip_radius() {
5840 _has_bits_[0] &= ~0x00000008u;
5844 clear_has_slip_radius();
5848 return slip_radius_;
5851 set_has_slip_radius();
5852 slip_radius_ = value;
5862 return (_has_bits_[0] & 0x00000010u) != 0;
5864 inline void IvPBehaviorUpdate_StationkeepUpdate::set_has_active() {
5865 _has_bits_[0] |= 0x00000010u;
5867 inline void IvPBehaviorUpdate_StationkeepUpdate::clear_has_active() {
5868 _has_bits_[0] &= ~0x00000010u;
5886 return (_has_bits_[0] & 0x00000001u) != 0;
5888 inline void IvPBehaviorUpdate_StationkeepUpdate::set_has_x() {
5889 _has_bits_[0] |= 0x00000001u;
5891 inline void IvPBehaviorUpdate_StationkeepUpdate::clear_has_x() {
5892 _has_bits_[0] &= ~0x00000001u;
5910 return (_has_bits_[0] & 0x00000002u) != 0;
5912 inline void IvPBehaviorUpdate_StationkeepUpdate::set_has_y() {
5913 _has_bits_[0] |= 0x00000002u;
5915 inline void IvPBehaviorUpdate_StationkeepUpdate::clear_has_y() {
5916 _has_bits_[0] &= ~0x00000002u;
5934 return (_has_bits_[0] & 0x00000004u) != 0;
5936 inline void IvPBehaviorUpdate_StationkeepUpdate::set_has_outer_speed() {
5937 _has_bits_[0] |= 0x00000004u;
5939 inline void IvPBehaviorUpdate_StationkeepUpdate::clear_has_outer_speed() {
5940 _has_bits_[0] &= ~0x00000004u;
5944 clear_has_outer_speed();
5948 return outer_speed_;
5951 set_has_outer_speed();
5952 outer_speed_ = value;
5958 return (_has_bits_[0] & 0x00000008u) != 0;
5960 inline void IvPBehaviorUpdate_StationkeepUpdate::set_has_transit_speed() {
5961 _has_bits_[0] |= 0x00000008u;
5963 inline void IvPBehaviorUpdate_StationkeepUpdate::clear_has_transit_speed() {
5964 _has_bits_[0] &= ~0x00000008u;
5968 clear_has_transit_speed();
5972 return transit_speed_;
5975 set_has_transit_speed();
5976 transit_speed_ = value;
5982 return (_has_bits_[0] & 0x00000020u) != 0;
5984 inline void IvPBehaviorUpdate_StationkeepUpdate::set_has_center_activate() {
5985 _has_bits_[0] |= 0x00000020u;
5987 inline void IvPBehaviorUpdate_StationkeepUpdate::clear_has_center_activate() {
5988 _has_bits_[0] &= ~0x00000020u;
5991 center_activate_ =
false;
5992 clear_has_center_activate();
5996 return center_activate_;
5999 set_has_center_activate();
6000 center_activate_ = value;
6010 return (_has_bits_[0] & 0x00000002u) != 0;
6012 inline void IvPBehaviorUpdate_ConstantHeadingUpdate::set_has_active() {
6013 _has_bits_[0] |= 0x00000002u;
6015 inline void IvPBehaviorUpdate_ConstantHeadingUpdate::clear_has_active() {
6016 _has_bits_[0] &= ~0x00000002u;
6034 return (_has_bits_[0] & 0x00000001u) != 0;
6036 inline void IvPBehaviorUpdate_ConstantHeadingUpdate::set_has_heading() {
6037 _has_bits_[0] |= 0x00000001u;
6039 inline void IvPBehaviorUpdate_ConstantHeadingUpdate::clear_has_heading() {
6040 _has_bits_[0] &= ~0x00000001u;
6044 clear_has_heading();
6062 return (_has_bits_[0] & 0x00000002u) != 0;
6064 inline void IvPBehaviorUpdate_ConstantSpeedUpdate::set_has_active() {
6065 _has_bits_[0] |= 0x00000002u;
6067 inline void IvPBehaviorUpdate_ConstantSpeedUpdate::clear_has_active() {
6068 _has_bits_[0] &= ~0x00000002u;
6086 return (_has_bits_[0] & 0x00000001u) != 0;
6088 inline void IvPBehaviorUpdate_ConstantSpeedUpdate::set_has_speed() {
6089 _has_bits_[0] |= 0x00000001u;
6091 inline void IvPBehaviorUpdate_ConstantSpeedUpdate::clear_has_speed() {
6092 _has_bits_[0] &= ~0x00000001u;
6114 return (_has_bits_[0] & 0x00000002u) != 0;
6116 inline void IvPBehaviorUpdate_TrailUpdate::set_has_active() {
6117 _has_bits_[0] |= 0x00000002u;
6119 inline void IvPBehaviorUpdate_TrailUpdate::clear_has_active() {
6120 _has_bits_[0] &= ~0x00000002u;
6138 return (_has_bits_[0] & 0x00000001u) != 0;
6140 inline void IvPBehaviorUpdate_TrailUpdate::set_has_param() {
6141 _has_bits_[0] |= 0x00000001u;
6143 inline void IvPBehaviorUpdate_TrailUpdate::clear_has_param() {
6144 _has_bits_[0] &= ~0x00000001u;
6147 if (param_ != NULL) param_->Clear();
6150 inline const ::jaiabot::protobuf::MissionPlan_TrailParam& IvPBehaviorUpdate_TrailUpdate::_internal_param()
const {
6154 const ::jaiabot::protobuf::MissionPlan_TrailParam* p = param_;
6168 if (param_ == NULL) {
6169 auto* p = CreateMaybeMessage<::jaiabot::protobuf::MissionPlan_TrailParam>(GetArenaNoVirtual());
6176 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6177 if (message_arena == NULL) {
6181 ::google::protobuf::Arena* submessage_arena = NULL;
6182 if (message_arena != submessage_arena) {
6183 param = ::google::protobuf::internal::GetOwnedMessage(
6184 message_arena, param, submessage_arena);
6200 return (_has_bits_[0] & 0x00000010u) != 0;
6202 inline void IvPBehaviorUpdate_ContactUpdate::set_has_contact() {
6203 _has_bits_[0] |= 0x00000010u;
6205 inline void IvPBehaviorUpdate_ContactUpdate::clear_has_contact() {
6206 _has_bits_[0] &= ~0x00000010u;
6210 clear_has_contact();
6224 return (_has_bits_[0] & 0x00000001u) != 0;
6226 inline void IvPBehaviorUpdate_ContactUpdate::set_has_x() {
6227 _has_bits_[0] |= 0x00000001u;
6229 inline void IvPBehaviorUpdate_ContactUpdate::clear_has_x() {
6230 _has_bits_[0] &= ~0x00000001u;
6248 return (_has_bits_[0] & 0x00000002u) != 0;
6250 inline void IvPBehaviorUpdate_ContactUpdate::set_has_y() {
6251 _has_bits_[0] |= 0x00000002u;
6253 inline void IvPBehaviorUpdate_ContactUpdate::clear_has_y() {
6254 _has_bits_[0] &= ~0x00000002u;
6272 return (_has_bits_[0] & 0x00000004u) != 0;
6274 inline void IvPBehaviorUpdate_ContactUpdate::set_has_speed() {
6275 _has_bits_[0] |= 0x00000004u;
6277 inline void IvPBehaviorUpdate_ContactUpdate::clear_has_speed() {
6278 _has_bits_[0] &= ~0x00000004u;
6296 return (_has_bits_[0] & 0x00000008u) != 0;
6298 inline void IvPBehaviorUpdate_ContactUpdate::set_has_heading_or_cog() {
6299 _has_bits_[0] |= 0x00000008u;
6301 inline void IvPBehaviorUpdate_ContactUpdate::clear_has_heading_or_cog() {
6302 _has_bits_[0] &= ~0x00000008u;
6305 heading_or_cog_ = 0;
6306 clear_has_heading_or_cog();
6310 return heading_or_cog_;
6313 set_has_heading_or_cog();
6314 heading_or_cog_ = value;
6324 return behavior_case() == kTransit;
6326 inline void IvPBehaviorUpdate::set_has_transit() {
6327 _oneof_case_[0] = kTransit;
6330 if (has_transit()) {
6331 delete behavior_.transit_;
6332 clear_has_behavior();
6335 inline const ::jaiabot::protobuf::IvPBehaviorUpdate_TransitUpdate& IvPBehaviorUpdate::_internal_transit()
const {
6336 return *behavior_.transit_;
6340 if (has_transit()) {
6341 clear_has_behavior();
6343 behavior_.transit_ = NULL;
6351 return has_transit()
6352 ? *behavior_.transit_
6356 if (!has_transit()) {
6359 behavior_.transit_ = CreateMaybeMessage< ::jaiabot::protobuf::IvPBehaviorUpdate_TransitUpdate >(
6360 GetArenaNoVirtual());
6363 return behavior_.transit_;
6368 return behavior_case() == kStationkeep;
6370 inline void IvPBehaviorUpdate::set_has_stationkeep() {
6371 _oneof_case_[0] = kStationkeep;
6374 if (has_stationkeep()) {
6375 delete behavior_.stationkeep_;
6376 clear_has_behavior();
6379 inline const ::jaiabot::protobuf::IvPBehaviorUpdate_StationkeepUpdate& IvPBehaviorUpdate::_internal_stationkeep()
const {
6380 return *behavior_.stationkeep_;
6384 if (has_stationkeep()) {
6385 clear_has_behavior();
6387 behavior_.stationkeep_ = NULL;
6395 return has_stationkeep()
6396 ? *behavior_.stationkeep_
6400 if (!has_stationkeep()) {
6402 set_has_stationkeep();
6403 behavior_.stationkeep_ = CreateMaybeMessage< ::jaiabot::protobuf::IvPBehaviorUpdate_StationkeepUpdate >(
6404 GetArenaNoVirtual());
6407 return behavior_.stationkeep_;
6412 return behavior_case() == kConstantHeading;
6414 inline void IvPBehaviorUpdate::set_has_constantheading() {
6415 _oneof_case_[0] = kConstantHeading;
6418 if (has_constantheading()) {
6419 delete behavior_.constantheading_;
6420 clear_has_behavior();
6423 inline const ::jaiabot::protobuf::IvPBehaviorUpdate_ConstantHeadingUpdate& IvPBehaviorUpdate::_internal_constantheading()
const {
6424 return *behavior_.constantheading_;
6428 if (has_constantheading()) {
6429 clear_has_behavior();
6431 behavior_.constantheading_ = NULL;
6439 return has_constantheading()
6440 ? *behavior_.constantheading_
6444 if (!has_constantheading()) {
6446 set_has_constantheading();
6447 behavior_.constantheading_ = CreateMaybeMessage< ::jaiabot::protobuf::IvPBehaviorUpdate_ConstantHeadingUpdate >(
6448 GetArenaNoVirtual());
6451 return behavior_.constantheading_;
6456 return behavior_case() == kConstantSpeed;
6458 inline void IvPBehaviorUpdate::set_has_constantspeed() {
6459 _oneof_case_[0] = kConstantSpeed;
6462 if (has_constantspeed()) {
6463 delete behavior_.constantspeed_;
6464 clear_has_behavior();
6467 inline const ::jaiabot::protobuf::IvPBehaviorUpdate_ConstantSpeedUpdate& IvPBehaviorUpdate::_internal_constantspeed()
const {
6468 return *behavior_.constantspeed_;
6472 if (has_constantspeed()) {
6473 clear_has_behavior();
6475 behavior_.constantspeed_ = NULL;
6483 return has_constantspeed()
6484 ? *behavior_.constantspeed_
6488 if (!has_constantspeed()) {
6490 set_has_constantspeed();
6491 behavior_.constantspeed_ = CreateMaybeMessage< ::jaiabot::protobuf::IvPBehaviorUpdate_ConstantSpeedUpdate >(
6492 GetArenaNoVirtual());
6495 return behavior_.constantspeed_;
6500 return behavior_case() == kTrail;
6502 inline void IvPBehaviorUpdate::set_has_trail() {
6503 _oneof_case_[0] = kTrail;
6507 delete behavior_.trail_;
6508 clear_has_behavior();
6511 inline const ::jaiabot::protobuf::IvPBehaviorUpdate_TrailUpdate& IvPBehaviorUpdate::_internal_trail()
const {
6512 return *behavior_.trail_;
6517 clear_has_behavior();
6519 behavior_.trail_ = NULL;
6535 behavior_.trail_ = CreateMaybeMessage< ::jaiabot::protobuf::IvPBehaviorUpdate_TrailUpdate >(
6536 GetArenaNoVirtual());
6539 return behavior_.trail_;
6544 return behavior_case() == kContact;
6546 inline void IvPBehaviorUpdate::set_has_contact() {
6547 _oneof_case_[0] = kContact;
6550 if (has_contact()) {
6551 delete behavior_.contact_;
6552 clear_has_behavior();
6555 inline const ::jaiabot::protobuf::IvPBehaviorUpdate_ContactUpdate& IvPBehaviorUpdate::_internal_contact()
const {
6556 return *behavior_.contact_;
6560 if (has_contact()) {
6561 clear_has_behavior();
6563 behavior_.contact_ = NULL;
6571 return has_contact()
6572 ? *behavior_.contact_
6576 if (!has_contact()) {
6579 behavior_.contact_ = CreateMaybeMessage< ::jaiabot::protobuf::IvPBehaviorUpdate_ContactUpdate >(
6580 GetArenaNoVirtual());
6583 return behavior_.contact_;
6586 inline bool IvPBehaviorUpdate::has_behavior()
const {
6587 return behavior_case() != BEHAVIOR_NOT_SET;
6589 inline void IvPBehaviorUpdate::clear_has_behavior() {
6590 _oneof_case_[0] = BEHAVIOR_NOT_SET;
6601 return (_has_bits_[0] & 0x00000001u) != 0;
6603 inline void IvPBehaviorReport_TransitReport::set_has_waypoint_reached() {
6604 _has_bits_[0] |= 0x00000001u;
6606 inline void IvPBehaviorReport_TransitReport::clear_has_waypoint_reached() {
6607 _has_bits_[0] &= ~0x00000001u;
6610 waypoint_reached_ =
false;
6611 clear_has_waypoint_reached();
6615 return waypoint_reached_;
6618 set_has_waypoint_reached();
6619 waypoint_reached_ = value;
6629 return behavior_case() == kTransit;
6631 inline void IvPBehaviorReport::set_has_transit() {
6632 _oneof_case_[0] = kTransit;
6635 if (has_transit()) {
6636 delete behavior_.transit_;
6637 clear_has_behavior();
6640 inline const ::jaiabot::protobuf::IvPBehaviorReport_TransitReport& IvPBehaviorReport::_internal_transit()
const {
6641 return *behavior_.transit_;
6645 if (has_transit()) {
6646 clear_has_behavior();
6648 behavior_.transit_ = NULL;
6656 return has_transit()
6657 ? *behavior_.transit_
6661 if (!has_transit()) {
6664 behavior_.transit_ = CreateMaybeMessage< ::jaiabot::protobuf::IvPBehaviorReport_TransitReport >(
6665 GetArenaNoVirtual());
6668 return behavior_.transit_;
6671 inline bool IvPBehaviorReport::has_behavior()
const {
6672 return behavior_case() != BEHAVIOR_NOT_SET;
6674 inline void IvPBehaviorReport::clear_has_behavior() {
6675 _oneof_case_[0] = BEHAVIOR_NOT_SET;
6686 return (_has_bits_[0] & 0x00000001u) != 0;
6688 inline void MissionTpvMeetsGpsReq::set_has_tpv() {
6689 _has_bits_[0] |= 0x00000001u;
6691 inline void MissionTpvMeetsGpsReq::clear_has_tpv() {
6692 _has_bits_[0] &= ~0x00000001u;
6694 inline const ::goby::middleware::protobuf::gpsd::TimePositionVelocity& MissionTpvMeetsGpsReq::_internal_tpv()
const {
6698 const ::goby::middleware::protobuf::gpsd::TimePositionVelocity* p = tpv_;
6700 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::gpsd::TimePositionVelocity*
>(
6701 &::goby::middleware::protobuf::gpsd::_TimePositionVelocity_default_instance_);
6706 ::goby::middleware::protobuf::gpsd::TimePositionVelocity* temp = tpv_;
6713 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::gpsd::TimePositionVelocity>(GetArenaNoVirtual());
6720 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6721 if (message_arena == NULL) {
6722 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(tpv_);
6725 ::google::protobuf::Arena* submessage_arena = NULL;
6726 if (message_arena != submessage_arena) {
6727 tpv = ::google::protobuf::internal::GetOwnedMessage(
6728 message_arena, tpv, submessage_arena);
6739 #pragma GCC diagnostic pop
6790 namespace protobuf {
6794 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::MissionTask_TaskType>() {
6799 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::MissionPlan_MissionStart>() {
6804 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::MissionPlan_MovementType>() {
6809 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::MissionState>() {
6818 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmission_2eproto