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