4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fmission_5frepeater_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fmission_5frepeater_2fconfig_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
34#include "goby/middleware/protobuf/app_config.pb.h"
35#include "goby/zeromq/protobuf/interprocess_config.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/si.hpp>
45#include <google/protobuf/port_def.inc>
46#define PROTOBUF_INTERNAL_EXPORT_bin_2fmission_5frepeater_2fconfig_2eproto
47PROTOBUF_NAMESPACE_OPEN
51PROTOBUF_NAMESPACE_CLOSE
61struct MissionRepeaterDefaultTypeInternal;
63class MissionRepeater_Script;
64struct MissionRepeater_ScriptDefaultTypeInternal;
66class MissionRepeater_Script_Step;
67struct MissionRepeater_Script_StepDefaultTypeInternal;
71PROTOBUF_NAMESPACE_OPEN
75PROTOBUF_NAMESPACE_CLOSE
82 public ::PROTOBUF_NAMESPACE_ID::Message {
91 *
this = ::std::move(from);
99 if (
this == &from)
return *
this;
100 if (GetOwningArena() == from.GetOwningArena()
101 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
102 && GetOwningArena() !=
nullptr
113 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
116 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
148 if (other ==
this)
return;
149 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
150 if (GetOwningArena() !=
nullptr &&
151 GetOwningArena() == other->GetOwningArena()) {
153 if (GetOwningArena() == other->GetOwningArena()) {
157 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
161 if (other ==
this)
return;
162 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
169 return CreateMaybeMessage<MissionRepeater_Script_Step>(arena);
171 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
173 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
175 MissionRepeater_Script_Step::MergeImpl(*
this, from);
178 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
180 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
186 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
190 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
192 void SetCachedSize(
int size)
const final;
196 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
197 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
198 return "jaiabot.config.MissionRepeater.Script.Step";
202 bool is_message_owned =
false);
206 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
224 bool _internal_has_duration()
const;
230 double _internal_duration()
const;
231 void _internal_set_duration(
double value);
237 bool _internal_has_repeat_interval()
const;
243 double _internal_repeat_interval()
const;
244 void _internal_set_repeat_interval(
double value);
250 bool _internal_has_step_marker()
const;
256 int32_t _internal_step_marker()
const;
257 void _internal_set_step_marker(int32_t value);
263 bool _internal_has_desired_setpoints()
const;
271 const ::jaiabot::protobuf::DesiredSetpoints& _internal_desired_setpoints()
const;
281 bool _internal_has_low_control()
const;
284 const ::jaiabot::protobuf::LowControl&
low_control()
const;
289 const ::jaiabot::protobuf::LowControl& _internal_low_control()
const;
300 typedef boost::units::unit<duration_dimension,boost::units::si::system>
duration_unit;
302 template<
typename Quantity >
304 {
set_duration(boost::units::quantity<duration_unit,double >(value_w_units).value() ); };
306 template<
typename Quantity >
311 {
return duration_with_units<boost::units::quantity< duration_unit,double > >(); };
317 template<
typename Quantity >
319 {
set_repeat_interval(boost::units::quantity<repeat_interval_unit,double >(value_w_units).value() ); };
321 template<
typename Quantity >
326 {
return repeat_interval_with_units<boost::units::quantity< repeat_interval_unit,double > >(); };
331 void set_has_desired_setpoints();
332 void set_has_low_control();
334 inline bool has_publication()
const;
335 inline void clear_has_publication();
338 size_t RequiredFieldsByteSizeFallback()
const;
340 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
341 typedef void InternalArenaConstructable_;
342 typedef void DestructorSkippable_;
344 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
345 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
347 double repeat_interval_;
348 int32_t step_marker_;
351 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized
_constinit_;
355 uint32_t _oneof_case_[1];
359 friend struct ::TableStruct_bin_2fmission_5frepeater_2fconfig_2eproto;
364 public ::PROTOBUF_NAMESPACE_ID::Message {
373 *
this = ::std::move(from);
381 if (
this == &from)
return *
this;
382 if (GetOwningArena() == from.GetOwningArena()
383 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
384 && GetOwningArena() !=
nullptr
395 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
398 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
401 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
402 return GetDescriptor();
405 return default_instance().GetMetadata().descriptor;
408 return default_instance().GetMetadata().reflection;
411 return *internal_default_instance();
417 static constexpr int kIndexInFileMessages =
424 if (other ==
this)
return;
425 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
426 if (GetOwningArena() !=
nullptr &&
427 GetOwningArena() == other->GetOwningArena()) {
429 if (GetOwningArena() == other->GetOwningArena()) {
433 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
437 if (other ==
this)
return;
438 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
445 return CreateMaybeMessage<MissionRepeater_Script>(arena);
447 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
449 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
451 MissionRepeater_Script::MergeImpl(*
this, from);
454 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
456 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
457 bool IsInitialized() const final;
459 size_t ByteSizeLong() const final;
460 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
461 uint8_t* _InternalSerialize(
462 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
463 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
466 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
468 void SetCachedSize(
int size)
const final;
472 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
473 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
474 return "jaiabot.config.MissionRepeater.Script";
478 bool is_message_owned =
false);
482 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
484 ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadata() const final;
493 kStepFieldNumber = 1,
496 int step_size()
const;
498 int _internal_step_size()
const;
502 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::MissionRepeater_Script_Step >*
505 const ::jaiabot::config::MissionRepeater_Script_Step& _internal_step(
int index)
const;
508 const ::jaiabot::config::MissionRepeater_Script_Step& step(
int index)
const;
510 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::MissionRepeater_Script_Step >&
517 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
518 typedef void InternalArenaConstructable_;
519 typedef void DestructorSkippable_;
521 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::MissionRepeater_Script_Step > step_;
522 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
525 friend struct ::TableStruct_bin_2fmission_5frepeater_2fconfig_2eproto;
530 public ::PROTOBUF_NAMESPACE_ID::Message {
534 explicit PROTOBUF_CONSTEXPR
MissionRepeater(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
539 *
this = ::std::move(from);
547 if (
this == &from)
return *
this;
548 if (GetOwningArena() == from.GetOwningArena()
549 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
550 && GetOwningArena() !=
nullptr
561 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
564 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
567 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
568 return GetDescriptor();
571 return default_instance().GetMetadata().descriptor;
574 return default_instance().GetMetadata().reflection;
577 return *internal_default_instance();
583 static constexpr int kIndexInFileMessages =
590 if (other ==
this)
return;
591 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
592 if (GetOwningArena() !=
nullptr &&
593 GetOwningArena() == other->GetOwningArena()) {
595 if (GetOwningArena() == other->GetOwningArena()) {
599 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
603 if (other ==
this)
return;
604 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
611 return CreateMaybeMessage<MissionRepeater>(arena);
613 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
615 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
617 MissionRepeater::MergeImpl(*
this, from);
620 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
622 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
623 bool IsInitialized() const final;
625 size_t ByteSizeLong() const final;
626 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
627 uint8_t* _InternalSerialize(
628 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
629 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
632 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
634 void SetCachedSize(
int size)
const final;
638 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
639 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
640 return "jaiabot.config.MissionRepeater";
644 bool is_message_owned =
false);
648 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
650 ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadata() const final;
660 kInterprocessFieldNumber = 2,
661 kScriptFieldNumber = 20,
662 kBotIdFieldNumber = 10,
665 bool has_app()
const;
667 bool _internal_has_app()
const;
670 const ::goby::middleware::protobuf::AppConfig& app()
const;
671 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
672 ::goby::middleware::protobuf::AppConfig* mutable_app();
673 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
675 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
676 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
678 void unsafe_arena_set_allocated_app(
679 ::goby::middleware::protobuf::AppConfig* app);
680 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
683 bool has_interprocess()
const;
685 bool _internal_has_interprocess()
const;
688 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
689 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
690 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
691 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
693 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
694 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
696 void unsafe_arena_set_allocated_interprocess(
697 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
698 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
701 bool has_script()
const;
703 bool _internal_has_script()
const;
706 const ::jaiabot::config::MissionRepeater_Script& script()
const;
707 PROTOBUF_NODISCARD ::jaiabot::config::MissionRepeater_Script* release_script();
711 const ::jaiabot::config::MissionRepeater_Script& _internal_script()
const;
714 void unsafe_arena_set_allocated_script(
719 bool has_bot_id()
const;
721 bool _internal_has_bot_id()
const;
724 int32_t bot_id()
const;
725 void set_bot_id(int32_t value);
727 int32_t _internal_bot_id()
const;
728 void _internal_set_bot_id(int32_t value);
736 size_t RequiredFieldsByteSizeFallback()
const;
738 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
739 typedef void InternalArenaConstructable_;
740 typedef void DestructorSkippable_;
742 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
743 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
744 ::goby::middleware::protobuf::AppConfig* app_;
745 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
750 friend struct ::TableStruct_bin_2fmission_5frepeater_2fconfig_2eproto;
758 #pragma GCC diagnostic push
759 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
764inline bool MissionRepeater_Script_Step::_internal_has_duration()
const {
765 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
768inline bool MissionRepeater_Script_Step::has_duration()
const {
769 return _internal_has_duration();
771inline void MissionRepeater_Script_Step::clear_duration() {
772 _impl_.duration_ = 0;
773 _impl_._has_bits_[0] &= ~0x00000001u;
775inline double MissionRepeater_Script_Step::_internal_duration()
const {
776 return _impl_.duration_;
778inline double MissionRepeater_Script_Step::duration()
const {
780 return _internal_duration();
782inline void MissionRepeater_Script_Step::_internal_set_duration(
double value) {
783 _impl_._has_bits_[0] |= 0x00000001u;
784 _impl_.duration_ = value;
786inline void MissionRepeater_Script_Step::set_duration(
double value) {
787 _internal_set_duration(value);
792inline bool MissionRepeater_Script_Step::_internal_has_step_marker()
const {
793 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
796inline bool MissionRepeater_Script_Step::has_step_marker()
const {
797 return _internal_has_step_marker();
799inline void MissionRepeater_Script_Step::clear_step_marker() {
800 _impl_.step_marker_ = 0;
801 _impl_._has_bits_[0] &= ~0x00000004u;
803inline int32_t MissionRepeater_Script_Step::_internal_step_marker()
const {
804 return _impl_.step_marker_;
806inline int32_t MissionRepeater_Script_Step::step_marker()
const {
808 return _internal_step_marker();
810inline void MissionRepeater_Script_Step::_internal_set_step_marker(int32_t value) {
811 _impl_._has_bits_[0] |= 0x00000004u;
812 _impl_.step_marker_ = value;
814inline void MissionRepeater_Script_Step::set_step_marker(int32_t value) {
815 _internal_set_step_marker(value);
820inline bool MissionRepeater_Script_Step::_internal_has_repeat_interval()
const {
821 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
824inline bool MissionRepeater_Script_Step::has_repeat_interval()
const {
825 return _internal_has_repeat_interval();
827inline void MissionRepeater_Script_Step::clear_repeat_interval() {
828 _impl_.repeat_interval_ = 0;
829 _impl_._has_bits_[0] &= ~0x00000002u;
831inline double MissionRepeater_Script_Step::_internal_repeat_interval()
const {
832 return _impl_.repeat_interval_;
834inline double MissionRepeater_Script_Step::repeat_interval()
const {
836 return _internal_repeat_interval();
838inline void MissionRepeater_Script_Step::_internal_set_repeat_interval(
double value) {
839 _impl_._has_bits_[0] |= 0x00000002u;
840 _impl_.repeat_interval_ = value;
842inline void MissionRepeater_Script_Step::set_repeat_interval(
double value) {
843 _internal_set_repeat_interval(value);
848inline bool MissionRepeater_Script_Step::_internal_has_desired_setpoints()
const {
849 return publication_case() == kDesiredSetpoints;
851inline bool MissionRepeater_Script_Step::has_desired_setpoints()
const {
852 return _internal_has_desired_setpoints();
854inline void MissionRepeater_Script_Step::set_has_desired_setpoints() {
855 _impl_._oneof_case_[0] = kDesiredSetpoints;
857inline ::jaiabot::protobuf::DesiredSetpoints* MissionRepeater_Script_Step::release_desired_setpoints() {
859 if (_internal_has_desired_setpoints()) {
860 clear_has_publication();
862 if (GetArenaForAllocation() !=
nullptr) {
863 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
865 _impl_.publication_.desired_setpoints_ =
nullptr;
871inline const ::jaiabot::protobuf::DesiredSetpoints& MissionRepeater_Script_Step::_internal_desired_setpoints()
const {
872 return _internal_has_desired_setpoints()
873 ? *_impl_.publication_.desired_setpoints_
876inline const ::jaiabot::protobuf::DesiredSetpoints& MissionRepeater_Script_Step::desired_setpoints()
const {
878 return _internal_desired_setpoints();
880inline ::jaiabot::protobuf::DesiredSetpoints* MissionRepeater_Script_Step::unsafe_arena_release_desired_setpoints() {
882 if (_internal_has_desired_setpoints()) {
883 clear_has_publication();
885 _impl_.publication_.desired_setpoints_ =
nullptr;
893 if (desired_setpoints) {
894 set_has_desired_setpoints();
895 _impl_.publication_.desired_setpoints_ = desired_setpoints;
899inline ::jaiabot::protobuf::DesiredSetpoints* MissionRepeater_Script_Step::_internal_mutable_desired_setpoints() {
900 if (!_internal_has_desired_setpoints()) {
902 set_has_desired_setpoints();
903 _impl_.publication_.desired_setpoints_ = CreateMaybeMessage< ::jaiabot::protobuf::DesiredSetpoints >(GetArenaForAllocation());
905 return _impl_.publication_.desired_setpoints_;
907inline ::jaiabot::protobuf::DesiredSetpoints* MissionRepeater_Script_Step::mutable_desired_setpoints() {
914inline bool MissionRepeater_Script_Step::_internal_has_low_control()
const {
915 return publication_case() == kLowControl;
917inline bool MissionRepeater_Script_Step::has_low_control()
const {
918 return _internal_has_low_control();
920inline void MissionRepeater_Script_Step::set_has_low_control() {
921 _impl_._oneof_case_[0] = kLowControl;
923inline ::jaiabot::protobuf::LowControl* MissionRepeater_Script_Step::release_low_control() {
925 if (_internal_has_low_control()) {
926 clear_has_publication();
928 if (GetArenaForAllocation() !=
nullptr) {
929 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
931 _impl_.publication_.low_control_ =
nullptr;
937inline const ::jaiabot::protobuf::LowControl& MissionRepeater_Script_Step::_internal_low_control()
const {
938 return _internal_has_low_control()
939 ? *_impl_.publication_.low_control_
942inline const ::jaiabot::protobuf::LowControl& MissionRepeater_Script_Step::low_control()
const {
944 return _internal_low_control();
946inline ::jaiabot::protobuf::LowControl* MissionRepeater_Script_Step::unsafe_arena_release_low_control() {
948 if (_internal_has_low_control()) {
949 clear_has_publication();
951 _impl_.publication_.low_control_ =
nullptr;
960 set_has_low_control();
961 _impl_.publication_.low_control_ = low_control;
965inline ::jaiabot::protobuf::LowControl* MissionRepeater_Script_Step::_internal_mutable_low_control() {
966 if (!_internal_has_low_control()) {
968 set_has_low_control();
969 _impl_.publication_.low_control_ = CreateMaybeMessage< ::jaiabot::protobuf::LowControl >(GetArenaForAllocation());
971 return _impl_.publication_.low_control_;
973inline ::jaiabot::protobuf::LowControl* MissionRepeater_Script_Step::mutable_low_control() {
979inline bool MissionRepeater_Script_Step::has_publication()
const {
980 return publication_case() != PUBLICATION_NOT_SET;
982inline void MissionRepeater_Script_Step::clear_has_publication() {
983 _impl_._oneof_case_[0] = PUBLICATION_NOT_SET;
993inline int MissionRepeater_Script::_internal_step_size()
const {
994 return _impl_.step_.size();
996inline int MissionRepeater_Script::step_size()
const {
997 return _internal_step_size();
999inline void MissionRepeater_Script::clear_step() {
1000 _impl_.step_.Clear();
1002inline ::jaiabot::config::MissionRepeater_Script_Step* MissionRepeater_Script::mutable_step(
int index) {
1004 return _impl_.step_.Mutable(index);
1006inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::MissionRepeater_Script_Step >*
1007MissionRepeater_Script::mutable_step() {
1009 return &_impl_.step_;
1011inline const ::jaiabot::config::MissionRepeater_Script_Step& MissionRepeater_Script::_internal_step(
int index)
const {
1012 return _impl_.step_.Get(index);
1014inline const ::jaiabot::config::MissionRepeater_Script_Step& MissionRepeater_Script::step(
int index)
const {
1016 return _internal_step(index);
1018inline ::jaiabot::config::MissionRepeater_Script_Step* MissionRepeater_Script::_internal_add_step() {
1019 return _impl_.step_.Add();
1021inline ::jaiabot::config::MissionRepeater_Script_Step* MissionRepeater_Script::add_step() {
1026inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::MissionRepeater_Script_Step >&
1027MissionRepeater_Script::step()
const {
1029 return _impl_.step_;
1037inline bool MissionRepeater::_internal_has_app()
const {
1038 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1039 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
1042inline bool MissionRepeater::has_app()
const {
1043 return _internal_has_app();
1045inline const ::goby::middleware::protobuf::AppConfig& MissionRepeater::_internal_app()
const {
1046 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1047 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&
>(
1048 ::goby::middleware::protobuf::_AppConfig_default_instance_);
1050inline const ::goby::middleware::protobuf::AppConfig& MissionRepeater::app()
const {
1052 return _internal_app();
1054inline void MissionRepeater::unsafe_arena_set_allocated_app(
1055 ::goby::middleware::protobuf::AppConfig* app) {
1056 if (GetArenaForAllocation() ==
nullptr) {
1057 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1061 _impl_._has_bits_[0] |= 0x00000001u;
1063 _impl_._has_bits_[0] &= ~0x00000001u;
1067inline ::goby::middleware::protobuf::AppConfig* MissionRepeater::release_app() {
1068 _impl_._has_bits_[0] &= ~0x00000001u;
1069 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1070 _impl_.app_ =
nullptr;
1071#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1072 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1073 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1074 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1076 if (GetArenaForAllocation() !=
nullptr) {
1077 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1082inline ::goby::middleware::protobuf::AppConfig* MissionRepeater::unsafe_arena_release_app() {
1084 _impl_._has_bits_[0] &= ~0x00000001u;
1085 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1086 _impl_.app_ =
nullptr;
1089inline ::goby::middleware::protobuf::AppConfig* MissionRepeater::_internal_mutable_app() {
1090 _impl_._has_bits_[0] |= 0x00000001u;
1091 if (_impl_.app_ ==
nullptr) {
1092 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
1097inline ::goby::middleware::protobuf::AppConfig* MissionRepeater::mutable_app() {
1098 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
1102inline void MissionRepeater::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
1103 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1104 if (message_arena ==
nullptr) {
1105 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1108 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1109 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1110 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
1111 if (message_arena != submessage_arena) {
1112 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1113 message_arena, app, submessage_arena);
1115 _impl_._has_bits_[0] |= 0x00000001u;
1117 _impl_._has_bits_[0] &= ~0x00000001u;
1124inline bool MissionRepeater::_internal_has_interprocess()
const {
1125 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1126 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
1129inline bool MissionRepeater::has_interprocess()
const {
1130 return _internal_has_interprocess();
1132inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& MissionRepeater::_internal_interprocess()
const {
1133 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1134 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&
>(
1135 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
1137inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& MissionRepeater::interprocess()
const {
1139 return _internal_interprocess();
1141inline void MissionRepeater::unsafe_arena_set_allocated_interprocess(
1142 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1143 if (GetArenaForAllocation() ==
nullptr) {
1144 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1146 _impl_.interprocess_ = interprocess;
1148 _impl_._has_bits_[0] |= 0x00000002u;
1150 _impl_._has_bits_[0] &= ~0x00000002u;
1154inline ::goby::zeromq::protobuf::InterProcessPortalConfig* MissionRepeater::release_interprocess() {
1155 _impl_._has_bits_[0] &= ~0x00000002u;
1156 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1157 _impl_.interprocess_ =
nullptr;
1158#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1159 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1160 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1161 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1163 if (GetArenaForAllocation() !=
nullptr) {
1164 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1169inline ::goby::zeromq::protobuf::InterProcessPortalConfig* MissionRepeater::unsafe_arena_release_interprocess() {
1171 _impl_._has_bits_[0] &= ~0x00000002u;
1172 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1173 _impl_.interprocess_ =
nullptr;
1176inline ::goby::zeromq::protobuf::InterProcessPortalConfig* MissionRepeater::_internal_mutable_interprocess() {
1177 _impl_._has_bits_[0] |= 0x00000002u;
1178 if (_impl_.interprocess_ ==
nullptr) {
1179 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
1180 _impl_.interprocess_ = p;
1182 return _impl_.interprocess_;
1184inline ::goby::zeromq::protobuf::InterProcessPortalConfig* MissionRepeater::mutable_interprocess() {
1185 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
1189inline void MissionRepeater::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1190 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1191 if (message_arena ==
nullptr) {
1192 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1195 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1196 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1197 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
1198 if (message_arena != submessage_arena) {
1199 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1200 message_arena, interprocess, submessage_arena);
1202 _impl_._has_bits_[0] |= 0x00000002u;
1204 _impl_._has_bits_[0] &= ~0x00000002u;
1206 _impl_.interprocess_ = interprocess;
1211inline bool MissionRepeater::_internal_has_bot_id()
const {
1212 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1215inline bool MissionRepeater::has_bot_id()
const {
1216 return _internal_has_bot_id();
1218inline void MissionRepeater::clear_bot_id() {
1220 _impl_._has_bits_[0] &= ~0x00000008u;
1222inline int32_t MissionRepeater::_internal_bot_id()
const {
1223 return _impl_.bot_id_;
1225inline int32_t MissionRepeater::bot_id()
const {
1227 return _internal_bot_id();
1229inline void MissionRepeater::_internal_set_bot_id(int32_t value) {
1230 _impl_._has_bits_[0] |= 0x00000008u;
1231 _impl_.bot_id_ = value;
1233inline void MissionRepeater::set_bot_id(int32_t value) {
1234 _internal_set_bot_id(value);
1239inline bool MissionRepeater::_internal_has_script()
const {
1240 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1241 PROTOBUF_ASSUME(!value || _impl_.script_ !=
nullptr);
1244inline bool MissionRepeater::has_script()
const {
1245 return _internal_has_script();
1247inline void MissionRepeater::clear_script() {
1248 if (_impl_.script_ !=
nullptr) _impl_.script_->Clear();
1249 _impl_._has_bits_[0] &= ~0x00000004u;
1251inline const ::jaiabot::config::MissionRepeater_Script& MissionRepeater::_internal_script()
const {
1252 const ::jaiabot::config::MissionRepeater_Script* p = _impl_.script_;
1256inline const ::jaiabot::config::MissionRepeater_Script& MissionRepeater::script()
const {
1258 return _internal_script();
1260inline void MissionRepeater::unsafe_arena_set_allocated_script(
1262 if (GetArenaForAllocation() ==
nullptr) {
1263 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.script_);
1265 _impl_.script_ = script;
1267 _impl_._has_bits_[0] |= 0x00000004u;
1269 _impl_._has_bits_[0] &= ~0x00000004u;
1273inline ::jaiabot::config::MissionRepeater_Script* MissionRepeater::release_script() {
1274 _impl_._has_bits_[0] &= ~0x00000004u;
1276 _impl_.script_ =
nullptr;
1277#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1278 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1279 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1280 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1282 if (GetArenaForAllocation() !=
nullptr) {
1283 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1288inline ::jaiabot::config::MissionRepeater_Script* MissionRepeater::unsafe_arena_release_script() {
1290 _impl_._has_bits_[0] &= ~0x00000004u;
1292 _impl_.script_ =
nullptr;
1295inline ::jaiabot::config::MissionRepeater_Script* MissionRepeater::_internal_mutable_script() {
1296 _impl_._has_bits_[0] |= 0x00000004u;
1297 if (_impl_.script_ ==
nullptr) {
1301 return _impl_.script_;
1303inline ::jaiabot::config::MissionRepeater_Script* MissionRepeater::mutable_script() {
1309 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1310 if (message_arena ==
nullptr) {
1311 delete _impl_.script_;
1314 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1315 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(script);
1316 if (message_arena != submessage_arena) {
1317 script = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1318 message_arena, script, submessage_arena);
1320 _impl_._has_bits_[0] |= 0x00000004u;
1322 _impl_._has_bits_[0] &= ~0x00000004u;
1324 _impl_.script_ = script;
1329 #pragma GCC diagnostic pop
1343#include <google/protobuf/port_undef.inc>
void clear_repeat_interval()
static constexpr int kIndexInFileMessages
@ kDesiredSetpointsFieldNumber
@ kRepeatIntervalFieldNumber
MissionRepeater_Script_Step & operator=(const MissionRepeater_Script_Step &from)
void set_step_marker(int32_t value)
bool has_repeat_interval() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::jaiabot::protobuf::DesiredSetpoints & desired_setpoints() const
double repeat_interval() const
Quantity duration_with_units() const
MissionRepeater_Script_Step * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::jaiabot::protobuf::DesiredSetpoints * unsafe_arena_release_desired_setpoints()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_allocated_desired_setpoints(::jaiabot::protobuf::DesiredSetpoints *desired_setpoints)
~MissionRepeater_Script_Step() override
::jaiabot::protobuf::DesiredSetpoints * mutable_desired_setpoints()
MissionRepeater_Script_Step(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::unit< repeat_interval_dimension, boost::units::si::system > repeat_interval_unit
static const MissionRepeater_Script_Step * internal_default_instance()
::jaiabot::protobuf::LowControl * mutable_low_control()
boost::units::quantity< repeat_interval_unit, double > repeat_interval_with_units() const
PROTOBUF_CONSTEXPR MissionRepeater_Script_Step(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void unsafe_arena_set_allocated_desired_setpoints(::jaiabot::protobuf::DesiredSetpoints *desired_setpoints)
void clear_desired_setpoints()
friend void swap(MissionRepeater_Script_Step &a, MissionRepeater_Script_Step &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_repeat_interval(double value)
bool has_duration() const
boost::units::unit< duration_dimension, boost::units::si::system > duration_unit
void unsafe_arena_set_allocated_low_control(::jaiabot::protobuf::LowControl *low_control)
MissionRepeater_Script_Step(MissionRepeater_Script_Step &&from) noexcept
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
bool has_low_control() const
void Swap(MissionRepeater_Script_Step *other)
void set_duration_with_units(Quantity value_w_units)
size_t ByteSizeLong() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
MissionRepeater_Script_Step & operator=(MissionRepeater_Script_Step &&from) noexcept
static const MissionRepeater_Script_Step & default_instance()
boost::units::time_dimension repeat_interval_dimension
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Quantity repeat_interval_with_units() const
void MergeFrom(const MissionRepeater_Script_Step &from)
bool has_step_marker() const
boost::units::time_dimension duration_dimension
boost::units::quantity< duration_unit, double > duration_with_units() const
void set_allocated_low_control(::jaiabot::protobuf::LowControl *low_control)
static const ClassData _class_data_
PublicationCase publication_case() const
void UnsafeArenaSwap(MissionRepeater_Script_Step *other)
const ::jaiabot::protobuf::LowControl & low_control() const
::jaiabot::protobuf::LowControl * unsafe_arena_release_low_control()
void CopyFrom(const MissionRepeater_Script_Step &from)
void set_duration(double value)
bool has_desired_setpoints() const
int32_t step_marker() const
MissionRepeater_Script_Step()
PROTOBUF_NODISCARD::jaiabot::protobuf::DesiredSetpoints * release_desired_setpoints()
int GetCachedSize() const final
MissionRepeater_Script_Step(const MissionRepeater_Script_Step &from)
PROTOBUF_NODISCARD::jaiabot::protobuf::LowControl * release_low_control()
bool IsInitialized() const final
void set_repeat_interval_with_units(Quantity value_w_units)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void CopyFrom(const MissionRepeater_Script &from)
MissionRepeater_Script & operator=(const MissionRepeater_Script &from)
~MissionRepeater_Script() override
void Swap(MissionRepeater_Script *other)
MissionRepeater_Script * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
MissionRepeater_Script(MissionRepeater_Script &&from) noexcept
PROTOBUF_CONSTEXPR MissionRepeater_Script(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
MissionRepeater_Script(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const MissionRepeater_Script * internal_default_instance()
void UnsafeArenaSwap(MissionRepeater_Script *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
MissionRepeater_Script & operator=(MissionRepeater_Script &&from) noexcept
friend void swap(MissionRepeater_Script &a, MissionRepeater_Script &b)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const MissionRepeater_Script & default_instance()
void MergeFrom(const MissionRepeater_Script &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
MissionRepeater_Script(const MissionRepeater_Script &from)
static const ClassData _class_data_
void UnsafeArenaSwap(MissionRepeater *other)
void CopyFrom(const MissionRepeater &from)
MissionRepeater * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
MissionRepeater & operator=(const MissionRepeater &from)
MissionRepeater(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const MissionRepeater & default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void clear_interprocess()
MissionRepeater(const MissionRepeater &from)
static const MissionRepeater * internal_default_instance()
void MergeFrom(const MissionRepeater &from)
MissionRepeater(MissionRepeater &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ClassData _class_data_
PROTOBUF_CONSTEXPR MissionRepeater(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void Swap(MissionRepeater *other)
~MissionRepeater() override
MissionRepeater & operator=(MissionRepeater &&from) noexcept
friend void swap(MissionRepeater &a, MissionRepeater &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fmission_5frepeater_2fconfig_2eproto
::jaiabot::config::MissionRepeater_Script * Arena::CreateMaybeMessage<::jaiabot::config::MissionRepeater_Script >(Arena *)
MissionRepeater_ScriptDefaultTypeInternal _MissionRepeater_Script_default_instance_
MissionRepeaterDefaultTypeInternal _MissionRepeater_default_instance_
MissionRepeater_Script_StepDefaultTypeInternal _MissionRepeater_Script_Step_default_instance_
LowControlDefaultTypeInternal _LowControl_default_instance_
DesiredSetpointsDefaultTypeInternal _DesiredSetpoints_default_instance_
static const uint32_t offsets[]
::jaiabot::protobuf::DesiredSetpoints * desired_setpoints_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
constexpr PublicationUnion()
::jaiabot::protobuf::LowControl * low_control_