JaiaBot  1.19.0
JaiaBot micro-AUV software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: bin/drivers/bluerobotics_pressure_sensor/config.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fbluerobotics_5fpressure_5fsensor_2fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fbluerobotics_5fpressure_5fsensor_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/udp_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_2fbluerobotics_5fpressure_5fsensor_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_2fbluerobotics_5fpressure_5fsensor_2fconfig_2eproto;
64 namespace jaiabot {
65 namespace config {
66 class BlueRoboticsPressureSensorDriver;
67 class BlueRoboticsPressureSensorDriverDefaultTypeInternal;
68 extern BlueRoboticsPressureSensorDriverDefaultTypeInternal _BlueRoboticsPressureSensorDriver_default_instance_;
69 } // namespace config
70 } // namespace jaiabot
71 PROTOBUF_NAMESPACE_OPEN
72 template<> ::jaiabot::config::BlueRoboticsPressureSensorDriver* Arena::CreateMaybeMessage<::jaiabot::config::BlueRoboticsPressureSensorDriver>(Arena*);
73 PROTOBUF_NAMESPACE_CLOSE
74 namespace jaiabot {
75 namespace config {
76 
77 // ===================================================================
78 
79 class BlueRoboticsPressureSensorDriver PROTOBUF_FINAL :
80  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.BlueRoboticsPressureSensorDriver) */ {
81  public:
82  inline BlueRoboticsPressureSensorDriver() : BlueRoboticsPressureSensorDriver(nullptr) {};
84 
85  BlueRoboticsPressureSensorDriver(const BlueRoboticsPressureSensorDriver& from);
86  BlueRoboticsPressureSensorDriver(BlueRoboticsPressureSensorDriver&& from) noexcept
87  : BlueRoboticsPressureSensorDriver() {
88  *this = ::std::move(from);
89  }
90 
91  inline BlueRoboticsPressureSensorDriver& operator=(const BlueRoboticsPressureSensorDriver& from) {
92  CopyFrom(from);
93  return *this;
94  }
95  inline BlueRoboticsPressureSensorDriver& operator=(BlueRoboticsPressureSensorDriver&& 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 BlueRoboticsPressureSensorDriver& default_instance();
121 
122  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
123  static inline const BlueRoboticsPressureSensorDriver* internal_default_instance() {
124  return reinterpret_cast<const BlueRoboticsPressureSensorDriver*>(
126  }
127  static constexpr int kIndexInFileMessages =
128  0;
129 
130  friend void swap(BlueRoboticsPressureSensorDriver& a, BlueRoboticsPressureSensorDriver& b) {
131  a.Swap(&b);
132  }
133  inline void Swap(BlueRoboticsPressureSensorDriver* 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(BlueRoboticsPressureSensorDriver* other) {
142  if (other == this) return;
143  GOOGLE_DCHECK(GetArena() == other->GetArena());
144  InternalSwap(other);
145  }
146 
147  // implements Message ----------------------------------------------
148 
149  inline BlueRoboticsPressureSensorDriver* New() const final {
150  return CreateMaybeMessage<BlueRoboticsPressureSensorDriver>(nullptr);
151  }
152 
153  BlueRoboticsPressureSensorDriver* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
154  return CreateMaybeMessage<BlueRoboticsPressureSensorDriver>(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 BlueRoboticsPressureSensorDriver& from);
159  void MergeFrom(const BlueRoboticsPressureSensorDriver& 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(BlueRoboticsPressureSensorDriver* other);
174  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
175  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
176  return "jaiabot.config.BlueRoboticsPressureSensorDriver";
177  }
178  protected:
179  explicit BlueRoboticsPressureSensorDriver(::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_2fbluerobotics_5fpressure_5fsensor_2fconfig_2eproto);
190  }
191 
192  public:
193 
194  // nested types ----------------------------------------------------
195 
196  // accessors -------------------------------------------------------
197 
198  enum : int {
199  kAppFieldNumber = 1,
200  kInterprocessFieldNumber = 2,
201  kUdpConfigFieldNumber = 3,
202  kBlueRoboticsPressureReportTimeoutSecondsFieldNumber = 10,
203  kBlueRoboticsPressureReportInSimulationFieldNumber = 11,
204  };
205  // optional .goby.middleware.protobuf.AppConfig app = 1;
206  bool has_app() const;
207  private:
208  bool _internal_has_app() const;
209  public:
210  void clear_app();
211  const ::goby::middleware::protobuf::AppConfig& app() const;
212  ::goby::middleware::protobuf::AppConfig* release_app();
213  ::goby::middleware::protobuf::AppConfig* mutable_app();
214  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
215  private:
216  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
217  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
218  public:
220  ::goby::middleware::protobuf::AppConfig* app);
221  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
222 
223  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
224  bool has_interprocess() const;
225  private:
226  bool _internal_has_interprocess() const;
227  public:
229  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
230  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
231  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
232  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
233  private:
234  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
235  ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
236  public:
238  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
239  ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
240 
241  // required .goby.middleware.protobuf.UDPPointToPointConfig udp_config = 3;
242  bool has_udp_config() const;
243  private:
244  bool _internal_has_udp_config() const;
245  public:
247  const ::goby::middleware::protobuf::UDPPointToPointConfig& udp_config() const;
248  ::goby::middleware::protobuf::UDPPointToPointConfig* release_udp_config();
249  ::goby::middleware::protobuf::UDPPointToPointConfig* mutable_udp_config();
250  void set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_config);
251  private:
252  const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp_config() const;
253  ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_udp_config();
254  public:
256  ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config);
257  ::goby::middleware::protobuf::UDPPointToPointConfig* unsafe_arena_release_udp_config();
258 
259  // optional int32 blue_robotics_pressure_report_timeout_seconds = 10 [default = 40];
261  private:
262  bool _internal_has_blue_robotics_pressure_report_timeout_seconds() const;
263  public:
265  ::PROTOBUF_NAMESPACE_ID::int32 blue_robotics_pressure_report_timeout_seconds() const;
266  void set_blue_robotics_pressure_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
267  private:
268  ::PROTOBUF_NAMESPACE_ID::int32 _internal_blue_robotics_pressure_report_timeout_seconds() const;
269  void _internal_set_blue_robotics_pressure_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
270  public:
271 
272  // optional bool blue_robotics_pressure_report_in_simulation = 11 [default = true];
274  private:
275  bool _internal_has_blue_robotics_pressure_report_in_simulation() const;
276  public:
280  private:
281  bool _internal_blue_robotics_pressure_report_in_simulation() const;
282  void _internal_set_blue_robotics_pressure_report_in_simulation(bool value);
283  public:
284 
285  // @@protoc_insertion_point(class_scope:jaiabot.config.BlueRoboticsPressureSensorDriver)
286  private:
287  class _Internal;
288 
289  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
290  typedef void InternalArenaConstructable_;
291  typedef void DestructorSkippable_;
292  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
293  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
294  ::goby::middleware::protobuf::AppConfig* app_;
295  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
296  ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config_;
297  ::PROTOBUF_NAMESPACE_ID::int32 blue_robotics_pressure_report_timeout_seconds_;
298  bool blue_robotics_pressure_report_in_simulation_;
299  friend struct ::TableStruct_bin_2fdrivers_2fbluerobotics_5fpressure_5fsensor_2fconfig_2eproto;
300 };
301 // ===================================================================
302 
303 
304 // ===================================================================
305 
306 #ifdef __GNUC__
307  #pragma GCC diagnostic push
308  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
309 #endif // __GNUC__
310 // BlueRoboticsPressureSensorDriver
311 
312 // optional .goby.middleware.protobuf.AppConfig app = 1;
313 inline bool BlueRoboticsPressureSensorDriver::_internal_has_app() const {
314  bool value = (_has_bits_[0] & 0x00000001u) != 0;
315  PROTOBUF_ASSUME(!value || app_ != nullptr);
316  return value;
317 }
318 inline bool BlueRoboticsPressureSensorDriver::has_app() const {
319  return _internal_has_app();
320 }
321 inline const ::goby::middleware::protobuf::AppConfig& BlueRoboticsPressureSensorDriver::_internal_app() const {
322  const ::goby::middleware::protobuf::AppConfig* p = app_;
323  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
324  &::goby::middleware::protobuf::_AppConfig_default_instance_);
325 }
326 inline const ::goby::middleware::protobuf::AppConfig& BlueRoboticsPressureSensorDriver::app() const {
327  // @@protoc_insertion_point(field_get:jaiabot.config.BlueRoboticsPressureSensorDriver.app)
328  return _internal_app();
329 }
330 inline void BlueRoboticsPressureSensorDriver::unsafe_arena_set_allocated_app(
331  ::goby::middleware::protobuf::AppConfig* app) {
332  if (GetArena() == nullptr) {
333  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
334  }
335  app_ = app;
336  if (app) {
337  _has_bits_[0] |= 0x00000001u;
338  } else {
339  _has_bits_[0] &= ~0x00000001u;
340  }
341  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.BlueRoboticsPressureSensorDriver.app)
342 }
343 inline ::goby::middleware::protobuf::AppConfig* BlueRoboticsPressureSensorDriver::release_app() {
344  auto temp = unsafe_arena_release_app();
345  if (GetArena() != nullptr) {
346  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
347  }
348  return temp;
349 }
350 inline ::goby::middleware::protobuf::AppConfig* BlueRoboticsPressureSensorDriver::unsafe_arena_release_app() {
351  // @@protoc_insertion_point(field_release:jaiabot.config.BlueRoboticsPressureSensorDriver.app)
352  _has_bits_[0] &= ~0x00000001u;
353  ::goby::middleware::protobuf::AppConfig* temp = app_;
354  app_ = nullptr;
355  return temp;
356 }
357 inline ::goby::middleware::protobuf::AppConfig* BlueRoboticsPressureSensorDriver::_internal_mutable_app() {
358  _has_bits_[0] |= 0x00000001u;
359  if (app_ == nullptr) {
360  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
361  app_ = p;
362  }
363  return app_;
364 }
365 inline ::goby::middleware::protobuf::AppConfig* BlueRoboticsPressureSensorDriver::mutable_app() {
366  // @@protoc_insertion_point(field_mutable:jaiabot.config.BlueRoboticsPressureSensorDriver.app)
367  return _internal_mutable_app();
368 }
369 inline void BlueRoboticsPressureSensorDriver::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
370  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
371  if (message_arena == nullptr) {
372  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
373  }
374  if (app) {
375  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
376  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
377  if (message_arena != submessage_arena) {
378  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
379  message_arena, app, submessage_arena);
380  }
381  _has_bits_[0] |= 0x00000001u;
382  } else {
383  _has_bits_[0] &= ~0x00000001u;
384  }
385  app_ = app;
386  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.BlueRoboticsPressureSensorDriver.app)
387 }
388 
389 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
390 inline bool BlueRoboticsPressureSensorDriver::_internal_has_interprocess() const {
391  bool value = (_has_bits_[0] & 0x00000002u) != 0;
392  PROTOBUF_ASSUME(!value || interprocess_ != nullptr);
393  return value;
394 }
395 inline bool BlueRoboticsPressureSensorDriver::has_interprocess() const {
396  return _internal_has_interprocess();
397 }
398 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& BlueRoboticsPressureSensorDriver::_internal_interprocess() const {
399  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
400  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
401  &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
402 }
403 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& BlueRoboticsPressureSensorDriver::interprocess() const {
404  // @@protoc_insertion_point(field_get:jaiabot.config.BlueRoboticsPressureSensorDriver.interprocess)
405  return _internal_interprocess();
406 }
407 inline void BlueRoboticsPressureSensorDriver::unsafe_arena_set_allocated_interprocess(
408  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
409  if (GetArena() == nullptr) {
410  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
411  }
412  interprocess_ = interprocess;
413  if (interprocess) {
414  _has_bits_[0] |= 0x00000002u;
415  } else {
416  _has_bits_[0] &= ~0x00000002u;
417  }
418  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.BlueRoboticsPressureSensorDriver.interprocess)
419 }
420 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* BlueRoboticsPressureSensorDriver::release_interprocess() {
421  auto temp = unsafe_arena_release_interprocess();
422  if (GetArena() != nullptr) {
423  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
424  }
425  return temp;
426 }
427 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* BlueRoboticsPressureSensorDriver::unsafe_arena_release_interprocess() {
428  // @@protoc_insertion_point(field_release:jaiabot.config.BlueRoboticsPressureSensorDriver.interprocess)
429  _has_bits_[0] &= ~0x00000002u;
430  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
431  interprocess_ = nullptr;
432  return temp;
433 }
434 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* BlueRoboticsPressureSensorDriver::_internal_mutable_interprocess() {
435  _has_bits_[0] |= 0x00000002u;
436  if (interprocess_ == nullptr) {
437  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
438  interprocess_ = p;
439  }
440  return interprocess_;
441 }
442 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* BlueRoboticsPressureSensorDriver::mutable_interprocess() {
443  // @@protoc_insertion_point(field_mutable:jaiabot.config.BlueRoboticsPressureSensorDriver.interprocess)
444  return _internal_mutable_interprocess();
445 }
446 inline void BlueRoboticsPressureSensorDriver::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
447  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
448  if (message_arena == nullptr) {
449  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
450  }
451  if (interprocess) {
452  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
453  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess)->GetArena();
454  if (message_arena != submessage_arena) {
455  interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
456  message_arena, interprocess, submessage_arena);
457  }
458  _has_bits_[0] |= 0x00000002u;
459  } else {
460  _has_bits_[0] &= ~0x00000002u;
461  }
462  interprocess_ = interprocess;
463  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.BlueRoboticsPressureSensorDriver.interprocess)
464 }
465 
466 // required .goby.middleware.protobuf.UDPPointToPointConfig udp_config = 3;
467 inline bool BlueRoboticsPressureSensorDriver::_internal_has_udp_config() const {
468  bool value = (_has_bits_[0] & 0x00000004u) != 0;
469  PROTOBUF_ASSUME(!value || udp_config_ != nullptr);
470  return value;
471 }
472 inline bool BlueRoboticsPressureSensorDriver::has_udp_config() const {
473  return _internal_has_udp_config();
474 }
475 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& BlueRoboticsPressureSensorDriver::_internal_udp_config() const {
476  const ::goby::middleware::protobuf::UDPPointToPointConfig* p = udp_config_;
477  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig*>(
478  &::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
479 }
480 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& BlueRoboticsPressureSensorDriver::udp_config() const {
481  // @@protoc_insertion_point(field_get:jaiabot.config.BlueRoboticsPressureSensorDriver.udp_config)
482  return _internal_udp_config();
483 }
484 inline void BlueRoboticsPressureSensorDriver::unsafe_arena_set_allocated_udp_config(
485  ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config) {
486  if (GetArena() == nullptr) {
487  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(udp_config_);
488  }
489  udp_config_ = udp_config;
490  if (udp_config) {
491  _has_bits_[0] |= 0x00000004u;
492  } else {
493  _has_bits_[0] &= ~0x00000004u;
494  }
495  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.BlueRoboticsPressureSensorDriver.udp_config)
496 }
497 inline ::goby::middleware::protobuf::UDPPointToPointConfig* BlueRoboticsPressureSensorDriver::release_udp_config() {
498  auto temp = unsafe_arena_release_udp_config();
499  if (GetArena() != nullptr) {
500  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
501  }
502  return temp;
503 }
504 inline ::goby::middleware::protobuf::UDPPointToPointConfig* BlueRoboticsPressureSensorDriver::unsafe_arena_release_udp_config() {
505  // @@protoc_insertion_point(field_release:jaiabot.config.BlueRoboticsPressureSensorDriver.udp_config)
506  _has_bits_[0] &= ~0x00000004u;
507  ::goby::middleware::protobuf::UDPPointToPointConfig* temp = udp_config_;
508  udp_config_ = nullptr;
509  return temp;
510 }
511 inline ::goby::middleware::protobuf::UDPPointToPointConfig* BlueRoboticsPressureSensorDriver::_internal_mutable_udp_config() {
512  _has_bits_[0] |= 0x00000004u;
513  if (udp_config_ == nullptr) {
514  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArena());
515  udp_config_ = p;
516  }
517  return udp_config_;
518 }
519 inline ::goby::middleware::protobuf::UDPPointToPointConfig* BlueRoboticsPressureSensorDriver::mutable_udp_config() {
520  // @@protoc_insertion_point(field_mutable:jaiabot.config.BlueRoboticsPressureSensorDriver.udp_config)
521  return _internal_mutable_udp_config();
522 }
523 inline void BlueRoboticsPressureSensorDriver::set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_config) {
524  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
525  if (message_arena == nullptr) {
526  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(udp_config_);
527  }
528  if (udp_config) {
529  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
530  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(udp_config)->GetArena();
531  if (message_arena != submessage_arena) {
532  udp_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
533  message_arena, udp_config, submessage_arena);
534  }
535  _has_bits_[0] |= 0x00000004u;
536  } else {
537  _has_bits_[0] &= ~0x00000004u;
538  }
539  udp_config_ = udp_config;
540  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.BlueRoboticsPressureSensorDriver.udp_config)
541 }
542 
543 // optional int32 blue_robotics_pressure_report_timeout_seconds = 10 [default = 40];
544 inline bool BlueRoboticsPressureSensorDriver::_internal_has_blue_robotics_pressure_report_timeout_seconds() const {
545  bool value = (_has_bits_[0] & 0x00000008u) != 0;
546  return value;
547 }
548 inline bool BlueRoboticsPressureSensorDriver::has_blue_robotics_pressure_report_timeout_seconds() const {
549  return _internal_has_blue_robotics_pressure_report_timeout_seconds();
550 }
551 inline void BlueRoboticsPressureSensorDriver::clear_blue_robotics_pressure_report_timeout_seconds() {
552  blue_robotics_pressure_report_timeout_seconds_ = 40;
553  _has_bits_[0] &= ~0x00000008u;
554 }
555 inline ::PROTOBUF_NAMESPACE_ID::int32 BlueRoboticsPressureSensorDriver::_internal_blue_robotics_pressure_report_timeout_seconds() const {
556  return blue_robotics_pressure_report_timeout_seconds_;
557 }
558 inline ::PROTOBUF_NAMESPACE_ID::int32 BlueRoboticsPressureSensorDriver::blue_robotics_pressure_report_timeout_seconds() const {
559  // @@protoc_insertion_point(field_get:jaiabot.config.BlueRoboticsPressureSensorDriver.blue_robotics_pressure_report_timeout_seconds)
560  return _internal_blue_robotics_pressure_report_timeout_seconds();
561 }
562 inline void BlueRoboticsPressureSensorDriver::_internal_set_blue_robotics_pressure_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
563  _has_bits_[0] |= 0x00000008u;
564  blue_robotics_pressure_report_timeout_seconds_ = value;
565 }
566 inline void BlueRoboticsPressureSensorDriver::set_blue_robotics_pressure_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
567  _internal_set_blue_robotics_pressure_report_timeout_seconds(value);
568  // @@protoc_insertion_point(field_set:jaiabot.config.BlueRoboticsPressureSensorDriver.blue_robotics_pressure_report_timeout_seconds)
569 }
570 
571 // optional bool blue_robotics_pressure_report_in_simulation = 11 [default = true];
572 inline bool BlueRoboticsPressureSensorDriver::_internal_has_blue_robotics_pressure_report_in_simulation() const {
573  bool value = (_has_bits_[0] & 0x00000010u) != 0;
574  return value;
575 }
576 inline bool BlueRoboticsPressureSensorDriver::has_blue_robotics_pressure_report_in_simulation() const {
577  return _internal_has_blue_robotics_pressure_report_in_simulation();
578 }
579 inline void BlueRoboticsPressureSensorDriver::clear_blue_robotics_pressure_report_in_simulation() {
580  blue_robotics_pressure_report_in_simulation_ = true;
581  _has_bits_[0] &= ~0x00000010u;
582 }
583 inline bool BlueRoboticsPressureSensorDriver::_internal_blue_robotics_pressure_report_in_simulation() const {
584  return blue_robotics_pressure_report_in_simulation_;
585 }
586 inline bool BlueRoboticsPressureSensorDriver::blue_robotics_pressure_report_in_simulation() const {
587  // @@protoc_insertion_point(field_get:jaiabot.config.BlueRoboticsPressureSensorDriver.blue_robotics_pressure_report_in_simulation)
588  return _internal_blue_robotics_pressure_report_in_simulation();
589 }
590 inline void BlueRoboticsPressureSensorDriver::_internal_set_blue_robotics_pressure_report_in_simulation(bool value) {
591  _has_bits_[0] |= 0x00000010u;
592  blue_robotics_pressure_report_in_simulation_ = value;
593 }
594 inline void BlueRoboticsPressureSensorDriver::set_blue_robotics_pressure_report_in_simulation(bool value) {
595  _internal_set_blue_robotics_pressure_report_in_simulation(value);
596  // @@protoc_insertion_point(field_set:jaiabot.config.BlueRoboticsPressureSensorDriver.blue_robotics_pressure_report_in_simulation)
597 }
598 
599 #ifdef __GNUC__
600  #pragma GCC diagnostic pop
601 #endif // __GNUC__
602 
603 // @@protoc_insertion_point(namespace_scope)
604 
605 } // namespace config
606 } // namespace jaiabot
607 
608 // @@protoc_insertion_point(global_scope)
609 
610 #include <google/protobuf/port_undef.inc>
611 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fbluerobotics_5fpressure_5fsensor_2fconfig_2eproto
::goby::middleware::protobuf::UDPPointToPointConfig * mutable_udp_config()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: config.pb.h:107
void clear_blue_robotics_pressure_report_timeout_seconds()
void UnsafeArenaSwap(BlueRoboticsPressureSensorDriver *other)
Definition: config.pb.h:141
void Swap(BlueRoboticsPressureSensorDriver *other)
Definition: config.pb.h:133
BlueRoboticsPressureSensorDriver(const BlueRoboticsPressureSensorDriver &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *udp_config)
const ::goby::middleware::protobuf::AppConfig & app() const
BlueRoboticsPressureSensorDriver & operator=(const BlueRoboticsPressureSensorDriver &from)
Definition: config.pb.h:91
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
bool has_blue_robotics_pressure_report_timeout_seconds() const
::goby::middleware::protobuf::AppConfig * release_app()
BlueRoboticsPressureSensorDriver * New() const final
Definition: config.pb.h:149
bool blue_robotics_pressure_report_in_simulation() const
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
void CopyFrom(const BlueRoboticsPressureSensorDriver &from)
::goby::middleware::protobuf::UDPPointToPointConfig * unsafe_arena_release_udp_config()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: config.pb.h:117
bool has_blue_robotics_pressure_report_in_simulation() const
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
BlueRoboticsPressureSensorDriver(BlueRoboticsPressureSensorDriver &&from) noexcept
Definition: config.pb.h:86
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: config.pb.h:104
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
void unsafe_arena_set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *udp_config)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void clear_blue_robotics_pressure_report_in_simulation()
void set_blue_robotics_pressure_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value)
static const BlueRoboticsPressureSensorDriver * internal_default_instance()
Definition: config.pb.h:123
static const BlueRoboticsPressureSensorDriver & default_instance()
::goby::middleware::protobuf::AppConfig * mutable_app()
::goby::middleware::protobuf::UDPPointToPointConfig * release_udp_config()
::PROTOBUF_NAMESPACE_ID::int32 blue_robotics_pressure_report_timeout_seconds() const
const ::goby::middleware::protobuf::UDPPointToPointConfig & udp_config() const
void set_blue_robotics_pressure_report_in_simulation(bool value)
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)
BlueRoboticsPressureSensorDriver & operator=(BlueRoboticsPressureSensorDriver &&from) noexcept
Definition: config.pb.h:95
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
BlueRoboticsPressureSensorDriver(::PROTOBUF_NAMESPACE_ID::Arena *arena)
friend void swap(BlueRoboticsPressureSensorDriver &a, BlueRoboticsPressureSensorDriver &b)
Definition: config.pb.h:130
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: config.pb.h:111
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
BlueRoboticsPressureSensorDriver * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: config.pb.h:153
void MergeFrom(const BlueRoboticsPressureSensorDriver &from)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2fbluerobotics_5fpressure_5fsensor_2fconfig_2eproto
BlueRoboticsPressureSensorDriverDefaultTypeInternal _BlueRoboticsPressureSensorDriver_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::internal::SerializationTable serialization_table[]
Definition: config.pb.h:60
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: config.pb.h:59
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)