JaiaBot  1.12.0+7+gdc1e5561
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/echo/config.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fecho_2fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fecho_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"
38 #include "goby/middleware/protobuf/udp_config.pb.h"
40 #include <boost/units/quantity.hpp>
41 #include <boost/units/absolute.hpp>
42 #include <boost/units/dimensionless_type.hpp>
43 #include <boost/units/make_scaled_unit.hpp>
44 // @@protoc_insertion_point(includes)
45 #include <google/protobuf/port_def.inc>
46 #define PROTOBUF_INTERNAL_EXPORT_bin_2fdrivers_2fecho_2fconfig_2eproto
47 PROTOBUF_NAMESPACE_OPEN
48 namespace internal {
49 class AnyMetadata;
50 } // namespace internal
51 PROTOBUF_NAMESPACE_CLOSE
52 
53 // Internal implementation detail -- do not use these members.
55  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
56  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
62  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
63  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
64 };
65 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2fecho_2fconfig_2eproto;
66 namespace jaiabot {
67 namespace config {
68 class EchoDriver;
69 class EchoDriverDefaultTypeInternal;
70 extern EchoDriverDefaultTypeInternal _EchoDriver_default_instance_;
71 } // namespace config
72 } // namespace jaiabot
73 PROTOBUF_NAMESPACE_OPEN
74 template<> ::jaiabot::config::EchoDriver* Arena::CreateMaybeMessage<::jaiabot::config::EchoDriver>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
76 namespace jaiabot {
77 namespace config {
78 
79 // ===================================================================
80 
81 class EchoDriver PROTOBUF_FINAL :
82  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.EchoDriver) */ {
83  public:
84  inline EchoDriver() : EchoDriver(nullptr) {};
85  virtual ~EchoDriver();
86 
87  EchoDriver(const EchoDriver& from);
88  EchoDriver(EchoDriver&& from) noexcept
89  : EchoDriver() {
90  *this = ::std::move(from);
91  }
92 
93  inline EchoDriver& operator=(const EchoDriver& from) {
94  CopyFrom(from);
95  return *this;
96  }
97  inline EchoDriver& operator=(EchoDriver&& from) noexcept {
98  if (GetArena() == from.GetArena()) {
99  if (this != &from) InternalSwap(&from);
100  } else {
101  CopyFrom(from);
102  }
103  return *this;
104  }
105 
106  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
107  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108  }
109  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
110  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111  }
112 
113  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
114  return GetDescriptor();
115  }
116  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
117  return GetMetadataStatic().descriptor;
118  }
119  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
120  return GetMetadataStatic().reflection;
121  }
122  static const EchoDriver& default_instance();
123 
124  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
125  static inline const EchoDriver* internal_default_instance() {
126  return reinterpret_cast<const EchoDriver*>(
128  }
129  static constexpr int kIndexInFileMessages =
130  0;
131 
132  friend void swap(EchoDriver& a, EchoDriver& b) {
133  a.Swap(&b);
134  }
135  inline void Swap(EchoDriver* other) {
136  if (other == this) return;
137  if (GetArena() == other->GetArena()) {
138  InternalSwap(other);
139  } else {
140  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
141  }
142  }
143  void UnsafeArenaSwap(EchoDriver* other) {
144  if (other == this) return;
145  GOOGLE_DCHECK(GetArena() == other->GetArena());
146  InternalSwap(other);
147  }
148 
149  // implements Message ----------------------------------------------
150 
151  inline EchoDriver* New() const final {
152  return CreateMaybeMessage<EchoDriver>(nullptr);
153  }
154 
155  EchoDriver* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
156  return CreateMaybeMessage<EchoDriver>(arena);
157  }
158  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
159  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
160  void CopyFrom(const EchoDriver& from);
161  void MergeFrom(const EchoDriver& from);
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;
167  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
168  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
169  int GetCachedSize() const final { return _cached_size_.Get(); }
170 
171  private:
172  inline void SharedCtor();
173  inline void SharedDtor();
174  void SetCachedSize(int size) const final;
175  void InternalSwap(EchoDriver* other);
176  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
177  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
178  return "jaiabot.config.EchoDriver";
179  }
180  protected:
181  explicit EchoDriver(::PROTOBUF_NAMESPACE_ID::Arena* arena);
182  private:
183  static void ArenaDtor(void* object);
184  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185  public:
186 
187  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
188  private:
189  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
190  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_bin_2fdrivers_2fecho_2fconfig_2eproto);
191  return ::descriptor_table_bin_2fdrivers_2fecho_2fconfig_2eproto.file_level_metadata[kIndexInFileMessages];
192  }
193 
194  public:
195 
196  // nested types ----------------------------------------------------
197 
198  // accessors -------------------------------------------------------
199 
200  enum : int {
201  kAppFieldNumber = 1,
202  kInterprocessFieldNumber = 2,
203  kUdpConfigFieldNumber = 3,
204  kEchoReportTimeoutSecondsFieldNumber = 10,
205  kEchoReportInSimulationFieldNumber = 11,
206  kEchoIssueSolutionFieldNumber = 12,
207  kEchoTriggerIssueTimeoutSecondsFieldNumber = 13,
208  };
209  // optional .goby.middleware.protobuf.AppConfig app = 1;
210  bool has_app() const;
211  private:
212  bool _internal_has_app() const;
213  public:
214  void clear_app();
215  const ::goby::middleware::protobuf::AppConfig& app() const;
216  ::goby::middleware::protobuf::AppConfig* release_app();
217  ::goby::middleware::protobuf::AppConfig* mutable_app();
218  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
219  private:
220  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
221  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
222  public:
224  ::goby::middleware::protobuf::AppConfig* app);
225  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
226 
227  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
228  bool has_interprocess() const;
229  private:
230  bool _internal_has_interprocess() const;
231  public:
233  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
234  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
235  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
236  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
237  private:
238  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
239  ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
240  public:
242  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
243  ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
244 
245  // required .goby.middleware.protobuf.UDPPointToPointConfig udp_config = 3;
246  bool has_udp_config() const;
247  private:
248  bool _internal_has_udp_config() const;
249  public:
251  const ::goby::middleware::protobuf::UDPPointToPointConfig& udp_config() const;
252  ::goby::middleware::protobuf::UDPPointToPointConfig* release_udp_config();
253  ::goby::middleware::protobuf::UDPPointToPointConfig* mutable_udp_config();
254  void set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_config);
255  private:
256  const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp_config() const;
257  ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_udp_config();
258  public:
260  ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config);
261  ::goby::middleware::protobuf::UDPPointToPointConfig* unsafe_arena_release_udp_config();
262 
263  // optional int32 echo_report_timeout_seconds = 10 [default = 20];
265  private:
266  bool _internal_has_echo_report_timeout_seconds() const;
267  public:
269  ::PROTOBUF_NAMESPACE_ID::int32 echo_report_timeout_seconds() const;
270  void set_echo_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
271  private:
272  ::PROTOBUF_NAMESPACE_ID::int32 _internal_echo_report_timeout_seconds() const;
273  void _internal_set_echo_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
274  public:
275 
276  // optional bool echo_report_in_simulation = 11 [default = true];
278  private:
279  bool _internal_has_echo_report_in_simulation() const;
280  public:
284  private:
285  bool _internal_echo_report_in_simulation() const;
286  void _internal_set_echo_report_in_simulation(bool value);
287  public:
288 
289  // optional .jaiabot.protobuf.EchoIssue.SolutionType echo_issue_solution = 12 [default = REBOOT_ECHO_IMU_AND_RESTART_ECHO_PY];
291  private:
292  bool _internal_has_echo_issue_solution() const;
293  public:
297  private:
298  ::jaiabot::protobuf::EchoIssue_SolutionType _internal_echo_issue_solution() const;
299  void _internal_set_echo_issue_solution(::jaiabot::protobuf::EchoIssue_SolutionType value);
300  public:
301 
302  // optional int32 echo_trigger_issue_timeout_seconds = 13 [default = 20];
304  private:
305  bool _internal_has_echo_trigger_issue_timeout_seconds() const;
306  public:
308  ::PROTOBUF_NAMESPACE_ID::int32 echo_trigger_issue_timeout_seconds() const;
309  void set_echo_trigger_issue_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
310  private:
311  ::PROTOBUF_NAMESPACE_ID::int32 _internal_echo_trigger_issue_timeout_seconds() const;
312  void _internal_set_echo_trigger_issue_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value);
313  public:
314 
315  // @@protoc_insertion_point(class_scope:jaiabot.config.EchoDriver)
316  private:
317  class _Internal;
318 
319  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
320  typedef void InternalArenaConstructable_;
321  typedef void DestructorSkippable_;
322  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
323  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
324  ::goby::middleware::protobuf::AppConfig* app_;
325  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
326  ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config_;
327  ::PROTOBUF_NAMESPACE_ID::int32 echo_report_timeout_seconds_;
328  bool echo_report_in_simulation_;
329  int echo_issue_solution_;
330  ::PROTOBUF_NAMESPACE_ID::int32 echo_trigger_issue_timeout_seconds_;
331  friend struct ::TableStruct_bin_2fdrivers_2fecho_2fconfig_2eproto;
332 };
333 // ===================================================================
334 
335 
336 // ===================================================================
337 
338 #ifdef __GNUC__
339  #pragma GCC diagnostic push
340  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
341 #endif // __GNUC__
342 // EchoDriver
343 
344 // optional .goby.middleware.protobuf.AppConfig app = 1;
345 inline bool EchoDriver::_internal_has_app() const {
346  bool value = (_has_bits_[0] & 0x00000001u) != 0;
347  PROTOBUF_ASSUME(!value || app_ != nullptr);
348  return value;
349 }
350 inline bool EchoDriver::has_app() const {
351  return _internal_has_app();
352 }
353 inline const ::goby::middleware::protobuf::AppConfig& EchoDriver::_internal_app() const {
354  const ::goby::middleware::protobuf::AppConfig* p = app_;
355  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
356  &::goby::middleware::protobuf::_AppConfig_default_instance_);
357 }
358 inline const ::goby::middleware::protobuf::AppConfig& EchoDriver::app() const {
359  // @@protoc_insertion_point(field_get:jaiabot.config.EchoDriver.app)
360  return _internal_app();
361 }
362 inline void EchoDriver::unsafe_arena_set_allocated_app(
363  ::goby::middleware::protobuf::AppConfig* app) {
364  if (GetArena() == nullptr) {
365  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
366  }
367  app_ = app;
368  if (app) {
369  _has_bits_[0] |= 0x00000001u;
370  } else {
371  _has_bits_[0] &= ~0x00000001u;
372  }
373  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.EchoDriver.app)
374 }
375 inline ::goby::middleware::protobuf::AppConfig* EchoDriver::release_app() {
376  auto temp = unsafe_arena_release_app();
377  if (GetArena() != nullptr) {
378  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
379  }
380  return temp;
381 }
382 inline ::goby::middleware::protobuf::AppConfig* EchoDriver::unsafe_arena_release_app() {
383  // @@protoc_insertion_point(field_release:jaiabot.config.EchoDriver.app)
384  _has_bits_[0] &= ~0x00000001u;
385  ::goby::middleware::protobuf::AppConfig* temp = app_;
386  app_ = nullptr;
387  return temp;
388 }
389 inline ::goby::middleware::protobuf::AppConfig* EchoDriver::_internal_mutable_app() {
390  _has_bits_[0] |= 0x00000001u;
391  if (app_ == nullptr) {
392  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
393  app_ = p;
394  }
395  return app_;
396 }
397 inline ::goby::middleware::protobuf::AppConfig* EchoDriver::mutable_app() {
398  // @@protoc_insertion_point(field_mutable:jaiabot.config.EchoDriver.app)
399  return _internal_mutable_app();
400 }
401 inline void EchoDriver::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
402  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
403  if (message_arena == nullptr) {
404  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
405  }
406  if (app) {
407  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
408  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
409  if (message_arena != submessage_arena) {
410  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
411  message_arena, app, submessage_arena);
412  }
413  _has_bits_[0] |= 0x00000001u;
414  } else {
415  _has_bits_[0] &= ~0x00000001u;
416  }
417  app_ = app;
418  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.EchoDriver.app)
419 }
420 
421 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
422 inline bool EchoDriver::_internal_has_interprocess() const {
423  bool value = (_has_bits_[0] & 0x00000002u) != 0;
424  PROTOBUF_ASSUME(!value || interprocess_ != nullptr);
425  return value;
426 }
427 inline bool EchoDriver::has_interprocess() const {
428  return _internal_has_interprocess();
429 }
430 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& EchoDriver::_internal_interprocess() const {
431  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
432  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
433  &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
434 }
435 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& EchoDriver::interprocess() const {
436  // @@protoc_insertion_point(field_get:jaiabot.config.EchoDriver.interprocess)
437  return _internal_interprocess();
438 }
439 inline void EchoDriver::unsafe_arena_set_allocated_interprocess(
440  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
441  if (GetArena() == nullptr) {
442  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
443  }
444  interprocess_ = interprocess;
445  if (interprocess) {
446  _has_bits_[0] |= 0x00000002u;
447  } else {
448  _has_bits_[0] &= ~0x00000002u;
449  }
450  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.EchoDriver.interprocess)
451 }
452 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* EchoDriver::release_interprocess() {
453  auto temp = unsafe_arena_release_interprocess();
454  if (GetArena() != nullptr) {
455  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
456  }
457  return temp;
458 }
459 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* EchoDriver::unsafe_arena_release_interprocess() {
460  // @@protoc_insertion_point(field_release:jaiabot.config.EchoDriver.interprocess)
461  _has_bits_[0] &= ~0x00000002u;
462  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
463  interprocess_ = nullptr;
464  return temp;
465 }
466 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* EchoDriver::_internal_mutable_interprocess() {
467  _has_bits_[0] |= 0x00000002u;
468  if (interprocess_ == nullptr) {
469  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
470  interprocess_ = p;
471  }
472  return interprocess_;
473 }
474 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* EchoDriver::mutable_interprocess() {
475  // @@protoc_insertion_point(field_mutable:jaiabot.config.EchoDriver.interprocess)
476  return _internal_mutable_interprocess();
477 }
478 inline void EchoDriver::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
479  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
480  if (message_arena == nullptr) {
481  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
482  }
483  if (interprocess) {
484  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
485  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess)->GetArena();
486  if (message_arena != submessage_arena) {
487  interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
488  message_arena, interprocess, submessage_arena);
489  }
490  _has_bits_[0] |= 0x00000002u;
491  } else {
492  _has_bits_[0] &= ~0x00000002u;
493  }
494  interprocess_ = interprocess;
495  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.EchoDriver.interprocess)
496 }
497 
498 // required .goby.middleware.protobuf.UDPPointToPointConfig udp_config = 3;
499 inline bool EchoDriver::_internal_has_udp_config() const {
500  bool value = (_has_bits_[0] & 0x00000004u) != 0;
501  PROTOBUF_ASSUME(!value || udp_config_ != nullptr);
502  return value;
503 }
504 inline bool EchoDriver::has_udp_config() const {
505  return _internal_has_udp_config();
506 }
507 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& EchoDriver::_internal_udp_config() const {
508  const ::goby::middleware::protobuf::UDPPointToPointConfig* p = udp_config_;
509  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig*>(
510  &::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
511 }
512 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& EchoDriver::udp_config() const {
513  // @@protoc_insertion_point(field_get:jaiabot.config.EchoDriver.udp_config)
514  return _internal_udp_config();
515 }
516 inline void EchoDriver::unsafe_arena_set_allocated_udp_config(
517  ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config) {
518  if (GetArena() == nullptr) {
519  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(udp_config_);
520  }
521  udp_config_ = udp_config;
522  if (udp_config) {
523  _has_bits_[0] |= 0x00000004u;
524  } else {
525  _has_bits_[0] &= ~0x00000004u;
526  }
527  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.EchoDriver.udp_config)
528 }
529 inline ::goby::middleware::protobuf::UDPPointToPointConfig* EchoDriver::release_udp_config() {
530  auto temp = unsafe_arena_release_udp_config();
531  if (GetArena() != nullptr) {
532  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
533  }
534  return temp;
535 }
536 inline ::goby::middleware::protobuf::UDPPointToPointConfig* EchoDriver::unsafe_arena_release_udp_config() {
537  // @@protoc_insertion_point(field_release:jaiabot.config.EchoDriver.udp_config)
538  _has_bits_[0] &= ~0x00000004u;
539  ::goby::middleware::protobuf::UDPPointToPointConfig* temp = udp_config_;
540  udp_config_ = nullptr;
541  return temp;
542 }
543 inline ::goby::middleware::protobuf::UDPPointToPointConfig* EchoDriver::_internal_mutable_udp_config() {
544  _has_bits_[0] |= 0x00000004u;
545  if (udp_config_ == nullptr) {
546  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArena());
547  udp_config_ = p;
548  }
549  return udp_config_;
550 }
551 inline ::goby::middleware::protobuf::UDPPointToPointConfig* EchoDriver::mutable_udp_config() {
552  // @@protoc_insertion_point(field_mutable:jaiabot.config.EchoDriver.udp_config)
553  return _internal_mutable_udp_config();
554 }
555 inline void EchoDriver::set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_config) {
556  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
557  if (message_arena == nullptr) {
558  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(udp_config_);
559  }
560  if (udp_config) {
561  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
562  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(udp_config)->GetArena();
563  if (message_arena != submessage_arena) {
564  udp_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
565  message_arena, udp_config, submessage_arena);
566  }
567  _has_bits_[0] |= 0x00000004u;
568  } else {
569  _has_bits_[0] &= ~0x00000004u;
570  }
571  udp_config_ = udp_config;
572  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.EchoDriver.udp_config)
573 }
574 
575 // optional int32 echo_report_timeout_seconds = 10 [default = 20];
576 inline bool EchoDriver::_internal_has_echo_report_timeout_seconds() const {
577  bool value = (_has_bits_[0] & 0x00000008u) != 0;
578  return value;
579 }
580 inline bool EchoDriver::has_echo_report_timeout_seconds() const {
581  return _internal_has_echo_report_timeout_seconds();
582 }
583 inline void EchoDriver::clear_echo_report_timeout_seconds() {
584  echo_report_timeout_seconds_ = 20;
585  _has_bits_[0] &= ~0x00000008u;
586 }
587 inline ::PROTOBUF_NAMESPACE_ID::int32 EchoDriver::_internal_echo_report_timeout_seconds() const {
588  return echo_report_timeout_seconds_;
589 }
590 inline ::PROTOBUF_NAMESPACE_ID::int32 EchoDriver::echo_report_timeout_seconds() const {
591  // @@protoc_insertion_point(field_get:jaiabot.config.EchoDriver.echo_report_timeout_seconds)
592  return _internal_echo_report_timeout_seconds();
593 }
594 inline void EchoDriver::_internal_set_echo_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
595  _has_bits_[0] |= 0x00000008u;
596  echo_report_timeout_seconds_ = value;
597 }
598 inline void EchoDriver::set_echo_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
599  _internal_set_echo_report_timeout_seconds(value);
600  // @@protoc_insertion_point(field_set:jaiabot.config.EchoDriver.echo_report_timeout_seconds)
601 }
602 
603 // optional bool echo_report_in_simulation = 11 [default = true];
604 inline bool EchoDriver::_internal_has_echo_report_in_simulation() const {
605  bool value = (_has_bits_[0] & 0x00000010u) != 0;
606  return value;
607 }
608 inline bool EchoDriver::has_echo_report_in_simulation() const {
609  return _internal_has_echo_report_in_simulation();
610 }
611 inline void EchoDriver::clear_echo_report_in_simulation() {
612  echo_report_in_simulation_ = true;
613  _has_bits_[0] &= ~0x00000010u;
614 }
615 inline bool EchoDriver::_internal_echo_report_in_simulation() const {
616  return echo_report_in_simulation_;
617 }
618 inline bool EchoDriver::echo_report_in_simulation() const {
619  // @@protoc_insertion_point(field_get:jaiabot.config.EchoDriver.echo_report_in_simulation)
620  return _internal_echo_report_in_simulation();
621 }
622 inline void EchoDriver::_internal_set_echo_report_in_simulation(bool value) {
623  _has_bits_[0] |= 0x00000010u;
624  echo_report_in_simulation_ = value;
625 }
626 inline void EchoDriver::set_echo_report_in_simulation(bool value) {
627  _internal_set_echo_report_in_simulation(value);
628  // @@protoc_insertion_point(field_set:jaiabot.config.EchoDriver.echo_report_in_simulation)
629 }
630 
631 // optional .jaiabot.protobuf.EchoIssue.SolutionType echo_issue_solution = 12 [default = REBOOT_ECHO_IMU_AND_RESTART_ECHO_PY];
632 inline bool EchoDriver::_internal_has_echo_issue_solution() const {
633  bool value = (_has_bits_[0] & 0x00000020u) != 0;
634  return value;
635 }
636 inline bool EchoDriver::has_echo_issue_solution() const {
637  return _internal_has_echo_issue_solution();
638 }
639 inline void EchoDriver::clear_echo_issue_solution() {
640  echo_issue_solution_ = 3;
641  _has_bits_[0] &= ~0x00000020u;
642 }
643 inline ::jaiabot::protobuf::EchoIssue_SolutionType EchoDriver::_internal_echo_issue_solution() const {
644  return static_cast< ::jaiabot::protobuf::EchoIssue_SolutionType >(echo_issue_solution_);
645 }
646 inline ::jaiabot::protobuf::EchoIssue_SolutionType EchoDriver::echo_issue_solution() const {
647  // @@protoc_insertion_point(field_get:jaiabot.config.EchoDriver.echo_issue_solution)
648  return _internal_echo_issue_solution();
649 }
650 inline void EchoDriver::_internal_set_echo_issue_solution(::jaiabot::protobuf::EchoIssue_SolutionType value) {
652  _has_bits_[0] |= 0x00000020u;
653  echo_issue_solution_ = value;
654 }
655 inline void EchoDriver::set_echo_issue_solution(::jaiabot::protobuf::EchoIssue_SolutionType value) {
656  _internal_set_echo_issue_solution(value);
657  // @@protoc_insertion_point(field_set:jaiabot.config.EchoDriver.echo_issue_solution)
658 }
659 
660 // optional int32 echo_trigger_issue_timeout_seconds = 13 [default = 20];
661 inline bool EchoDriver::_internal_has_echo_trigger_issue_timeout_seconds() const {
662  bool value = (_has_bits_[0] & 0x00000040u) != 0;
663  return value;
664 }
665 inline bool EchoDriver::has_echo_trigger_issue_timeout_seconds() const {
666  return _internal_has_echo_trigger_issue_timeout_seconds();
667 }
668 inline void EchoDriver::clear_echo_trigger_issue_timeout_seconds() {
669  echo_trigger_issue_timeout_seconds_ = 20;
670  _has_bits_[0] &= ~0x00000040u;
671 }
672 inline ::PROTOBUF_NAMESPACE_ID::int32 EchoDriver::_internal_echo_trigger_issue_timeout_seconds() const {
673  return echo_trigger_issue_timeout_seconds_;
674 }
675 inline ::PROTOBUF_NAMESPACE_ID::int32 EchoDriver::echo_trigger_issue_timeout_seconds() const {
676  // @@protoc_insertion_point(field_get:jaiabot.config.EchoDriver.echo_trigger_issue_timeout_seconds)
677  return _internal_echo_trigger_issue_timeout_seconds();
678 }
679 inline void EchoDriver::_internal_set_echo_trigger_issue_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
680  _has_bits_[0] |= 0x00000040u;
681  echo_trigger_issue_timeout_seconds_ = value;
682 }
683 inline void EchoDriver::set_echo_trigger_issue_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value) {
684  _internal_set_echo_trigger_issue_timeout_seconds(value);
685  // @@protoc_insertion_point(field_set:jaiabot.config.EchoDriver.echo_trigger_issue_timeout_seconds)
686 }
687 
688 #ifdef __GNUC__
689  #pragma GCC diagnostic pop
690 #endif // __GNUC__
691 
692 // @@protoc_insertion_point(namespace_scope)
693 
694 } // namespace config
695 } // namespace jaiabot
696 
697 // @@protoc_insertion_point(global_scope)
698 
699 #include <google/protobuf/port_undef.inc>
700 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fecho_2fconfig_2eproto
::goby::middleware::protobuf::UDPPointToPointConfig * mutable_udp_config()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: config.pb.h:109
bool has_echo_report_timeout_seconds() const
static const EchoDriver & default_instance()
bool has_echo_report_in_simulation() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *udp_config)
const ::goby::middleware::protobuf::AppConfig & app() const
EchoDriver(EchoDriver &&from) noexcept
Definition: config.pb.h:88
void UnsafeArenaSwap(EchoDriver *other)
Definition: config.pb.h:143
void set_echo_report_in_simulation(bool value)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
::goby::middleware::protobuf::AppConfig * release_app()
void Swap(EchoDriver *other)
Definition: config.pb.h:135
EchoDriver * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: config.pb.h:155
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
::jaiabot::protobuf::EchoIssue_SolutionType echo_issue_solution() const
::goby::middleware::protobuf::UDPPointToPointConfig * unsafe_arena_release_udp_config()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: config.pb.h:119
EchoDriver(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_echo_trigger_issue_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value)
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
EchoDriver(const EchoDriver &from)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: config.pb.h:116
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: config.pb.h:106
EchoDriver & operator=(EchoDriver &&from) noexcept
Definition: config.pb.h:97
::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 CopyFrom(const EchoDriver &from)
friend void swap(EchoDriver &a, EchoDriver &b)
Definition: config.pb.h:132
void set_echo_issue_solution(::jaiabot::protobuf::EchoIssue_SolutionType value)
EchoDriver & operator=(const EchoDriver &from)
Definition: config.pb.h:93
::goby::middleware::protobuf::AppConfig * mutable_app()
void MergeFrom(const EchoDriver &from)
::goby::middleware::protobuf::UDPPointToPointConfig * release_udp_config()
void set_echo_report_timeout_seconds(::PROTOBUF_NAMESPACE_ID::int32 value)
EchoDriver * New() const final
Definition: config.pb.h:151
const ::goby::middleware::protobuf::UDPPointToPointConfig & udp_config() const
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
static const EchoDriver * internal_default_instance()
Definition: config.pb.h:125
::PROTOBUF_NAMESPACE_ID::int32 echo_report_timeout_seconds() const
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
bool has_echo_trigger_issue_timeout_seconds() const
::PROTOBUF_NAMESPACE_ID::int32 echo_trigger_issue_timeout_seconds() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: config.pb.h:113
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2fecho_2fconfig_2eproto
EchoDriverDefaultTypeInternal _EchoDriver_default_instance_
bool EchoIssue_SolutionType_IsValid(int value)
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::xbee::protobuf::Config >, 11, false > config
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: config.pb.h:61
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: config.pb.h:63
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: config.pb.h:62