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/camera/config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fcamera_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fcamera_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/serial_config.pb.h"
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_bin_2fdrivers_2fcamera_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_2fcamera_2fconfig_2eproto;
54namespace jaiabot {
55namespace config {
56class CameraDriverConfig;
57struct CameraDriverConfigDefaultTypeInternal;
58extern CameraDriverConfigDefaultTypeInternal _CameraDriverConfig_default_instance_;
59} // namespace config
60} // namespace jaiabot
61PROTOBUF_NAMESPACE_OPEN
62template<> ::jaiabot::config::CameraDriverConfig* Arena::CreateMaybeMessage<::jaiabot::config::CameraDriverConfig>(Arena*);
63PROTOBUF_NAMESPACE_CLOSE
64namespace jaiabot {
65namespace config {
66
67// ===================================================================
68
69class CameraDriverConfig final :
70 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.CameraDriverConfig) */ {
71 public:
74 explicit PROTOBUF_CONSTEXPR CameraDriverConfig(::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 }
118 }
120 return reinterpret_cast<const CameraDriverConfig*>(
122 }
123 static constexpr int kIndexInFileMessages =
124 0;
125
127 a.Swap(&b);
128 }
129 inline void Swap(CameraDriverConfig* other) {
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 CameraDriverConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
151 return CreateMaybeMessage<CameraDriverConfig>(arena);
152 }
153 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
154 void CopyFrom(const CameraDriverConfig& from);
155 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
156 void MergeFrom( const CameraDriverConfig& from) {
157 CameraDriverConfig::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(CameraDriverConfig* other);
176
177 private:
178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180 return "jaiabot.config.CameraDriverConfig";
181 }
182 protected:
183 explicit CameraDriverConfig(::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 {
200 };
201 // optional .goby.middleware.protobuf.AppConfig app = 1;
202 bool has_app() const;
203 private:
204 bool _internal_has_app() const;
205 public:
206 void clear_app();
207 const ::goby::middleware::protobuf::AppConfig& app() const;
208 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
209 ::goby::middleware::protobuf::AppConfig* mutable_app();
210 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
211 private:
212 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
213 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
214 public:
216 ::goby::middleware::protobuf::AppConfig* app);
217 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
218
219 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
220 bool has_interprocess() const;
221 private:
222 bool _internal_has_interprocess() const;
223 public:
225 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
226 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
227 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
228 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
229 private:
230 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
231 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
232 public:
234 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
235 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
236
237 // required .goby.middleware.protobuf.SerialConfig serial_camera = 11;
238 bool has_serial_camera() const;
239 private:
240 bool _internal_has_serial_camera() const;
241 public:
243 const ::goby::middleware::protobuf::SerialConfig& serial_camera() const;
244 PROTOBUF_NODISCARD ::goby::middleware::protobuf::SerialConfig* release_serial_camera();
245 ::goby::middleware::protobuf::SerialConfig* mutable_serial_camera();
246 void set_allocated_serial_camera(::goby::middleware::protobuf::SerialConfig* serial_camera);
247 private:
248 const ::goby::middleware::protobuf::SerialConfig& _internal_serial_camera() const;
249 ::goby::middleware::protobuf::SerialConfig* _internal_mutable_serial_camera();
250 public:
252 ::goby::middleware::protobuf::SerialConfig* serial_camera);
253 ::goby::middleware::protobuf::SerialConfig* unsafe_arena_release_serial_camera();
254
255 // @@protoc_insertion_point(class_scope:jaiabot.config.CameraDriverConfig)
256 private:
257 class _Internal;
258
259 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
260 typedef void InternalArenaConstructable_;
261 typedef void DestructorSkippable_;
262 struct Impl_ {
263 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
264 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
265 ::goby::middleware::protobuf::AppConfig* app_;
266 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
267 ::goby::middleware::protobuf::SerialConfig* serial_camera_;
268 };
269 union { Impl_ _impl_; };
270 friend struct ::TableStruct_bin_2fdrivers_2fcamera_2fconfig_2eproto;
271};
272// ===================================================================
273
274
275// ===================================================================
276
277#ifdef __GNUC__
278 #pragma GCC diagnostic push
279 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
280#endif // __GNUC__
281// CameraDriverConfig
282
283// optional .goby.middleware.protobuf.AppConfig app = 1;
284inline bool CameraDriverConfig::_internal_has_app() const {
285 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
286 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
287 return value;
288}
289inline bool CameraDriverConfig::has_app() const {
290 return _internal_has_app();
291}
292inline const ::goby::middleware::protobuf::AppConfig& CameraDriverConfig::_internal_app() const {
293 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
294 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
295 ::goby::middleware::protobuf::_AppConfig_default_instance_);
296}
297inline const ::goby::middleware::protobuf::AppConfig& CameraDriverConfig::app() const {
298 // @@protoc_insertion_point(field_get:jaiabot.config.CameraDriverConfig.app)
299 return _internal_app();
300}
302 ::goby::middleware::protobuf::AppConfig* app) {
303 if (GetArenaForAllocation() == nullptr) {
304 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
305 }
306 _impl_.app_ = app;
307 if (app) {
308 _impl_._has_bits_[0] |= 0x00000001u;
309 } else {
310 _impl_._has_bits_[0] &= ~0x00000001u;
311 }
312 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.CameraDriverConfig.app)
313}
314inline ::goby::middleware::protobuf::AppConfig* CameraDriverConfig::release_app() {
315 _impl_._has_bits_[0] &= ~0x00000001u;
316 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
317 _impl_.app_ = nullptr;
318#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
319 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
320 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
321 if (GetArenaForAllocation() == nullptr) { delete old; }
322#else // PROTOBUF_FORCE_COPY_IN_RELEASE
323 if (GetArenaForAllocation() != nullptr) {
324 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
325 }
326#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
327 return temp;
328}
329inline ::goby::middleware::protobuf::AppConfig* CameraDriverConfig::unsafe_arena_release_app() {
330 // @@protoc_insertion_point(field_release:jaiabot.config.CameraDriverConfig.app)
331 _impl_._has_bits_[0] &= ~0x00000001u;
332 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
333 _impl_.app_ = nullptr;
334 return temp;
335}
336inline ::goby::middleware::protobuf::AppConfig* CameraDriverConfig::_internal_mutable_app() {
337 _impl_._has_bits_[0] |= 0x00000001u;
338 if (_impl_.app_ == nullptr) {
339 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
340 _impl_.app_ = p;
341 }
342 return _impl_.app_;
343}
344inline ::goby::middleware::protobuf::AppConfig* CameraDriverConfig::mutable_app() {
345 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
346 // @@protoc_insertion_point(field_mutable:jaiabot.config.CameraDriverConfig.app)
347 return _msg;
348}
349inline void CameraDriverConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
350 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
351 if (message_arena == nullptr) {
352 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
353 }
354 if (app) {
355 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
356 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
357 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
358 if (message_arena != submessage_arena) {
359 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
360 message_arena, app, submessage_arena);
361 }
362 _impl_._has_bits_[0] |= 0x00000001u;
363 } else {
364 _impl_._has_bits_[0] &= ~0x00000001u;
365 }
366 _impl_.app_ = app;
367 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.CameraDriverConfig.app)
368}
369
370// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
371inline bool CameraDriverConfig::_internal_has_interprocess() const {
372 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
373 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
374 return value;
375}
377 return _internal_has_interprocess();
378}
379inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CameraDriverConfig::_internal_interprocess() const {
380 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
381 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
382 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
383}
384inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CameraDriverConfig::interprocess() const {
385 // @@protoc_insertion_point(field_get:jaiabot.config.CameraDriverConfig.interprocess)
386 return _internal_interprocess();
387}
389 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
390 if (GetArenaForAllocation() == nullptr) {
391 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
392 }
393 _impl_.interprocess_ = interprocess;
394 if (interprocess) {
395 _impl_._has_bits_[0] |= 0x00000002u;
396 } else {
397 _impl_._has_bits_[0] &= ~0x00000002u;
398 }
399 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.CameraDriverConfig.interprocess)
400}
401inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CameraDriverConfig::release_interprocess() {
402 _impl_._has_bits_[0] &= ~0x00000002u;
403 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
404 _impl_.interprocess_ = nullptr;
405#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
406 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
407 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
408 if (GetArenaForAllocation() == nullptr) { delete old; }
409#else // PROTOBUF_FORCE_COPY_IN_RELEASE
410 if (GetArenaForAllocation() != nullptr) {
411 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
412 }
413#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
414 return temp;
415}
416inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CameraDriverConfig::unsafe_arena_release_interprocess() {
417 // @@protoc_insertion_point(field_release:jaiabot.config.CameraDriverConfig.interprocess)
418 _impl_._has_bits_[0] &= ~0x00000002u;
419 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
420 _impl_.interprocess_ = nullptr;
421 return temp;
422}
423inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CameraDriverConfig::_internal_mutable_interprocess() {
424 _impl_._has_bits_[0] |= 0x00000002u;
425 if (_impl_.interprocess_ == nullptr) {
426 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
427 _impl_.interprocess_ = p;
428 }
429 return _impl_.interprocess_;
430}
431inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CameraDriverConfig::mutable_interprocess() {
432 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
433 // @@protoc_insertion_point(field_mutable:jaiabot.config.CameraDriverConfig.interprocess)
434 return _msg;
435}
436inline void CameraDriverConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
437 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
438 if (message_arena == nullptr) {
439 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
440 }
441 if (interprocess) {
442 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
443 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
444 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
445 if (message_arena != submessage_arena) {
446 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
447 message_arena, interprocess, submessage_arena);
448 }
449 _impl_._has_bits_[0] |= 0x00000002u;
450 } else {
451 _impl_._has_bits_[0] &= ~0x00000002u;
452 }
453 _impl_.interprocess_ = interprocess;
454 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.CameraDriverConfig.interprocess)
455}
456
457// required .goby.middleware.protobuf.SerialConfig serial_camera = 11;
458inline bool CameraDriverConfig::_internal_has_serial_camera() const {
459 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
460 PROTOBUF_ASSUME(!value || _impl_.serial_camera_ != nullptr);
461 return value;
462}
464 return _internal_has_serial_camera();
465}
466inline const ::goby::middleware::protobuf::SerialConfig& CameraDriverConfig::_internal_serial_camera() const {
467 const ::goby::middleware::protobuf::SerialConfig* p = _impl_.serial_camera_;
468 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::SerialConfig&>(
469 ::goby::middleware::protobuf::_SerialConfig_default_instance_);
470}
471inline const ::goby::middleware::protobuf::SerialConfig& CameraDriverConfig::serial_camera() const {
472 // @@protoc_insertion_point(field_get:jaiabot.config.CameraDriverConfig.serial_camera)
473 return _internal_serial_camera();
474}
476 ::goby::middleware::protobuf::SerialConfig* serial_camera) {
477 if (GetArenaForAllocation() == nullptr) {
478 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.serial_camera_);
479 }
480 _impl_.serial_camera_ = serial_camera;
481 if (serial_camera) {
482 _impl_._has_bits_[0] |= 0x00000004u;
483 } else {
484 _impl_._has_bits_[0] &= ~0x00000004u;
485 }
486 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.CameraDriverConfig.serial_camera)
487}
488inline ::goby::middleware::protobuf::SerialConfig* CameraDriverConfig::release_serial_camera() {
489 _impl_._has_bits_[0] &= ~0x00000004u;
490 ::goby::middleware::protobuf::SerialConfig* temp = _impl_.serial_camera_;
491 _impl_.serial_camera_ = nullptr;
492#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
493 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
494 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
495 if (GetArenaForAllocation() == nullptr) { delete old; }
496#else // PROTOBUF_FORCE_COPY_IN_RELEASE
497 if (GetArenaForAllocation() != nullptr) {
498 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
499 }
500#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
501 return temp;
502}
503inline ::goby::middleware::protobuf::SerialConfig* CameraDriverConfig::unsafe_arena_release_serial_camera() {
504 // @@protoc_insertion_point(field_release:jaiabot.config.CameraDriverConfig.serial_camera)
505 _impl_._has_bits_[0] &= ~0x00000004u;
506 ::goby::middleware::protobuf::SerialConfig* temp = _impl_.serial_camera_;
507 _impl_.serial_camera_ = nullptr;
508 return temp;
509}
510inline ::goby::middleware::protobuf::SerialConfig* CameraDriverConfig::_internal_mutable_serial_camera() {
511 _impl_._has_bits_[0] |= 0x00000004u;
512 if (_impl_.serial_camera_ == nullptr) {
513 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::SerialConfig>(GetArenaForAllocation());
514 _impl_.serial_camera_ = p;
515 }
516 return _impl_.serial_camera_;
517}
518inline ::goby::middleware::protobuf::SerialConfig* CameraDriverConfig::mutable_serial_camera() {
519 ::goby::middleware::protobuf::SerialConfig* _msg = _internal_mutable_serial_camera();
520 // @@protoc_insertion_point(field_mutable:jaiabot.config.CameraDriverConfig.serial_camera)
521 return _msg;
522}
523inline void CameraDriverConfig::set_allocated_serial_camera(::goby::middleware::protobuf::SerialConfig* serial_camera) {
524 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
525 if (message_arena == nullptr) {
526 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.serial_camera_);
527 }
528 if (serial_camera) {
529 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
530 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
531 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(serial_camera));
532 if (message_arena != submessage_arena) {
533 serial_camera = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
534 message_arena, serial_camera, submessage_arena);
535 }
536 _impl_._has_bits_[0] |= 0x00000004u;
537 } else {
538 _impl_._has_bits_[0] &= ~0x00000004u;
539 }
540 _impl_.serial_camera_ = serial_camera;
541 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.CameraDriverConfig.serial_camera)
542}
543
544#ifdef __GNUC__
545 #pragma GCC diagnostic pop
546#endif // __GNUC__
547
548// @@protoc_insertion_point(namespace_scope)
549
550} // namespace config
551} // namespace jaiabot
552
553// @@protoc_insertion_point(global_scope)
554
555#include <google/protobuf/port_undef.inc>
556#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fcamera_2fconfig_2eproto
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition config.pb.h:301
::goby::middleware::protobuf::SerialConfig * unsafe_arena_release_serial_camera()
Definition config.pb.h:503
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
Definition config.pb.h:329
static const CameraDriverConfig & default_instance()
Definition config.pb.h:116
PROTOBUF_CONSTEXPR CameraDriverConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:100
CameraDriverConfig(CameraDriverConfig &&from) noexcept
Definition config.pb.h:77
::goby::middleware::protobuf::SerialConfig * mutable_serial_camera()
Definition config.pb.h:518
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
Definition config.pb.h:416
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(CameraDriverConfig &a, CameraDriverConfig &b)
Definition config.pb.h:126
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Definition config.pb.h:384
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition config.pb.h:349
static const ClassData _class_data_
Definition config.pb.h:187
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:110
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition config.pb.h:388
void MergeFrom(const CameraDriverConfig &from)
Definition config.pb.h:156
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
Definition config.pb.h:314
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition config.pb.h:436
static const CameraDriverConfig * internal_default_instance()
Definition config.pb.h:119
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:103
CameraDriverConfig(const CameraDriverConfig &from)
CameraDriverConfig & operator=(CameraDriverConfig &&from) noexcept
Definition config.pb.h:86
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
size_t ByteSizeLong() const final
void CopyFrom(const CameraDriverConfig &from)
void set_allocated_serial_camera(::goby::middleware::protobuf::SerialConfig *serial_camera)
Definition config.pb.h:523
CameraDriverConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static constexpr int kIndexInFileMessages
Definition config.pb.h:123
const ::goby::middleware::protobuf::AppConfig & app() const
Definition config.pb.h:297
void unsafe_arena_set_allocated_serial_camera(::goby::middleware::protobuf::SerialConfig *serial_camera)
Definition config.pb.h:475
void Swap(CameraDriverConfig *other)
Definition config.pb.h:129
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:113
::goby::middleware::protobuf::AppConfig * mutable_app()
Definition config.pb.h:344
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
Definition config.pb.h:431
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:107
CameraDriverConfig & operator=(const CameraDriverConfig &from)
Definition config.pb.h:82
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
Definition config.pb.h:401
void UnsafeArenaSwap(CameraDriverConfig *other)
Definition config.pb.h:142
const ::goby::middleware::protobuf::SerialConfig & serial_camera() const
Definition config.pb.h:471
PROTOBUF_NODISCARD::goby::middleware::protobuf::SerialConfig * release_serial_camera()
Definition config.pb.h:488
CameraDriverConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:150
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2fcamera_2fconfig_2eproto
CameraDriverConfigDefaultTypeInternal _CameraDriverConfig_default_instance_