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/drivers/tsys01_temperature_sensor/config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2ftsys01_5ftemperature_5fsensor_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2ftsys01_5ftemperature_5fsensor_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>
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>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_bin_2fdrivers_2ftsys01_5ftemperature_5fsensor_2fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
53extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2ftsys01_5ftemperature_5fsensor_2fconfig_2eproto;
54namespace jaiabot {
55namespace config {
56class TSYS01TemperatureSensorDriver;
57struct TSYS01TemperatureSensorDriverDefaultTypeInternal;
58extern TSYS01TemperatureSensorDriverDefaultTypeInternal _TSYS01TemperatureSensorDriver_default_instance_;
59} // namespace config
60} // namespace jaiabot
61PROTOBUF_NAMESPACE_OPEN
62template<> ::jaiabot::config::TSYS01TemperatureSensorDriver* Arena::CreateMaybeMessage<::jaiabot::config::TSYS01TemperatureSensorDriver>(Arena*);
63PROTOBUF_NAMESPACE_CLOSE
64namespace jaiabot {
65namespace config {
66
67// ===================================================================
68
70 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.TSYS01TemperatureSensorDriver) */ {
71 public:
74 explicit PROTOBUF_CONSTEXPR TSYS01TemperatureSensorDriver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
75
79 *this = ::std::move(from);
80 }
81
83 CopyFrom(from);
84 return *this;
85 }
87 if (this == &from) return *this;
88 if (GetOwningArena() == from.GetOwningArena()
89 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
90 && GetOwningArena() != nullptr
91 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
92 ) {
93 InternalSwap(&from);
94 } else {
95 CopyFrom(from);
96 }
97 return *this;
98 }
99
100 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
101 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
102 }
103 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
104 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
105 }
106
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
108 return GetDescriptor();
109 }
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
111 return default_instance().GetMetadata().descriptor;
112 }
113 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
114 return default_instance().GetMetadata().reflection;
115 }
123 static constexpr int kIndexInFileMessages =
124 0;
125
130 if (other == this) return;
131 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
132 if (GetOwningArena() != nullptr &&
133 GetOwningArena() == other->GetOwningArena()) {
134 #else // PROTOBUF_FORCE_COPY_IN_SWAP
135 if (GetOwningArena() == other->GetOwningArena()) {
136 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
137 InternalSwap(other);
138 } else {
139 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
140 }
141 }
143 if (other == this) return;
144 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
145 InternalSwap(other);
146 }
147
148 // implements Message ----------------------------------------------
149
150 TSYS01TemperatureSensorDriver* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
151 return CreateMaybeMessage<TSYS01TemperatureSensorDriver>(arena);
152 }
153 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
155 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
157 TSYS01TemperatureSensorDriver::MergeImpl(*this, from);
158 }
159 private:
160 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
161 public:
162 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
163 bool IsInitialized() const final;
164
165 size_t ByteSizeLong() const final;
166 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
168 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
169 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
170
171 private:
172 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
173 void SharedDtor();
174 void SetCachedSize(int size) const final;
175 void InternalSwap(TSYS01TemperatureSensorDriver* other);
176
177 private:
178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180 return "jaiabot.config.TSYS01TemperatureSensorDriver";
181 }
182 protected:
183 explicit TSYS01TemperatureSensorDriver(::PROTOBUF_NAMESPACE_ID::Arena* arena,
184 bool is_message_owned = false);
185 public:
186
187 static const ClassData _class_data_;
188 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
189
190 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
191
192 // nested types ----------------------------------------------------
193
194 // accessors -------------------------------------------------------
195
196 enum : int {
201 };
202 // optional .goby.middleware.protobuf.AppConfig app = 1;
203 bool has_app() const;
204 private:
205 bool _internal_has_app() const;
206 public:
207 void clear_app();
208 const ::goby::middleware::protobuf::AppConfig& app() const;
209 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
210 ::goby::middleware::protobuf::AppConfig* mutable_app();
211 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
212 private:
213 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
214 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
215 public:
217 ::goby::middleware::protobuf::AppConfig* app);
218 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
219
220 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
221 bool has_interprocess() const;
222 private:
223 bool _internal_has_interprocess() const;
224 public:
226 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
227 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
228 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
229 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
230 private:
231 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
232 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
233 public:
235 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
236 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
237
238 // required .goby.middleware.protobuf.UDPPointToPointConfig udp_config = 3;
239 bool has_udp_config() const;
240 private:
241 bool _internal_has_udp_config() const;
242 public:
244 const ::goby::middleware::protobuf::UDPPointToPointConfig& udp_config() const;
245 PROTOBUF_NODISCARD ::goby::middleware::protobuf::UDPPointToPointConfig* release_udp_config();
246 ::goby::middleware::protobuf::UDPPointToPointConfig* mutable_udp_config();
247 void set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_config);
248 private:
249 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp_config() const;
250 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_udp_config();
251 public:
253 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config);
254 ::goby::middleware::protobuf::UDPPointToPointConfig* unsafe_arena_release_udp_config();
255
256 // optional int32 tsys01_temperature_report_timeout_seconds = 10 [default = 40];
258 private:
259 bool _internal_has_tsys01_temperature_report_timeout_seconds() const;
260 public:
264 private:
265 int32_t _internal_tsys01_temperature_report_timeout_seconds() const;
266 void _internal_set_tsys01_temperature_report_timeout_seconds(int32_t value);
267 public:
268
269 // @@protoc_insertion_point(class_scope:jaiabot.config.TSYS01TemperatureSensorDriver)
270 private:
271 class _Internal;
272
273 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
274 typedef void InternalArenaConstructable_;
275 typedef void DestructorSkippable_;
276 struct Impl_ {
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_;
283 };
284 union { Impl_ _impl_; };
285 friend struct ::TableStruct_bin_2fdrivers_2ftsys01_5ftemperature_5fsensor_2fconfig_2eproto;
286};
287// ===================================================================
288
289
290// ===================================================================
291
292#ifdef __GNUC__
293 #pragma GCC diagnostic push
294 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
295#endif // __GNUC__
296// TSYS01TemperatureSensorDriver
297
298// optional .goby.middleware.protobuf.AppConfig app = 1;
299inline bool TSYS01TemperatureSensorDriver::_internal_has_app() const {
300 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
301 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
302 return value;
303}
305 return _internal_has_app();
306}
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_);
311}
312inline const ::goby::middleware::protobuf::AppConfig& TSYS01TemperatureSensorDriver::app() const {
313 // @@protoc_insertion_point(field_get:jaiabot.config.TSYS01TemperatureSensorDriver.app)
314 return _internal_app();
315}
317 ::goby::middleware::protobuf::AppConfig* app) {
318 if (GetArenaForAllocation() == nullptr) {
319 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
320 }
321 _impl_.app_ = app;
322 if (app) {
323 _impl_._has_bits_[0] |= 0x00000001u;
324 } else {
325 _impl_._has_bits_[0] &= ~0x00000001u;
326 }
327 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.TSYS01TemperatureSensorDriver.app)
328}
329inline ::goby::middleware::protobuf::AppConfig* TSYS01TemperatureSensorDriver::release_app() {
330 _impl_._has_bits_[0] &= ~0x00000001u;
331 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
332 _impl_.app_ = nullptr;
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; }
337#else // PROTOBUF_FORCE_COPY_IN_RELEASE
338 if (GetArenaForAllocation() != nullptr) {
339 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
340 }
341#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
342 return temp;
343}
344inline ::goby::middleware::protobuf::AppConfig* TSYS01TemperatureSensorDriver::unsafe_arena_release_app() {
345 // @@protoc_insertion_point(field_release:jaiabot.config.TSYS01TemperatureSensorDriver.app)
346 _impl_._has_bits_[0] &= ~0x00000001u;
347 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
348 _impl_.app_ = nullptr;
349 return temp;
350}
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());
355 _impl_.app_ = p;
356 }
357 return _impl_.app_;
358}
359inline ::goby::middleware::protobuf::AppConfig* TSYS01TemperatureSensorDriver::mutable_app() {
360 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
361 // @@protoc_insertion_point(field_mutable:jaiabot.config.TSYS01TemperatureSensorDriver.app)
362 return _msg;
363}
364inline void TSYS01TemperatureSensorDriver::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
365 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
366 if (message_arena == nullptr) {
367 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
368 }
369 if (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);
376 }
377 _impl_._has_bits_[0] |= 0x00000001u;
378 } else {
379 _impl_._has_bits_[0] &= ~0x00000001u;
380 }
381 _impl_.app_ = app;
382 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.TSYS01TemperatureSensorDriver.app)
383}
384
385// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
386inline bool TSYS01TemperatureSensorDriver::_internal_has_interprocess() const {
387 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
388 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
389 return value;
390}
392 return _internal_has_interprocess();
393}
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_);
398}
399inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TSYS01TemperatureSensorDriver::interprocess() const {
400 // @@protoc_insertion_point(field_get:jaiabot.config.TSYS01TemperatureSensorDriver.interprocess)
401 return _internal_interprocess();
402}
404 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
405 if (GetArenaForAllocation() == nullptr) {
406 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
407 }
408 _impl_.interprocess_ = interprocess;
409 if (interprocess) {
410 _impl_._has_bits_[0] |= 0x00000002u;
411 } else {
412 _impl_._has_bits_[0] &= ~0x00000002u;
413 }
414 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.TSYS01TemperatureSensorDriver.interprocess)
415}
416inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TSYS01TemperatureSensorDriver::release_interprocess() {
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; }
424#else // PROTOBUF_FORCE_COPY_IN_RELEASE
425 if (GetArenaForAllocation() != nullptr) {
426 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
427 }
428#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
429 return temp;
430}
431inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TSYS01TemperatureSensorDriver::unsafe_arena_release_interprocess() {
432 // @@protoc_insertion_point(field_release:jaiabot.config.TSYS01TemperatureSensorDriver.interprocess)
433 _impl_._has_bits_[0] &= ~0x00000002u;
434 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
435 _impl_.interprocess_ = nullptr;
436 return temp;
437}
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());
442 _impl_.interprocess_ = p;
443 }
444 return _impl_.interprocess_;
445}
446inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TSYS01TemperatureSensorDriver::mutable_interprocess() {
447 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
448 // @@protoc_insertion_point(field_mutable:jaiabot.config.TSYS01TemperatureSensorDriver.interprocess)
449 return _msg;
450}
451inline void TSYS01TemperatureSensorDriver::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
452 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
453 if (message_arena == nullptr) {
454 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
455 }
456 if (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(
462 message_arena, interprocess, submessage_arena);
463 }
464 _impl_._has_bits_[0] |= 0x00000002u;
465 } else {
466 _impl_._has_bits_[0] &= ~0x00000002u;
467 }
468 _impl_.interprocess_ = interprocess;
469 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.TSYS01TemperatureSensorDriver.interprocess)
470}
471
472// required .goby.middleware.protobuf.UDPPointToPointConfig udp_config = 3;
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);
476 return value;
477}
479 return _internal_has_udp_config();
480}
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_);
485}
486inline const ::goby::middleware::protobuf::UDPPointToPointConfig& TSYS01TemperatureSensorDriver::udp_config() const {
487 // @@protoc_insertion_point(field_get:jaiabot.config.TSYS01TemperatureSensorDriver.udp_config)
488 return _internal_udp_config();
489}
491 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config) {
492 if (GetArenaForAllocation() == nullptr) {
493 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.udp_config_);
494 }
495 _impl_.udp_config_ = udp_config;
496 if (udp_config) {
497 _impl_._has_bits_[0] |= 0x00000004u;
498 } else {
499 _impl_._has_bits_[0] &= ~0x00000004u;
500 }
501 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.TSYS01TemperatureSensorDriver.udp_config)
502}
503inline ::goby::middleware::protobuf::UDPPointToPointConfig* TSYS01TemperatureSensorDriver::release_udp_config() {
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; }
511#else // PROTOBUF_FORCE_COPY_IN_RELEASE
512 if (GetArenaForAllocation() != nullptr) {
513 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
514 }
515#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
516 return temp;
517}
518inline ::goby::middleware::protobuf::UDPPointToPointConfig* TSYS01TemperatureSensorDriver::unsafe_arena_release_udp_config() {
519 // @@protoc_insertion_point(field_release:jaiabot.config.TSYS01TemperatureSensorDriver.udp_config)
520 _impl_._has_bits_[0] &= ~0x00000004u;
521 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.udp_config_;
522 _impl_.udp_config_ = nullptr;
523 return temp;
524}
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());
529 _impl_.udp_config_ = p;
530 }
531 return _impl_.udp_config_;
532}
533inline ::goby::middleware::protobuf::UDPPointToPointConfig* TSYS01TemperatureSensorDriver::mutable_udp_config() {
534 ::goby::middleware::protobuf::UDPPointToPointConfig* _msg = _internal_mutable_udp_config();
535 // @@protoc_insertion_point(field_mutable:jaiabot.config.TSYS01TemperatureSensorDriver.udp_config)
536 return _msg;
537}
538inline void TSYS01TemperatureSensorDriver::set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* 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_);
542 }
543 if (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(
549 message_arena, udp_config, submessage_arena);
550 }
551 _impl_._has_bits_[0] |= 0x00000004u;
552 } else {
553 _impl_._has_bits_[0] &= ~0x00000004u;
554 }
555 _impl_.udp_config_ = udp_config;
556 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.TSYS01TemperatureSensorDriver.udp_config)
557}
558
559// optional int32 tsys01_temperature_report_timeout_seconds = 10 [default = 40];
560inline bool TSYS01TemperatureSensorDriver::_internal_has_tsys01_temperature_report_timeout_seconds() const {
561 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
562 return value;
563}
565 return _internal_has_tsys01_temperature_report_timeout_seconds();
566}
568 _impl_.tsys01_temperature_report_timeout_seconds_ = 40;
569 _impl_._has_bits_[0] &= ~0x00000008u;
570}
571inline int32_t TSYS01TemperatureSensorDriver::_internal_tsys01_temperature_report_timeout_seconds() const {
572 return _impl_.tsys01_temperature_report_timeout_seconds_;
573}
575 // @@protoc_insertion_point(field_get:jaiabot.config.TSYS01TemperatureSensorDriver.tsys01_temperature_report_timeout_seconds)
576 return _internal_tsys01_temperature_report_timeout_seconds();
577}
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;
581}
583 _internal_set_tsys01_temperature_report_timeout_seconds(value);
584 // @@protoc_insertion_point(field_set:jaiabot.config.TSYS01TemperatureSensorDriver.tsys01_temperature_report_timeout_seconds)
585}
586
587#ifdef __GNUC__
588 #pragma GCC diagnostic pop
589#endif // __GNUC__
590
591// @@protoc_insertion_point(namespace_scope)
592
593} // namespace config
594} // namespace jaiabot
595
596// @@protoc_insertion_point(global_scope)
597
598#include <google/protobuf/port_undef.inc>
599#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2ftsys01_5ftemperature_5fsensor_2fconfig_2eproto
void unsafe_arena_set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *udp_config)
Definition config.pb.h:490
static const TSYS01TemperatureSensorDriver & default_instance()
Definition config.pb.h:116
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Definition config.pb.h:399
friend void swap(TSYS01TemperatureSensorDriver &a, TSYS01TemperatureSensorDriver &b)
Definition config.pb.h:126
TSYS01TemperatureSensorDriver(TSYS01TemperatureSensorDriver &&from) noexcept
Definition config.pb.h:77
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:107
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:103
static const TSYS01TemperatureSensorDriver * internal_default_instance()
Definition config.pb.h:119
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
Definition config.pb.h:431
void set_tsys01_temperature_report_timeout_seconds(int32_t value)
Definition config.pb.h:582
void MergeFrom(const TSYS01TemperatureSensorDriver &from)
Definition config.pb.h:156
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
Definition config.pb.h:329
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:110
PROTOBUF_NODISCARD::goby::middleware::protobuf::UDPPointToPointConfig * release_udp_config()
Definition config.pb.h:503
::goby::middleware::protobuf::UDPPointToPointConfig * mutable_udp_config()
Definition config.pb.h:533
TSYS01TemperatureSensorDriver(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
Definition config.pb.h:446
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition config.pb.h:364
TSYS01TemperatureSensorDriver(const TSYS01TemperatureSensorDriver &from)
PROTOBUF_CONSTEXPR TSYS01TemperatureSensorDriver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:113
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
Definition config.pb.h:416
::goby::middleware::protobuf::UDPPointToPointConfig * unsafe_arena_release_udp_config()
Definition config.pb.h:518
::goby::middleware::protobuf::AppConfig * mutable_app()
Definition config.pb.h:359
void Swap(TSYS01TemperatureSensorDriver *other)
Definition config.pb.h:129
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::goby::middleware::protobuf::AppConfig & app() const
Definition config.pb.h:312
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::goby::middleware::protobuf::UDPPointToPointConfig & udp_config() const
Definition config.pb.h:486
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition config.pb.h:403
TSYS01TemperatureSensorDriver & operator=(const TSYS01TemperatureSensorDriver &from)
Definition config.pb.h:82
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition config.pb.h:451
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:100
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition config.pb.h:316
TSYS01TemperatureSensorDriver & operator=(TSYS01TemperatureSensorDriver &&from) noexcept
Definition config.pb.h:86
void set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *udp_config)
Definition config.pb.h:538
TSYS01TemperatureSensorDriver * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:150
void CopyFrom(const TSYS01TemperatureSensorDriver &from)
void UnsafeArenaSwap(TSYS01TemperatureSensorDriver *other)
Definition config.pb.h:142
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
Definition config.pb.h:344
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2ftsys01_5ftemperature_5fsensor_2fconfig_2eproto
TSYS01TemperatureSensorDriverDefaultTypeInternal _TSYS01TemperatureSensorDriver_default_instance_