Goby3  3.1.5
2024.05.14
udp_driver.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/udp_driver.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fudp_5fdriver_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/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_2fudp_5fdriver_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[2];
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_2fudp_5fdriver_2eproto
54 namespace goby {
55 namespace acomms {
56 namespace udp {
57 namespace protobuf {
58 class Config;
59 class ConfigDefaultTypeInternal;
60 extern ConfigDefaultTypeInternal _Config_default_instance_;
61 class Config_EndPoint;
62 class Config_EndPointDefaultTypeInternal;
63 extern Config_EndPointDefaultTypeInternal _Config_EndPoint_default_instance_;
64 } // namespace protobuf
65 } // namespace udp
66 } // namespace acomms
67 } // namespace goby
68 namespace google {
69 namespace protobuf {
70 template<> ::goby::acomms::udp::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::udp::protobuf::Config>(Arena*);
71 template<> ::goby::acomms::udp::protobuf::Config_EndPoint* Arena::CreateMaybeMessage<::goby::acomms::udp::protobuf::Config_EndPoint>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace goby {
75 namespace acomms {
76 namespace udp {
77 namespace protobuf {
78 
79 // ===================================================================
80 
81 class Config_EndPoint : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.udp.protobuf.Config.EndPoint) */ {
82  public:
84  virtual ~Config_EndPoint();
85 
86  Config_EndPoint(const Config_EndPoint& from);
87 
88  inline Config_EndPoint& operator=(const Config_EndPoint& from) {
89  CopyFrom(from);
90  return *this;
91  }
92  #if LANG_CXX11
93  Config_EndPoint(Config_EndPoint&& from) noexcept
94  : Config_EndPoint() {
95  *this = ::std::move(from);
96  }
97 
98  inline Config_EndPoint& operator=(Config_EndPoint&& from) noexcept {
99  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
100  if (this != &from) InternalSwap(&from);
101  } else {
102  CopyFrom(from);
103  }
104  return *this;
105  }
106  #endif
107  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
108  return _internal_metadata_.unknown_fields();
109  }
110  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
111  return _internal_metadata_.mutable_unknown_fields();
112  }
113 
114  static const ::google::protobuf::Descriptor* descriptor();
115  static const Config_EndPoint& default_instance();
116 
117  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
119  return reinterpret_cast<const Config_EndPoint*>(
121  }
122  static constexpr int kIndexInFileMessages =
123  0;
124 
125  void Swap(Config_EndPoint* other);
126  friend void swap(Config_EndPoint& a, Config_EndPoint& b) {
127  a.Swap(&b);
128  }
129 
130  // implements Message ----------------------------------------------
131 
132  inline Config_EndPoint* New() const final {
133  return CreateMaybeMessage<Config_EndPoint>(NULL);
134  }
135 
136  Config_EndPoint* New(::google::protobuf::Arena* arena) const final {
137  return CreateMaybeMessage<Config_EndPoint>(arena);
138  }
139  void CopyFrom(const ::google::protobuf::Message& from) final;
140  void MergeFrom(const ::google::protobuf::Message& from) final;
141  void CopyFrom(const Config_EndPoint& from);
142  void MergeFrom(const Config_EndPoint& from);
143  void Clear() final;
144  bool IsInitialized() const final;
145 
146  size_t ByteSizeLong() const final;
148  ::google::protobuf::io::CodedInputStream* input) final;
150  ::google::protobuf::io::CodedOutputStream* output) const final;
152  bool deterministic, ::google::protobuf::uint8* target) const final;
153  int GetCachedSize() const final { return _cached_size_.Get(); }
154 
155  private:
156  void SharedCtor();
157  void SharedDtor();
158  void SetCachedSize(int size) const final;
159  void InternalSwap(Config_EndPoint* other);
160  private:
161  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
162  return NULL;
163  }
164  inline void* MaybeArenaPtr() const {
165  return NULL;
166  }
167  public:
168 
170 
171  // nested types ----------------------------------------------------
172 
173  // accessors -------------------------------------------------------
174 
175  // optional string ip = 2 [default = "127.0.0.1"];
176  bool has_ip() const;
177  void clear_ip();
178  static const int kIpFieldNumber = 2;
179  const ::std::string& ip() const;
180  void set_ip(const ::std::string& value);
181  #if LANG_CXX11
182  void set_ip(::std::string&& value);
183  #endif
184  void set_ip(const char* value);
185  void set_ip(const char* value, size_t size);
186  ::std::string* mutable_ip();
187  ::std::string* release_ip();
188  void set_allocated_ip(::std::string* ip);
189 
190  // optional uint32 modem_id = 1 [default = 0];
191  bool has_modem_id() const;
192  void clear_modem_id();
193  static const int kModemIdFieldNumber = 1;
196 
197  // required uint32 port = 3;
198  bool has_port() const;
199  void clear_port();
200  static const int kPortFieldNumber = 3;
202  void set_port(::google::protobuf::uint32 value);
203 
204  // @@protoc_insertion_point(class_scope:goby.acomms.udp.protobuf.Config.EndPoint)
205  private:
206  void set_has_modem_id();
207  void clear_has_modem_id();
208  void set_has_ip();
209  void clear_has_ip();
210  void set_has_port();
211  void clear_has_port();
212 
213  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
214  ::google::protobuf::internal::HasBits<1> _has_bits_;
215  mutable ::google::protobuf::internal::CachedSize _cached_size_;
216  public:
217  static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_ip_;
218  private:
219  ::google::protobuf::internal::ArenaStringPtr ip_;
220  ::google::protobuf::uint32 modem_id_;
222  friend struct ::protobuf_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto::TableStruct;
223 };
224 // -------------------------------------------------------------------
225 
226 class Config : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.udp.protobuf.Config) */ {
227  public:
228  Config();
229  virtual ~Config();
230 
231  Config(const Config& from);
232 
233  inline Config& operator=(const Config& from) {
234  CopyFrom(from);
235  return *this;
236  }
237  #if LANG_CXX11
238  Config(Config&& from) noexcept
239  : Config() {
240  *this = ::std::move(from);
241  }
242 
243  inline Config& operator=(Config&& from) noexcept {
244  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
245  if (this != &from) InternalSwap(&from);
246  } else {
247  CopyFrom(from);
248  }
249  return *this;
250  }
251  #endif
252  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
253  return _internal_metadata_.unknown_fields();
254  }
255  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
256  return _internal_metadata_.mutable_unknown_fields();
257  }
258 
259  static const ::google::protobuf::Descriptor* descriptor();
260  static const Config& default_instance();
261 
262  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
263  static inline const Config* internal_default_instance() {
264  return reinterpret_cast<const Config*>(
266  }
267  static constexpr int kIndexInFileMessages =
268  1;
269 
270  void Swap(Config* other);
271  friend void swap(Config& a, Config& b) {
272  a.Swap(&b);
273  }
274 
275  // implements Message ----------------------------------------------
276 
277  inline Config* New() const final {
278  return CreateMaybeMessage<Config>(NULL);
279  }
280 
281  Config* New(::google::protobuf::Arena* arena) const final {
282  return CreateMaybeMessage<Config>(arena);
283  }
284  void CopyFrom(const ::google::protobuf::Message& from) final;
285  void MergeFrom(const ::google::protobuf::Message& from) final;
286  void CopyFrom(const Config& from);
287  void MergeFrom(const Config& from);
288  void Clear() final;
289  bool IsInitialized() const final;
290 
291  size_t ByteSizeLong() const final;
293  ::google::protobuf::io::CodedInputStream* input) final;
295  ::google::protobuf::io::CodedOutputStream* output) const final;
297  bool deterministic, ::google::protobuf::uint8* target) const final;
298  int GetCachedSize() const final { return _cached_size_.Get(); }
299 
300  private:
301  void SharedCtor();
302  void SharedDtor();
303  void SetCachedSize(int size) const final;
304  void InternalSwap(Config* other);
305  private:
306  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
307  return NULL;
308  }
309  inline void* MaybeArenaPtr() const {
310  return NULL;
311  }
312  public:
313 
315 
316  // nested types ----------------------------------------------------
317 
319 
320  // accessors -------------------------------------------------------
321 
322  // repeated .goby.acomms.udp.protobuf.Config.EndPoint remote = 2 [(.goby.field) = {
323  int remote_size() const;
324  void clear_remote();
325  static const int kRemoteFieldNumber = 2;
326  ::goby::acomms::udp::protobuf::Config_EndPoint* mutable_remote(int index);
327  ::google::protobuf::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint >*
328  mutable_remote();
329  const ::goby::acomms::udp::protobuf::Config_EndPoint& remote(int index) const;
330  ::goby::acomms::udp::protobuf::Config_EndPoint* add_remote();
331  const ::google::protobuf::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint >&
332  remote() const;
333 
334  // repeated uint32 additional_application_ack_modem_id = 21;
338  ::google::protobuf::uint32 additional_application_ack_modem_id(int index) const;
339  void set_additional_application_ack_modem_id(int index, ::google::protobuf::uint32 value);
340  void add_additional_application_ack_modem_id(::google::protobuf::uint32 value);
341  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
343  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
345 
346  // required .goby.acomms.udp.protobuf.Config.EndPoint local = 1 [(.goby.field) = {
347  bool has_local() const;
348  void clear_local();
349  static const int kLocalFieldNumber = 1;
350  private:
351  const ::goby::acomms::udp::protobuf::Config_EndPoint& _internal_local() const;
352  public:
353  const ::goby::acomms::udp::protobuf::Config_EndPoint& local() const;
354  ::goby::acomms::udp::protobuf::Config_EndPoint* release_local();
355  ::goby::acomms::udp::protobuf::Config_EndPoint* mutable_local();
356  void set_allocated_local(::goby::acomms::udp::protobuf::Config_EndPoint* local);
357 
358  // optional bool ipv6 = 4 [default = false];
359  bool has_ipv6() const;
360  void clear_ipv6();
361  static const int kIpv6FieldNumber = 4;
362  bool ipv6() const;
363  void set_ipv6(bool value);
364 
365  // optional int32 max_frame_size = 3 [default = 1400];
366  bool has_max_frame_size() const;
367  void clear_max_frame_size();
368  static const int kMaxFrameSizeFieldNumber = 3;
369  ::google::protobuf::int32 max_frame_size() const;
370  void set_max_frame_size(::google::protobuf::int32 value);
371 
372  // @@protoc_insertion_point(class_scope:goby.acomms.udp.protobuf.Config)
373  private:
374  void set_has_local();
375  void clear_has_local();
376  void set_has_max_frame_size();
377  void clear_has_max_frame_size();
378  void set_has_ipv6();
379  void clear_has_ipv6();
380 
381  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
382  ::google::protobuf::internal::HasBits<1> _has_bits_;
383  mutable ::google::protobuf::internal::CachedSize _cached_size_;
384  ::google::protobuf::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint > remote_;
385  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > additional_application_ack_modem_id_;
386  ::goby::acomms::udp::protobuf::Config_EndPoint* local_;
387  bool ipv6_;
388  ::google::protobuf::int32 max_frame_size_;
390 };
391 // ===================================================================
392 
393 static const int kConfigFieldNumber = 1341;
394 extern ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
395  ::google::protobuf::internal::MessageTypeTraits< ::goby::acomms::udp::protobuf::Config >, 11, false >
397 
398 // ===================================================================
399 
400 #ifdef __GNUC__
401  #pragma GCC diagnostic push
402  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
403 #endif // __GNUC__
404 // Config_EndPoint
405 
406 // optional uint32 modem_id = 1 [default = 0];
407 inline bool Config_EndPoint::has_modem_id() const {
408  return (_has_bits_[0] & 0x00000002u) != 0;
409 }
410 inline void Config_EndPoint::set_has_modem_id() {
411  _has_bits_[0] |= 0x00000002u;
412 }
413 inline void Config_EndPoint::clear_has_modem_id() {
414  _has_bits_[0] &= ~0x00000002u;
415 }
417  modem_id_ = 0u;
418  clear_has_modem_id();
419 }
421  // @@protoc_insertion_point(field_get:goby.acomms.udp.protobuf.Config.EndPoint.modem_id)
422  return modem_id_;
423 }
425  set_has_modem_id();
426  modem_id_ = value;
427  // @@protoc_insertion_point(field_set:goby.acomms.udp.protobuf.Config.EndPoint.modem_id)
428 }
429 
430 // optional string ip = 2 [default = "127.0.0.1"];
431 inline bool Config_EndPoint::has_ip() const {
432  return (_has_bits_[0] & 0x00000001u) != 0;
433 }
434 inline void Config_EndPoint::set_has_ip() {
435  _has_bits_[0] |= 0x00000001u;
436 }
437 inline void Config_EndPoint::clear_has_ip() {
438  _has_bits_[0] &= ~0x00000001u;
439 }
442  clear_has_ip();
443 }
444 inline const ::std::string& Config_EndPoint::ip() const {
445  // @@protoc_insertion_point(field_get:goby.acomms.udp.protobuf.Config.EndPoint.ip)
446  return ip_.GetNoArena();
447 }
448 inline void Config_EndPoint::set_ip(const ::std::string& value) {
449  set_has_ip();
451  // @@protoc_insertion_point(field_set:goby.acomms.udp.protobuf.Config.EndPoint.ip)
452 }
453 #if LANG_CXX11
454 inline void Config_EndPoint::set_ip(::std::string&& value) {
455  set_has_ip();
456  ip_.SetNoArena(
458  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.udp.protobuf.Config.EndPoint.ip)
459 }
460 #endif
461 inline void Config_EndPoint::set_ip(const char* value) {
462  GOOGLE_DCHECK(value != NULL);
463  set_has_ip();
465  // @@protoc_insertion_point(field_set_char:goby.acomms.udp.protobuf.Config.EndPoint.ip)
466 }
467 inline void Config_EndPoint::set_ip(const char* value, size_t size) {
468  set_has_ip();
470  ::std::string(reinterpret_cast<const char*>(value), size));
471  // @@protoc_insertion_point(field_set_pointer:goby.acomms.udp.protobuf.Config.EndPoint.ip)
472 }
473 inline ::std::string* Config_EndPoint::mutable_ip() {
474  set_has_ip();
475  // @@protoc_insertion_point(field_mutable:goby.acomms.udp.protobuf.Config.EndPoint.ip)
477 }
478 inline ::std::string* Config_EndPoint::release_ip() {
479  // @@protoc_insertion_point(field_release:goby.acomms.udp.protobuf.Config.EndPoint.ip)
480  if (!has_ip()) {
481  return NULL;
482  }
483  clear_has_ip();
485 }
486 inline void Config_EndPoint::set_allocated_ip(::std::string* ip) {
487  if (ip != NULL) {
488  set_has_ip();
489  } else {
490  clear_has_ip();
491  }
493  // @@protoc_insertion_point(field_set_allocated:goby.acomms.udp.protobuf.Config.EndPoint.ip)
494 }
495 
496 // required uint32 port = 3;
497 inline bool Config_EndPoint::has_port() const {
498  return (_has_bits_[0] & 0x00000004u) != 0;
499 }
500 inline void Config_EndPoint::set_has_port() {
501  _has_bits_[0] |= 0x00000004u;
502 }
503 inline void Config_EndPoint::clear_has_port() {
504  _has_bits_[0] &= ~0x00000004u;
505 }
507  port_ = 0u;
508  clear_has_port();
509 }
511  // @@protoc_insertion_point(field_get:goby.acomms.udp.protobuf.Config.EndPoint.port)
512  return port_;
513 }
515  set_has_port();
516  port_ = value;
517  // @@protoc_insertion_point(field_set:goby.acomms.udp.protobuf.Config.EndPoint.port)
518 }
519 
520 // -------------------------------------------------------------------
521 
522 // Config
523 
524 // required .goby.acomms.udp.protobuf.Config.EndPoint local = 1 [(.goby.field) = {
525 inline bool Config::has_local() const {
526  return (_has_bits_[0] & 0x00000001u) != 0;
527 }
528 inline void Config::set_has_local() {
529  _has_bits_[0] |= 0x00000001u;
530 }
531 inline void Config::clear_has_local() {
532  _has_bits_[0] &= ~0x00000001u;
533 }
534 inline void Config::clear_local() {
535  if (local_ != NULL) local_->Clear();
536  clear_has_local();
537 }
538 inline const ::goby::acomms::udp::protobuf::Config_EndPoint& Config::_internal_local() const {
539  return *local_;
540 }
541 inline const ::goby::acomms::udp::protobuf::Config_EndPoint& Config::local() const {
542  const ::goby::acomms::udp::protobuf::Config_EndPoint* p = local_;
543  // @@protoc_insertion_point(field_get:goby.acomms.udp.protobuf.Config.local)
544  return p != NULL ? *p : *reinterpret_cast<const ::goby::acomms::udp::protobuf::Config_EndPoint*>(
546 }
547 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::release_local() {
548  // @@protoc_insertion_point(field_release:goby.acomms.udp.protobuf.Config.local)
549  clear_has_local();
551  local_ = NULL;
552  return temp;
553 }
554 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::mutable_local() {
555  set_has_local();
556  if (local_ == NULL) {
557  auto* p = CreateMaybeMessage<::goby::acomms::udp::protobuf::Config_EndPoint>(GetArenaNoVirtual());
558  local_ = p;
559  }
560  // @@protoc_insertion_point(field_mutable:goby.acomms.udp.protobuf.Config.local)
561  return local_;
562 }
564  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
565  if (message_arena == NULL) {
566  delete local_;
567  }
568  if (local) {
569  ::google::protobuf::Arena* submessage_arena = NULL;
570  if (message_arena != submessage_arena) {
571  local = ::google::protobuf::internal::GetOwnedMessage(
572  message_arena, local, submessage_arena);
573  }
574  set_has_local();
575  } else {
576  clear_has_local();
577  }
578  local_ = local;
579  // @@protoc_insertion_point(field_set_allocated:goby.acomms.udp.protobuf.Config.local)
580 }
581 
582 // repeated .goby.acomms.udp.protobuf.Config.EndPoint remote = 2 [(.goby.field) = {
583 inline int Config::remote_size() const {
584  return remote_.size();
585 }
586 inline void Config::clear_remote() {
587  remote_.Clear();
588 }
589 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::mutable_remote(int index) {
590  // @@protoc_insertion_point(field_mutable:goby.acomms.udp.protobuf.Config.remote)
591  return remote_.Mutable(index);
592 }
593 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint >*
595  // @@protoc_insertion_point(field_mutable_list:goby.acomms.udp.protobuf.Config.remote)
596  return &remote_;
597 }
598 inline const ::goby::acomms::udp::protobuf::Config_EndPoint& Config::remote(int index) const {
599  // @@protoc_insertion_point(field_get:goby.acomms.udp.protobuf.Config.remote)
600  return remote_.Get(index);
601 }
602 inline ::goby::acomms::udp::protobuf::Config_EndPoint* Config::add_remote() {
603  // @@protoc_insertion_point(field_add:goby.acomms.udp.protobuf.Config.remote)
604  return remote_.Add();
605 }
606 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint >&
607 Config::remote() const {
608  // @@protoc_insertion_point(field_list:goby.acomms.udp.protobuf.Config.remote)
609  return remote_;
610 }
611 
612 // optional int32 max_frame_size = 3 [default = 1400];
613 inline bool Config::has_max_frame_size() const {
614  return (_has_bits_[0] & 0x00000004u) != 0;
615 }
616 inline void Config::set_has_max_frame_size() {
617  _has_bits_[0] |= 0x00000004u;
618 }
619 inline void Config::clear_has_max_frame_size() {
620  _has_bits_[0] &= ~0x00000004u;
621 }
623  max_frame_size_ = 1400;
624  clear_has_max_frame_size();
625 }
627  // @@protoc_insertion_point(field_get:goby.acomms.udp.protobuf.Config.max_frame_size)
628  return max_frame_size_;
629 }
631  set_has_max_frame_size();
632  max_frame_size_ = value;
633  // @@protoc_insertion_point(field_set:goby.acomms.udp.protobuf.Config.max_frame_size)
634 }
635 
636 // optional bool ipv6 = 4 [default = false];
637 inline bool Config::has_ipv6() const {
638  return (_has_bits_[0] & 0x00000002u) != 0;
639 }
640 inline void Config::set_has_ipv6() {
641  _has_bits_[0] |= 0x00000002u;
642 }
643 inline void Config::clear_has_ipv6() {
644  _has_bits_[0] &= ~0x00000002u;
645 }
646 inline void Config::clear_ipv6() {
647  ipv6_ = false;
648  clear_has_ipv6();
649 }
650 inline bool Config::ipv6() const {
651  // @@protoc_insertion_point(field_get:goby.acomms.udp.protobuf.Config.ipv6)
652  return ipv6_;
653 }
654 inline void Config::set_ipv6(bool value) {
655  set_has_ipv6();
656  ipv6_ = value;
657  // @@protoc_insertion_point(field_set:goby.acomms.udp.protobuf.Config.ipv6)
658 }
659 
660 // repeated uint32 additional_application_ack_modem_id = 21;
662  return additional_application_ack_modem_id_.size();
663 }
665  additional_application_ack_modem_id_.Clear();
666 }
668  // @@protoc_insertion_point(field_get:goby.acomms.udp.protobuf.Config.additional_application_ack_modem_id)
669  return additional_application_ack_modem_id_.Get(index);
670 }
672  additional_application_ack_modem_id_.Set(index, value);
673  // @@protoc_insertion_point(field_set:goby.acomms.udp.protobuf.Config.additional_application_ack_modem_id)
674 }
676  additional_application_ack_modem_id_.Add(value);
677  // @@protoc_insertion_point(field_add:goby.acomms.udp.protobuf.Config.additional_application_ack_modem_id)
678 }
679 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
681  // @@protoc_insertion_point(field_list:goby.acomms.udp.protobuf.Config.additional_application_ack_modem_id)
682  return additional_application_ack_modem_id_;
683 }
684 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
686  // @@protoc_insertion_point(field_mutable_list:goby.acomms.udp.protobuf.Config.additional_application_ack_modem_id)
687  return &additional_application_ack_modem_id_;
688 }
689 
690 #ifdef __GNUC__
691  #pragma GCC diagnostic pop
692 #endif // __GNUC__
693 // -------------------------------------------------------------------
694 
695 
696 // @@protoc_insertion_point(namespace_scope)
697 
698 } // namespace protobuf
699 } // namespace udp
700 } // namespace acomms
701 } // namespace goby
702 
703 // @@protoc_insertion_point(global_scope)
704 
705 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto
goby::acomms::udp::protobuf::Config::remote_size
int remote_size() const
Definition: udp_driver.pb.h:583
goby::acomms::udp::protobuf::Config_EndPoint::New
Config_EndPoint * New(::google::protobuf::Arena *arena) const final
Definition: udp_driver.pb.h:136
protobuf_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[2]
Definition: udp_driver.pb.h:47
goby::acomms::udp::protobuf::Config_EndPoint::set_modem_id
void set_modem_id(::google::protobuf::uint32 value)
Definition: udp_driver.pb.h:424
goby::acomms::udp::protobuf::Config_EndPoint::set_allocated_ip
void set_allocated_ip(::std::string *ip)
Definition: udp_driver.pb.h:486
goby::acomms::udp::protobuf::Config::IsInitialized
bool IsInitialized() const final
goby::acomms::udp::protobuf::Config::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: udp_driver.pb.h:252
goby::acomms::udp::protobuf::Config_EndPoint::ByteSizeLong
size_t ByteSizeLong() const final
goby::acomms::udp::protobuf::Config::mutable_additional_application_ack_modem_id
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_additional_application_ack_modem_id()
Definition: udp_driver.pb.h:685
goby::acomms::udp::protobuf::Config::kRemoteFieldNumber
static const int kRemoteFieldNumber
Definition: udp_driver.pb.h:325
goby::acomms::udp::protobuf::Config_EndPoint::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::acomms::udp::protobuf::Config::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::acomms::udp::protobuf::Config::Config
Config()
goby::acomms::udp::protobuf::Config::operator=
Config & operator=(const Config &from)
Definition: udp_driver.pb.h:233
goby::acomms::udp::protobuf::Config::New
Config * New(::google::protobuf::Arena *arena) const final
Definition: udp_driver.pb.h:281
goby::acomms::udp::protobuf::Config::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::acomms::udp::protobuf::Config::local
const ::goby::acomms::udp::protobuf::Config_EndPoint & local() const
Definition: udp_driver.pb.h:541
goby::acomms::udp::protobuf::Config::swap
friend void swap(Config &a, Config &b)
Definition: udp_driver.pb.h:271
goby::acomms::udp::protobuf::Config::has_max_frame_size
bool has_max_frame_size() const
Definition: udp_driver.pb.h:613
goby::acomms::udp::protobuf::Config::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: udp_driver.pb.h:267
goby::acomms::udp::protobuf::Config_EndPoint::set_ip
void set_ip(const ::std::string &value)
Definition: udp_driver.pb.h:448
protobuf_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto::TableStruct
Definition: udp_driver.pb.h:44
goby::acomms::udp::protobuf::_Config_EndPoint_default_instance_
Config_EndPointDefaultTypeInternal _Config_EndPoint_default_instance_
goby::acomms::udp::protobuf::Config_EndPoint::operator=
Config_EndPoint & operator=(const Config_EndPoint &from)
Definition: udp_driver.pb.h:88
goby::acomms::udp::protobuf::Config_EndPoint::has_ip
bool has_ip() const
Definition: udp_driver.pb.h:431
goby::acomms::udp::protobuf::Config::mutable_local
::goby::acomms::udp::protobuf::Config_EndPoint * mutable_local()
Definition: udp_driver.pb.h:554
goby::acomms::udp::protobuf::Config_EndPoint::kPortFieldNumber
static const int kPortFieldNumber
Definition: udp_driver.pb.h:200
goby::acomms::udp::protobuf::Config::additional_application_ack_modem_id_size
int additional_application_ack_modem_id_size() const
Definition: udp_driver.pb.h:661
protobuf_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto
Definition: udp_driver.pb.h:42
protobuf_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: udp_driver.pb.h:50
goby::acomms::udp::protobuf::Config_EndPoint::clear_ip
void clear_ip()
Definition: udp_driver.pb.h:440
goby::acomms::udp::protobuf::Config_EndPoint::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::acomms::udp::protobuf::Config::kAdditionalApplicationAckModemIdFieldNumber
static const int kAdditionalApplicationAckModemIdFieldNumber
Definition: udp_driver.pb.h:337
goby::acomms::udp::protobuf::_Config_default_instance_
ConfigDefaultTypeInternal _Config_default_instance_
goby::acomms::udp::protobuf::Config::kMaxFrameSizeFieldNumber
static const int kMaxFrameSizeFieldNumber
Definition: udp_driver.pb.h:368
goby::acomms::udp::protobuf::Config::clear_max_frame_size
void clear_max_frame_size()
Definition: udp_driver.pb.h:622
goby::acomms::udp::protobuf::Config_EndPoint::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
google::protobuf::Arena
Definition: arena.h:244
goby::acomms::udp::protobuf::Config::has_local
bool has_local() const
Definition: udp_driver.pb.h:525
goby::acomms::udp::protobuf::Config::add_additional_application_ack_modem_id
void add_additional_application_ack_modem_id(::google::protobuf::uint32 value)
Definition: udp_driver.pb.h:675
goby::acomms::udp::protobuf::Config::add_remote
::goby::acomms::udp::protobuf::Config_EndPoint * add_remote()
Definition: udp_driver.pb.h:602
goby::acomms::udp::protobuf::Config::kIpv6FieldNumber
static const int kIpv6FieldNumber
Definition: udp_driver.pb.h:361
goby::acomms::udp::protobuf::Config::internal_default_instance
static const Config * internal_default_instance()
Definition: udp_driver.pb.h:263
goby::acomms::udp::protobuf::Config::set_ipv6
void set_ipv6(bool value)
Definition: udp_driver.pb.h:654
goby::acomms::udp::protobuf::Config::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::acomms::udp::protobuf::Config_EndPoint::ip
const ::std::string & ip() const
Definition: udp_driver.pb.h:444
goby::acomms::udp::protobuf::Config::default_instance
static const Config & default_instance()
goby::acomms::udp::protobuf::Config::GetCachedSize
int GetCachedSize() const final
Definition: udp_driver.pb.h:298
goby::acomms::udp::protobuf::Config_EndPoint::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::acomms::udp::protobuf::Config::has_ipv6
bool has_ipv6() const
Definition: udp_driver.pb.h:637
goby::acomms::udp::protobuf::Config
Definition: udp_driver.pb.h:226
goby::acomms::udp::protobuf::Config::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::acomms::udp::protobuf::Config::set_allocated_local
void set_allocated_local(::goby::acomms::udp::protobuf::Config_EndPoint *local)
Definition: udp_driver.pb.h:563
goby::acomms::udp::protobuf::Config_EndPoint::kModemIdFieldNumber
static const int kModemIdFieldNumber
Definition: udp_driver.pb.h:193
goby::acomms::udp::protobuf::Config::additional_application_ack_modem_id
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & additional_application_ack_modem_id() const
Definition: udp_driver.pb.h:680
goby::acomms::udp::protobuf::Config_EndPoint::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::acomms::udp::protobuf::Config::set_additional_application_ack_modem_id
void set_additional_application_ack_modem_id(int index, ::google::protobuf::uint32 value)
Definition: udp_driver.pb.h:671
goby::acomms::udp::protobuf::Config_EndPoint::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
driver_base.pb.h
message.h
goby::acomms::udp::protobuf::Config::max_frame_size
::google::protobuf::int32 max_frame_size() const
Definition: udp_driver.pb.h:626
protobuf_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: udp_driver.pb.h:45
protobuf_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: udp_driver.pb.h:48
goby::acomms::udp::protobuf::Config::New
Config * New() const final
Definition: udp_driver.pb.h:277
goby::acomms::udp::protobuf::kConfigFieldNumber
static const int kConfigFieldNumber
Definition: udp_driver.pb.h:393
goby::acomms::udp::protobuf::Config_EndPoint::kIpFieldNumber
static const int kIpFieldNumber
Definition: udp_driver.pb.h:178
goby::acomms::udp::protobuf::Config_EndPoint::has_port
bool has_port() const
Definition: udp_driver.pb.h:497
goby::acomms::udp::protobuf::Config_EndPoint::IsInitialized
bool IsInitialized() const final
goby::acomms::udp::protobuf::Config_EndPoint::Clear
void Clear() final
goby::acomms::udp::protobuf::Config::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::acomms::udp::protobuf::Config::~Config
virtual ~Config()
goby::acomms::udp::protobuf::Config_EndPoint::modem_id
::google::protobuf::uint32 modem_id() const
Definition: udp_driver.pb.h:420
goby::int32
std::int32_t int32
Definition: primitive_types.h:33
goby::acomms::udp::protobuf::Config::clear_additional_application_ack_modem_id
void clear_additional_application_ack_modem_id()
Definition: udp_driver.pb.h:664
goby::acomms::udp::protobuf::Config_EndPoint::swap
friend void swap(Config_EndPoint &a, Config_EndPoint &b)
Definition: udp_driver.pb.h:126
goby::acomms::udp::protobuf::Config::set_max_frame_size
void set_max_frame_size(::google::protobuf::int32 value)
Definition: udp_driver.pb.h:630
goby::acomms::udp::protobuf::Config_EndPoint::has_modem_id
bool has_modem_id() const
Definition: udp_driver.pb.h:407
goby::acomms::udp::protobuf::Config::remote
const ::google::protobuf::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint > & remote() const
Definition: udp_driver.pb.h:607
goby::acomms::udp::protobuf::Config_EndPoint::default_instance
static const Config_EndPoint & default_instance()
goby::acomms::udp::protobuf::Config_EndPoint::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: udp_driver.pb.h:110
protobuf_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto::AddDescriptors
void AddDescriptors()
goby::acomms::udp::protobuf::Config_EndPoint::release_ip
::std::string * release_ip()
Definition: udp_driver.pb.h:478
google::protobuf::Metadata
Definition: message.h:174
goby::acomms::udp::protobuf::Config::clear_remote
void clear_remote()
Definition: udp_driver.pb.h:586
detail::get
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())
Definition: json.hpp:5271
goby::acomms::udp::protobuf::Config::clear_local
void clear_local()
Definition: udp_driver.pb.h:534
goby::acomms::udp::protobuf::Config_EndPoint::port
::google::protobuf::uint32 port() const
Definition: udp_driver.pb.h:510
google::protobuf::Message
Definition: message.h:189
goby::acomms::udp::protobuf::Config::ByteSizeLong
size_t ByteSizeLong() const final
goby::acomms::udp::protobuf::Config_EndPoint::internal_default_instance
static const Config_EndPoint * internal_default_instance()
Definition: udp_driver.pb.h:118
goby::acomms::udp::protobuf::Config_EndPoint::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: udp_driver.pb.h:122
protobuf_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: udp_driver.pb.h:46
goby::acomms::udp::protobuf::Config::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::acomms::udp::protobuf::Config_EndPoint::GetCachedSize
int GetCachedSize() const final
Definition: udp_driver.pb.h:153
goby::acomms::udp::protobuf::Config::ipv6
bool ipv6() const
Definition: udp_driver.pb.h:650
goby::acomms::udp::protobuf::Config::Swap
void Swap(Config *other)
goby::acomms::udp::protobuf::Config::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: udp_driver.pb.h:255
goby::acomms::udp::protobuf::Config_EndPoint::Config_EndPoint
Config_EndPoint()
goby::acomms::udp::protobuf::Config_EndPoint::clear_port
void clear_port()
Definition: udp_driver.pb.h:506
goby::acomms::udp::protobuf::Config_EndPoint::set_port
void set_port(::google::protobuf::uint32 value)
Definition: udp_driver.pb.h:514
arena.h
goby::acomms::udp::protobuf::Config_EndPoint::InitAsDefaultInstance
static void InitAsDefaultInstance()
protobuf_goby_2facomms_2fprotobuf_2fudp_5fdriver_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: udp_driver.pb.h:49
goby::acomms::udp::protobuf::Config::clear_ipv6
void clear_ipv6()
Definition: udp_driver.pb.h:646
goby::acomms::udp::protobuf::Config_EndPoint::mutable_ip
::std::string * mutable_ip()
Definition: udp_driver.pb.h:473
goby::acomms::udp::protobuf::Config_EndPoint
Definition: udp_driver.pb.h:81
goby::acomms::udp::protobuf::Config::release_local
::goby::acomms::udp::protobuf::Config_EndPoint * release_local()
Definition: udp_driver.pb.h:547
option_extensions.pb.h
goby::acomms::udp::protobuf::config
extern ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::google::protobuf::internal::MessageTypeTraits< ::goby::acomms::udp::protobuf::Config >, 11, false > config
Definition: udp_driver.pb.h:396
goby::acomms::udp::protobuf::Config_EndPoint::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::acomms::udp::protobuf::Config_EndPoint::_i_give_permission_to_break_this_code_default_ip_
static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string > _i_give_permission_to_break_this_code_default_ip_
Definition: udp_driver.pb.h:217
friend
goby::acomms::udp::protobuf::Config::Clear
void Clear() final
goby::acomms::udp::protobuf::Config_EndPoint::clear_modem_id
void clear_modem_id()
Definition: udp_driver.pb.h:416
goby::acomms::udp::protobuf::Config_EndPoint::~Config_EndPoint
virtual ~Config_EndPoint()
goby::acomms::udp::protobuf::Config::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
google
Definition: dccl.h:57
goby::acomms::udp::protobuf::Config_EndPoint::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: udp_driver.pb.h:107
goby::acomms::udp::protobuf::Config_EndPoint::New
Config_EndPoint * New() const final
Definition: udp_driver.pb.h:132
goby::acomms::udp::protobuf::Config::kLocalFieldNumber
static const int kLocalFieldNumber
Definition: udp_driver.pb.h:349
goby::acomms::udp::protobuf::Config::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::acomms::udp::protobuf::Config::mutable_remote
::google::protobuf::RepeatedPtrField< ::goby::acomms::udp::protobuf::Config_EndPoint > * mutable_remote()
Definition: udp_driver.pb.h:594
goby::acomms::udp::protobuf::Config_EndPoint::Swap
void Swap(Config_EndPoint *other)