4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fturner_5fc_5ffluor_5fsensor_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fturner_5fc_5ffluor_5fsensor_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/udp_config.pb.h"
36#include "jaiabot/messages/sensor/turner__c_fluor.pb.h"
37#include <boost/units/quantity.hpp>
38#include <boost/units/absolute.hpp>
39#include <boost/units/dimensionless_type.hpp>
40#include <boost/units/make_scaled_unit.hpp>
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_bin_2fdrivers_2fturner_5fc_5ffluor_5fsensor_2fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
48PROTOBUF_NAMESPACE_CLOSE
57class TurnerCFluorSensorDriver;
58struct TurnerCFluorSensorDriverDefaultTypeInternal;
62PROTOBUF_NAMESPACE_OPEN
64PROTOBUF_NAMESPACE_CLOSE
71 public ::PROTOBUF_NAMESPACE_ID::Message {
80 *
this = ::std::move(from);
88 if (
this == &from)
return *
this;
89 if (GetOwningArena() == from.GetOwningArena()
90 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
91 && GetOwningArena() !=
nullptr
102 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
105 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
131 if (other ==
this)
return;
132 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
133 if (GetOwningArena() !=
nullptr &&
134 GetOwningArena() == other->GetOwningArena()) {
136 if (GetOwningArena() == other->GetOwningArena()) {
140 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
144 if (other ==
this)
return;
145 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152 return CreateMaybeMessage<TurnerCFluorSensorDriver>(arena);
154 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
156 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
158 TurnerCFluorSensorDriver::MergeImpl(*
this, from);
161 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
163 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
169 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
173 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
175 void SetCachedSize(
int size)
const final;
179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181 return "jaiabot.config.TurnerCFluorSensorDriver";
185 bool is_message_owned =
false);
189 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
206 bool _internal_has_app()
const;
209 const ::goby::middleware::protobuf::AppConfig&
app()
const;
210 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
211 ::goby::middleware::protobuf::AppConfig*
mutable_app();
214 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
215 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
218 ::goby::middleware::protobuf::AppConfig*
app);
224 bool _internal_has_interprocess()
const;
227 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
232 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
233 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
236 ::goby::zeromq::protobuf::InterProcessPortalConfig*
interprocess);
242 bool _internal_has_fluorometer_coefficients()
const;
250 const ::jaiabot::sensor::protobuf::FluorCoefficients& _internal_fluorometer_coefficients()
const;
260 bool _internal_has_turner_c_fluor_report_timeout_seconds()
const;
266 int32_t _internal_turner_c_fluor_report_timeout_seconds()
const;
267 void _internal_set_turner_c_fluor_report_timeout_seconds(int32_t value);
274 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
275 typedef void InternalArenaConstructable_;
276 typedef void DestructorSkippable_;
278 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
279 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
280 ::goby::middleware::protobuf::AppConfig* app_;
281 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
283 int32_t turner_c_fluor_report_timeout_seconds_;
286 friend struct ::TableStruct_bin_2fdrivers_2fturner_5fc_5ffluor_5fsensor_2fconfig_2eproto;
294 #pragma GCC diagnostic push
295 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
300inline bool TurnerCFluorSensorDriver::_internal_has_app()
const {
301 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
302 PROTOBUF_ASSUME(!value ||
_impl_.app_ !=
nullptr);
306 return _internal_has_app();
308inline const ::goby::middleware::protobuf::AppConfig& TurnerCFluorSensorDriver::_internal_app()
const {
309 const ::goby::middleware::protobuf::AppConfig* p =
_impl_.app_;
310 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&
>(
311 ::goby::middleware::protobuf::_AppConfig_default_instance_);
315 return _internal_app();
318 ::goby::middleware::protobuf::AppConfig*
app) {
319 if (GetArenaForAllocation() ==
nullptr) {
320 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
324 _impl_._has_bits_[0] |= 0x00000001u;
326 _impl_._has_bits_[0] &= ~0x00000001u;
331 _impl_._has_bits_[0] &= ~0x00000001u;
332 ::goby::middleware::protobuf::AppConfig* temp =
_impl_.app_;
334#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
335 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
336 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
337 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
339 if (GetArenaForAllocation() !=
nullptr) {
340 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
347 _impl_._has_bits_[0] &= ~0x00000001u;
348 ::goby::middleware::protobuf::AppConfig* temp =
_impl_.app_;
352inline ::goby::middleware::protobuf::AppConfig* TurnerCFluorSensorDriver::_internal_mutable_app() {
353 _impl_._has_bits_[0] |= 0x00000001u;
354 if (
_impl_.app_ ==
nullptr) {
355 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
361 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
366 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
367 if (message_arena ==
nullptr) {
368 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
371 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
372 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
373 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
app));
374 if (message_arena != submessage_arena) {
375 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
376 message_arena,
app, submessage_arena);
378 _impl_._has_bits_[0] |= 0x00000001u;
380 _impl_._has_bits_[0] &= ~0x00000001u;
387inline bool TurnerCFluorSensorDriver::_internal_has_interprocess()
const {
388 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
389 PROTOBUF_ASSUME(!value ||
_impl_.interprocess_ !=
nullptr);
393 return _internal_has_interprocess();
395inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TurnerCFluorSensorDriver::_internal_interprocess()
const {
396 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p =
_impl_.interprocess_;
397 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&
>(
398 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
402 return _internal_interprocess();
405 ::goby::zeromq::protobuf::InterProcessPortalConfig*
interprocess) {
406 if (GetArenaForAllocation() ==
nullptr) {
407 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
411 _impl_._has_bits_[0] |= 0x00000002u;
413 _impl_._has_bits_[0] &= ~0x00000002u;
418 _impl_._has_bits_[0] &= ~0x00000002u;
419 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp =
_impl_.interprocess_;
420 _impl_.interprocess_ =
nullptr;
421#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
422 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
423 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
424 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
426 if (GetArenaForAllocation() !=
nullptr) {
427 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
434 _impl_._has_bits_[0] &= ~0x00000002u;
435 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp =
_impl_.interprocess_;
436 _impl_.interprocess_ =
nullptr;
439inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TurnerCFluorSensorDriver::_internal_mutable_interprocess() {
440 _impl_._has_bits_[0] |= 0x00000002u;
441 if (
_impl_.interprocess_ ==
nullptr) {
442 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
445 return _impl_.interprocess_;
448 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
453 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
454 if (message_arena ==
nullptr) {
455 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
458 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
459 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
460 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
interprocess));
461 if (message_arena != submessage_arena) {
462 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
465 _impl_._has_bits_[0] |= 0x00000002u;
467 _impl_._has_bits_[0] &= ~0x00000002u;
474inline bool TurnerCFluorSensorDriver::_internal_has_fluorometer_coefficients()
const {
475 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
476 PROTOBUF_ASSUME(!value ||
_impl_.fluorometer_coefficients_ !=
nullptr);
480 return _internal_has_fluorometer_coefficients();
482inline const ::jaiabot::sensor::protobuf::FluorCoefficients& TurnerCFluorSensorDriver::_internal_fluorometer_coefficients()
const {
483 const ::jaiabot::sensor::protobuf::FluorCoefficients* p =
_impl_.fluorometer_coefficients_;
489 return _internal_fluorometer_coefficients();
493 if (GetArenaForAllocation() ==
nullptr) {
494 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.fluorometer_coefficients_);
498 _impl_._has_bits_[0] |= 0x00000004u;
500 _impl_._has_bits_[0] &= ~0x00000004u;
505 _impl_._has_bits_[0] &= ~0x00000004u;
507 _impl_.fluorometer_coefficients_ =
nullptr;
508#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
509 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
510 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
511 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
513 if (GetArenaForAllocation() !=
nullptr) {
514 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
521 _impl_._has_bits_[0] &= ~0x00000004u;
523 _impl_.fluorometer_coefficients_ =
nullptr;
526inline ::jaiabot::sensor::protobuf::FluorCoefficients* TurnerCFluorSensorDriver::_internal_mutable_fluorometer_coefficients() {
527 _impl_._has_bits_[0] |= 0x00000004u;
528 if (
_impl_.fluorometer_coefficients_ ==
nullptr) {
530 _impl_.fluorometer_coefficients_ = p;
532 return _impl_.fluorometer_coefficients_;
540 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
541 if (message_arena ==
nullptr) {
542 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.fluorometer_coefficients_);
545 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
546 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
548 if (message_arena != submessage_arena) {
552 _impl_._has_bits_[0] |= 0x00000004u;
554 _impl_._has_bits_[0] &= ~0x00000004u;
561inline bool TurnerCFluorSensorDriver::_internal_has_turner_c_fluor_report_timeout_seconds()
const {
562 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
566 return _internal_has_turner_c_fluor_report_timeout_seconds();
569 _impl_.turner_c_fluor_report_timeout_seconds_ = 40;
570 _impl_._has_bits_[0] &= ~0x00000008u;
572inline int32_t TurnerCFluorSensorDriver::_internal_turner_c_fluor_report_timeout_seconds()
const {
573 return _impl_.turner_c_fluor_report_timeout_seconds_;
577 return _internal_turner_c_fluor_report_timeout_seconds();
579inline void TurnerCFluorSensorDriver::_internal_set_turner_c_fluor_report_timeout_seconds(int32_t value) {
580 _impl_._has_bits_[0] |= 0x00000008u;
581 _impl_.turner_c_fluor_report_timeout_seconds_ = value;
584 _internal_set_turner_c_fluor_report_timeout_seconds(value);
589 #pragma GCC diagnostic pop
599#include <google/protobuf/port_undef.inc>
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const TurnerCFluorSensorDriver * internal_default_instance()
void Swap(TurnerCFluorSensorDriver *other)
int32_t turner_c_fluor_report_timeout_seconds() const
void unsafe_arena_set_allocated_fluorometer_coefficients(::jaiabot::sensor::protobuf::FluorCoefficients *fluorometer_coefficients)
TurnerCFluorSensorDriver & operator=(const TurnerCFluorSensorDriver &from)
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
size_t ByteSizeLong() const final
@ kInterprocessFieldNumber
@ kTurnerCFluorReportTimeoutSecondsFieldNumber
@ kFluorometerCoefficientsFieldNumber
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
::goby::middleware::protobuf::AppConfig * mutable_app()
void set_turner_c_fluor_report_timeout_seconds(int32_t value)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
TurnerCFluorSensorDriver()
void UnsafeArenaSwap(TurnerCFluorSensorDriver *other)
~TurnerCFluorSensorDriver() override
TurnerCFluorSensorDriver(TurnerCFluorSensorDriver &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_fluorometer_coefficients(::jaiabot::sensor::protobuf::FluorCoefficients *fluorometer_coefficients)
bool has_interprocess() const
bool has_fluorometer_coefficients() const
void MergeFrom(const TurnerCFluorSensorDriver &from)
PROTOBUF_NODISCARD::jaiabot::sensor::protobuf::FluorCoefficients * release_fluorometer_coefficients()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void clear_interprocess()
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::jaiabot::sensor::protobuf::FluorCoefficients * mutable_fluorometer_coefficients()
void clear_fluorometer_coefficients()
TurnerCFluorSensorDriver & operator=(TurnerCFluorSensorDriver &&from) noexcept
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
TurnerCFluorSensorDriver(const TurnerCFluorSensorDriver &from)
::jaiabot::sensor::protobuf::FluorCoefficients * unsafe_arena_release_fluorometer_coefficients()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
const ::jaiabot::sensor::protobuf::FluorCoefficients & fluorometer_coefficients() const
void clear_turner_c_fluor_report_timeout_seconds()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
TurnerCFluorSensorDriver(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
bool has_turner_c_fluor_report_timeout_seconds() const
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
static const ClassData _class_data_
bool IsInitialized() const final
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
TurnerCFluorSensorDriver * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void CopyFrom(const TurnerCFluorSensorDriver &from)
const ::goby::middleware::protobuf::AppConfig & app() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR TurnerCFluorSensorDriver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static constexpr int kIndexInFileMessages
static const TurnerCFluorSensorDriver & default_instance()
int GetCachedSize() const final
friend void swap(TurnerCFluorSensorDriver &a, TurnerCFluorSensorDriver &b)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2fturner_5fc_5ffluor_5fsensor_2fconfig_2eproto
TurnerCFluorSensorDriverDefaultTypeInternal _TurnerCFluorSensorDriver_default_instance_
FluorCoefficientsDefaultTypeInternal _FluorCoefficients_default_instance_
PROTOBUF_NAMESPACE_OPEN ::jaiabot::sensor::protobuf::FluorCoefficients * Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::FluorCoefficients >(Arena *)
static const uint32_t offsets[]