JaiaBot  1.20.0
JaiaBot micro-AUV software
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 < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
35 #include "goby/middleware/protobuf/app_config.pb.h"
36 #include "goby/zeromq/protobuf/interprocess_config.pb.h"
37 #include "goby/middleware/protobuf/serial_config.pb.h"
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
42 // @@protoc_insertion_point(includes)
43 #include <google/protobuf/port_def.inc>
44 #define PROTOBUF_INTERNAL_EXPORT_bin_2fdrivers_2fcamera_2fconfig_2eproto
45 PROTOBUF_NAMESPACE_OPEN
46 namespace internal {
47 class AnyMetadata;
48 } // namespace internal
49 PROTOBUF_NAMESPACE_CLOSE
50 
51 // Internal implementation detail -- do not use these members.
53  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
54  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
56  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
60  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
61  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
62 };
63 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2fcamera_2fconfig_2eproto;
64 namespace jaiabot {
65 namespace config {
66 class CameraDriverConfig;
67 class CameraDriverConfigDefaultTypeInternal;
68 extern CameraDriverConfigDefaultTypeInternal _CameraDriverConfig_default_instance_;
69 } // namespace config
70 } // namespace jaiabot
71 PROTOBUF_NAMESPACE_OPEN
72 template<> ::jaiabot::config::CameraDriverConfig* Arena::CreateMaybeMessage<::jaiabot::config::CameraDriverConfig>(Arena*);
73 PROTOBUF_NAMESPACE_CLOSE
74 namespace jaiabot {
75 namespace config {
76 
77 // ===================================================================
78 
79 class CameraDriverConfig PROTOBUF_FINAL :
80  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.CameraDriverConfig) */ {
81  public:
82  inline CameraDriverConfig() : CameraDriverConfig(nullptr) {};
84 
85  CameraDriverConfig(const CameraDriverConfig& from);
86  CameraDriverConfig(CameraDriverConfig&& from) noexcept
87  : CameraDriverConfig() {
88  *this = ::std::move(from);
89  }
90 
91  inline CameraDriverConfig& operator=(const CameraDriverConfig& from) {
92  CopyFrom(from);
93  return *this;
94  }
95  inline CameraDriverConfig& operator=(CameraDriverConfig&& from) noexcept {
96  if (GetArena() == from.GetArena()) {
97  if (this != &from) InternalSwap(&from);
98  } else {
99  CopyFrom(from);
100  }
101  return *this;
102  }
103 
104  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
105  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
106  }
107  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
108  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
109  }
110 
111  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112  return GetDescriptor();
113  }
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115  return GetMetadataStatic().descriptor;
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118  return GetMetadataStatic().reflection;
119  }
120  static const CameraDriverConfig& default_instance();
121 
122  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
123  static inline const CameraDriverConfig* internal_default_instance() {
124  return reinterpret_cast<const CameraDriverConfig*>(
126  }
127  static constexpr int kIndexInFileMessages =
128  0;
129 
130  friend void swap(CameraDriverConfig& a, CameraDriverConfig& b) {
131  a.Swap(&b);
132  }
133  inline void Swap(CameraDriverConfig* other) {
134  if (other == this) return;
135  if (GetArena() == other->GetArena()) {
136  InternalSwap(other);
137  } else {
138  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
139  }
140  }
141  void UnsafeArenaSwap(CameraDriverConfig* other) {
142  if (other == this) return;
143  GOOGLE_DCHECK(GetArena() == other->GetArena());
144  InternalSwap(other);
145  }
146 
147  // implements Message ----------------------------------------------
148 
149  inline CameraDriverConfig* New() const final {
150  return CreateMaybeMessage<CameraDriverConfig>(nullptr);
151  }
152 
153  CameraDriverConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
154  return CreateMaybeMessage<CameraDriverConfig>(arena);
155  }
156  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
157  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
158  void CopyFrom(const CameraDriverConfig& from);
159  void MergeFrom(const CameraDriverConfig& from);
160  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
161  bool IsInitialized() const final;
162 
163  size_t ByteSizeLong() const final;
164  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
165  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
166  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
167  int GetCachedSize() const final { return _cached_size_.Get(); }
168 
169  private:
170  inline void SharedCtor();
171  inline void SharedDtor();
172  void SetCachedSize(int size) const final;
173  void InternalSwap(CameraDriverConfig* other);
174  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
175  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
176  return "jaiabot.config.CameraDriverConfig";
177  }
178  protected:
179  explicit CameraDriverConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  private:
181  static void ArenaDtor(void* object);
182  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183  public:
184 
185  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
186  private:
187  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
188  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_bin_2fdrivers_2fcamera_2fconfig_2eproto);
189  return ::descriptor_table_bin_2fdrivers_2fcamera_2fconfig_2eproto.file_level_metadata[kIndexInFileMessages];
190  }
191 
192  public:
193 
194  // nested types ----------------------------------------------------
195 
196  // accessors -------------------------------------------------------
197 
198  enum : int {
199  kAppFieldNumber = 1,
200  kInterprocessFieldNumber = 2,
201  kSerialCameraFieldNumber = 11,
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  ::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  ::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  // required .goby.middleware.protobuf.SerialConfig serial_camera = 11;
240  bool has_serial_camera() const;
241  private:
242  bool _internal_has_serial_camera() const;
243  public:
245  const ::goby::middleware::protobuf::SerialConfig& serial_camera() const;
246  ::goby::middleware::protobuf::SerialConfig* release_serial_camera();
247  ::goby::middleware::protobuf::SerialConfig* mutable_serial_camera();
248  void set_allocated_serial_camera(::goby::middleware::protobuf::SerialConfig* serial_camera);
249  private:
250  const ::goby::middleware::protobuf::SerialConfig& _internal_serial_camera() const;
251  ::goby::middleware::protobuf::SerialConfig* _internal_mutable_serial_camera();
252  public:
254  ::goby::middleware::protobuf::SerialConfig* serial_camera);
255  ::goby::middleware::protobuf::SerialConfig* unsafe_arena_release_serial_camera();
256 
257  // @@protoc_insertion_point(class_scope:jaiabot.config.CameraDriverConfig)
258  private:
259  class _Internal;
260 
261  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
262  typedef void InternalArenaConstructable_;
263  typedef void DestructorSkippable_;
264  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
265  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
266  ::goby::middleware::protobuf::AppConfig* app_;
267  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
268  ::goby::middleware::protobuf::SerialConfig* serial_camera_;
269  friend struct ::TableStruct_bin_2fdrivers_2fcamera_2fconfig_2eproto;
270 };
271 // ===================================================================
272 
273 
274 // ===================================================================
275 
276 #ifdef __GNUC__
277  #pragma GCC diagnostic push
278  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
279 #endif // __GNUC__
280 // CameraDriverConfig
281 
282 // optional .goby.middleware.protobuf.AppConfig app = 1;
283 inline bool CameraDriverConfig::_internal_has_app() const {
284  bool value = (_has_bits_[0] & 0x00000001u) != 0;
285  PROTOBUF_ASSUME(!value || app_ != nullptr);
286  return value;
287 }
288 inline bool CameraDriverConfig::has_app() const {
289  return _internal_has_app();
290 }
291 inline const ::goby::middleware::protobuf::AppConfig& CameraDriverConfig::_internal_app() const {
292  const ::goby::middleware::protobuf::AppConfig* p = app_;
293  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
294  &::goby::middleware::protobuf::_AppConfig_default_instance_);
295 }
296 inline const ::goby::middleware::protobuf::AppConfig& CameraDriverConfig::app() const {
297  // @@protoc_insertion_point(field_get:jaiabot.config.CameraDriverConfig.app)
298  return _internal_app();
299 }
300 inline void CameraDriverConfig::unsafe_arena_set_allocated_app(
301  ::goby::middleware::protobuf::AppConfig* app) {
302  if (GetArena() == nullptr) {
303  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
304  }
305  app_ = app;
306  if (app) {
307  _has_bits_[0] |= 0x00000001u;
308  } else {
309  _has_bits_[0] &= ~0x00000001u;
310  }
311  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.CameraDriverConfig.app)
312 }
313 inline ::goby::middleware::protobuf::AppConfig* CameraDriverConfig::release_app() {
314  auto temp = unsafe_arena_release_app();
315  if (GetArena() != nullptr) {
316  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
317  }
318  return temp;
319 }
320 inline ::goby::middleware::protobuf::AppConfig* CameraDriverConfig::unsafe_arena_release_app() {
321  // @@protoc_insertion_point(field_release:jaiabot.config.CameraDriverConfig.app)
322  _has_bits_[0] &= ~0x00000001u;
323  ::goby::middleware::protobuf::AppConfig* temp = app_;
324  app_ = nullptr;
325  return temp;
326 }
327 inline ::goby::middleware::protobuf::AppConfig* CameraDriverConfig::_internal_mutable_app() {
328  _has_bits_[0] |= 0x00000001u;
329  if (app_ == nullptr) {
330  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
331  app_ = p;
332  }
333  return app_;
334 }
335 inline ::goby::middleware::protobuf::AppConfig* CameraDriverConfig::mutable_app() {
336  // @@protoc_insertion_point(field_mutable:jaiabot.config.CameraDriverConfig.app)
337  return _internal_mutable_app();
338 }
339 inline void CameraDriverConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
340  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
341  if (message_arena == nullptr) {
342  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
343  }
344  if (app) {
345  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
346  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
347  if (message_arena != submessage_arena) {
348  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
349  message_arena, app, submessage_arena);
350  }
351  _has_bits_[0] |= 0x00000001u;
352  } else {
353  _has_bits_[0] &= ~0x00000001u;
354  }
355  app_ = app;
356  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.CameraDriverConfig.app)
357 }
358 
359 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
360 inline bool CameraDriverConfig::_internal_has_interprocess() const {
361  bool value = (_has_bits_[0] & 0x00000002u) != 0;
362  PROTOBUF_ASSUME(!value || interprocess_ != nullptr);
363  return value;
364 }
365 inline bool CameraDriverConfig::has_interprocess() const {
366  return _internal_has_interprocess();
367 }
368 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CameraDriverConfig::_internal_interprocess() const {
369  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
370  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
371  &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
372 }
373 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CameraDriverConfig::interprocess() const {
374  // @@protoc_insertion_point(field_get:jaiabot.config.CameraDriverConfig.interprocess)
375  return _internal_interprocess();
376 }
377 inline void CameraDriverConfig::unsafe_arena_set_allocated_interprocess(
378  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
379  if (GetArena() == nullptr) {
380  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
381  }
382  interprocess_ = interprocess;
383  if (interprocess) {
384  _has_bits_[0] |= 0x00000002u;
385  } else {
386  _has_bits_[0] &= ~0x00000002u;
387  }
388  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.CameraDriverConfig.interprocess)
389 }
390 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CameraDriverConfig::release_interprocess() {
391  auto temp = unsafe_arena_release_interprocess();
392  if (GetArena() != nullptr) {
393  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
394  }
395  return temp;
396 }
397 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CameraDriverConfig::unsafe_arena_release_interprocess() {
398  // @@protoc_insertion_point(field_release:jaiabot.config.CameraDriverConfig.interprocess)
399  _has_bits_[0] &= ~0x00000002u;
400  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
401  interprocess_ = nullptr;
402  return temp;
403 }
404 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CameraDriverConfig::_internal_mutable_interprocess() {
405  _has_bits_[0] |= 0x00000002u;
406  if (interprocess_ == nullptr) {
407  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
408  interprocess_ = p;
409  }
410  return interprocess_;
411 }
412 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CameraDriverConfig::mutable_interprocess() {
413  // @@protoc_insertion_point(field_mutable:jaiabot.config.CameraDriverConfig.interprocess)
414  return _internal_mutable_interprocess();
415 }
416 inline void CameraDriverConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
417  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
418  if (message_arena == nullptr) {
419  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
420  }
421  if (interprocess) {
422  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
423  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess)->GetArena();
424  if (message_arena != submessage_arena) {
425  interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
426  message_arena, interprocess, submessage_arena);
427  }
428  _has_bits_[0] |= 0x00000002u;
429  } else {
430  _has_bits_[0] &= ~0x00000002u;
431  }
432  interprocess_ = interprocess;
433  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.CameraDriverConfig.interprocess)
434 }
435 
436 // required .goby.middleware.protobuf.SerialConfig serial_camera = 11;
437 inline bool CameraDriverConfig::_internal_has_serial_camera() const {
438  bool value = (_has_bits_[0] & 0x00000004u) != 0;
439  PROTOBUF_ASSUME(!value || serial_camera_ != nullptr);
440  return value;
441 }
442 inline bool CameraDriverConfig::has_serial_camera() const {
443  return _internal_has_serial_camera();
444 }
445 inline const ::goby::middleware::protobuf::SerialConfig& CameraDriverConfig::_internal_serial_camera() const {
446  const ::goby::middleware::protobuf::SerialConfig* p = serial_camera_;
447  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::SerialConfig*>(
448  &::goby::middleware::protobuf::_SerialConfig_default_instance_);
449 }
450 inline const ::goby::middleware::protobuf::SerialConfig& CameraDriverConfig::serial_camera() const {
451  // @@protoc_insertion_point(field_get:jaiabot.config.CameraDriverConfig.serial_camera)
452  return _internal_serial_camera();
453 }
454 inline void CameraDriverConfig::unsafe_arena_set_allocated_serial_camera(
455  ::goby::middleware::protobuf::SerialConfig* serial_camera) {
456  if (GetArena() == nullptr) {
457  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(serial_camera_);
458  }
459  serial_camera_ = serial_camera;
460  if (serial_camera) {
461  _has_bits_[0] |= 0x00000004u;
462  } else {
463  _has_bits_[0] &= ~0x00000004u;
464  }
465  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.CameraDriverConfig.serial_camera)
466 }
467 inline ::goby::middleware::protobuf::SerialConfig* CameraDriverConfig::release_serial_camera() {
468  auto temp = unsafe_arena_release_serial_camera();
469  if (GetArena() != nullptr) {
470  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
471  }
472  return temp;
473 }
474 inline ::goby::middleware::protobuf::SerialConfig* CameraDriverConfig::unsafe_arena_release_serial_camera() {
475  // @@protoc_insertion_point(field_release:jaiabot.config.CameraDriverConfig.serial_camera)
476  _has_bits_[0] &= ~0x00000004u;
477  ::goby::middleware::protobuf::SerialConfig* temp = serial_camera_;
478  serial_camera_ = nullptr;
479  return temp;
480 }
481 inline ::goby::middleware::protobuf::SerialConfig* CameraDriverConfig::_internal_mutable_serial_camera() {
482  _has_bits_[0] |= 0x00000004u;
483  if (serial_camera_ == nullptr) {
484  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::SerialConfig>(GetArena());
485  serial_camera_ = p;
486  }
487  return serial_camera_;
488 }
489 inline ::goby::middleware::protobuf::SerialConfig* CameraDriverConfig::mutable_serial_camera() {
490  // @@protoc_insertion_point(field_mutable:jaiabot.config.CameraDriverConfig.serial_camera)
491  return _internal_mutable_serial_camera();
492 }
493 inline void CameraDriverConfig::set_allocated_serial_camera(::goby::middleware::protobuf::SerialConfig* serial_camera) {
494  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
495  if (message_arena == nullptr) {
496  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(serial_camera_);
497  }
498  if (serial_camera) {
499  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
500  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(serial_camera)->GetArena();
501  if (message_arena != submessage_arena) {
502  serial_camera = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
503  message_arena, serial_camera, submessage_arena);
504  }
505  _has_bits_[0] |= 0x00000004u;
506  } else {
507  _has_bits_[0] &= ~0x00000004u;
508  }
509  serial_camera_ = serial_camera;
510  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.CameraDriverConfig.serial_camera)
511 }
512 
513 #ifdef __GNUC__
514  #pragma GCC diagnostic pop
515 #endif // __GNUC__
516 
517 // @@protoc_insertion_point(namespace_scope)
518 
519 } // namespace config
520 } // namespace jaiabot
521 
522 // @@protoc_insertion_point(global_scope)
523 
524 #include <google/protobuf/port_undef.inc>
525 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fcamera_2fconfig_2eproto
void Swap(CameraDriverConfig *other)
Definition: config.pb.h:133
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: config.pb.h:107
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::goby::middleware::protobuf::AppConfig & app() const
const ::goby::middleware::protobuf::SerialConfig & serial_camera() const
::goby::middleware::protobuf::SerialConfig * unsafe_arena_release_serial_camera()
CameraDriverConfig(const CameraDriverConfig &from)
void unsafe_arena_set_allocated_serial_camera(::goby::middleware::protobuf::SerialConfig *serial_camera)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
friend void swap(CameraDriverConfig &a, CameraDriverConfig &b)
Definition: config.pb.h:130
::goby::middleware::protobuf::AppConfig * release_app()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
CameraDriverConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: config.pb.h:153
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: config.pb.h:117
CameraDriverConfig * New() const final
Definition: config.pb.h:149
void MergeFrom(const CameraDriverConfig &from)
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: config.pb.h:114
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: config.pb.h:104
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
static const CameraDriverConfig & default_instance()
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const CameraDriverConfig &from)
void UnsafeArenaSwap(CameraDriverConfig *other)
Definition: config.pb.h:141
CameraDriverConfig(CameraDriverConfig &&from) noexcept
Definition: config.pb.h:86
void set_allocated_serial_camera(::goby::middleware::protobuf::SerialConfig *serial_camera)
::goby::middleware::protobuf::AppConfig * mutable_app()
::goby::middleware::protobuf::SerialConfig * mutable_serial_camera()
CameraDriverConfig & operator=(const CameraDriverConfig &from)
Definition: config.pb.h:91
CameraDriverConfig & operator=(CameraDriverConfig &&from) noexcept
Definition: config.pb.h:95
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
CameraDriverConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::goby::middleware::protobuf::SerialConfig * release_serial_camera()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: config.pb.h:111
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const CameraDriverConfig * internal_default_instance()
Definition: config.pb.h:123
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2fcamera_2fconfig_2eproto
CameraDriverConfigDefaultTypeInternal _CameraDriverConfig_default_instance_
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::udp::protobuf::Config >, 11, false > config
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: config.pb.h:61
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: config.pb.h:59
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: config.pb.h:60
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)