Goby3  3.1.5a
2024.05.23
driver_base.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/driver_base.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
39 // @@protoc_insertion_point(includes)
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto
41 
43 // Internal implementation detail -- do not use these members.
44 struct TableStruct {
45  static const ::google::protobuf::internal::ParseTableField entries[];
46  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
47  static const ::google::protobuf::internal::ParseTable schema[1];
48  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
49  static const ::google::protobuf::internal::SerializationTable serialization_table[];
51 };
52 void AddDescriptors();
53 } // namespace protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto
54 namespace goby {
55 namespace acomms {
56 namespace protobuf {
57 class DriverConfig;
58 class DriverConfigDefaultTypeInternal;
59 extern DriverConfigDefaultTypeInternal _DriverConfig_default_instance_;
60 } // namespace protobuf
61 } // namespace acomms
62 } // namespace goby
63 namespace google {
64 namespace protobuf {
65 template<> ::goby::acomms::protobuf::DriverConfig* Arena::CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig>(Arena*);
66 } // namespace protobuf
67 } // namespace google
68 namespace goby {
69 namespace acomms {
70 namespace protobuf {
71 
76 };
81 
82 const ::google::protobuf::EnumDescriptor* DriverConfig_ConnectionType_descriptor();
84  return ::google::protobuf::internal::NameOfEnum(
86 }
88  const ::std::string& name, DriverConfig_ConnectionType* value) {
89  return ::google::protobuf::internal::ParseNamedEnum<DriverConfig_ConnectionType>(
91 }
92 enum DriverType {
105 };
106 bool DriverType_IsValid(int value);
110 
111 const ::google::protobuf::EnumDescriptor* DriverType_descriptor();
112 inline const ::std::string& DriverType_Name(DriverType value) {
113  return ::google::protobuf::internal::NameOfEnum(
114  DriverType_descriptor(), value);
115 }
116 inline bool DriverType_Parse(
117  const ::std::string& name, DriverType* value) {
118  return ::google::protobuf::internal::ParseNamedEnum<DriverType>(
119  DriverType_descriptor(), name, value);
120 }
121 // ===================================================================
122 
123 class DriverConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.DriverConfig) */ {
124  public:
125  DriverConfig();
126  virtual ~DriverConfig();
127 
128  DriverConfig(const DriverConfig& from);
129 
130  inline DriverConfig& operator=(const DriverConfig& from) {
131  CopyFrom(from);
132  return *this;
133  }
134  #if LANG_CXX11
135  DriverConfig(DriverConfig&& from) noexcept
136  : DriverConfig() {
137  *this = ::std::move(from);
138  }
139 
140  inline DriverConfig& operator=(DriverConfig&& from) noexcept {
141  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
142  if (this != &from) InternalSwap(&from);
143  } else {
144  CopyFrom(from);
145  }
146  return *this;
147  }
148  #endif
149  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
150  return _internal_metadata_.unknown_fields();
151  }
152  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
153  return _internal_metadata_.mutable_unknown_fields();
154  }
155 
156  static const ::google::protobuf::Descriptor* descriptor();
157  static const DriverConfig& default_instance();
158 
159  enum DriverCase {
163  };
164 
165  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
166  static inline const DriverConfig* internal_default_instance() {
167  return reinterpret_cast<const DriverConfig*>(
169  }
170  static constexpr int kIndexInFileMessages =
171  0;
172 
173  void Swap(DriverConfig* other);
174  friend void swap(DriverConfig& a, DriverConfig& b) {
175  a.Swap(&b);
176  }
177 
178  // implements Message ----------------------------------------------
179 
180  inline DriverConfig* New() const final {
181  return CreateMaybeMessage<DriverConfig>(NULL);
182  }
183 
184  DriverConfig* New(::google::protobuf::Arena* arena) const final {
185  return CreateMaybeMessage<DriverConfig>(arena);
186  }
187  void CopyFrom(const ::google::protobuf::Message& from) final;
188  void MergeFrom(const ::google::protobuf::Message& from) final;
189  void CopyFrom(const DriverConfig& from);
190  void MergeFrom(const DriverConfig& from);
191  void Clear() final;
192  bool IsInitialized() const final;
193 
194  size_t ByteSizeLong() const final;
196  ::google::protobuf::io::CodedInputStream* input) final;
198  ::google::protobuf::io::CodedOutputStream* output) const final;
200  bool deterministic, ::google::protobuf::uint8* target) const final;
201  int GetCachedSize() const final { return _cached_size_.Get(); }
202 
203  private:
204  void SharedCtor();
205  void SharedDtor();
206  void SetCachedSize(int size) const final;
207  void InternalSwap(DriverConfig* other);
208  private:
209  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
210  return NULL;
211  }
212  inline void* MaybeArenaPtr() const {
213  return NULL;
214  }
215  public:
216 
218 
219  // nested types ----------------------------------------------------
220 
228  static inline bool ConnectionType_IsValid(int value) {
230  }
235  static const int ConnectionType_ARRAYSIZE =
237  static inline const ::google::protobuf::EnumDescriptor*
240  }
241  static inline const ::std::string& ConnectionType_Name(ConnectionType value) {
242  return DriverConfig_ConnectionType_Name(value);
243  }
244  static inline bool ConnectionType_Parse(const ::std::string& name,
245  ConnectionType* value) {
246  return DriverConfig_ConnectionType_Parse(name, value);
247  }
248 
249  // accessors -------------------------------------------------------
250 
251  // optional string line_delimiter = 21 [default = "\r\n", (.goby.field) = {
252  bool has_line_delimiter() const;
253  void clear_line_delimiter();
254  static const int kLineDelimiterFieldNumber = 21;
255  const ::std::string& line_delimiter() const;
256  void set_line_delimiter(const ::std::string& value);
257  #if LANG_CXX11
258  void set_line_delimiter(::std::string&& value);
259  #endif
260  void set_line_delimiter(const char* value);
261  void set_line_delimiter(const char* value, size_t size);
262  ::std::string* mutable_line_delimiter();
263  ::std::string* release_line_delimiter();
264  void set_allocated_line_delimiter(::std::string* line_delimiter);
265 
266  // optional string serial_port = 22 [(.goby.field) = {
267  bool has_serial_port() const;
268  void clear_serial_port();
269  static const int kSerialPortFieldNumber = 22;
270  const ::std::string& serial_port() const;
271  void set_serial_port(const ::std::string& value);
272  #if LANG_CXX11
273  void set_serial_port(::std::string&& value);
274  #endif
275  void set_serial_port(const char* value);
276  void set_serial_port(const char* value, size_t size);
277  ::std::string* mutable_serial_port();
278  ::std::string* release_serial_port();
279  void set_allocated_serial_port(::std::string* serial_port);
280 
281  // optional string tcp_server = 24 [(.goby.field) = {
282  bool has_tcp_server() const;
283  void clear_tcp_server();
284  static const int kTcpServerFieldNumber = 24;
285  const ::std::string& tcp_server() const;
286  void set_tcp_server(const ::std::string& value);
287  #if LANG_CXX11
288  void set_tcp_server(::std::string&& value);
289  #endif
290  void set_tcp_server(const char* value);
291  void set_tcp_server(const char* value, size_t size);
292  ::std::string* mutable_tcp_server();
293  ::std::string* release_tcp_server();
294  void set_allocated_tcp_server(::std::string* tcp_server);
295 
296  // optional string raw_log = 30 [(.goby.field) = {
297  bool has_raw_log() const;
298  void clear_raw_log();
299  static const int kRawLogFieldNumber = 30;
300  const ::std::string& raw_log() const;
301  void set_raw_log(const ::std::string& value);
302  #if LANG_CXX11
303  void set_raw_log(::std::string&& value);
304  #endif
305  void set_raw_log(const char* value);
306  void set_raw_log(const char* value, size_t size);
307  ::std::string* mutable_raw_log();
308  ::std::string* release_raw_log();
309  void set_allocated_raw_log(::std::string* raw_log);
310 
311  // optional uint32 tcp_port = 25 [(.goby.field) = {
312  bool has_tcp_port() const;
313  void clear_tcp_port();
314  static const int kTcpPortFieldNumber = 25;
317 
318  // optional int32 modem_id = 10 [(.goby.field) = {
319  bool has_modem_id() const;
320  void clear_modem_id();
321  static const int kModemIdFieldNumber = 10;
324 
325  // optional uint32 serial_baud = 23 [(.goby.field) = {
326  bool has_serial_baud() const;
327  void clear_serial_baud();
328  static const int kSerialBaudFieldNumber = 23;
331 
332  // optional .goby.acomms.protobuf.DriverConfig.ConnectionType connection_type = 20 [default = CONNECTION_SERIAL, (.goby.field) = {
333  bool has_connection_type() const;
334  void clear_connection_type();
335  static const int kConnectionTypeFieldNumber = 20;
338 
339  // optional uint32 reconnect_interval = 26 [default = 10, (.goby.field) = {
340  bool has_reconnect_interval() const;
342  static const int kReconnectIntervalFieldNumber = 26;
345 
346  // optional .goby.acomms.protobuf.DriverType driver_type = 1 [default = DRIVER_NONE, (.goby.field) = {
347  bool has_driver_type() const;
348  void clear_driver_type();
349  static const int kDriverTypeFieldNumber = 1;
352 
353  // optional string driver_name = 2 [(.goby.field) = {
354  bool has_driver_name() const;
355  void clear_driver_name();
356  static const int kDriverNameFieldNumber = 2;
357  const ::std::string& driver_name() const;
358  void set_driver_name(const ::std::string& value);
359  #if LANG_CXX11
360  void set_driver_name(::std::string&& value);
361  #endif
362  void set_driver_name(const char* value);
363  void set_driver_name(const char* value, size_t size);
364  ::std::string* mutable_driver_name();
365  ::std::string* release_driver_name();
366  void set_allocated_driver_name(::std::string* driver_name);
367 
368  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(DriverConfig)
369  void clear_driver();
370  DriverCase driver_case() const;
371  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.DriverConfig)
372  private:
373  void set_has_driver_type();
374  void set_has_driver_name();
375  void set_has_modem_id();
376  void clear_has_modem_id();
377  void set_has_connection_type();
378  void clear_has_connection_type();
379  void set_has_line_delimiter();
380  void clear_has_line_delimiter();
381  void set_has_serial_port();
382  void clear_has_serial_port();
383  void set_has_serial_baud();
384  void clear_has_serial_baud();
385  void set_has_tcp_server();
386  void clear_has_tcp_server();
387  void set_has_tcp_port();
388  void clear_has_tcp_port();
389  void set_has_reconnect_interval();
390  void clear_has_reconnect_interval();
391  void set_has_raw_log();
392  void clear_has_raw_log();
393 
394  inline bool has_driver() const;
395  inline void clear_has_driver();
396 
397  ::google::protobuf::internal::ExtensionSet _extensions_;
398 
399  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
400  ::google::protobuf::internal::HasBits<1> _has_bits_;
401  mutable ::google::protobuf::internal::CachedSize _cached_size_;
402  public:
403  static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_line_delimiter_;
404  private:
405  ::google::protobuf::internal::ArenaStringPtr line_delimiter_;
406  ::google::protobuf::internal::ArenaStringPtr serial_port_;
407  ::google::protobuf::internal::ArenaStringPtr tcp_server_;
408  ::google::protobuf::internal::ArenaStringPtr raw_log_;
409  ::google::protobuf::uint32 tcp_port_;
410  ::google::protobuf::int32 modem_id_;
411  ::google::protobuf::uint32 serial_baud_;
412  int connection_type_;
413  ::google::protobuf::uint32 reconnect_interval_;
414  union DriverUnion {
415  DriverUnion() {}
416  int driver_type_;
417  ::google::protobuf::internal::ArenaStringPtr driver_name_;
418  } driver_;
419  ::google::protobuf::uint32 _oneof_case_[1];
420 
421  friend struct ::protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto::TableStruct;
422 };
423 // ===================================================================
424 
425 
426 // ===================================================================
427 
428 #ifdef __GNUC__
429  #pragma GCC diagnostic push
430  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
431 #endif // __GNUC__
432 // DriverConfig
433 
434 // optional .goby.acomms.protobuf.DriverType driver_type = 1 [default = DRIVER_NONE, (.goby.field) = {
435 inline bool DriverConfig::has_driver_type() const {
436  return driver_case() == kDriverType;
437 }
438 inline void DriverConfig::set_has_driver_type() {
439  _oneof_case_[0] = kDriverType;
440 }
442  if (has_driver_type()) {
443  driver_.driver_type_ = 1;
444  clear_has_driver();
445  }
446 }
448  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.driver_type)
449  if (has_driver_type()) {
450  return static_cast< ::goby::acomms::protobuf::DriverType >(driver_.driver_type_);
451  }
452  return static_cast< ::goby::acomms::protobuf::DriverType >(1);
453 }
456  if (!has_driver_type()) {
457  clear_driver();
458  set_has_driver_type();
459  }
460  driver_.driver_type_ = value;
461  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.driver_type)
462 }
463 
464 // optional string driver_name = 2 [(.goby.field) = {
465 inline bool DriverConfig::has_driver_name() const {
466  return driver_case() == kDriverName;
467 }
468 inline void DriverConfig::set_has_driver_name() {
469  _oneof_case_[0] = kDriverName;
470 }
472  if (has_driver_name()) {
473  driver_.driver_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
474  clear_has_driver();
475  }
476 }
477 inline const ::std::string& DriverConfig::driver_name() const {
478  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.driver_name)
479  if (has_driver_name()) {
480  return driver_.driver_name_.GetNoArena();
481  }
483 }
484 inline void DriverConfig::set_driver_name(const ::std::string& value) {
485  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.driver_name)
486  if (!has_driver_name()) {
487  clear_driver();
488  set_has_driver_name();
489  driver_.driver_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
490  }
491  driver_.driver_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
492  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.driver_name)
493 }
494 #if LANG_CXX11
495 inline void DriverConfig::set_driver_name(::std::string&& value) {
496  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.driver_name)
497  if (!has_driver_name()) {
498  clear_driver();
499  set_has_driver_name();
500  driver_.driver_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
501  }
502  driver_.driver_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
503  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.DriverConfig.driver_name)
504 }
505 #endif
506 inline void DriverConfig::set_driver_name(const char* value) {
507  GOOGLE_DCHECK(value != NULL);
508  if (!has_driver_name()) {
509  clear_driver();
510  set_has_driver_name();
511  driver_.driver_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
512  }
513  driver_.driver_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
514  ::std::string(value));
515  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.DriverConfig.driver_name)
516 }
517 inline void DriverConfig::set_driver_name(const char* value, size_t size) {
518  if (!has_driver_name()) {
519  clear_driver();
520  set_has_driver_name();
521  driver_.driver_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
522  }
523  driver_.driver_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
524  reinterpret_cast<const char*>(value), size));
525  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.DriverConfig.driver_name)
526 }
527 inline ::std::string* DriverConfig::mutable_driver_name() {
528  if (!has_driver_name()) {
529  clear_driver();
530  set_has_driver_name();
531  driver_.driver_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
532  }
533  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.DriverConfig.driver_name)
534  return driver_.driver_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
535 }
536 inline ::std::string* DriverConfig::release_driver_name() {
537  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.DriverConfig.driver_name)
538  if (has_driver_name()) {
539  clear_has_driver();
540  return driver_.driver_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
541  } else {
542  return NULL;
543  }
544 }
545 inline void DriverConfig::set_allocated_driver_name(::std::string* driver_name) {
546  if (!has_driver_name()) {
547  driver_.driver_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
548  }
549  clear_driver();
550  if (driver_name != NULL) {
551  set_has_driver_name();
552  driver_.driver_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), driver_name);
553  }
554  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.DriverConfig.driver_name)
555 }
556 
557 // optional int32 modem_id = 10 [(.goby.field) = {
558 inline bool DriverConfig::has_modem_id() const {
559  return (_has_bits_[0] & 0x00000020u) != 0;
560 }
561 inline void DriverConfig::set_has_modem_id() {
562  _has_bits_[0] |= 0x00000020u;
563 }
564 inline void DriverConfig::clear_has_modem_id() {
565  _has_bits_[0] &= ~0x00000020u;
566 }
568  modem_id_ = 0;
569  clear_has_modem_id();
570 }
572  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.modem_id)
573  return modem_id_;
574 }
576  set_has_modem_id();
577  modem_id_ = value;
578  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.modem_id)
579 }
580 
581 // optional .goby.acomms.protobuf.DriverConfig.ConnectionType connection_type = 20 [default = CONNECTION_SERIAL, (.goby.field) = {
583  return (_has_bits_[0] & 0x00000080u) != 0;
584 }
585 inline void DriverConfig::set_has_connection_type() {
586  _has_bits_[0] |= 0x00000080u;
587 }
588 inline void DriverConfig::clear_has_connection_type() {
589  _has_bits_[0] &= ~0x00000080u;
590 }
592  connection_type_ = 1;
593  clear_has_connection_type();
594 }
596  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.connection_type)
597  return static_cast< ::goby::acomms::protobuf::DriverConfig_ConnectionType >(connection_type_);
598 }
601  set_has_connection_type();
602  connection_type_ = value;
603  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.connection_type)
604 }
605 
606 // optional string line_delimiter = 21 [default = "\r\n", (.goby.field) = {
607 inline bool DriverConfig::has_line_delimiter() const {
608  return (_has_bits_[0] & 0x00000001u) != 0;
609 }
610 inline void DriverConfig::set_has_line_delimiter() {
611  _has_bits_[0] |= 0x00000001u;
612 }
613 inline void DriverConfig::clear_has_line_delimiter() {
614  _has_bits_[0] &= ~0x00000001u;
615 }
618  clear_has_line_delimiter();
619 }
620 inline const ::std::string& DriverConfig::line_delimiter() const {
621  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.line_delimiter)
622  return line_delimiter_.GetNoArena();
623 }
624 inline void DriverConfig::set_line_delimiter(const ::std::string& value) {
625  set_has_line_delimiter();
627  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.line_delimiter)
628 }
629 #if LANG_CXX11
630 inline void DriverConfig::set_line_delimiter(::std::string&& value) {
631  set_has_line_delimiter();
632  line_delimiter_.SetNoArena(
634  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.DriverConfig.line_delimiter)
635 }
636 #endif
637 inline void DriverConfig::set_line_delimiter(const char* value) {
638  GOOGLE_DCHECK(value != NULL);
639  set_has_line_delimiter();
641  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.DriverConfig.line_delimiter)
642 }
643 inline void DriverConfig::set_line_delimiter(const char* value, size_t size) {
644  set_has_line_delimiter();
646  ::std::string(reinterpret_cast<const char*>(value), size));
647  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.DriverConfig.line_delimiter)
648 }
649 inline ::std::string* DriverConfig::mutable_line_delimiter() {
650  set_has_line_delimiter();
651  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.DriverConfig.line_delimiter)
653 }
654 inline ::std::string* DriverConfig::release_line_delimiter() {
655  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.DriverConfig.line_delimiter)
656  if (!has_line_delimiter()) {
657  return NULL;
658  }
659  clear_has_line_delimiter();
661 }
662 inline void DriverConfig::set_allocated_line_delimiter(::std::string* line_delimiter) {
663  if (line_delimiter != NULL) {
664  set_has_line_delimiter();
665  } else {
666  clear_has_line_delimiter();
667  }
669  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.DriverConfig.line_delimiter)
670 }
671 
672 // optional string serial_port = 22 [(.goby.field) = {
673 inline bool DriverConfig::has_serial_port() const {
674  return (_has_bits_[0] & 0x00000002u) != 0;
675 }
676 inline void DriverConfig::set_has_serial_port() {
677  _has_bits_[0] |= 0x00000002u;
678 }
679 inline void DriverConfig::clear_has_serial_port() {
680  _has_bits_[0] &= ~0x00000002u;
681 }
683  serial_port_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
684  clear_has_serial_port();
685 }
686 inline const ::std::string& DriverConfig::serial_port() const {
687  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.serial_port)
688  return serial_port_.GetNoArena();
689 }
690 inline void DriverConfig::set_serial_port(const ::std::string& value) {
691  set_has_serial_port();
692  serial_port_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
693  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.serial_port)
694 }
695 #if LANG_CXX11
696 inline void DriverConfig::set_serial_port(::std::string&& value) {
697  set_has_serial_port();
698  serial_port_.SetNoArena(
700  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.DriverConfig.serial_port)
701 }
702 #endif
703 inline void DriverConfig::set_serial_port(const char* value) {
704  GOOGLE_DCHECK(value != NULL);
705  set_has_serial_port();
706  serial_port_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
707  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.DriverConfig.serial_port)
708 }
709 inline void DriverConfig::set_serial_port(const char* value, size_t size) {
710  set_has_serial_port();
711  serial_port_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
712  ::std::string(reinterpret_cast<const char*>(value), size));
713  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.DriverConfig.serial_port)
714 }
715 inline ::std::string* DriverConfig::mutable_serial_port() {
716  set_has_serial_port();
717  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.DriverConfig.serial_port)
718  return serial_port_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
719 }
720 inline ::std::string* DriverConfig::release_serial_port() {
721  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.DriverConfig.serial_port)
722  if (!has_serial_port()) {
723  return NULL;
724  }
725  clear_has_serial_port();
726  return serial_port_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
727 }
728 inline void DriverConfig::set_allocated_serial_port(::std::string* serial_port) {
729  if (serial_port != NULL) {
730  set_has_serial_port();
731  } else {
732  clear_has_serial_port();
733  }
734  serial_port_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), serial_port);
735  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.DriverConfig.serial_port)
736 }
737 
738 // optional uint32 serial_baud = 23 [(.goby.field) = {
739 inline bool DriverConfig::has_serial_baud() const {
740  return (_has_bits_[0] & 0x00000040u) != 0;
741 }
742 inline void DriverConfig::set_has_serial_baud() {
743  _has_bits_[0] |= 0x00000040u;
744 }
745 inline void DriverConfig::clear_has_serial_baud() {
746  _has_bits_[0] &= ~0x00000040u;
747 }
749  serial_baud_ = 0u;
750  clear_has_serial_baud();
751 }
753  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.serial_baud)
754  return serial_baud_;
755 }
757  set_has_serial_baud();
758  serial_baud_ = value;
759  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.serial_baud)
760 }
761 
762 // optional string tcp_server = 24 [(.goby.field) = {
763 inline bool DriverConfig::has_tcp_server() const {
764  return (_has_bits_[0] & 0x00000004u) != 0;
765 }
766 inline void DriverConfig::set_has_tcp_server() {
767  _has_bits_[0] |= 0x00000004u;
768 }
769 inline void DriverConfig::clear_has_tcp_server() {
770  _has_bits_[0] &= ~0x00000004u;
771 }
773  tcp_server_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
774  clear_has_tcp_server();
775 }
776 inline const ::std::string& DriverConfig::tcp_server() const {
777  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.tcp_server)
778  return tcp_server_.GetNoArena();
779 }
780 inline void DriverConfig::set_tcp_server(const ::std::string& value) {
781  set_has_tcp_server();
782  tcp_server_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
783  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.tcp_server)
784 }
785 #if LANG_CXX11
786 inline void DriverConfig::set_tcp_server(::std::string&& value) {
787  set_has_tcp_server();
788  tcp_server_.SetNoArena(
790  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.DriverConfig.tcp_server)
791 }
792 #endif
793 inline void DriverConfig::set_tcp_server(const char* value) {
794  GOOGLE_DCHECK(value != NULL);
795  set_has_tcp_server();
796  tcp_server_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
797  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.DriverConfig.tcp_server)
798 }
799 inline void DriverConfig::set_tcp_server(const char* value, size_t size) {
800  set_has_tcp_server();
802  ::std::string(reinterpret_cast<const char*>(value), size));
803  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.DriverConfig.tcp_server)
804 }
805 inline ::std::string* DriverConfig::mutable_tcp_server() {
806  set_has_tcp_server();
807  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.DriverConfig.tcp_server)
808  return tcp_server_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
809 }
810 inline ::std::string* DriverConfig::release_tcp_server() {
811  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.DriverConfig.tcp_server)
812  if (!has_tcp_server()) {
813  return NULL;
814  }
815  clear_has_tcp_server();
816  return tcp_server_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
817 }
818 inline void DriverConfig::set_allocated_tcp_server(::std::string* tcp_server) {
819  if (tcp_server != NULL) {
820  set_has_tcp_server();
821  } else {
822  clear_has_tcp_server();
823  }
824  tcp_server_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tcp_server);
825  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.DriverConfig.tcp_server)
826 }
827 
828 // optional uint32 tcp_port = 25 [(.goby.field) = {
829 inline bool DriverConfig::has_tcp_port() const {
830  return (_has_bits_[0] & 0x00000010u) != 0;
831 }
832 inline void DriverConfig::set_has_tcp_port() {
833  _has_bits_[0] |= 0x00000010u;
834 }
835 inline void DriverConfig::clear_has_tcp_port() {
836  _has_bits_[0] &= ~0x00000010u;
837 }
839  tcp_port_ = 0u;
840  clear_has_tcp_port();
841 }
843  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.tcp_port)
844  return tcp_port_;
845 }
847  set_has_tcp_port();
848  tcp_port_ = value;
849  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.tcp_port)
850 }
851 
852 // optional uint32 reconnect_interval = 26 [default = 10, (.goby.field) = {
854  return (_has_bits_[0] & 0x00000100u) != 0;
855 }
856 inline void DriverConfig::set_has_reconnect_interval() {
857  _has_bits_[0] |= 0x00000100u;
858 }
859 inline void DriverConfig::clear_has_reconnect_interval() {
860  _has_bits_[0] &= ~0x00000100u;
861 }
863  reconnect_interval_ = 10u;
864  clear_has_reconnect_interval();
865 }
867  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.reconnect_interval)
868  return reconnect_interval_;
869 }
871  set_has_reconnect_interval();
872  reconnect_interval_ = value;
873  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.reconnect_interval)
874 }
875 
876 // optional string raw_log = 30 [(.goby.field) = {
877 inline bool DriverConfig::has_raw_log() const {
878  return (_has_bits_[0] & 0x00000008u) != 0;
879 }
880 inline void DriverConfig::set_has_raw_log() {
881  _has_bits_[0] |= 0x00000008u;
882 }
883 inline void DriverConfig::clear_has_raw_log() {
884  _has_bits_[0] &= ~0x00000008u;
885 }
887  raw_log_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
888  clear_has_raw_log();
889 }
890 inline const ::std::string& DriverConfig::raw_log() const {
891  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.DriverConfig.raw_log)
892  return raw_log_.GetNoArena();
893 }
894 inline void DriverConfig::set_raw_log(const ::std::string& value) {
895  set_has_raw_log();
896  raw_log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
897  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.DriverConfig.raw_log)
898 }
899 #if LANG_CXX11
900 inline void DriverConfig::set_raw_log(::std::string&& value) {
901  set_has_raw_log();
902  raw_log_.SetNoArena(
904  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.DriverConfig.raw_log)
905 }
906 #endif
907 inline void DriverConfig::set_raw_log(const char* value) {
908  GOOGLE_DCHECK(value != NULL);
909  set_has_raw_log();
910  raw_log_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
911  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.DriverConfig.raw_log)
912 }
913 inline void DriverConfig::set_raw_log(const char* value, size_t size) {
914  set_has_raw_log();
916  ::std::string(reinterpret_cast<const char*>(value), size));
917  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.DriverConfig.raw_log)
918 }
919 inline ::std::string* DriverConfig::mutable_raw_log() {
920  set_has_raw_log();
921  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.DriverConfig.raw_log)
922  return raw_log_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
923 }
924 inline ::std::string* DriverConfig::release_raw_log() {
925  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.DriverConfig.raw_log)
926  if (!has_raw_log()) {
927  return NULL;
928  }
929  clear_has_raw_log();
930  return raw_log_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
931 }
932 inline void DriverConfig::set_allocated_raw_log(::std::string* raw_log) {
933  if (raw_log != NULL) {
934  set_has_raw_log();
935  } else {
936  clear_has_raw_log();
937  }
938  raw_log_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), raw_log);
939  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.DriverConfig.raw_log)
940 }
941 
942 inline bool DriverConfig::has_driver() const {
943  return driver_case() != DRIVER_NOT_SET;
944 }
945 inline void DriverConfig::clear_has_driver() {
946  _oneof_case_[0] = DRIVER_NOT_SET;
947 }
949  return DriverConfig::DriverCase(_oneof_case_[0]);
950 }
951 #ifdef __GNUC__
952  #pragma GCC diagnostic pop
953 #endif // __GNUC__
954 
955 // @@protoc_insertion_point(namespace_scope)
956 
957 } // namespace protobuf
958 } // namespace acomms
959 } // namespace goby
960 
961 namespace google {
962 namespace protobuf {
963 
964 template <> struct is_proto_enum< ::goby::acomms::protobuf::DriverConfig_ConnectionType> : ::std::true_type {};
965 template <>
966 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::DriverConfig_ConnectionType>() {
968 }
969 template <> struct is_proto_enum< ::goby::acomms::protobuf::DriverType> : ::std::true_type {};
970 template <>
971 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::DriverType>() {
973 }
974 
975 } // namespace protobuf
976 } // namespace google
977 
978 // @@protoc_insertion_point(global_scope)
979 
980 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto
goby::acomms::protobuf::DriverConfig
Definition: driver_base.pb.h:123
goby::acomms::protobuf::DriverConfig::clear_reconnect_interval
void clear_reconnect_interval()
Definition: driver_base.pb.h:862
goby::acomms::protobuf::DriverConfig::mutable_raw_log
::std::string * mutable_raw_log()
Definition: driver_base.pb.h:919
protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto::AddDescriptors
void AddDescriptors()
goby::acomms::protobuf::DRIVER_WHOI_MICROMODEM
@ DRIVER_WHOI_MICROMODEM
Definition: driver_base.pb.h:94
goby::acomms::protobuf::DRIVER_POPOTO
@ DRIVER_POPOTO
Definition: driver_base.pb.h:104
goby::acomms::protobuf::DriverConfig::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::acomms::protobuf::DRIVER_BLUEFIN_MOOS
@ DRIVER_BLUEFIN_MOOS
Definition: driver_base.pb.h:99
goby::acomms::protobuf::DriverConfig::set_reconnect_interval
void set_reconnect_interval(::google::protobuf::uint32 value)
Definition: driver_base.pb.h:870
google::protobuf::internal::GetEmptyStringAlreadyInited
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:133
goby::acomms::protobuf::DriverConfig::set_serial_baud
void set_serial_baud(::google::protobuf::uint32 value)
Definition: driver_base.pb.h:756
goby::acomms::protobuf::DriverConfig::has_raw_log
bool has_raw_log() const
Definition: driver_base.pb.h:877
goby::acomms::protobuf::DriverConfig::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: driver_base.pb.h:152
goby::acomms::protobuf::DriverConfig::kLineDelimiterFieldNumber
static const int kLineDelimiterFieldNumber
Definition: driver_base.pb.h:254
goby::acomms::protobuf::DriverType_ARRAYSIZE
const int DriverType_ARRAYSIZE
Definition: driver_base.pb.h:109
goby::acomms::protobuf::DriverConfig::line_delimiter
const ::std::string & line_delimiter() const
Definition: driver_base.pb.h:620
goby::acomms::protobuf::DriverConfig::has_driver_name
bool has_driver_name() const
Definition: driver_base.pb.h:465
goby::acomms::protobuf::DriverConfig_ConnectionType_descriptor
const ::google::protobuf::EnumDescriptor * DriverConfig_ConnectionType_descriptor()
goby::acomms::protobuf::DriverType
DriverType
Definition: driver_base.pb.h:92
goby::acomms::protobuf::DriverConfig::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: driver_base.pb.h:170
goby::acomms::protobuf::DriverConfig::ConnectionType_Name
static const ::std::string & ConnectionType_Name(ConnectionType value)
Definition: driver_base.pb.h:241
goby::acomms::protobuf::DriverConfig::New
DriverConfig * New(::google::protobuf::Arena *arena) const final
Definition: driver_base.pb.h:184
goby::acomms::protobuf::DriverConfig::kTcpPortFieldNumber
static const int kTcpPortFieldNumber
Definition: driver_base.pb.h:314
goby::acomms::protobuf::DriverConfig::kSerialBaudFieldNumber
static const int kSerialBaudFieldNumber
Definition: driver_base.pb.h:328
goby::acomms::protobuf::DriverConfig::set_modem_id
void set_modem_id(::google::protobuf::int32 value)
Definition: driver_base.pb.h:575
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::acomms::protobuf::DriverConfig::set_line_delimiter
void set_line_delimiter(const ::std::string &value)
Definition: driver_base.pb.h:624
goby::acomms::protobuf::DriverType_Parse
bool DriverType_Parse(const ::std::string &name, DriverType *value)
Definition: driver_base.pb.h:116
goby::acomms::protobuf::DriverConfig::Clear
void Clear() final
goby::acomms::protobuf::DriverConfig::clear_driver_type
void clear_driver_type()
Definition: driver_base.pb.h:441
goby::acomms::protobuf::DriverConfig::kDriverName
@ kDriverName
Definition: driver_base.pb.h:161
goby::acomms::protobuf::DriverConfig::kConnectionTypeFieldNumber
static const int kConnectionTypeFieldNumber
Definition: driver_base.pb.h:335
goby::acomms::protobuf::DriverConfig::tcp_server
const ::std::string & tcp_server() const
Definition: driver_base.pb.h:776
goby::acomms::protobuf::DRIVER_UFIELD_SIM_DRIVER
@ DRIVER_UFIELD_SIM_DRIVER
Definition: driver_base.pb.h:96
goby::acomms::protobuf::DRIVER_NONE
@ DRIVER_NONE
Definition: driver_base.pb.h:93
goby::acomms::protobuf::DriverConfig::_i_give_permission_to_break_this_code_default_line_delimiter_
static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string > _i_give_permission_to_break_this_code_default_line_delimiter_
Definition: driver_base.pb.h:403
goby::acomms::protobuf::DriverConfig::swap
friend void swap(DriverConfig &a, DriverConfig &b)
Definition: driver_base.pb.h:174
goby::acomms::protobuf::DriverConfig::connection_type
::goby::acomms::protobuf::DriverConfig_ConnectionType connection_type() const
Definition: driver_base.pb.h:595
goby::acomms::protobuf::DriverConfig::internal_default_instance
static const DriverConfig * internal_default_instance()
Definition: driver_base.pb.h:166
goby::acomms::protobuf::DriverConfig_ConnectionType
DriverConfig_ConnectionType
Definition: driver_base.pb.h:72
goby::acomms::protobuf::DriverConfig_ConnectionType_ConnectionType_MIN
const DriverConfig_ConnectionType DriverConfig_ConnectionType_ConnectionType_MIN
Definition: driver_base.pb.h:78
goby::acomms::protobuf::DriverConfig::kModemIdFieldNumber
static const int kModemIdFieldNumber
Definition: driver_base.pb.h:321
goby::acomms::protobuf::DriverConfig::release_driver_name
::std::string * release_driver_name()
Definition: driver_base.pb.h:536
goby::acomms::protobuf::DriverConfig_ConnectionType_Parse
bool DriverConfig_ConnectionType_Parse(const ::std::string &name, DriverConfig_ConnectionType *value)
Definition: driver_base.pb.h:87
goby::acomms::protobuf::DriverConfig::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::acomms::protobuf::DriverConfig_ConnectionType_CONNECTION_TCP_AS_CLIENT
@ DriverConfig_ConnectionType_CONNECTION_TCP_AS_CLIENT
Definition: driver_base.pb.h:74
goby::acomms::protobuf::DriverConfig::GetCachedSize
int GetCachedSize() const final
Definition: driver_base.pb.h:201
goby::acomms::protobuf::DriverConfig_ConnectionType_IsValid
bool DriverConfig_ConnectionType_IsValid(int value)
goby::acomms::protobuf::DriverConfig::set_tcp_port
void set_tcp_port(::google::protobuf::uint32 value)
Definition: driver_base.pb.h:846
goby::acomms::protobuf::DriverConfig::ConnectionType_descriptor
static const ::google::protobuf::EnumDescriptor * ConnectionType_descriptor()
Definition: driver_base.pb.h:238
protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto
Definition: driver_base.pb.h:42
goby::acomms::protobuf::DriverConfig::kDriverType
@ kDriverType
Definition: driver_base.pb.h:160
goby::acomms::protobuf::DriverConfig::New
DriverConfig * New() const final
Definition: driver_base.pb.h:180
google::protobuf::Arena
Definition: arena.h:244
protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto::TableStruct
Definition: driver_base.pb.h:44
goby::acomms::protobuf::DriverConfig::operator=
DriverConfig & operator=(const DriverConfig &from)
Definition: driver_base.pb.h:130
goby::acomms::protobuf::DriverConfig::kDriverTypeFieldNumber
static const int kDriverTypeFieldNumber
Definition: driver_base.pb.h:349
protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: driver_base.pb.h:46
goby::acomms::protobuf::DriverConfig::ByteSizeLong
size_t ByteSizeLong() const final
goby::acomms::protobuf::DriverConfig::kTcpServerFieldNumber
static const int kTcpServerFieldNumber
Definition: driver_base.pb.h:284
goby::acomms::protobuf::DriverConfig::has_connection_type
bool has_connection_type() const
Definition: driver_base.pb.h:582
goby::acomms::protobuf::DRIVER_ABC_EXAMPLE_MODEM
@ DRIVER_ABC_EXAMPLE_MODEM
Definition: driver_base.pb.h:95
goby::acomms::protobuf::DriverType_Name
const ::std::string & DriverType_Name(DriverType value)
Definition: driver_base.pb.h:112
goby::acomms::protobuf::DriverConfig::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: driver_base.pb.h:48
goby::acomms::protobuf::DriverConfig::ConnectionType_ARRAYSIZE
static const int ConnectionType_ARRAYSIZE
Definition: driver_base.pb.h:235
goby::acomms::protobuf::DriverConfig::release_tcp_server
::std::string * release_tcp_server()
Definition: driver_base.pb.h:810
goby::acomms::protobuf::DriverConfig::has_line_delimiter
bool has_line_delimiter() const
Definition: driver_base.pb.h:607
goby::acomms::protobuf::DriverConfig::driver_type
::goby::acomms::protobuf::DriverType driver_type() const
Definition: driver_base.pb.h:447
goby::acomms::protobuf::DriverConfig::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: driver_base.pb.h:149
goby::acomms::protobuf::DriverConfig::has_driver_type
bool has_driver_type() const
Definition: driver_base.pb.h:435
goby::acomms::protobuf::DriverConfig::set_serial_port
void set_serial_port(const ::std::string &value)
Definition: driver_base.pb.h:690
goby::acomms::protobuf::DriverConfig_ConnectionType_CONNECTION_SERIAL
@ DriverConfig_ConnectionType_CONNECTION_SERIAL
Definition: driver_base.pb.h:73
goby::acomms::protobuf::DriverConfig::clear_driver
void clear_driver()
goby::acomms::protobuf::DriverConfig::mutable_line_delimiter
::std::string * mutable_line_delimiter()
Definition: driver_base.pb.h:649
message.h
goby::acomms::protobuf::DriverConfig::clear_modem_id
void clear_modem_id()
Definition: driver_base.pb.h:567
goby::acomms::protobuf::DriverConfig::mutable_tcp_server
::std::string * mutable_tcp_server()
Definition: driver_base.pb.h:805
goby::acomms::protobuf::DriverConfig::default_instance
static const DriverConfig & default_instance()
goby::acomms::protobuf::DriverConfig::ConnectionType_MIN
static const ConnectionType ConnectionType_MIN
Definition: driver_base.pb.h:231
goby::acomms::protobuf::DriverConfig::set_driver_name
void set_driver_name(const ::std::string &value)
Definition: driver_base.pb.h:484
goby::acomms::protobuf::DriverConfig::has_modem_id
bool has_modem_id() const
Definition: driver_base.pb.h:558
goby::acomms::protobuf::DriverConfig::set_allocated_driver_name
void set_allocated_driver_name(::std::string *driver_name)
Definition: driver_base.pb.h:545
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::acomms::protobuf::DriverConfig::kReconnectIntervalFieldNumber
static const int kReconnectIntervalFieldNumber
Definition: driver_base.pb.h:342
goby::acomms::protobuf::DriverConfig::release_line_delimiter
::std::string * release_line_delimiter()
Definition: driver_base.pb.h:654
goby::acomms::protobuf::DriverConfig::has_tcp_port
bool has_tcp_port() const
Definition: driver_base.pb.h:829
goby::acomms::protobuf::DriverConfig::kDriverNameFieldNumber
static const int kDriverNameFieldNumber
Definition: driver_base.pb.h:356
goby::int32
std::int32_t int32
Definition: primitive_types.h:33
goby::acomms::protobuf::DriverConfig::mutable_driver_name
::std::string * mutable_driver_name()
Definition: driver_base.pb.h:527
goby::acomms::protobuf::DriverConfig::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::acomms::protobuf::DriverConfig::mutable_serial_port
::std::string * mutable_serial_port()
Definition: driver_base.pb.h:715
goby::acomms::protobuf::DriverConfig_ConnectionType_ConnectionType_ARRAYSIZE
const int DriverConfig_ConnectionType_ConnectionType_ARRAYSIZE
Definition: driver_base.pb.h:80
goby::acomms::protobuf::DriverConfig::release_raw_log
::std::string * release_raw_log()
Definition: driver_base.pb.h:924
goby::acomms::protobuf::DriverConfig::set_allocated_tcp_server
void set_allocated_tcp_server(::std::string *tcp_server)
Definition: driver_base.pb.h:818
goby::acomms::protobuf::DriverConfig::clear_connection_type
void clear_connection_type()
Definition: driver_base.pb.h:591
goby::acomms::protobuf::DRIVER_BENTHOS_ATM900
@ DRIVER_BENTHOS_ATM900
Definition: driver_base.pb.h:102
goby::acomms::protobuf::DriverConfig::clear_serial_baud
void clear_serial_baud()
Definition: driver_base.pb.h:748
goby::acomms::protobuf::DriverConfig::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: driver_base.pb.h:50
goby::acomms::protobuf::DriverConfig::tcp_port
::google::protobuf::uint32 tcp_port() const
Definition: driver_base.pb.h:842
goby::acomms::protobuf::DriverConfig::modem_id
::google::protobuf::int32 modem_id() const
Definition: driver_base.pb.h:571
goby::acomms::protobuf::DriverConfig_ConnectionType_ConnectionType_MAX
const DriverConfig_ConnectionType DriverConfig_ConnectionType_ConnectionType_MAX
Definition: driver_base.pb.h:79
goby::acomms::protobuf::DriverConfig_ConnectionType_Name
const ::std::string & DriverConfig_ConnectionType_Name(DriverConfig_ConnectionType value)
Definition: driver_base.pb.h:83
goby::acomms::protobuf::DriverConfig::DriverConfig
DriverConfig()
goby::acomms::protobuf::DriverConfig::serial_baud
::google::protobuf::uint32 serial_baud() const
Definition: driver_base.pb.h:752
goby::acomms::protobuf::DriverConfig::has_reconnect_interval
bool has_reconnect_interval() const
Definition: driver_base.pb.h:853
google::protobuf::Metadata
Definition: message.h:174
goby::acomms::protobuf::DriverConfig::DriverCase
DriverCase
Definition: driver_base.pb.h:159
detail::get
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())
Definition: json.hpp:5271
goby::acomms::protobuf::DriverConfig::set_connection_type
void set_connection_type(::goby::acomms::protobuf::DriverConfig_ConnectionType value)
Definition: driver_base.pb.h:599
goby::acomms::protobuf::DriverConfig::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::acomms::protobuf::DriverConfig::clear_raw_log
void clear_raw_log()
Definition: driver_base.pb.h:886
goby::acomms::protobuf::DriverConfig::set_allocated_raw_log
void set_allocated_raw_log(::std::string *raw_log)
Definition: driver_base.pb.h:932
goby::acomms::protobuf::DriverType_descriptor
const ::google::protobuf::EnumDescriptor * DriverType_descriptor()
google::protobuf::Message
Definition: message.h:189
goby::acomms::protobuf::DriverConfig::set_raw_log
void set_raw_log(const ::std::string &value)
Definition: driver_base.pb.h:894
goby::acomms::protobuf::DRIVER_UDP_MULTICAST
@ DRIVER_UDP_MULTICAST
Definition: driver_base.pb.h:103
goby::acomms::protobuf::DriverConfig::clear_driver_name
void clear_driver_name()
Definition: driver_base.pb.h:471
goby::acomms::protobuf::DriverConfig::set_allocated_line_delimiter
void set_allocated_line_delimiter(::std::string *line_delimiter)
Definition: driver_base.pb.h:662
goby::acomms::protobuf::DriverConfig::set_driver_type
void set_driver_type(::goby::acomms::protobuf::DriverType value)
Definition: driver_base.pb.h:454
goby::acomms::protobuf::DriverConfig_ConnectionType_CONNECTION_TCP_AS_SERVER
@ DriverConfig_ConnectionType_CONNECTION_TCP_AS_SERVER
Definition: driver_base.pb.h:75
goby::acomms::protobuf::DRIVER_UDP
@ DRIVER_UDP
Definition: driver_base.pb.h:98
goby::acomms::protobuf::DriverConfig::raw_log
const ::std::string & raw_log() const
Definition: driver_base.pb.h:890
goby::acomms::protobuf::DriverConfig::ConnectionType_MAX
static const ConnectionType ConnectionType_MAX
Definition: driver_base.pb.h:233
arena.h
goby::acomms::protobuf::DriverConfig::ConnectionType_Parse
static bool ConnectionType_Parse(const ::std::string &name, ConnectionType *value)
Definition: driver_base.pb.h:244
goby::acomms::protobuf::_DriverConfig_default_instance_
DriverConfigDefaultTypeInternal _DriverConfig_default_instance_
protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: driver_base.pb.h:47
goby::acomms::protobuf::DriverConfig::driver_name
const ::std::string & driver_name() const
Definition: driver_base.pb.h:477
goby::acomms::protobuf::DriverConfig::kSerialPortFieldNumber
static const int kSerialPortFieldNumber
Definition: driver_base.pb.h:269
goby::acomms::protobuf::DriverConfig::release_serial_port
::std::string * release_serial_port()
Definition: driver_base.pb.h:720
goby::acomms::protobuf::DriverConfig::reconnect_interval
::google::protobuf::uint32 reconnect_interval() const
Definition: driver_base.pb.h:866
goby::acomms::protobuf::DriverConfig::kRawLogFieldNumber
static const int kRawLogFieldNumber
Definition: driver_base.pb.h:299
goby::acomms::protobuf::DRIVER_IRIDIUM_SHORE
@ DRIVER_IRIDIUM_SHORE
Definition: driver_base.pb.h:101
goby::acomms::protobuf::DRIVER_IRIDIUM
@ DRIVER_IRIDIUM
Definition: driver_base.pb.h:100
goby::acomms::protobuf::DriverConfig::clear_serial_port
void clear_serial_port()
Definition: driver_base.pb.h:682
option_extensions.pb.h
goby::acomms::protobuf::DriverConfig::clear_line_delimiter
void clear_line_delimiter()
Definition: driver_base.pb.h:616
goby::acomms::protobuf::DriverType_MAX
const DriverType DriverType_MAX
Definition: driver_base.pb.h:108
protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: driver_base.pb.h:45
goby::acomms::protobuf::DriverConfig::has_serial_port
bool has_serial_port() const
Definition: driver_base.pb.h:673
goby::acomms::protobuf::DriverConfig::driver_case
DriverCase driver_case() const
Definition: driver_base.pb.h:948
goby::acomms::protobuf::DriverConfig::CONNECTION_TCP_AS_CLIENT
static const ConnectionType CONNECTION_TCP_AS_CLIENT
Definition: driver_base.pb.h:224
goby::acomms::protobuf::DriverType_MIN
const DriverType DriverType_MIN
Definition: driver_base.pb.h:107
goby::acomms::protobuf::DriverConfig::Swap
void Swap(DriverConfig *other)
goby::acomms::protobuf::DriverConfig::set_tcp_server
void set_tcp_server(const ::std::string &value)
Definition: driver_base.pb.h:780
goby::acomms::protobuf::DriverConfig::CONNECTION_TCP_AS_SERVER
static const ConnectionType CONNECTION_TCP_AS_SERVER
Definition: driver_base.pb.h:226
goby::acomms::protobuf::DriverConfig::clear_tcp_server
void clear_tcp_server()
Definition: driver_base.pb.h:772
goby::acomms::protobuf::DRIVER_STORE_SERVER
@ DRIVER_STORE_SERVER
Definition: driver_base.pb.h:97
goby::acomms::protobuf::DriverConfig::serial_port
const ::std::string & serial_port() const
Definition: driver_base.pb.h:686
protobuf_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: driver_base.pb.h:49
goby::acomms::protobuf::DriverConfig::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::acomms::protobuf::DriverConfig::DRIVER_NOT_SET
@ DRIVER_NOT_SET
Definition: driver_base.pb.h:162
goby::acomms::protobuf::DriverType_IsValid
bool DriverType_IsValid(int value)
goby::acomms::protobuf::DriverConfig::has_tcp_server
bool has_tcp_server() const
Definition: driver_base.pb.h:763
google
Definition: dccl.h:57
goby::acomms::protobuf::DriverConfig::IsInitialized
bool IsInitialized() const final
goby::acomms::protobuf::DriverConfig::set_allocated_serial_port
void set_allocated_serial_port(::std::string *serial_port)
Definition: driver_base.pb.h:728
goby::acomms::protobuf::DriverConfig::clear_tcp_port
void clear_tcp_port()
Definition: driver_base.pb.h:838
goby::acomms::protobuf::DriverConfig::ConnectionType_IsValid
static bool ConnectionType_IsValid(int value)
Definition: driver_base.pb.h:228
goby::acomms::protobuf::DriverConfig::CONNECTION_SERIAL
static const ConnectionType CONNECTION_SERIAL
Definition: driver_base.pb.h:222
goby::acomms::protobuf::DriverConfig::has_serial_baud
bool has_serial_baud() const
Definition: driver_base.pb.h:739
goby::acomms::protobuf::DriverConfig::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::acomms::protobuf::DriverConfig::~DriverConfig
virtual ~DriverConfig()