4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2faml_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2faml_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>
33#include "goby/middleware/protobuf/app_config.pb.h"
34#include "goby/zeromq/protobuf/interprocess_config.pb.h"
35#include "goby/middleware/protobuf/serial_config.pb.h"
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_bin_2fdrivers_2faml_2fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
57struct AMLCatalogDefaultTypeInternal;
60struct AMLSensorDriverDefaultTypeInternal;
64PROTOBUF_NAMESPACE_OPEN
67PROTOBUF_NAMESPACE_CLOSE
74 public ::PROTOBUF_NAMESPACE_ID::Message {
78 explicit PROTOBUF_CONSTEXPR
AMLCatalog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
83 *
this = ::std::move(from);
91 if (
this == &from)
return *
this;
92 if (GetOwningArena() == from.GetOwningArena()
93 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
94 && GetOwningArena() !=
nullptr
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
134 if (other ==
this)
return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() !=
nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
139 if (GetOwningArena() == other->GetOwningArena()) {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
147 if (other ==
this)
return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
154 AMLCatalog*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
155 return CreateMaybeMessage<AMLCatalog>(arena);
157 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
159 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
161 AMLCatalog::MergeImpl(*
this, from);
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
166 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
178 void SetCachedSize(
int size)
const final;
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "jaiabot.config.AMLCatalog";
188 bool is_message_owned =
false);
192 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
206 bool _internal_has_conductivity()
const;
210 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
216 const std::string& _internal_conductivity()
const;
217 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_conductivity(
const std::string& value);
218 std::string* _internal_mutable_conductivity();
225 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
226 typedef void InternalArenaConstructable_;
227 typedef void DestructorSkippable_;
229 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
230 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
231 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr conductivity_;
234 friend struct ::TableStruct_bin_2fdrivers_2faml_2fconfig_2eproto;
239 public ::PROTOBUF_NAMESPACE_ID::Message {
243 explicit PROTOBUF_CONSTEXPR
AMLSensorDriver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
248 *
this = ::std::move(from);
256 if (
this == &from)
return *
this;
257 if (GetOwningArena() == from.GetOwningArena()
258 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
259 && GetOwningArena() !=
nullptr
270 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
273 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
276 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
277 return GetDescriptor();
280 return default_instance().GetMetadata().descriptor;
283 return default_instance().GetMetadata().reflection;
286 return *internal_default_instance();
292 static constexpr int kIndexInFileMessages =
299 if (other ==
this)
return;
300 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
301 if (GetOwningArena() !=
nullptr &&
302 GetOwningArena() == other->GetOwningArena()) {
304 if (GetOwningArena() == other->GetOwningArena()) {
308 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
312 if (other ==
this)
return;
313 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
320 return CreateMaybeMessage<AMLSensorDriver>(arena);
322 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
324 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
326 AMLSensorDriver::MergeImpl(*
this, from);
329 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
331 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
332 bool IsInitialized() const final;
334 size_t ByteSizeLong() const final;
335 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
336 uint8_t* _InternalSerialize(
337 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
338 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
341 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
343 void SetCachedSize(
int size)
const final;
347 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
348 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
349 return "jaiabot.config.AMLSensorDriver";
353 bool is_message_owned =
false);
357 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
359 ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadata() const final;
367 kInterprocessFieldNumber = 2,
368 kSerialFieldNumber = 20,
369 kCatalogFieldNumber = 30,
370 kAmlReportTimeoutSecondsFieldNumber = 10,
371 kOutputRateFieldNumber = 11,
374 bool has_app()
const;
376 bool _internal_has_app()
const;
379 const ::goby::middleware::protobuf::AppConfig& app()
const;
380 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
381 ::goby::middleware::protobuf::AppConfig* mutable_app();
382 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
384 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
385 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
387 void unsafe_arena_set_allocated_app(
388 ::goby::middleware::protobuf::AppConfig* app);
389 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
392 bool has_interprocess()
const;
394 bool _internal_has_interprocess()
const;
397 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
398 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
399 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
400 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
402 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
403 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
405 void unsafe_arena_set_allocated_interprocess(
406 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
407 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
410 bool has_serial()
const;
412 bool _internal_has_serial()
const;
415 const ::goby::middleware::protobuf::SerialConfig& serial()
const;
416 PROTOBUF_NODISCARD ::goby::middleware::protobuf::SerialConfig* release_serial();
417 ::goby::middleware::protobuf::SerialConfig* mutable_serial();
418 void set_allocated_serial(::goby::middleware::protobuf::SerialConfig* serial);
420 const ::goby::middleware::protobuf::SerialConfig& _internal_serial()
const;
421 ::goby::middleware::protobuf::SerialConfig* _internal_mutable_serial();
423 void unsafe_arena_set_allocated_serial(
424 ::goby::middleware::protobuf::SerialConfig* serial);
425 ::goby::middleware::protobuf::SerialConfig* unsafe_arena_release_serial();
428 bool has_catalog()
const;
430 bool _internal_has_catalog()
const;
432 void clear_catalog();
433 const ::jaiabot::config::AMLCatalog& catalog()
const;
434 PROTOBUF_NODISCARD ::jaiabot::config::AMLCatalog* release_catalog();
438 const ::jaiabot::config::AMLCatalog& _internal_catalog()
const;
441 void unsafe_arena_set_allocated_catalog(
446 bool has_aml_report_timeout_seconds()
const;
448 bool _internal_has_aml_report_timeout_seconds()
const;
450 void clear_aml_report_timeout_seconds();
451 int32_t aml_report_timeout_seconds()
const;
452 void set_aml_report_timeout_seconds(int32_t value);
454 int32_t _internal_aml_report_timeout_seconds()
const;
455 void _internal_set_aml_report_timeout_seconds(int32_t value);
459 bool has_output_rate()
const;
461 bool _internal_has_output_rate()
const;
463 void clear_output_rate();
464 int32_t output_rate()
const;
465 void set_output_rate(int32_t value);
467 int32_t _internal_output_rate()
const;
468 void _internal_set_output_rate(int32_t value);
475 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
476 typedef void InternalArenaConstructable_;
477 typedef void DestructorSkippable_;
479 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
480 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
481 ::goby::middleware::protobuf::AppConfig* app_;
482 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
483 ::goby::middleware::protobuf::SerialConfig* serial_;
485 int32_t aml_report_timeout_seconds_;
486 int32_t output_rate_;
489 friend struct ::TableStruct_bin_2fdrivers_2faml_2fconfig_2eproto;
497 #pragma GCC diagnostic push
498 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
503inline bool AMLCatalog::_internal_has_conductivity()
const {
504 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
507inline bool AMLCatalog::has_conductivity()
const {
508 return _internal_has_conductivity();
510inline void AMLCatalog::clear_conductivity() {
511 _impl_.conductivity_.ClearToEmpty();
512 _impl_._has_bits_[0] &= ~0x00000001u;
514inline const std::string& AMLCatalog::conductivity()
const {
516 return _internal_conductivity();
518template <
typename ArgT0,
typename... ArgT>
519inline PROTOBUF_ALWAYS_INLINE
520void AMLCatalog::set_conductivity(ArgT0&& arg0, ArgT... args) {
521 _impl_._has_bits_[0] |= 0x00000001u;
522 _impl_.conductivity_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
525inline std::string* AMLCatalog::mutable_conductivity() {
526 std::string* _s = _internal_mutable_conductivity();
530inline const std::string& AMLCatalog::_internal_conductivity()
const {
531 return _impl_.conductivity_.Get();
533inline void AMLCatalog::_internal_set_conductivity(
const std::string& value) {
534 _impl_._has_bits_[0] |= 0x00000001u;
535 _impl_.conductivity_.Set(value, GetArenaForAllocation());
537inline std::string* AMLCatalog::_internal_mutable_conductivity() {
538 _impl_._has_bits_[0] |= 0x00000001u;
539 return _impl_.conductivity_.Mutable(GetArenaForAllocation());
541inline std::string* AMLCatalog::release_conductivity() {
543 if (!_internal_has_conductivity()) {
546 _impl_._has_bits_[0] &= ~0x00000001u;
547 auto* p = _impl_.conductivity_.Release();
548#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
549 if (_impl_.conductivity_.IsDefault()) {
550 _impl_.conductivity_.Set(
"", GetArenaForAllocation());
555inline void AMLCatalog::set_allocated_conductivity(std::string* conductivity) {
556 if (conductivity !=
nullptr) {
557 _impl_._has_bits_[0] |= 0x00000001u;
559 _impl_._has_bits_[0] &= ~0x00000001u;
561 _impl_.conductivity_.SetAllocated(conductivity, GetArenaForAllocation());
562#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
563 if (_impl_.conductivity_.IsDefault()) {
564 _impl_.conductivity_.Set(
"", GetArenaForAllocation());
575inline bool AMLSensorDriver::_internal_has_app()
const {
576 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
577 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
580inline bool AMLSensorDriver::has_app()
const {
581 return _internal_has_app();
583inline const ::goby::middleware::protobuf::AppConfig& AMLSensorDriver::_internal_app()
const {
584 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
585 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&
>(
586 ::goby::middleware::protobuf::_AppConfig_default_instance_);
588inline const ::goby::middleware::protobuf::AppConfig& AMLSensorDriver::app()
const {
590 return _internal_app();
592inline void AMLSensorDriver::unsafe_arena_set_allocated_app(
593 ::goby::middleware::protobuf::AppConfig* app) {
594 if (GetArenaForAllocation() ==
nullptr) {
595 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
599 _impl_._has_bits_[0] |= 0x00000001u;
601 _impl_._has_bits_[0] &= ~0x00000001u;
605inline ::goby::middleware::protobuf::AppConfig* AMLSensorDriver::release_app() {
606 _impl_._has_bits_[0] &= ~0x00000001u;
607 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
608 _impl_.app_ =
nullptr;
609#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
610 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
611 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
612 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
614 if (GetArenaForAllocation() !=
nullptr) {
615 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
620inline ::goby::middleware::protobuf::AppConfig* AMLSensorDriver::unsafe_arena_release_app() {
622 _impl_._has_bits_[0] &= ~0x00000001u;
623 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
624 _impl_.app_ =
nullptr;
627inline ::goby::middleware::protobuf::AppConfig* AMLSensorDriver::_internal_mutable_app() {
628 _impl_._has_bits_[0] |= 0x00000001u;
629 if (_impl_.app_ ==
nullptr) {
630 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
635inline ::goby::middleware::protobuf::AppConfig* AMLSensorDriver::mutable_app() {
636 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
640inline void AMLSensorDriver::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
641 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
642 if (message_arena ==
nullptr) {
643 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
646 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
647 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
648 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
649 if (message_arena != submessage_arena) {
650 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
651 message_arena, app, submessage_arena);
653 _impl_._has_bits_[0] |= 0x00000001u;
655 _impl_._has_bits_[0] &= ~0x00000001u;
662inline bool AMLSensorDriver::_internal_has_interprocess()
const {
663 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
664 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
667inline bool AMLSensorDriver::has_interprocess()
const {
668 return _internal_has_interprocess();
670inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& AMLSensorDriver::_internal_interprocess()
const {
671 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
672 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&
>(
673 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
675inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& AMLSensorDriver::interprocess()
const {
677 return _internal_interprocess();
679inline void AMLSensorDriver::unsafe_arena_set_allocated_interprocess(
680 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
681 if (GetArenaForAllocation() ==
nullptr) {
682 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
684 _impl_.interprocess_ = interprocess;
686 _impl_._has_bits_[0] |= 0x00000002u;
688 _impl_._has_bits_[0] &= ~0x00000002u;
692inline ::goby::zeromq::protobuf::InterProcessPortalConfig* AMLSensorDriver::release_interprocess() {
693 _impl_._has_bits_[0] &= ~0x00000002u;
694 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
695 _impl_.interprocess_ =
nullptr;
696#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
697 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
698 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
699 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
701 if (GetArenaForAllocation() !=
nullptr) {
702 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
707inline ::goby::zeromq::protobuf::InterProcessPortalConfig* AMLSensorDriver::unsafe_arena_release_interprocess() {
709 _impl_._has_bits_[0] &= ~0x00000002u;
710 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
711 _impl_.interprocess_ =
nullptr;
714inline ::goby::zeromq::protobuf::InterProcessPortalConfig* AMLSensorDriver::_internal_mutable_interprocess() {
715 _impl_._has_bits_[0] |= 0x00000002u;
716 if (_impl_.interprocess_ ==
nullptr) {
717 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
718 _impl_.interprocess_ = p;
720 return _impl_.interprocess_;
722inline ::goby::zeromq::protobuf::InterProcessPortalConfig* AMLSensorDriver::mutable_interprocess() {
723 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
727inline void AMLSensorDriver::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
728 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
729 if (message_arena ==
nullptr) {
730 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
733 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
734 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
735 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
736 if (message_arena != submessage_arena) {
737 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
738 message_arena, interprocess, submessage_arena);
740 _impl_._has_bits_[0] |= 0x00000002u;
742 _impl_._has_bits_[0] &= ~0x00000002u;
744 _impl_.interprocess_ = interprocess;
749inline bool AMLSensorDriver::_internal_has_aml_report_timeout_seconds()
const {
750 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
753inline bool AMLSensorDriver::has_aml_report_timeout_seconds()
const {
754 return _internal_has_aml_report_timeout_seconds();
756inline void AMLSensorDriver::clear_aml_report_timeout_seconds() {
757 _impl_.aml_report_timeout_seconds_ = 40;
758 _impl_._has_bits_[0] &= ~0x00000010u;
760inline int32_t AMLSensorDriver::_internal_aml_report_timeout_seconds()
const {
761 return _impl_.aml_report_timeout_seconds_;
763inline int32_t AMLSensorDriver::aml_report_timeout_seconds()
const {
765 return _internal_aml_report_timeout_seconds();
767inline void AMLSensorDriver::_internal_set_aml_report_timeout_seconds(int32_t value) {
768 _impl_._has_bits_[0] |= 0x00000010u;
769 _impl_.aml_report_timeout_seconds_ = value;
771inline void AMLSensorDriver::set_aml_report_timeout_seconds(int32_t value) {
772 _internal_set_aml_report_timeout_seconds(value);
777inline bool AMLSensorDriver::_internal_has_output_rate()
const {
778 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
781inline bool AMLSensorDriver::has_output_rate()
const {
782 return _internal_has_output_rate();
784inline void AMLSensorDriver::clear_output_rate() {
785 _impl_.output_rate_ = 25;
786 _impl_._has_bits_[0] &= ~0x00000020u;
788inline int32_t AMLSensorDriver::_internal_output_rate()
const {
789 return _impl_.output_rate_;
791inline int32_t AMLSensorDriver::output_rate()
const {
793 return _internal_output_rate();
795inline void AMLSensorDriver::_internal_set_output_rate(int32_t value) {
796 _impl_._has_bits_[0] |= 0x00000020u;
797 _impl_.output_rate_ = value;
799inline void AMLSensorDriver::set_output_rate(int32_t value) {
800 _internal_set_output_rate(value);
805inline bool AMLSensorDriver::_internal_has_serial()
const {
806 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
807 PROTOBUF_ASSUME(!value || _impl_.serial_ !=
nullptr);
810inline bool AMLSensorDriver::has_serial()
const {
811 return _internal_has_serial();
813inline const ::goby::middleware::protobuf::SerialConfig& AMLSensorDriver::_internal_serial()
const {
814 const ::goby::middleware::protobuf::SerialConfig* p = _impl_.serial_;
815 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::SerialConfig&
>(
816 ::goby::middleware::protobuf::_SerialConfig_default_instance_);
818inline const ::goby::middleware::protobuf::SerialConfig& AMLSensorDriver::serial()
const {
820 return _internal_serial();
822inline void AMLSensorDriver::unsafe_arena_set_allocated_serial(
823 ::goby::middleware::protobuf::SerialConfig* serial) {
824 if (GetArenaForAllocation() ==
nullptr) {
825 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.serial_);
827 _impl_.serial_ = serial;
829 _impl_._has_bits_[0] |= 0x00000004u;
831 _impl_._has_bits_[0] &= ~0x00000004u;
835inline ::goby::middleware::protobuf::SerialConfig* AMLSensorDriver::release_serial() {
836 _impl_._has_bits_[0] &= ~0x00000004u;
837 ::goby::middleware::protobuf::SerialConfig* temp = _impl_.serial_;
838 _impl_.serial_ =
nullptr;
839#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
840 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
841 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
842 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
844 if (GetArenaForAllocation() !=
nullptr) {
845 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
850inline ::goby::middleware::protobuf::SerialConfig* AMLSensorDriver::unsafe_arena_release_serial() {
852 _impl_._has_bits_[0] &= ~0x00000004u;
853 ::goby::middleware::protobuf::SerialConfig* temp = _impl_.serial_;
854 _impl_.serial_ =
nullptr;
857inline ::goby::middleware::protobuf::SerialConfig* AMLSensorDriver::_internal_mutable_serial() {
858 _impl_._has_bits_[0] |= 0x00000004u;
859 if (_impl_.serial_ ==
nullptr) {
860 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::SerialConfig>(GetArenaForAllocation());
863 return _impl_.serial_;
865inline ::goby::middleware::protobuf::SerialConfig* AMLSensorDriver::mutable_serial() {
866 ::goby::middleware::protobuf::SerialConfig* _msg = _internal_mutable_serial();
870inline void AMLSensorDriver::set_allocated_serial(::goby::middleware::protobuf::SerialConfig* serial) {
871 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
872 if (message_arena ==
nullptr) {
873 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.serial_);
876 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
877 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
878 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(serial));
879 if (message_arena != submessage_arena) {
880 serial = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
881 message_arena, serial, submessage_arena);
883 _impl_._has_bits_[0] |= 0x00000004u;
885 _impl_._has_bits_[0] &= ~0x00000004u;
887 _impl_.serial_ = serial;
892inline bool AMLSensorDriver::_internal_has_catalog()
const {
893 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
894 PROTOBUF_ASSUME(!value || _impl_.catalog_ !=
nullptr);
897inline bool AMLSensorDriver::has_catalog()
const {
898 return _internal_has_catalog();
900inline void AMLSensorDriver::clear_catalog() {
901 if (_impl_.catalog_ !=
nullptr) _impl_.catalog_->Clear();
902 _impl_._has_bits_[0] &= ~0x00000008u;
904inline const ::jaiabot::config::AMLCatalog& AMLSensorDriver::_internal_catalog()
const {
905 const ::jaiabot::config::AMLCatalog* p = _impl_.catalog_;
909inline const ::jaiabot::config::AMLCatalog& AMLSensorDriver::catalog()
const {
911 return _internal_catalog();
913inline void AMLSensorDriver::unsafe_arena_set_allocated_catalog(
915 if (GetArenaForAllocation() ==
nullptr) {
916 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.catalog_);
918 _impl_.catalog_ = catalog;
920 _impl_._has_bits_[0] |= 0x00000008u;
922 _impl_._has_bits_[0] &= ~0x00000008u;
926inline ::jaiabot::config::AMLCatalog* AMLSensorDriver::release_catalog() {
927 _impl_._has_bits_[0] &= ~0x00000008u;
929 _impl_.catalog_ =
nullptr;
930#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
931 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
932 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
933 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
935 if (GetArenaForAllocation() !=
nullptr) {
936 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
941inline ::jaiabot::config::AMLCatalog* AMLSensorDriver::unsafe_arena_release_catalog() {
943 _impl_._has_bits_[0] &= ~0x00000008u;
945 _impl_.catalog_ =
nullptr;
948inline ::jaiabot::config::AMLCatalog* AMLSensorDriver::_internal_mutable_catalog() {
949 _impl_._has_bits_[0] |= 0x00000008u;
950 if (_impl_.catalog_ ==
nullptr) {
954 return _impl_.catalog_;
956inline ::jaiabot::config::AMLCatalog* AMLSensorDriver::mutable_catalog() {
962 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
963 if (message_arena ==
nullptr) {
964 delete _impl_.catalog_;
967 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
968 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(catalog);
969 if (message_arena != submessage_arena) {
970 catalog = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
971 message_arena, catalog, submessage_arena);
973 _impl_._has_bits_[0] |= 0x00000008u;
975 _impl_._has_bits_[0] &= ~0x00000008u;
977 _impl_.catalog_ = catalog;
982 #pragma GCC diagnostic pop
994#include <google/protobuf/port_undef.inc>
void set_conductivity(ArgT0 &&arg0, ArgT... args)
PROTOBUF_CONSTEXPR AMLCatalog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
std::string * mutable_conductivity()
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
AMLCatalog & operator=(AMLCatalog &&from) noexcept
int GetCachedSize() const final
void clear_conductivity()
static const AMLCatalog & default_instance()
void UnsafeArenaSwap(AMLCatalog *other)
AMLCatalog * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void MergeFrom(const AMLCatalog &from)
const std::string & conductivity() const
friend void swap(AMLCatalog &a, AMLCatalog &b)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
AMLCatalog & operator=(const AMLCatalog &from)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
@ kConductivityFieldNumber
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
AMLCatalog(AMLCatalog &&from) noexcept
PROTOBUF_NODISCARD std::string * release_conductivity()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_allocated_conductivity(std::string *conductivity)
static const AMLCatalog * internal_default_instance()
AMLCatalog(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
bool has_conductivity() const
bool IsInitialized() const final
void CopyFrom(const AMLCatalog &from)
AMLCatalog(const AMLCatalog &from)
void Swap(AMLCatalog *other)
static constexpr int kIndexInFileMessages
size_t ByteSizeLong() const final
void clear_interprocess()
void MergeFrom(const AMLSensorDriver &from)
~AMLSensorDriver() override
void CopyFrom(const AMLSensorDriver &from)
AMLSensorDriver(AMLSensorDriver &&from) noexcept
AMLSensorDriver & operator=(AMLSensorDriver &&from) noexcept
static const ClassData _class_data_
AMLSensorDriver & operator=(const AMLSensorDriver &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_CONSTEXPR AMLSensorDriver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const AMLSensorDriver & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
friend void swap(AMLSensorDriver &a, AMLSensorDriver &b)
static const AMLSensorDriver * internal_default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
AMLSensorDriver(const AMLSensorDriver &from)
AMLSensorDriver(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
AMLSensorDriver * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void Swap(AMLSensorDriver *other)
void UnsafeArenaSwap(AMLSensorDriver *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NAMESPACE_OPEN ::jaiabot::config::AMLCatalog * Arena::CreateMaybeMessage<::jaiabot::config::AMLCatalog >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2faml_2fconfig_2eproto
AMLSensorDriverDefaultTypeInternal _AMLSensorDriver_default_instance_
AMLCatalogDefaultTypeInternal _AMLCatalog_default_instance_
static const uint32_t offsets[]