Goby3  3.1.5a
2024.05.23
udp_config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/middleware/protobuf/udp_config.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_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>
34 #include "dccl/option_extensions.pb.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 
40 #include <boost/units/systems/si.hpp>
41 // @@protoc_insertion_point(includes)
42 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto
43 
45 // Internal implementation detail -- do not use these members.
46 struct TableStruct {
47  static const ::google::protobuf::internal::ParseTableField entries[];
48  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
49  static const ::google::protobuf::internal::ParseTable schema[2];
50  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
51  static const ::google::protobuf::internal::SerializationTable serialization_table[];
53 };
54 void AddDescriptors();
55 } // namespace protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto
56 namespace goby {
57 namespace middleware {
58 namespace protobuf {
59 class UDPOneToManyConfig;
60 class UDPOneToManyConfigDefaultTypeInternal;
61 extern UDPOneToManyConfigDefaultTypeInternal _UDPOneToManyConfig_default_instance_;
62 class UDPPointToPointConfig;
63 class UDPPointToPointConfigDefaultTypeInternal;
64 extern UDPPointToPointConfigDefaultTypeInternal _UDPPointToPointConfig_default_instance_;
65 } // namespace protobuf
66 } // namespace middleware
67 } // namespace goby
68 namespace google {
69 namespace protobuf {
70 template<> ::goby::middleware::protobuf::UDPOneToManyConfig* Arena::CreateMaybeMessage<::goby::middleware::protobuf::UDPOneToManyConfig>(Arena*);
71 template<> ::goby::middleware::protobuf::UDPPointToPointConfig* Arena::CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace goby {
75 namespace middleware {
76 namespace protobuf {
77 
78 // ===================================================================
79 
80 class UDPOneToManyConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.UDPOneToManyConfig) */ {
81  public:
83  virtual ~UDPOneToManyConfig();
84 
86 
88  CopyFrom(from);
89  return *this;
90  }
91  #if LANG_CXX11
92  UDPOneToManyConfig(UDPOneToManyConfig&& from) noexcept
93  : UDPOneToManyConfig() {
94  *this = ::std::move(from);
95  }
96 
97  inline UDPOneToManyConfig& operator=(UDPOneToManyConfig&& from) noexcept {
98  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
99  if (this != &from) InternalSwap(&from);
100  } else {
101  CopyFrom(from);
102  }
103  return *this;
104  }
105  #endif
106  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
107  return _internal_metadata_.unknown_fields();
108  }
109  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
110  return _internal_metadata_.mutable_unknown_fields();
111  }
112 
113  static const ::google::protobuf::Descriptor* descriptor();
114  static const UDPOneToManyConfig& default_instance();
115 
116  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
118  return reinterpret_cast<const UDPOneToManyConfig*>(
120  }
121  static constexpr int kIndexInFileMessages =
122  0;
123 
124  void Swap(UDPOneToManyConfig* other);
126  a.Swap(&b);
127  }
128 
129  // implements Message ----------------------------------------------
130 
131  inline UDPOneToManyConfig* New() const final {
132  return CreateMaybeMessage<UDPOneToManyConfig>(NULL);
133  }
134 
136  return CreateMaybeMessage<UDPOneToManyConfig>(arena);
137  }
138  void CopyFrom(const ::google::protobuf::Message& from) final;
139  void MergeFrom(const ::google::protobuf::Message& from) final;
140  void CopyFrom(const UDPOneToManyConfig& from);
141  void MergeFrom(const UDPOneToManyConfig& from);
142  void Clear() final;
143  bool IsInitialized() const final;
144 
145  size_t ByteSizeLong() const final;
147  ::google::protobuf::io::CodedInputStream* input) final;
149  ::google::protobuf::io::CodedOutputStream* output) const final;
151  bool deterministic, ::google::protobuf::uint8* target) const final;
152  int GetCachedSize() const final { return _cached_size_.Get(); }
153 
154  private:
155  void SharedCtor();
156  void SharedDtor();
157  void SetCachedSize(int size) const final;
158  void InternalSwap(UDPOneToManyConfig* other);
159  private:
160  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
161  return NULL;
162  }
163  inline void* MaybeArenaPtr() const {
164  return NULL;
165  }
166  public:
167 
169 
170  // nested types ----------------------------------------------------
171 
172  // accessors -------------------------------------------------------
173 
174  // required uint32 bind_port = 2 [(.goby.field) = {
175  bool has_bind_port() const;
176  void clear_bind_port();
177  static const int kBindPortFieldNumber = 2;
178  ::google::protobuf::uint32 bind_port() const;
179  void set_bind_port(::google::protobuf::uint32 value);
180 
181  // optional bool set_reuseaddr = 10 [default = false];
182  bool has_set_reuseaddr() const;
183  void clear_set_reuseaddr();
184  static const int kSetReuseaddrFieldNumber = 10;
185  bool set_reuseaddr() const;
186  void set_set_reuseaddr(bool value);
187 
188  // optional bool set_broadcast = 11 [default = false];
189  bool has_set_broadcast() const;
190  void clear_set_broadcast();
191  static const int kSetBroadcastFieldNumber = 11;
192  bool set_broadcast() const;
193  void set_set_broadcast(bool value);
194 
195  // optional bool ipv6 = 12 [default = false];
196  bool has_ipv6() const;
197  void clear_ipv6();
198  static const int kIpv6FieldNumber = 12;
199  bool ipv6() const;
200  void set_ipv6(bool value);
201 
202  // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.UDPOneToManyConfig)
203  private:
204  void set_has_bind_port();
205  void clear_has_bind_port();
206  void set_has_set_reuseaddr();
207  void clear_has_set_reuseaddr();
208  void set_has_set_broadcast();
209  void clear_has_set_broadcast();
210  void set_has_ipv6();
211  void clear_has_ipv6();
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  ::google::protobuf::uint32 bind_port_;
217  bool set_reuseaddr_;
218  bool set_broadcast_;
219  bool ipv6_;
221 };
222 // -------------------------------------------------------------------
223 
224 class UDPPointToPointConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.UDPPointToPointConfig) */ {
225  public:
227  virtual ~UDPPointToPointConfig();
228 
230 
232  CopyFrom(from);
233  return *this;
234  }
235  #if LANG_CXX11
238  *this = ::std::move(from);
239  }
240 
241  inline UDPPointToPointConfig& operator=(UDPPointToPointConfig&& from) noexcept {
242  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
243  if (this != &from) InternalSwap(&from);
244  } else {
245  CopyFrom(from);
246  }
247  return *this;
248  }
249  #endif
250  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
251  return _internal_metadata_.unknown_fields();
252  }
253  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
254  return _internal_metadata_.mutable_unknown_fields();
255  }
256 
257  static const ::google::protobuf::Descriptor* descriptor();
258  static const UDPPointToPointConfig& default_instance();
259 
260  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
262  return reinterpret_cast<const UDPPointToPointConfig*>(
264  }
265  static constexpr int kIndexInFileMessages =
266  1;
267 
268  void Swap(UDPPointToPointConfig* other);
270  a.Swap(&b);
271  }
272 
273  // implements Message ----------------------------------------------
274 
275  inline UDPPointToPointConfig* New() const final {
276  return CreateMaybeMessage<UDPPointToPointConfig>(NULL);
277  }
278 
280  return CreateMaybeMessage<UDPPointToPointConfig>(arena);
281  }
282  void CopyFrom(const ::google::protobuf::Message& from) final;
283  void MergeFrom(const ::google::protobuf::Message& from) final;
284  void CopyFrom(const UDPPointToPointConfig& from);
285  void MergeFrom(const UDPPointToPointConfig& from);
286  void Clear() final;
287  bool IsInitialized() const final;
288 
289  size_t ByteSizeLong() const final;
291  ::google::protobuf::io::CodedInputStream* input) final;
293  ::google::protobuf::io::CodedOutputStream* output) const final;
295  bool deterministic, ::google::protobuf::uint8* target) const final;
296  int GetCachedSize() const final { return _cached_size_.Get(); }
297 
298  private:
299  void SharedCtor();
300  void SharedDtor();
301  void SetCachedSize(int size) const final;
302  void InternalSwap(UDPPointToPointConfig* other);
303  private:
304  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
305  return NULL;
306  }
307  inline void* MaybeArenaPtr() const {
308  return NULL;
309  }
310  public:
311 
313 
314  // nested types ----------------------------------------------------
315 
316  // accessors -------------------------------------------------------
317 
318  // required string remote_address = 5 [(.goby.field) = {
319  bool has_remote_address() const;
320  void clear_remote_address();
321  static const int kRemoteAddressFieldNumber = 5;
322  const ::std::string& remote_address() const;
323  void set_remote_address(const ::std::string& value);
324  #if LANG_CXX11
325  void set_remote_address(::std::string&& value);
326  #endif
327  void set_remote_address(const char* value);
328  void set_remote_address(const char* value, size_t size);
329  ::std::string* mutable_remote_address();
330  ::std::string* release_remote_address();
331  void set_allocated_remote_address(::std::string* remote_address);
332 
333  // optional uint32 bind_port = 2 [default = 0, (.goby.field) = {
334  bool has_bind_port() const;
335  void clear_bind_port();
336  static const int kBindPortFieldNumber = 2;
339 
340  // required uint32 remote_port = 6 [(.goby.field) = {
341  bool has_remote_port() const;
342  void clear_remote_port();
343  static const int kRemotePortFieldNumber = 6;
344  ::google::protobuf::uint32 remote_port() const;
345  void set_remote_port(::google::protobuf::uint32 value);
346 
347  // optional bool set_reuseaddr = 10 [default = false];
348  bool has_set_reuseaddr() const;
349  void clear_set_reuseaddr();
350  static const int kSetReuseaddrFieldNumber = 10;
351  bool set_reuseaddr() const;
352  void set_set_reuseaddr(bool value);
353 
354  // optional bool set_broadcast = 11 [default = false];
355  bool has_set_broadcast() const;
356  void clear_set_broadcast();
357  static const int kSetBroadcastFieldNumber = 11;
358  bool set_broadcast() const;
359  void set_set_broadcast(bool value);
360 
361  // optional bool ipv6 = 12 [default = false];
362  bool has_ipv6() const;
363  void clear_ipv6();
364  static const int kIpv6FieldNumber = 12;
365  bool ipv6() const;
366  void set_ipv6(bool value);
367 
368  // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.UDPPointToPointConfig)
369  private:
370  void set_has_bind_port();
371  void clear_has_bind_port();
372  void set_has_remote_address();
373  void clear_has_remote_address();
374  void set_has_remote_port();
375  void clear_has_remote_port();
376  void set_has_set_reuseaddr();
377  void clear_has_set_reuseaddr();
378  void set_has_set_broadcast();
379  void clear_has_set_broadcast();
380  void set_has_ipv6();
381  void clear_has_ipv6();
382 
383  // helper for ByteSizeLong()
384  size_t RequiredFieldsByteSizeFallback() const;
385 
386  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
387  ::google::protobuf::internal::HasBits<1> _has_bits_;
388  mutable ::google::protobuf::internal::CachedSize _cached_size_;
389  ::google::protobuf::internal::ArenaStringPtr remote_address_;
390  ::google::protobuf::uint32 bind_port_;
391  ::google::protobuf::uint32 remote_port_;
392  bool set_reuseaddr_;
393  bool set_broadcast_;
394  bool ipv6_;
395  friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto::TableStruct;
396 };
397 // ===================================================================
398 
399 
400 // ===================================================================
401 
402 #ifdef __GNUC__
403  #pragma GCC diagnostic push
404  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
405 #endif // __GNUC__
406 // UDPOneToManyConfig
407 
408 // required uint32 bind_port = 2 [(.goby.field) = {
410  return (_has_bits_[0] & 0x00000001u) != 0;
411 }
412 inline void UDPOneToManyConfig::set_has_bind_port() {
413  _has_bits_[0] |= 0x00000001u;
414 }
415 inline void UDPOneToManyConfig::clear_has_bind_port() {
416  _has_bits_[0] &= ~0x00000001u;
417 }
419  bind_port_ = 0u;
420  clear_has_bind_port();
421 }
423  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.UDPOneToManyConfig.bind_port)
424  return bind_port_;
425 }
427  set_has_bind_port();
428  bind_port_ = value;
429  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.UDPOneToManyConfig.bind_port)
430 }
431 
432 // optional bool set_reuseaddr = 10 [default = false];
434  return (_has_bits_[0] & 0x00000002u) != 0;
435 }
436 inline void UDPOneToManyConfig::set_has_set_reuseaddr() {
437  _has_bits_[0] |= 0x00000002u;
438 }
439 inline void UDPOneToManyConfig::clear_has_set_reuseaddr() {
440  _has_bits_[0] &= ~0x00000002u;
441 }
443  set_reuseaddr_ = false;
444  clear_has_set_reuseaddr();
445 }
447  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.UDPOneToManyConfig.set_reuseaddr)
448  return set_reuseaddr_;
449 }
450 inline void UDPOneToManyConfig::set_set_reuseaddr(bool value) {
451  set_has_set_reuseaddr();
452  set_reuseaddr_ = value;
453  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.UDPOneToManyConfig.set_reuseaddr)
454 }
455 
456 // optional bool set_broadcast = 11 [default = false];
458  return (_has_bits_[0] & 0x00000004u) != 0;
459 }
460 inline void UDPOneToManyConfig::set_has_set_broadcast() {
461  _has_bits_[0] |= 0x00000004u;
462 }
463 inline void UDPOneToManyConfig::clear_has_set_broadcast() {
464  _has_bits_[0] &= ~0x00000004u;
465 }
467  set_broadcast_ = false;
468  clear_has_set_broadcast();
469 }
471  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.UDPOneToManyConfig.set_broadcast)
472  return set_broadcast_;
473 }
474 inline void UDPOneToManyConfig::set_set_broadcast(bool value) {
475  set_has_set_broadcast();
476  set_broadcast_ = value;
477  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.UDPOneToManyConfig.set_broadcast)
478 }
479 
480 // optional bool ipv6 = 12 [default = false];
481 inline bool UDPOneToManyConfig::has_ipv6() const {
482  return (_has_bits_[0] & 0x00000008u) != 0;
483 }
484 inline void UDPOneToManyConfig::set_has_ipv6() {
485  _has_bits_[0] |= 0x00000008u;
486 }
487 inline void UDPOneToManyConfig::clear_has_ipv6() {
488  _has_bits_[0] &= ~0x00000008u;
489 }
491  ipv6_ = false;
492  clear_has_ipv6();
493 }
494 inline bool UDPOneToManyConfig::ipv6() const {
495  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.UDPOneToManyConfig.ipv6)
496  return ipv6_;
497 }
498 inline void UDPOneToManyConfig::set_ipv6(bool value) {
499  set_has_ipv6();
500  ipv6_ = value;
501  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.UDPOneToManyConfig.ipv6)
502 }
503 
504 // -------------------------------------------------------------------
505 
506 // UDPPointToPointConfig
507 
508 // optional uint32 bind_port = 2 [default = 0, (.goby.field) = {
510  return (_has_bits_[0] & 0x00000002u) != 0;
511 }
512 inline void UDPPointToPointConfig::set_has_bind_port() {
513  _has_bits_[0] |= 0x00000002u;
514 }
515 inline void UDPPointToPointConfig::clear_has_bind_port() {
516  _has_bits_[0] &= ~0x00000002u;
517 }
519  bind_port_ = 0u;
520  clear_has_bind_port();
521 }
523  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.UDPPointToPointConfig.bind_port)
524  return bind_port_;
525 }
527  set_has_bind_port();
528  bind_port_ = value;
529  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.UDPPointToPointConfig.bind_port)
530 }
531 
532 // required string remote_address = 5 [(.goby.field) = {
534  return (_has_bits_[0] & 0x00000001u) != 0;
535 }
536 inline void UDPPointToPointConfig::set_has_remote_address() {
537  _has_bits_[0] |= 0x00000001u;
538 }
539 inline void UDPPointToPointConfig::clear_has_remote_address() {
540  _has_bits_[0] &= ~0x00000001u;
541 }
543  remote_address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
544  clear_has_remote_address();
545 }
546 inline const ::std::string& UDPPointToPointConfig::remote_address() const {
547  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.UDPPointToPointConfig.remote_address)
548  return remote_address_.GetNoArena();
549 }
550 inline void UDPPointToPointConfig::set_remote_address(const ::std::string& value) {
551  set_has_remote_address();
552  remote_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
553  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.UDPPointToPointConfig.remote_address)
554 }
555 #if LANG_CXX11
556 inline void UDPPointToPointConfig::set_remote_address(::std::string&& value) {
557  set_has_remote_address();
558  remote_address_.SetNoArena(
560  // @@protoc_insertion_point(field_set_rvalue:goby.middleware.protobuf.UDPPointToPointConfig.remote_address)
561 }
562 #endif
563 inline void UDPPointToPointConfig::set_remote_address(const char* value) {
564  GOOGLE_DCHECK(value != NULL);
565  set_has_remote_address();
566  remote_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
567  // @@protoc_insertion_point(field_set_char:goby.middleware.protobuf.UDPPointToPointConfig.remote_address)
568 }
569 inline void UDPPointToPointConfig::set_remote_address(const char* value, size_t size) {
570  set_has_remote_address();
571  remote_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
572  ::std::string(reinterpret_cast<const char*>(value), size));
573  // @@protoc_insertion_point(field_set_pointer:goby.middleware.protobuf.UDPPointToPointConfig.remote_address)
574 }
576  set_has_remote_address();
577  // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.UDPPointToPointConfig.remote_address)
578  return remote_address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
579 }
581  // @@protoc_insertion_point(field_release:goby.middleware.protobuf.UDPPointToPointConfig.remote_address)
582  if (!has_remote_address()) {
583  return NULL;
584  }
585  clear_has_remote_address();
586  return remote_address_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
587 }
588 inline void UDPPointToPointConfig::set_allocated_remote_address(::std::string* remote_address) {
589  if (remote_address != NULL) {
590  set_has_remote_address();
591  } else {
592  clear_has_remote_address();
593  }
594  remote_address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), remote_address);
595  // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.UDPPointToPointConfig.remote_address)
596 }
597 
598 // required uint32 remote_port = 6 [(.goby.field) = {
600  return (_has_bits_[0] & 0x00000004u) != 0;
601 }
602 inline void UDPPointToPointConfig::set_has_remote_port() {
603  _has_bits_[0] |= 0x00000004u;
604 }
605 inline void UDPPointToPointConfig::clear_has_remote_port() {
606  _has_bits_[0] &= ~0x00000004u;
607 }
609  remote_port_ = 0u;
610  clear_has_remote_port();
611 }
613  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.UDPPointToPointConfig.remote_port)
614  return remote_port_;
615 }
617  set_has_remote_port();
618  remote_port_ = value;
619  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.UDPPointToPointConfig.remote_port)
620 }
621 
622 // optional bool set_reuseaddr = 10 [default = false];
624  return (_has_bits_[0] & 0x00000008u) != 0;
625 }
626 inline void UDPPointToPointConfig::set_has_set_reuseaddr() {
627  _has_bits_[0] |= 0x00000008u;
628 }
629 inline void UDPPointToPointConfig::clear_has_set_reuseaddr() {
630  _has_bits_[0] &= ~0x00000008u;
631 }
633  set_reuseaddr_ = false;
634  clear_has_set_reuseaddr();
635 }
637  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.UDPPointToPointConfig.set_reuseaddr)
638  return set_reuseaddr_;
639 }
641  set_has_set_reuseaddr();
642  set_reuseaddr_ = value;
643  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.UDPPointToPointConfig.set_reuseaddr)
644 }
645 
646 // optional bool set_broadcast = 11 [default = false];
648  return (_has_bits_[0] & 0x00000010u) != 0;
649 }
650 inline void UDPPointToPointConfig::set_has_set_broadcast() {
651  _has_bits_[0] |= 0x00000010u;
652 }
653 inline void UDPPointToPointConfig::clear_has_set_broadcast() {
654  _has_bits_[0] &= ~0x00000010u;
655 }
657  set_broadcast_ = false;
658  clear_has_set_broadcast();
659 }
661  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.UDPPointToPointConfig.set_broadcast)
662  return set_broadcast_;
663 }
665  set_has_set_broadcast();
666  set_broadcast_ = value;
667  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.UDPPointToPointConfig.set_broadcast)
668 }
669 
670 // optional bool ipv6 = 12 [default = false];
671 inline bool UDPPointToPointConfig::has_ipv6() const {
672  return (_has_bits_[0] & 0x00000020u) != 0;
673 }
674 inline void UDPPointToPointConfig::set_has_ipv6() {
675  _has_bits_[0] |= 0x00000020u;
676 }
677 inline void UDPPointToPointConfig::clear_has_ipv6() {
678  _has_bits_[0] &= ~0x00000020u;
679 }
681  ipv6_ = false;
682  clear_has_ipv6();
683 }
684 inline bool UDPPointToPointConfig::ipv6() const {
685  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.UDPPointToPointConfig.ipv6)
686  return ipv6_;
687 }
688 inline void UDPPointToPointConfig::set_ipv6(bool value) {
689  set_has_ipv6();
690  ipv6_ = value;
691  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.UDPPointToPointConfig.ipv6)
692 }
693 
694 #ifdef __GNUC__
695  #pragma GCC diagnostic pop
696 #endif // __GNUC__
697 // -------------------------------------------------------------------
698 
699 
700 // @@protoc_insertion_point(namespace_scope)
701 
702 } // namespace protobuf
703 } // namespace middleware
704 } // namespace goby
705 
706 // @@protoc_insertion_point(global_scope)
707 
708 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto
goby::middleware::protobuf::UDPOneToManyConfig::operator=
UDPOneToManyConfig & operator=(const UDPOneToManyConfig &from)
Definition: udp_config.pb.h:87
goby::middleware::protobuf::UDPOneToManyConfig::New
UDPOneToManyConfig * New() const final
Definition: udp_config.pb.h:131
goby::middleware::protobuf::UDPOneToManyConfig::set_broadcast
bool set_broadcast() const
Definition: udp_config.pb.h:470
goby::middleware::protobuf::UDPPointToPointConfig::Swap
void Swap(UDPPointToPointConfig *other)
goby::middleware::protobuf::UDPOneToManyConfig::set_ipv6
void set_ipv6(bool value)
Definition: udp_config.pb.h:498
goby::middleware::protobuf::UDPPointToPointConfig::clear_set_broadcast
void clear_set_broadcast()
Definition: udp_config.pb.h:656
goby::middleware::protobuf::UDPPointToPointConfig::clear_remote_address
void clear_remote_address()
Definition: udp_config.pb.h:542
goby::middleware::protobuf::UDPOneToManyConfig::clear_bind_port
void clear_bind_port()
Definition: udp_config.pb.h:418
goby::middleware::protobuf::UDPPointToPointConfig::swap
friend void swap(UDPPointToPointConfig &a, UDPPointToPointConfig &b)
Definition: udp_config.pb.h:269
google::protobuf::internal::GetEmptyStringAlreadyInited
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:133
goby::middleware::protobuf::UDPPointToPointConfig::clear_ipv6
void clear_ipv6()
Definition: udp_config.pb.h:680
protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto
Definition: udp_config.pb.h:44
goby::middleware::protobuf::UDPOneToManyConfig::UDPOneToManyConfig
UDPOneToManyConfig()
goby::middleware::protobuf::UDPOneToManyConfig
Definition: udp_config.pb.h:80
goby::middleware::protobuf::UDPPointToPointConfig::bind_port
::google::protobuf::uint32 bind_port() const
Definition: udp_config.pb.h:522
protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto::AddDescriptors
void AddDescriptors()
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::middleware::protobuf::UDPPointToPointConfig::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: udp_config.pb.h:250
goby::middleware::protobuf::_UDPOneToManyConfig_default_instance_
UDPOneToManyConfigDefaultTypeInternal _UDPOneToManyConfig_default_instance_
goby::middleware::protobuf::UDPOneToManyConfig::bind_port
::google::protobuf::uint32 bind_port() const
Definition: udp_config.pb.h:422
goby::middleware::protobuf::UDPOneToManyConfig::~UDPOneToManyConfig
virtual ~UDPOneToManyConfig()
goby::middleware::protobuf::UDPOneToManyConfig::has_set_reuseaddr
bool has_set_reuseaddr() const
Definition: udp_config.pb.h:433
goby::middleware::protobuf::UDPOneToManyConfig::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::middleware::protobuf::UDPOneToManyConfig::clear_set_broadcast
void clear_set_broadcast()
Definition: udp_config.pb.h:466
goby::middleware::protobuf::UDPOneToManyConfig::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::middleware::protobuf::UDPOneToManyConfig::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: udp_config.pb.h:109
goby::middleware::protobuf::UDPOneToManyConfig::ByteSizeLong
size_t ByteSizeLong() const final
goby::middleware::protobuf::UDPPointToPointConfig::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: udp_config.pb.h:253
goby::middleware::protobuf::UDPOneToManyConfig::has_ipv6
bool has_ipv6() const
Definition: udp_config.pb.h:481
goby::middleware::protobuf::UDPPointToPointConfig::New
UDPPointToPointConfig * New() const final
Definition: udp_config.pb.h:275
goby::middleware::protobuf::UDPOneToManyConfig::set_bind_port
void set_bind_port(::google::protobuf::uint32 value)
Definition: udp_config.pb.h:426
goby::middleware::protobuf::UDPPointToPointConfig::has_remote_address
bool has_remote_address() const
Definition: udp_config.pb.h:533
protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto::TableStruct
Definition: udp_config.pb.h:46
google::protobuf::Arena
Definition: arena.h:244
goby::middleware::protobuf::UDPPointToPointConfig::has_ipv6
bool has_ipv6() const
Definition: udp_config.pb.h:671
goby::middleware::protobuf::UDPPointToPointConfig::set_remote_port
void set_remote_port(::google::protobuf::uint32 value)
Definition: udp_config.pb.h:616
goby::middleware::protobuf::UDPOneToManyConfig::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::middleware::protobuf::UDPOneToManyConfig::set_set_reuseaddr
void set_set_reuseaddr(bool value)
Definition: udp_config.pb.h:450
goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_
UDPPointToPointConfigDefaultTypeInternal _UDPPointToPointConfig_default_instance_
goby::middleware::protobuf::UDPOneToManyConfig::swap
friend void swap(UDPOneToManyConfig &a, UDPOneToManyConfig &b)
Definition: udp_config.pb.h:125
goby::middleware::protobuf::UDPPointToPointConfig::internal_default_instance
static const UDPPointToPointConfig * internal_default_instance()
Definition: udp_config.pb.h:261
goby::middleware::protobuf::UDPOneToManyConfig::kIpv6FieldNumber
static const int kIpv6FieldNumber
Definition: udp_config.pb.h:198
goby::middleware::protobuf::UDPOneToManyConfig::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::middleware::protobuf::UDPPointToPointConfig::has_set_reuseaddr
bool has_set_reuseaddr() const
Definition: udp_config.pb.h:623
goby::middleware::protobuf::UDPOneToManyConfig::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: udp_config.pb.h:106
protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: udp_config.pb.h:50
goby::middleware::protobuf::UDPPointToPointConfig::set_set_broadcast
void set_set_broadcast(bool value)
Definition: udp_config.pb.h:664
message.h
protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[2]
Definition: udp_config.pb.h:49
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::middleware::protobuf::UDPPointToPointConfig::set_broadcast
bool set_broadcast() const
Definition: udp_config.pb.h:660
goby::middleware::protobuf::UDPPointToPointConfig::mutable_remote_address
::std::string * mutable_remote_address()
Definition: udp_config.pb.h:575
goby::middleware::protobuf::UDPOneToManyConfig::has_bind_port
bool has_bind_port() const
Definition: udp_config.pb.h:409
goby::middleware::protobuf::UDPOneToManyConfig::New
UDPOneToManyConfig * New(::google::protobuf::Arena *arena) const final
Definition: udp_config.pb.h:135
goby::middleware::protobuf::UDPPointToPointConfig::remote_port
::google::protobuf::uint32 remote_port() const
Definition: udp_config.pb.h:612
goby::middleware::protobuf::UDPOneToManyConfig::default_instance
static const UDPOneToManyConfig & default_instance()
goby::middleware::protobuf::UDPOneToManyConfig::internal_default_instance
static const UDPOneToManyConfig * internal_default_instance()
Definition: udp_config.pb.h:117
goby::middleware::protobuf::UDPOneToManyConfig::clear_set_reuseaddr
void clear_set_reuseaddr()
Definition: udp_config.pb.h:442
goby::middleware::protobuf::UDPPointToPointConfig::set_bind_port
void set_bind_port(::google::protobuf::uint32 value)
Definition: udp_config.pb.h:526
protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: udp_config.pb.h:48
goby::middleware::protobuf::UDPOneToManyConfig::Clear
void Clear() final
goby::middleware::protobuf::UDPPointToPointConfig
Definition: udp_config.pb.h:224
goby::middleware::protobuf::UDPPointToPointConfig::operator=
UDPPointToPointConfig & operator=(const UDPPointToPointConfig &from)
Definition: udp_config.pb.h:231
goby::middleware::protobuf::UDPPointToPointConfig::set_allocated_remote_address
void set_allocated_remote_address(::std::string *remote_address)
Definition: udp_config.pb.h:588
goby::middleware::protobuf::UDPPointToPointConfig::clear_bind_port
void clear_bind_port()
Definition: udp_config.pb.h:518
goby::middleware::protobuf::UDPPointToPointConfig::clear_remote_port
void clear_remote_port()
Definition: udp_config.pb.h:608
goby::middleware::protobuf::UDPPointToPointConfig::has_remote_port
bool has_remote_port() const
Definition: udp_config.pb.h:599
goby::middleware::protobuf::UDPOneToManyConfig::clear_ipv6
void clear_ipv6()
Definition: udp_config.pb.h:490
google::protobuf::Metadata
Definition: message.h:174
goby::middleware::protobuf::UDPPointToPointConfig::has_bind_port
bool has_bind_port() const
Definition: udp_config.pb.h:509
protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: udp_config.pb.h:51
goby::middleware::protobuf::UDPOneToManyConfig::kSetBroadcastFieldNumber
static const int kSetBroadcastFieldNumber
Definition: udp_config.pb.h:191
google::protobuf::Message
Definition: message.h:189
goby::middleware::protobuf::UDPOneToManyConfig::has_set_broadcast
bool has_set_broadcast() const
Definition: udp_config.pb.h:457
goby::middleware::protobuf::UDPOneToManyConfig::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: udp_config.pb.h:121
goby::middleware::protobuf::UDPOneToManyConfig::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::middleware::protobuf::UDPOneToManyConfig::GetCachedSize
int GetCachedSize() const final
Definition: udp_config.pb.h:152
goby::middleware::protobuf::UDPOneToManyConfig::descriptor
static const ::google::protobuf::Descriptor * descriptor()
arena.h
protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: udp_config.pb.h:52
goby::middleware::protobuf::UDPPointToPointConfig::clear_set_reuseaddr
void clear_set_reuseaddr()
Definition: udp_config.pb.h:632
goby::middleware::protobuf::UDPPointToPointConfig::release_remote_address
::std::string * release_remote_address()
Definition: udp_config.pb.h:580
goby::middleware::protobuf::UDPPointToPointConfig::remote_address
const ::std::string & remote_address() const
Definition: udp_config.pb.h:546
goby::middleware::protobuf::UDPPointToPointConfig::set_reuseaddr
bool set_reuseaddr() const
Definition: udp_config.pb.h:636
goby::middleware::protobuf::UDPPointToPointConfig::set_set_reuseaddr
void set_set_reuseaddr(bool value)
Definition: udp_config.pb.h:640
goby::middleware::protobuf::UDPOneToManyConfig::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::middleware::protobuf::UDPPointToPointConfig::has_set_broadcast
bool has_set_broadcast() const
Definition: udp_config.pb.h:647
goby::middleware::protobuf::UDPOneToManyConfig::IsInitialized
bool IsInitialized() const final
protobuf_goby_2fmiddleware_2fprotobuf_2fudp_5fconfig_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: udp_config.pb.h:47
goby::middleware::protobuf::UDPOneToManyConfig::set_set_broadcast
void set_set_broadcast(bool value)
Definition: udp_config.pb.h:474
option_extensions.pb.h
goby::middleware::protobuf::UDPPointToPointConfig::New
UDPPointToPointConfig * New(::google::protobuf::Arena *arena) const final
Definition: udp_config.pb.h:279
goby::middleware::protobuf::UDPOneToManyConfig::Swap
void Swap(UDPOneToManyConfig *other)
goby::middleware::protobuf::UDPOneToManyConfig::kBindPortFieldNumber
static const int kBindPortFieldNumber
Definition: udp_config.pb.h:177
goby::middleware::protobuf::UDPOneToManyConfig::ipv6
bool ipv6() const
Definition: udp_config.pb.h:494
goby::middleware::protobuf::UDPPointToPointConfig::set_remote_address
void set_remote_address(const ::std::string &value)
Definition: udp_config.pb.h:550
google::protobuf::Message::Message
Message()
Definition: message.h:191
friend
goby::middleware::protobuf::UDPOneToManyConfig::kSetReuseaddrFieldNumber
static const int kSetReuseaddrFieldNumber
Definition: udp_config.pb.h:184
goby::middleware::protobuf::UDPPointToPointConfig::set_ipv6
void set_ipv6(bool value)
Definition: udp_config.pb.h:688
goby::middleware::protobuf::UDPOneToManyConfig::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
google
Definition: dccl.h:57
goby::middleware::protobuf::UDPOneToManyConfig::set_reuseaddr
bool set_reuseaddr() const
Definition: udp_config.pb.h:446
goby::middleware::protobuf::UDPPointToPointConfig::ipv6
bool ipv6() const
Definition: udp_config.pb.h:684