4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2ftsys01_5ftemperature_5fsensor_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2ftsys01_5ftemperature_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 <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_2ftsys01_5ftemperature_5fsensor_2fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
56class TSYS01TemperatureSensorDriver;
57struct TSYS01TemperatureSensorDriverDefaultTypeInternal;
61PROTOBUF_NAMESPACE_OPEN
63PROTOBUF_NAMESPACE_CLOSE
70 public ::PROTOBUF_NAMESPACE_ID::Message {
79 *
this = ::std::move(from);
87 if (
this == &from)
return *
this;
88 if (GetOwningArena() == from.GetOwningArena()
89 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
90 && GetOwningArena() !=
nullptr
101 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
104 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
130 if (other ==
this)
return;
131 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
132 if (GetOwningArena() !=
nullptr &&
133 GetOwningArena() == other->GetOwningArena()) {
135 if (GetOwningArena() == other->GetOwningArena()) {
139 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
143 if (other ==
this)
return;
144 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
151 return CreateMaybeMessage<TSYS01TemperatureSensorDriver>(arena);
153 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
155 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
157 TSYS01TemperatureSensorDriver::MergeImpl(*
this, from);
160 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
162 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
174 void SetCachedSize(
int size)
const final;
178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180 return "jaiabot.config.TSYS01TemperatureSensorDriver";
184 bool is_message_owned =
false);
188 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
205 bool _internal_has_app()
const;
208 const ::goby::middleware::protobuf::AppConfig&
app()
const;
209 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
210 ::goby::middleware::protobuf::AppConfig*
mutable_app();
213 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
214 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
217 ::goby::middleware::protobuf::AppConfig*
app);
223 bool _internal_has_interprocess()
const;
226 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
231 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
232 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
235 ::goby::zeromq::protobuf::InterProcessPortalConfig*
interprocess);
241 bool _internal_has_udp_config()
const;
244 const ::goby::middleware::protobuf::UDPPointToPointConfig&
udp_config()
const;
245 PROTOBUF_NODISCARD ::goby::middleware::protobuf::UDPPointToPointConfig*
release_udp_config();
249 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp_config()
const;
250 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_udp_config();
253 ::goby::middleware::protobuf::UDPPointToPointConfig*
udp_config);
259 bool _internal_has_tsys01_temperature_report_timeout_seconds()
const;
265 int32_t _internal_tsys01_temperature_report_timeout_seconds()
const;
266 void _internal_set_tsys01_temperature_report_timeout_seconds(int32_t value);
273 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
274 typedef void InternalArenaConstructable_;
275 typedef void DestructorSkippable_;
277 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
278 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
279 ::goby::middleware::protobuf::AppConfig* app_;
280 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
281 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config_;
282 int32_t tsys01_temperature_report_timeout_seconds_;
285 friend struct ::TableStruct_bin_2fdrivers_2ftsys01_5ftemperature_5fsensor_2fconfig_2eproto;
293 #pragma GCC diagnostic push
294 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
299inline bool TSYS01TemperatureSensorDriver::_internal_has_app()
const {
300 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
301 PROTOBUF_ASSUME(!value ||
_impl_.app_ !=
nullptr);
305 return _internal_has_app();
307inline const ::goby::middleware::protobuf::AppConfig& TSYS01TemperatureSensorDriver::_internal_app()
const {
308 const ::goby::middleware::protobuf::AppConfig* p =
_impl_.app_;
309 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&
>(
310 ::goby::middleware::protobuf::_AppConfig_default_instance_);
314 return _internal_app();
317 ::goby::middleware::protobuf::AppConfig*
app) {
318 if (GetArenaForAllocation() ==
nullptr) {
319 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
323 _impl_._has_bits_[0] |= 0x00000001u;
325 _impl_._has_bits_[0] &= ~0x00000001u;
330 _impl_._has_bits_[0] &= ~0x00000001u;
331 ::goby::middleware::protobuf::AppConfig* temp =
_impl_.app_;
333#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
334 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
335 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
336 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
338 if (GetArenaForAllocation() !=
nullptr) {
339 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
346 _impl_._has_bits_[0] &= ~0x00000001u;
347 ::goby::middleware::protobuf::AppConfig* temp =
_impl_.app_;
351inline ::goby::middleware::protobuf::AppConfig* TSYS01TemperatureSensorDriver::_internal_mutable_app() {
352 _impl_._has_bits_[0] |= 0x00000001u;
353 if (
_impl_.app_ ==
nullptr) {
354 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
360 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
365 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
366 if (message_arena ==
nullptr) {
367 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
370 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
371 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
372 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
app));
373 if (message_arena != submessage_arena) {
374 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
375 message_arena,
app, submessage_arena);
377 _impl_._has_bits_[0] |= 0x00000001u;
379 _impl_._has_bits_[0] &= ~0x00000001u;
386inline bool TSYS01TemperatureSensorDriver::_internal_has_interprocess()
const {
387 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
388 PROTOBUF_ASSUME(!value ||
_impl_.interprocess_ !=
nullptr);
392 return _internal_has_interprocess();
394inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TSYS01TemperatureSensorDriver::_internal_interprocess()
const {
395 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p =
_impl_.interprocess_;
396 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&
>(
397 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
401 return _internal_interprocess();
404 ::goby::zeromq::protobuf::InterProcessPortalConfig*
interprocess) {
405 if (GetArenaForAllocation() ==
nullptr) {
406 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
410 _impl_._has_bits_[0] |= 0x00000002u;
412 _impl_._has_bits_[0] &= ~0x00000002u;
417 _impl_._has_bits_[0] &= ~0x00000002u;
418 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp =
_impl_.interprocess_;
419 _impl_.interprocess_ =
nullptr;
420#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
421 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
422 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
423 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
425 if (GetArenaForAllocation() !=
nullptr) {
426 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
433 _impl_._has_bits_[0] &= ~0x00000002u;
434 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp =
_impl_.interprocess_;
435 _impl_.interprocess_ =
nullptr;
438inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TSYS01TemperatureSensorDriver::_internal_mutable_interprocess() {
439 _impl_._has_bits_[0] |= 0x00000002u;
440 if (
_impl_.interprocess_ ==
nullptr) {
441 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
444 return _impl_.interprocess_;
447 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
452 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
453 if (message_arena ==
nullptr) {
454 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
457 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
458 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
459 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
interprocess));
460 if (message_arena != submessage_arena) {
461 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
464 _impl_._has_bits_[0] |= 0x00000002u;
466 _impl_._has_bits_[0] &= ~0x00000002u;
473inline bool TSYS01TemperatureSensorDriver::_internal_has_udp_config()
const {
474 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
475 PROTOBUF_ASSUME(!value ||
_impl_.udp_config_ !=
nullptr);
479 return _internal_has_udp_config();
481inline const ::goby::middleware::protobuf::UDPPointToPointConfig& TSYS01TemperatureSensorDriver::_internal_udp_config()
const {
482 const ::goby::middleware::protobuf::UDPPointToPointConfig* p =
_impl_.udp_config_;
483 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig&
>(
484 ::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
488 return _internal_udp_config();
491 ::goby::middleware::protobuf::UDPPointToPointConfig*
udp_config) {
492 if (GetArenaForAllocation() ==
nullptr) {
493 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.udp_config_);
497 _impl_._has_bits_[0] |= 0x00000004u;
499 _impl_._has_bits_[0] &= ~0x00000004u;
504 _impl_._has_bits_[0] &= ~0x00000004u;
505 ::goby::middleware::protobuf::UDPPointToPointConfig* temp =
_impl_.udp_config_;
506 _impl_.udp_config_ =
nullptr;
507#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
508 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
509 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
510 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
512 if (GetArenaForAllocation() !=
nullptr) {
513 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
520 _impl_._has_bits_[0] &= ~0x00000004u;
521 ::goby::middleware::protobuf::UDPPointToPointConfig* temp =
_impl_.udp_config_;
522 _impl_.udp_config_ =
nullptr;
525inline ::goby::middleware::protobuf::UDPPointToPointConfig* TSYS01TemperatureSensorDriver::_internal_mutable_udp_config() {
526 _impl_._has_bits_[0] |= 0x00000004u;
527 if (
_impl_.udp_config_ ==
nullptr) {
528 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArenaForAllocation());
531 return _impl_.udp_config_;
534 ::goby::middleware::protobuf::UDPPointToPointConfig* _msg = _internal_mutable_udp_config();
539 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
540 if (message_arena ==
nullptr) {
541 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.udp_config_);
544 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
545 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
546 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
udp_config));
547 if (message_arena != submessage_arena) {
548 udp_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
551 _impl_._has_bits_[0] |= 0x00000004u;
553 _impl_._has_bits_[0] &= ~0x00000004u;
560inline bool TSYS01TemperatureSensorDriver::_internal_has_tsys01_temperature_report_timeout_seconds()
const {
561 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
565 return _internal_has_tsys01_temperature_report_timeout_seconds();
568 _impl_.tsys01_temperature_report_timeout_seconds_ = 40;
569 _impl_._has_bits_[0] &= ~0x00000008u;
571inline int32_t TSYS01TemperatureSensorDriver::_internal_tsys01_temperature_report_timeout_seconds()
const {
572 return _impl_.tsys01_temperature_report_timeout_seconds_;
576 return _internal_tsys01_temperature_report_timeout_seconds();
578inline void TSYS01TemperatureSensorDriver::_internal_set_tsys01_temperature_report_timeout_seconds(int32_t value) {
579 _impl_._has_bits_[0] |= 0x00000008u;
580 _impl_.tsys01_temperature_report_timeout_seconds_ = value;
583 _internal_set_tsys01_temperature_report_timeout_seconds(value);
588 #pragma GCC diagnostic pop
598#include <google/protobuf/port_undef.inc>
void unsafe_arena_set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *udp_config)
static const TSYS01TemperatureSensorDriver & default_instance()
void clear_tsys01_temperature_report_timeout_seconds()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
friend void swap(TSYS01TemperatureSensorDriver &a, TSYS01TemperatureSensorDriver &b)
TSYS01TemperatureSensorDriver(TSYS01TemperatureSensorDriver &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ClassData _class_data_
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool has_interprocess() const
static const TSYS01TemperatureSensorDriver * internal_default_instance()
bool IsInitialized() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
size_t ByteSizeLong() const final
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
void set_tsys01_temperature_report_timeout_seconds(int32_t value)
void MergeFrom(const TSYS01TemperatureSensorDriver &from)
static constexpr int kIndexInFileMessages
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NODISCARD::goby::middleware::protobuf::UDPPointToPointConfig * release_udp_config()
~TSYS01TemperatureSensorDriver() override
::goby::middleware::protobuf::UDPPointToPointConfig * mutable_udp_config()
TSYS01TemperatureSensorDriver(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
bool has_udp_config() const
TSYS01TemperatureSensorDriver(const TSYS01TemperatureSensorDriver &from)
PROTOBUF_CONSTEXPR TSYS01TemperatureSensorDriver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
::goby::middleware::protobuf::UDPPointToPointConfig * unsafe_arena_release_udp_config()
::goby::middleware::protobuf::AppConfig * mutable_app()
void Swap(TSYS01TemperatureSensorDriver *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
int32_t tsys01_temperature_report_timeout_seconds() const
const ::goby::middleware::protobuf::AppConfig & app() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::goby::middleware::protobuf::UDPPointToPointConfig & udp_config() const
int GetCachedSize() const final
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
TSYS01TemperatureSensorDriver()
TSYS01TemperatureSensorDriver & operator=(const TSYS01TemperatureSensorDriver &from)
void clear_interprocess()
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
@ kInterprocessFieldNumber
@ kTsys01TemperatureReportTimeoutSecondsFieldNumber
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
TSYS01TemperatureSensorDriver & operator=(TSYS01TemperatureSensorDriver &&from) noexcept
void set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *udp_config)
bool has_tsys01_temperature_report_timeout_seconds() const
TSYS01TemperatureSensorDriver * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void CopyFrom(const TSYS01TemperatureSensorDriver &from)
void UnsafeArenaSwap(TSYS01TemperatureSensorDriver *other)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2ftsys01_5ftemperature_5fsensor_2fconfig_2eproto
TSYS01TemperatureSensorDriverDefaultTypeInternal _TSYS01TemperatureSensorDriver_default_instance_
static const uint32_t offsets[]