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