JaiaBot 2.0.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: bin/mission_repeater/config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fmission_5frepeater_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fmission_5frepeater_2fconfig_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/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>
42
43#include <boost/units/systems/si.hpp>
44// @@protoc_insertion_point(includes)
45#include <google/protobuf/port_def.inc>
46#define PROTOBUF_INTERNAL_EXPORT_bin_2fmission_5frepeater_2fconfig_2eproto
47PROTOBUF_NAMESPACE_OPEN
48namespace internal {
49class AnyMetadata;
50} // namespace internal
51PROTOBUF_NAMESPACE_CLOSE
52
53// Internal implementation detail -- do not use these members.
57extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fmission_5frepeater_2fconfig_2eproto;
58namespace jaiabot {
59namespace config {
60class MissionRepeater;
61struct MissionRepeaterDefaultTypeInternal;
62extern MissionRepeaterDefaultTypeInternal _MissionRepeater_default_instance_;
63class MissionRepeater_Script;
64struct MissionRepeater_ScriptDefaultTypeInternal;
65extern MissionRepeater_ScriptDefaultTypeInternal _MissionRepeater_Script_default_instance_;
66class MissionRepeater_Script_Step;
67struct MissionRepeater_Script_StepDefaultTypeInternal;
68extern MissionRepeater_Script_StepDefaultTypeInternal _MissionRepeater_Script_Step_default_instance_;
69} // namespace config
70} // namespace jaiabot
71PROTOBUF_NAMESPACE_OPEN
72template<> ::jaiabot::config::MissionRepeater* Arena::CreateMaybeMessage<::jaiabot::config::MissionRepeater>(Arena*);
73template<> ::jaiabot::config::MissionRepeater_Script* Arena::CreateMaybeMessage<::jaiabot::config::MissionRepeater_Script>(Arena*);
74template<> ::jaiabot::config::MissionRepeater_Script_Step* Arena::CreateMaybeMessage<::jaiabot::config::MissionRepeater_Script_Step>(Arena*);
75PROTOBUF_NAMESPACE_CLOSE
76namespace jaiabot {
77namespace config {
78
79// ===================================================================
80
82 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.MissionRepeater.Script.Step) */ {
83 public:
86 explicit PROTOBUF_CONSTEXPR MissionRepeater_Script_Step(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
87
91 *this = ::std::move(from);
92 }
93
95 CopyFrom(from);
96 return *this;
97 }
99 if (this == &from) return *this;
100 if (GetOwningArena() == from.GetOwningArena()
101 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
102 && GetOwningArena() != nullptr
103 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
104 ) {
105 InternalSwap(&from);
106 } else {
107 CopyFrom(from);
108 }
109 return *this;
110 }
111
112 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
113 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
114 }
115 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
116 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
117 }
118
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
120 return GetDescriptor();
121 }
122 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
123 return default_instance().GetMetadata().descriptor;
124 }
125 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
126 return default_instance().GetMetadata().reflection;
127 }
136
141 static constexpr int kIndexInFileMessages =
142 0;
143
145 a.Swap(&b);
146 }
147 inline void Swap(MissionRepeater_Script_Step* other) {
148 if (other == this) return;
149 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
150 if (GetOwningArena() != nullptr &&
151 GetOwningArena() == other->GetOwningArena()) {
152 #else // PROTOBUF_FORCE_COPY_IN_SWAP
153 if (GetOwningArena() == other->GetOwningArena()) {
154 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
155 InternalSwap(other);
156 } else {
157 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
158 }
159 }
161 if (other == this) return;
162 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
163 InternalSwap(other);
164 }
165
166 // implements Message ----------------------------------------------
167
168 MissionRepeater_Script_Step* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
169 return CreateMaybeMessage<MissionRepeater_Script_Step>(arena);
170 }
171 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
173 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
175 MissionRepeater_Script_Step::MergeImpl(*this, from);
176 }
177 private:
178 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
179 public:
180 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
181 bool IsInitialized() const final;
182
183 size_t ByteSizeLong() const final;
184 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
186 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
187 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
188
189 private:
190 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
191 void SharedDtor();
192 void SetCachedSize(int size) const final;
193 void InternalSwap(MissionRepeater_Script_Step* other);
194
195 private:
196 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
197 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
198 return "jaiabot.config.MissionRepeater.Script.Step";
199 }
200 protected:
201 explicit MissionRepeater_Script_Step(::PROTOBUF_NAMESPACE_ID::Arena* arena,
202 bool is_message_owned = false);
203 public:
204
205 static const ClassData _class_data_;
206 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
207
208 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
209
210 // nested types ----------------------------------------------------
211
212 // accessors -------------------------------------------------------
213
214 enum : int {
220 };
221 // required double duration = 1 [(.dccl.field) = {
222 bool has_duration() const;
223 private:
224 bool _internal_has_duration() const;
225 public:
226 void clear_duration();
227 double duration() const;
228 void set_duration(double value);
229 private:
230 double _internal_duration() const;
231 void _internal_set_duration(double value);
232 public:
233
234 // optional double repeat_interval = 3 [(.dccl.field) = {
235 bool has_repeat_interval() const;
236 private:
237 bool _internal_has_repeat_interval() const;
238 public:
240 double repeat_interval() const;
241 void set_repeat_interval(double value);
242 private:
243 double _internal_repeat_interval() const;
244 void _internal_set_repeat_interval(double value);
245 public:
246
247 // required int32 step_marker = 2;
248 bool has_step_marker() const;
249 private:
250 bool _internal_has_step_marker() const;
251 public:
252 void clear_step_marker();
253 int32_t step_marker() const;
254 void set_step_marker(int32_t value);
255 private:
256 int32_t _internal_step_marker() const;
257 void _internal_set_step_marker(int32_t value);
258 public:
259
260 // .jaiabot.protobuf.DesiredSetpoints desired_setpoints = 10;
261 bool has_desired_setpoints() const;
262 private:
263 bool _internal_has_desired_setpoints() const;
264 public:
266 const ::jaiabot::protobuf::DesiredSetpoints& desired_setpoints() const;
267 PROTOBUF_NODISCARD ::jaiabot::protobuf::DesiredSetpoints* release_desired_setpoints();
270 private:
271 const ::jaiabot::protobuf::DesiredSetpoints& _internal_desired_setpoints() const;
272 ::jaiabot::protobuf::DesiredSetpoints* _internal_mutable_desired_setpoints();
273 public:
277
278 // .jaiabot.protobuf.LowControl low_control = 11;
279 bool has_low_control() const;
280 private:
281 bool _internal_has_low_control() const;
282 public:
284 const ::jaiabot::protobuf::LowControl& low_control() const;
285 PROTOBUF_NODISCARD ::jaiabot::protobuf::LowControl* release_low_control();
288 private:
289 const ::jaiabot::protobuf::LowControl& _internal_low_control() const;
290 ::jaiabot::protobuf::LowControl* _internal_mutable_low_control();
291 public:
295
298 typedef boost::units::time_dimension duration_dimension;
299
300 typedef boost::units::unit<duration_dimension,boost::units::si::system> duration_unit;
301
302 template<typename Quantity >
303 void set_duration_with_units(Quantity value_w_units)
304 { set_duration(boost::units::quantity<duration_unit,double >(value_w_units).value() ); };
305
306 template<typename Quantity >
307 Quantity duration_with_units() const
308 { return Quantity(duration() * duration_unit()); };
309
310 boost::units::quantity< duration_unit,double > duration_with_units() const
311 { return duration_with_units<boost::units::quantity< duration_unit,double > >(); };
312
313 typedef boost::units::time_dimension repeat_interval_dimension;
314
315 typedef boost::units::unit<repeat_interval_dimension,boost::units::si::system> repeat_interval_unit;
316
317 template<typename Quantity >
318 void set_repeat_interval_with_units(Quantity value_w_units)
319 { set_repeat_interval(boost::units::quantity<repeat_interval_unit,double >(value_w_units).value() ); };
320
321 template<typename Quantity >
323 { return Quantity(repeat_interval() * repeat_interval_unit()); };
324
325 boost::units::quantity< repeat_interval_unit,double > repeat_interval_with_units() const
326 { return repeat_interval_with_units<boost::units::quantity< repeat_interval_unit,double > >(); };
327
328 // @@protoc_insertion_point(class_scope:jaiabot.config.MissionRepeater.Script.Step)
329 private:
330 class _Internal;
331 void set_has_desired_setpoints();
332 void set_has_low_control();
333
334 inline bool has_publication() const;
335 inline void clear_has_publication();
336
337 // helper for ByteSizeLong()
338 size_t RequiredFieldsByteSizeFallback() const;
339
340 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
341 typedef void InternalArenaConstructable_;
342 typedef void DestructorSkippable_;
343 struct Impl_ {
344 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
345 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
346 double duration_;
347 double repeat_interval_;
348 int32_t step_marker_;
350 constexpr PublicationUnion() : _constinit_{} {}
351 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
354 } publication_;
355 uint32_t _oneof_case_[1];
356
357 };
358 union { Impl_ _impl_; };
359 friend struct ::TableStruct_bin_2fmission_5frepeater_2fconfig_2eproto;
360};
361// -------------------------------------------------------------------
362
364 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.MissionRepeater.Script) */ {
365 public:
368 explicit PROTOBUF_CONSTEXPR MissionRepeater_Script(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
369
373 *this = ::std::move(from);
374 }
375
377 CopyFrom(from);
378 return *this;
379 }
381 if (this == &from) return *this;
382 if (GetOwningArena() == from.GetOwningArena()
383 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
384 && GetOwningArena() != nullptr
385 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
386 ) {
387 InternalSwap(&from);
388 } else {
389 CopyFrom(from);
390 }
391 return *this;
392 }
393
394 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
395 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
396 }
397 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
398 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
399 }
400
401 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
402 return GetDescriptor();
403 }
404 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
405 return default_instance().GetMetadata().descriptor;
406 }
407 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
408 return default_instance().GetMetadata().reflection;
409 }
411 return *internal_default_instance();
412 }
414 return reinterpret_cast<const MissionRepeater_Script*>(
416 }
417 static constexpr int kIndexInFileMessages =
418 1;
419
421 a.Swap(&b);
422 }
423 inline void Swap(MissionRepeater_Script* other) {
424 if (other == this) return;
425 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
426 if (GetOwningArena() != nullptr &&
427 GetOwningArena() == other->GetOwningArena()) {
428 #else // PROTOBUF_FORCE_COPY_IN_SWAP
429 if (GetOwningArena() == other->GetOwningArena()) {
430 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
431 InternalSwap(other);
432 } else {
433 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
434 }
435 }
437 if (other == this) return;
438 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
439 InternalSwap(other);
440 }
441
442 // implements Message ----------------------------------------------
443
444 MissionRepeater_Script* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
445 return CreateMaybeMessage<MissionRepeater_Script>(arena);
446 }
447 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
449 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
451 MissionRepeater_Script::MergeImpl(*this, from);
452 }
453 private:
454 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
455 public:
456 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
457 bool IsInitialized() const final;
458
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(); }
464
465 private:
466 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
467 void SharedDtor();
468 void SetCachedSize(int size) const final;
469 void InternalSwap(MissionRepeater_Script* other);
470
471 private:
472 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
473 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
474 return "jaiabot.config.MissionRepeater.Script";
475 }
476 protected:
477 explicit MissionRepeater_Script(::PROTOBUF_NAMESPACE_ID::Arena* arena,
478 bool is_message_owned = false);
479 public:
480
481 static const ClassData _class_data_;
482 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
483
484 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
485
486 // nested types ----------------------------------------------------
487
489
490 // accessors -------------------------------------------------------
491
492 enum : int {
493 kStepFieldNumber = 1,
494 };
495 // repeated .jaiabot.config.MissionRepeater.Script.Step step = 1;
496 int step_size() const;
497 private:
498 int _internal_step_size() const;
499 public:
500 void clear_step();
501 ::jaiabot::config::MissionRepeater_Script_Step* mutable_step(int index);
502 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::MissionRepeater_Script_Step >*
503 mutable_step();
504 private:
505 const ::jaiabot::config::MissionRepeater_Script_Step& _internal_step(int index) const;
507 public:
508 const ::jaiabot::config::MissionRepeater_Script_Step& step(int index) const;
510 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::MissionRepeater_Script_Step >&
511 step() const;
512
513 // @@protoc_insertion_point(class_scope:jaiabot.config.MissionRepeater.Script)
514 private:
515 class _Internal;
516
517 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
518 typedef void InternalArenaConstructable_;
519 typedef void DestructorSkippable_;
520 struct Impl_ {
521 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::MissionRepeater_Script_Step > step_;
522 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
523 };
524 union { Impl_ _impl_; };
525 friend struct ::TableStruct_bin_2fmission_5frepeater_2fconfig_2eproto;
526};
527// -------------------------------------------------------------------
528
529class MissionRepeater final :
530 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.MissionRepeater) */ {
531 public:
532 inline MissionRepeater() : MissionRepeater(nullptr) {}
534 explicit PROTOBUF_CONSTEXPR MissionRepeater(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
535
538 : MissionRepeater() {
539 *this = ::std::move(from);
540 }
541
543 CopyFrom(from);
544 return *this;
545 }
546 inline MissionRepeater& operator=(MissionRepeater&& from) noexcept {
547 if (this == &from) return *this;
548 if (GetOwningArena() == from.GetOwningArena()
549 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
550 && GetOwningArena() != nullptr
551 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
552 ) {
553 InternalSwap(&from);
554 } else {
555 CopyFrom(from);
556 }
557 return *this;
558 }
559
560 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
561 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
562 }
563 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
564 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
565 }
566
567 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
568 return GetDescriptor();
569 }
570 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
571 return default_instance().GetMetadata().descriptor;
572 }
573 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
574 return default_instance().GetMetadata().reflection;
575 }
577 return *internal_default_instance();
578 }
580 return reinterpret_cast<const MissionRepeater*>(
582 }
583 static constexpr int kIndexInFileMessages =
584 2;
585
587 a.Swap(&b);
588 }
589 inline void Swap(MissionRepeater* other) {
590 if (other == this) return;
591 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
592 if (GetOwningArena() != nullptr &&
593 GetOwningArena() == other->GetOwningArena()) {
594 #else // PROTOBUF_FORCE_COPY_IN_SWAP
595 if (GetOwningArena() == other->GetOwningArena()) {
596 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
597 InternalSwap(other);
598 } else {
599 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
600 }
601 }
603 if (other == this) return;
604 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
605 InternalSwap(other);
606 }
607
608 // implements Message ----------------------------------------------
609
610 MissionRepeater* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
611 return CreateMaybeMessage<MissionRepeater>(arena);
612 }
613 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
614 void CopyFrom(const MissionRepeater& from);
615 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
616 void MergeFrom( const MissionRepeater& from) {
617 MissionRepeater::MergeImpl(*this, from);
618 }
619 private:
620 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
621 public:
622 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
623 bool IsInitialized() const final;
624
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(); }
630
631 private:
632 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
633 void SharedDtor();
634 void SetCachedSize(int size) const final;
635 void InternalSwap(MissionRepeater* other);
636
637 private:
638 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
639 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
640 return "jaiabot.config.MissionRepeater";
641 }
642 protected:
643 explicit MissionRepeater(::PROTOBUF_NAMESPACE_ID::Arena* arena,
644 bool is_message_owned = false);
645 public:
646
647 static const ClassData _class_data_;
648 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
649
650 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
651
652 // nested types ----------------------------------------------------
653
655
656 // accessors -------------------------------------------------------
657
658 enum : int {
659 kAppFieldNumber = 1,
660 kInterprocessFieldNumber = 2,
661 kScriptFieldNumber = 20,
662 kBotIdFieldNumber = 10,
663 };
664 // optional .goby.middleware.protobuf.AppConfig app = 1;
665 bool has_app() const;
666 private:
667 bool _internal_has_app() const;
668 public:
669 void clear_app();
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);
674 private:
675 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
676 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
677 public:
678 void unsafe_arena_set_allocated_app(
679 ::goby::middleware::protobuf::AppConfig* app);
680 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
681
682 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
683 bool has_interprocess() const;
684 private:
685 bool _internal_has_interprocess() const;
686 public:
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);
692 private:
693 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
694 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
695 public:
696 void unsafe_arena_set_allocated_interprocess(
697 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
698 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
699
700 // required .jaiabot.config.MissionRepeater.Script script = 20;
701 bool has_script() const;
702 private:
703 bool _internal_has_script() const;
704 public:
705 void clear_script();
706 const ::jaiabot::config::MissionRepeater_Script& script() const;
707 PROTOBUF_NODISCARD ::jaiabot::config::MissionRepeater_Script* release_script();
709 void set_allocated_script(::jaiabot::config::MissionRepeater_Script* script);
710 private:
711 const ::jaiabot::config::MissionRepeater_Script& _internal_script() const;
712 ::jaiabot::config::MissionRepeater_Script* _internal_mutable_script();
713 public:
714 void unsafe_arena_set_allocated_script(
716 ::jaiabot::config::MissionRepeater_Script* unsafe_arena_release_script();
717
718 // required int32 bot_id = 10;
719 bool has_bot_id() const;
720 private:
721 bool _internal_has_bot_id() const;
722 public:
723 void clear_bot_id();
724 int32_t bot_id() const;
725 void set_bot_id(int32_t value);
726 private:
727 int32_t _internal_bot_id() const;
728 void _internal_set_bot_id(int32_t value);
729 public:
730
731 // @@protoc_insertion_point(class_scope:jaiabot.config.MissionRepeater)
732 private:
733 class _Internal;
734
735 // helper for ByteSizeLong()
736 size_t RequiredFieldsByteSizeFallback() const;
737
738 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
739 typedef void InternalArenaConstructable_;
740 typedef void DestructorSkippable_;
741 struct Impl_ {
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_;
747 int32_t bot_id_;
748 };
749 union { Impl_ _impl_; };
750 friend struct ::TableStruct_bin_2fmission_5frepeater_2fconfig_2eproto;
751};
752// ===================================================================
753
754
755// ===================================================================
756
757#ifdef __GNUC__
758 #pragma GCC diagnostic push
759 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
760#endif // __GNUC__
761// MissionRepeater_Script_Step
762
763// required double duration = 1 [(.dccl.field) = {
764inline bool MissionRepeater_Script_Step::_internal_has_duration() const {
765 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
766 return value;
767}
768inline bool MissionRepeater_Script_Step::has_duration() const {
769 return _internal_has_duration();
770}
771inline void MissionRepeater_Script_Step::clear_duration() {
772 _impl_.duration_ = 0;
773 _impl_._has_bits_[0] &= ~0x00000001u;
774}
775inline double MissionRepeater_Script_Step::_internal_duration() const {
776 return _impl_.duration_;
777}
778inline double MissionRepeater_Script_Step::duration() const {
779 // @@protoc_insertion_point(field_get:jaiabot.config.MissionRepeater.Script.Step.duration)
780 return _internal_duration();
781}
782inline void MissionRepeater_Script_Step::_internal_set_duration(double value) {
783 _impl_._has_bits_[0] |= 0x00000001u;
784 _impl_.duration_ = value;
785}
786inline void MissionRepeater_Script_Step::set_duration(double value) {
787 _internal_set_duration(value);
788 // @@protoc_insertion_point(field_set:jaiabot.config.MissionRepeater.Script.Step.duration)
789}
790
791// required int32 step_marker = 2;
792inline bool MissionRepeater_Script_Step::_internal_has_step_marker() const {
793 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
794 return value;
795}
796inline bool MissionRepeater_Script_Step::has_step_marker() const {
797 return _internal_has_step_marker();
798}
799inline void MissionRepeater_Script_Step::clear_step_marker() {
800 _impl_.step_marker_ = 0;
801 _impl_._has_bits_[0] &= ~0x00000004u;
802}
803inline int32_t MissionRepeater_Script_Step::_internal_step_marker() const {
804 return _impl_.step_marker_;
805}
806inline int32_t MissionRepeater_Script_Step::step_marker() const {
807 // @@protoc_insertion_point(field_get:jaiabot.config.MissionRepeater.Script.Step.step_marker)
808 return _internal_step_marker();
809}
810inline void MissionRepeater_Script_Step::_internal_set_step_marker(int32_t value) {
811 _impl_._has_bits_[0] |= 0x00000004u;
812 _impl_.step_marker_ = value;
813}
814inline void MissionRepeater_Script_Step::set_step_marker(int32_t value) {
815 _internal_set_step_marker(value);
816 // @@protoc_insertion_point(field_set:jaiabot.config.MissionRepeater.Script.Step.step_marker)
817}
818
819// optional double repeat_interval = 3 [(.dccl.field) = {
820inline bool MissionRepeater_Script_Step::_internal_has_repeat_interval() const {
821 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
822 return value;
823}
824inline bool MissionRepeater_Script_Step::has_repeat_interval() const {
825 return _internal_has_repeat_interval();
826}
827inline void MissionRepeater_Script_Step::clear_repeat_interval() {
828 _impl_.repeat_interval_ = 0;
829 _impl_._has_bits_[0] &= ~0x00000002u;
830}
831inline double MissionRepeater_Script_Step::_internal_repeat_interval() const {
832 return _impl_.repeat_interval_;
833}
834inline double MissionRepeater_Script_Step::repeat_interval() const {
835 // @@protoc_insertion_point(field_get:jaiabot.config.MissionRepeater.Script.Step.repeat_interval)
836 return _internal_repeat_interval();
837}
838inline void MissionRepeater_Script_Step::_internal_set_repeat_interval(double value) {
839 _impl_._has_bits_[0] |= 0x00000002u;
840 _impl_.repeat_interval_ = value;
841}
842inline void MissionRepeater_Script_Step::set_repeat_interval(double value) {
843 _internal_set_repeat_interval(value);
844 // @@protoc_insertion_point(field_set:jaiabot.config.MissionRepeater.Script.Step.repeat_interval)
845}
846
847// .jaiabot.protobuf.DesiredSetpoints desired_setpoints = 10;
848inline bool MissionRepeater_Script_Step::_internal_has_desired_setpoints() const {
849 return publication_case() == kDesiredSetpoints;
850}
851inline bool MissionRepeater_Script_Step::has_desired_setpoints() const {
852 return _internal_has_desired_setpoints();
853}
854inline void MissionRepeater_Script_Step::set_has_desired_setpoints() {
855 _impl_._oneof_case_[0] = kDesiredSetpoints;
856}
857inline ::jaiabot::protobuf::DesiredSetpoints* MissionRepeater_Script_Step::release_desired_setpoints() {
858 // @@protoc_insertion_point(field_release:jaiabot.config.MissionRepeater.Script.Step.desired_setpoints)
859 if (_internal_has_desired_setpoints()) {
860 clear_has_publication();
861 ::jaiabot::protobuf::DesiredSetpoints* temp = _impl_.publication_.desired_setpoints_;
862 if (GetArenaForAllocation() != nullptr) {
863 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
864 }
865 _impl_.publication_.desired_setpoints_ = nullptr;
866 return temp;
867 } else {
868 return nullptr;
869 }
870}
871inline const ::jaiabot::protobuf::DesiredSetpoints& MissionRepeater_Script_Step::_internal_desired_setpoints() const {
872 return _internal_has_desired_setpoints()
873 ? *_impl_.publication_.desired_setpoints_
875}
876inline const ::jaiabot::protobuf::DesiredSetpoints& MissionRepeater_Script_Step::desired_setpoints() const {
877 // @@protoc_insertion_point(field_get:jaiabot.config.MissionRepeater.Script.Step.desired_setpoints)
878 return _internal_desired_setpoints();
879}
880inline ::jaiabot::protobuf::DesiredSetpoints* MissionRepeater_Script_Step::unsafe_arena_release_desired_setpoints() {
881 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.config.MissionRepeater.Script.Step.desired_setpoints)
882 if (_internal_has_desired_setpoints()) {
883 clear_has_publication();
884 ::jaiabot::protobuf::DesiredSetpoints* temp = _impl_.publication_.desired_setpoints_;
885 _impl_.publication_.desired_setpoints_ = nullptr;
886 return temp;
887 } else {
888 return nullptr;
889 }
890}
891inline void MissionRepeater_Script_Step::unsafe_arena_set_allocated_desired_setpoints(::jaiabot::protobuf::DesiredSetpoints* desired_setpoints) {
892 clear_publication();
893 if (desired_setpoints) {
894 set_has_desired_setpoints();
895 _impl_.publication_.desired_setpoints_ = desired_setpoints;
896 }
897 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.MissionRepeater.Script.Step.desired_setpoints)
898}
899inline ::jaiabot::protobuf::DesiredSetpoints* MissionRepeater_Script_Step::_internal_mutable_desired_setpoints() {
900 if (!_internal_has_desired_setpoints()) {
901 clear_publication();
902 set_has_desired_setpoints();
903 _impl_.publication_.desired_setpoints_ = CreateMaybeMessage< ::jaiabot::protobuf::DesiredSetpoints >(GetArenaForAllocation());
904 }
905 return _impl_.publication_.desired_setpoints_;
906}
907inline ::jaiabot::protobuf::DesiredSetpoints* MissionRepeater_Script_Step::mutable_desired_setpoints() {
908 ::jaiabot::protobuf::DesiredSetpoints* _msg = _internal_mutable_desired_setpoints();
909 // @@protoc_insertion_point(field_mutable:jaiabot.config.MissionRepeater.Script.Step.desired_setpoints)
910 return _msg;
911}
912
913// .jaiabot.protobuf.LowControl low_control = 11;
914inline bool MissionRepeater_Script_Step::_internal_has_low_control() const {
915 return publication_case() == kLowControl;
916}
917inline bool MissionRepeater_Script_Step::has_low_control() const {
918 return _internal_has_low_control();
919}
920inline void MissionRepeater_Script_Step::set_has_low_control() {
921 _impl_._oneof_case_[0] = kLowControl;
922}
923inline ::jaiabot::protobuf::LowControl* MissionRepeater_Script_Step::release_low_control() {
924 // @@protoc_insertion_point(field_release:jaiabot.config.MissionRepeater.Script.Step.low_control)
925 if (_internal_has_low_control()) {
926 clear_has_publication();
927 ::jaiabot::protobuf::LowControl* temp = _impl_.publication_.low_control_;
928 if (GetArenaForAllocation() != nullptr) {
929 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
930 }
931 _impl_.publication_.low_control_ = nullptr;
932 return temp;
933 } else {
934 return nullptr;
935 }
936}
937inline const ::jaiabot::protobuf::LowControl& MissionRepeater_Script_Step::_internal_low_control() const {
938 return _internal_has_low_control()
939 ? *_impl_.publication_.low_control_
941}
942inline const ::jaiabot::protobuf::LowControl& MissionRepeater_Script_Step::low_control() const {
943 // @@protoc_insertion_point(field_get:jaiabot.config.MissionRepeater.Script.Step.low_control)
944 return _internal_low_control();
945}
946inline ::jaiabot::protobuf::LowControl* MissionRepeater_Script_Step::unsafe_arena_release_low_control() {
947 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.config.MissionRepeater.Script.Step.low_control)
948 if (_internal_has_low_control()) {
949 clear_has_publication();
950 ::jaiabot::protobuf::LowControl* temp = _impl_.publication_.low_control_;
951 _impl_.publication_.low_control_ = nullptr;
952 return temp;
953 } else {
954 return nullptr;
955 }
956}
957inline void MissionRepeater_Script_Step::unsafe_arena_set_allocated_low_control(::jaiabot::protobuf::LowControl* low_control) {
958 clear_publication();
959 if (low_control) {
960 set_has_low_control();
961 _impl_.publication_.low_control_ = low_control;
962 }
963 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.MissionRepeater.Script.Step.low_control)
964}
965inline ::jaiabot::protobuf::LowControl* MissionRepeater_Script_Step::_internal_mutable_low_control() {
966 if (!_internal_has_low_control()) {
967 clear_publication();
968 set_has_low_control();
969 _impl_.publication_.low_control_ = CreateMaybeMessage< ::jaiabot::protobuf::LowControl >(GetArenaForAllocation());
970 }
971 return _impl_.publication_.low_control_;
972}
973inline ::jaiabot::protobuf::LowControl* MissionRepeater_Script_Step::mutable_low_control() {
974 ::jaiabot::protobuf::LowControl* _msg = _internal_mutable_low_control();
975 // @@protoc_insertion_point(field_mutable:jaiabot.config.MissionRepeater.Script.Step.low_control)
976 return _msg;
977}
978
979inline bool MissionRepeater_Script_Step::has_publication() const {
980 return publication_case() != PUBLICATION_NOT_SET;
981}
982inline void MissionRepeater_Script_Step::clear_has_publication() {
983 _impl_._oneof_case_[0] = PUBLICATION_NOT_SET;
984}
985inline MissionRepeater_Script_Step::PublicationCase MissionRepeater_Script_Step::publication_case() const {
986 return MissionRepeater_Script_Step::PublicationCase(_impl_._oneof_case_[0]);
987}
988// -------------------------------------------------------------------
989
990// MissionRepeater_Script
991
992// repeated .jaiabot.config.MissionRepeater.Script.Step step = 1;
993inline int MissionRepeater_Script::_internal_step_size() const {
994 return _impl_.step_.size();
995}
996inline int MissionRepeater_Script::step_size() const {
997 return _internal_step_size();
998}
999inline void MissionRepeater_Script::clear_step() {
1000 _impl_.step_.Clear();
1001}
1002inline ::jaiabot::config::MissionRepeater_Script_Step* MissionRepeater_Script::mutable_step(int index) {
1003 // @@protoc_insertion_point(field_mutable:jaiabot.config.MissionRepeater.Script.step)
1004 return _impl_.step_.Mutable(index);
1005}
1006inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::MissionRepeater_Script_Step >*
1007MissionRepeater_Script::mutable_step() {
1008 // @@protoc_insertion_point(field_mutable_list:jaiabot.config.MissionRepeater.Script.step)
1009 return &_impl_.step_;
1010}
1011inline const ::jaiabot::config::MissionRepeater_Script_Step& MissionRepeater_Script::_internal_step(int index) const {
1012 return _impl_.step_.Get(index);
1013}
1014inline const ::jaiabot::config::MissionRepeater_Script_Step& MissionRepeater_Script::step(int index) const {
1015 // @@protoc_insertion_point(field_get:jaiabot.config.MissionRepeater.Script.step)
1016 return _internal_step(index);
1017}
1018inline ::jaiabot::config::MissionRepeater_Script_Step* MissionRepeater_Script::_internal_add_step() {
1019 return _impl_.step_.Add();
1020}
1021inline ::jaiabot::config::MissionRepeater_Script_Step* MissionRepeater_Script::add_step() {
1022 ::jaiabot::config::MissionRepeater_Script_Step* _add = _internal_add_step();
1023 // @@protoc_insertion_point(field_add:jaiabot.config.MissionRepeater.Script.step)
1024 return _add;
1025}
1026inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::MissionRepeater_Script_Step >&
1027MissionRepeater_Script::step() const {
1028 // @@protoc_insertion_point(field_list:jaiabot.config.MissionRepeater.Script.step)
1029 return _impl_.step_;
1030}
1031
1032// -------------------------------------------------------------------
1033
1034// MissionRepeater
1035
1036// optional .goby.middleware.protobuf.AppConfig app = 1;
1037inline bool MissionRepeater::_internal_has_app() const {
1038 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1039 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
1040 return value;
1041}
1042inline bool MissionRepeater::has_app() const {
1043 return _internal_has_app();
1044}
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_);
1049}
1050inline const ::goby::middleware::protobuf::AppConfig& MissionRepeater::app() const {
1051 // @@protoc_insertion_point(field_get:jaiabot.config.MissionRepeater.app)
1052 return _internal_app();
1053}
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_);
1058 }
1059 _impl_.app_ = app;
1060 if (app) {
1061 _impl_._has_bits_[0] |= 0x00000001u;
1062 } else {
1063 _impl_._has_bits_[0] &= ~0x00000001u;
1064 }
1065 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.MissionRepeater.app)
1066}
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; }
1075#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1076 if (GetArenaForAllocation() != nullptr) {
1077 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1078 }
1079#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1080 return temp;
1081}
1082inline ::goby::middleware::protobuf::AppConfig* MissionRepeater::unsafe_arena_release_app() {
1083 // @@protoc_insertion_point(field_release:jaiabot.config.MissionRepeater.app)
1084 _impl_._has_bits_[0] &= ~0x00000001u;
1085 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1086 _impl_.app_ = nullptr;
1087 return temp;
1088}
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());
1093 _impl_.app_ = p;
1094 }
1095 return _impl_.app_;
1096}
1097inline ::goby::middleware::protobuf::AppConfig* MissionRepeater::mutable_app() {
1098 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
1099 // @@protoc_insertion_point(field_mutable:jaiabot.config.MissionRepeater.app)
1100 return _msg;
1101}
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_);
1106 }
1107 if (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);
1114 }
1115 _impl_._has_bits_[0] |= 0x00000001u;
1116 } else {
1117 _impl_._has_bits_[0] &= ~0x00000001u;
1118 }
1119 _impl_.app_ = app;
1120 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.MissionRepeater.app)
1121}
1122
1123// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
1124inline bool MissionRepeater::_internal_has_interprocess() const {
1125 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1126 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
1127 return value;
1128}
1129inline bool MissionRepeater::has_interprocess() const {
1130 return _internal_has_interprocess();
1131}
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_);
1136}
1137inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& MissionRepeater::interprocess() const {
1138 // @@protoc_insertion_point(field_get:jaiabot.config.MissionRepeater.interprocess)
1139 return _internal_interprocess();
1140}
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_);
1145 }
1146 _impl_.interprocess_ = interprocess;
1147 if (interprocess) {
1148 _impl_._has_bits_[0] |= 0x00000002u;
1149 } else {
1150 _impl_._has_bits_[0] &= ~0x00000002u;
1151 }
1152 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.MissionRepeater.interprocess)
1153}
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; }
1162#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1163 if (GetArenaForAllocation() != nullptr) {
1164 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1165 }
1166#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1167 return temp;
1168}
1169inline ::goby::zeromq::protobuf::InterProcessPortalConfig* MissionRepeater::unsafe_arena_release_interprocess() {
1170 // @@protoc_insertion_point(field_release:jaiabot.config.MissionRepeater.interprocess)
1171 _impl_._has_bits_[0] &= ~0x00000002u;
1172 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1173 _impl_.interprocess_ = nullptr;
1174 return temp;
1175}
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;
1181 }
1182 return _impl_.interprocess_;
1183}
1184inline ::goby::zeromq::protobuf::InterProcessPortalConfig* MissionRepeater::mutable_interprocess() {
1185 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
1186 // @@protoc_insertion_point(field_mutable:jaiabot.config.MissionRepeater.interprocess)
1187 return _msg;
1188}
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_);
1193 }
1194 if (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);
1201 }
1202 _impl_._has_bits_[0] |= 0x00000002u;
1203 } else {
1204 _impl_._has_bits_[0] &= ~0x00000002u;
1205 }
1206 _impl_.interprocess_ = interprocess;
1207 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.MissionRepeater.interprocess)
1208}
1209
1210// required int32 bot_id = 10;
1211inline bool MissionRepeater::_internal_has_bot_id() const {
1212 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1213 return value;
1214}
1215inline bool MissionRepeater::has_bot_id() const {
1216 return _internal_has_bot_id();
1217}
1218inline void MissionRepeater::clear_bot_id() {
1219 _impl_.bot_id_ = 0;
1220 _impl_._has_bits_[0] &= ~0x00000008u;
1221}
1222inline int32_t MissionRepeater::_internal_bot_id() const {
1223 return _impl_.bot_id_;
1224}
1225inline int32_t MissionRepeater::bot_id() const {
1226 // @@protoc_insertion_point(field_get:jaiabot.config.MissionRepeater.bot_id)
1227 return _internal_bot_id();
1228}
1229inline void MissionRepeater::_internal_set_bot_id(int32_t value) {
1230 _impl_._has_bits_[0] |= 0x00000008u;
1231 _impl_.bot_id_ = value;
1232}
1233inline void MissionRepeater::set_bot_id(int32_t value) {
1234 _internal_set_bot_id(value);
1235 // @@protoc_insertion_point(field_set:jaiabot.config.MissionRepeater.bot_id)
1236}
1237
1238// required .jaiabot.config.MissionRepeater.Script script = 20;
1239inline bool MissionRepeater::_internal_has_script() const {
1240 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1241 PROTOBUF_ASSUME(!value || _impl_.script_ != nullptr);
1242 return value;
1243}
1244inline bool MissionRepeater::has_script() const {
1245 return _internal_has_script();
1246}
1247inline void MissionRepeater::clear_script() {
1248 if (_impl_.script_ != nullptr) _impl_.script_->Clear();
1249 _impl_._has_bits_[0] &= ~0x00000004u;
1250}
1251inline const ::jaiabot::config::MissionRepeater_Script& MissionRepeater::_internal_script() const {
1252 const ::jaiabot::config::MissionRepeater_Script* p = _impl_.script_;
1253 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::config::MissionRepeater_Script&>(
1255}
1256inline const ::jaiabot::config::MissionRepeater_Script& MissionRepeater::script() const {
1257 // @@protoc_insertion_point(field_get:jaiabot.config.MissionRepeater.script)
1258 return _internal_script();
1259}
1260inline void MissionRepeater::unsafe_arena_set_allocated_script(
1262 if (GetArenaForAllocation() == nullptr) {
1263 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.script_);
1264 }
1265 _impl_.script_ = script;
1266 if (script) {
1267 _impl_._has_bits_[0] |= 0x00000004u;
1268 } else {
1269 _impl_._has_bits_[0] &= ~0x00000004u;
1270 }
1271 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.MissionRepeater.script)
1272}
1273inline ::jaiabot::config::MissionRepeater_Script* MissionRepeater::release_script() {
1274 _impl_._has_bits_[0] &= ~0x00000004u;
1275 ::jaiabot::config::MissionRepeater_Script* temp = _impl_.script_;
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; }
1281#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1282 if (GetArenaForAllocation() != nullptr) {
1283 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1284 }
1285#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1286 return temp;
1287}
1288inline ::jaiabot::config::MissionRepeater_Script* MissionRepeater::unsafe_arena_release_script() {
1289 // @@protoc_insertion_point(field_release:jaiabot.config.MissionRepeater.script)
1290 _impl_._has_bits_[0] &= ~0x00000004u;
1291 ::jaiabot::config::MissionRepeater_Script* temp = _impl_.script_;
1292 _impl_.script_ = nullptr;
1293 return temp;
1294}
1295inline ::jaiabot::config::MissionRepeater_Script* MissionRepeater::_internal_mutable_script() {
1296 _impl_._has_bits_[0] |= 0x00000004u;
1297 if (_impl_.script_ == nullptr) {
1298 auto* p = CreateMaybeMessage<::jaiabot::config::MissionRepeater_Script>(GetArenaForAllocation());
1299 _impl_.script_ = p;
1300 }
1301 return _impl_.script_;
1302}
1303inline ::jaiabot::config::MissionRepeater_Script* MissionRepeater::mutable_script() {
1304 ::jaiabot::config::MissionRepeater_Script* _msg = _internal_mutable_script();
1305 // @@protoc_insertion_point(field_mutable:jaiabot.config.MissionRepeater.script)
1306 return _msg;
1307}
1308inline void MissionRepeater::set_allocated_script(::jaiabot::config::MissionRepeater_Script* script) {
1309 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1310 if (message_arena == nullptr) {
1311 delete _impl_.script_;
1312 }
1313 if (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);
1319 }
1320 _impl_._has_bits_[0] |= 0x00000004u;
1321 } else {
1322 _impl_._has_bits_[0] &= ~0x00000004u;
1323 }
1324 _impl_.script_ = script;
1325 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.MissionRepeater.script)
1326}
1327
1328#ifdef __GNUC__
1329 #pragma GCC diagnostic pop
1330#endif // __GNUC__
1331// -------------------------------------------------------------------
1332
1333// -------------------------------------------------------------------
1334
1335
1336// @@protoc_insertion_point(namespace_scope)
1337
1338} // namespace config
1339} // namespace jaiabot
1340
1341// @@protoc_insertion_point(global_scope)
1342
1343#include <google/protobuf/port_undef.inc>
1344#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bin_2fmission_5frepeater_2fconfig_2eproto
MissionRepeater_Script_Step & operator=(const MissionRepeater_Script_Step &from)
Definition config.pb.h:94
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::jaiabot::protobuf::DesiredSetpoints & desired_setpoints() const
Definition config.pb.h:876
MissionRepeater_Script_Step * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:168
::jaiabot::protobuf::DesiredSetpoints * unsafe_arena_release_desired_setpoints()
Definition config.pb.h:880
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_allocated_desired_setpoints(::jaiabot::protobuf::DesiredSetpoints *desired_setpoints)
::jaiabot::protobuf::DesiredSetpoints * mutable_desired_setpoints()
Definition config.pb.h:907
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
Definition config.pb.h:315
static const MissionRepeater_Script_Step * internal_default_instance()
Definition config.pb.h:137
::jaiabot::protobuf::LowControl * mutable_low_control()
Definition config.pb.h:973
boost::units::quantity< repeat_interval_unit, double > repeat_interval_with_units() const
Definition config.pb.h:325
PROTOBUF_CONSTEXPR MissionRepeater_Script_Step(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:115
void unsafe_arena_set_allocated_desired_setpoints(::jaiabot::protobuf::DesiredSetpoints *desired_setpoints)
Definition config.pb.h:891
friend void swap(MissionRepeater_Script_Step &a, MissionRepeater_Script_Step &b)
Definition config.pb.h:144
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:122
boost::units::unit< duration_dimension, boost::units::si::system > duration_unit
Definition config.pb.h:300
void unsafe_arena_set_allocated_low_control(::jaiabot::protobuf::LowControl *low_control)
Definition config.pb.h:957
MissionRepeater_Script_Step(MissionRepeater_Script_Step &&from) noexcept
Definition config.pb.h:89
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void Swap(MissionRepeater_Script_Step *other)
Definition config.pb.h:147
void set_duration_with_units(Quantity value_w_units)
Definition config.pb.h:303
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:112
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:125
MissionRepeater_Script_Step & operator=(MissionRepeater_Script_Step &&from) noexcept
Definition config.pb.h:98
static const MissionRepeater_Script_Step & default_instance()
Definition config.pb.h:128
boost::units::time_dimension repeat_interval_dimension
Definition config.pb.h:313
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:119
void MergeFrom(const MissionRepeater_Script_Step &from)
Definition config.pb.h:174
boost::units::time_dimension duration_dimension
Definition config.pb.h:298
boost::units::quantity< duration_unit, double > duration_with_units() const
Definition config.pb.h:310
void set_allocated_low_control(::jaiabot::protobuf::LowControl *low_control)
void UnsafeArenaSwap(MissionRepeater_Script_Step *other)
Definition config.pb.h:160
const ::jaiabot::protobuf::LowControl & low_control() const
Definition config.pb.h:942
::jaiabot::protobuf::LowControl * unsafe_arena_release_low_control()
Definition config.pb.h:946
void CopyFrom(const MissionRepeater_Script_Step &from)
PROTOBUF_NODISCARD::jaiabot::protobuf::DesiredSetpoints * release_desired_setpoints()
Definition config.pb.h:857
MissionRepeater_Script_Step(const MissionRepeater_Script_Step &from)
PROTOBUF_NODISCARD::jaiabot::protobuf::LowControl * release_low_control()
Definition config.pb.h:923
void set_repeat_interval_with_units(Quantity value_w_units)
Definition config.pb.h:318
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)
Definition config.pb.h:376
void Swap(MissionRepeater_Script *other)
Definition config.pb.h:423
MissionRepeater_Script * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:444
MissionRepeater_Script(MissionRepeater_Script &&from) noexcept
Definition config.pb.h:371
PROTOBUF_CONSTEXPR MissionRepeater_Script(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:394
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:404
MissionRepeater_Script(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const MissionRepeater_Script * internal_default_instance()
Definition config.pb.h:413
void UnsafeArenaSwap(MissionRepeater_Script *other)
Definition config.pb.h:436
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
MissionRepeater_Script & operator=(MissionRepeater_Script &&from) noexcept
Definition config.pb.h:380
friend void swap(MissionRepeater_Script &a, MissionRepeater_Script &b)
Definition config.pb.h:420
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const MissionRepeater_Script & default_instance()
Definition config.pb.h:410
void MergeFrom(const MissionRepeater_Script &from)
Definition config.pb.h:450
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:397
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:401
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:407
MissionRepeater_Script(const MissionRepeater_Script &from)
static const ClassData _class_data_
Definition config.pb.h:481
void UnsafeArenaSwap(MissionRepeater *other)
Definition config.pb.h:602
void CopyFrom(const MissionRepeater &from)
MissionRepeater * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:610
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:560
MissionRepeater & operator=(const MissionRepeater &from)
Definition config.pb.h:542
MissionRepeater(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const MissionRepeater & default_instance()
Definition config.pb.h:576
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:563
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:573
MissionRepeater(const MissionRepeater &from)
static const MissionRepeater * internal_default_instance()
Definition config.pb.h:579
void MergeFrom(const MissionRepeater &from)
Definition config.pb.h:616
MissionRepeater(MissionRepeater &&from) noexcept
Definition config.pb.h:537
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ClassData _class_data_
Definition config.pb.h:647
PROTOBUF_CONSTEXPR MissionRepeater(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void Swap(MissionRepeater *other)
Definition config.pb.h:589
MissionRepeater & operator=(MissionRepeater &&from) noexcept
Definition config.pb.h:546
friend void swap(MissionRepeater &a, MissionRepeater &b)
Definition config.pb.h:586
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:570
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:567
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_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
Definition config.pb.h:351