Goby3  3.1.5a
2024.05.23
tcp_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/tcp_config.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftcp_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_2ftcp_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_2ftcp_5fconfig_2eproto
56 namespace goby {
57 namespace middleware {
58 namespace protobuf {
59 class TCPClientConfig;
60 class TCPClientConfigDefaultTypeInternal;
61 extern TCPClientConfigDefaultTypeInternal _TCPClientConfig_default_instance_;
62 class TCPServerConfig;
63 class TCPServerConfigDefaultTypeInternal;
64 extern TCPServerConfigDefaultTypeInternal _TCPServerConfig_default_instance_;
65 } // namespace protobuf
66 } // namespace middleware
67 } // namespace goby
68 namespace google {
69 namespace protobuf {
70 template<> ::goby::middleware::protobuf::TCPClientConfig* Arena::CreateMaybeMessage<::goby::middleware::protobuf::TCPClientConfig>(Arena*);
71 template<> ::goby::middleware::protobuf::TCPServerConfig* Arena::CreateMaybeMessage<::goby::middleware::protobuf::TCPServerConfig>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace goby {
75 namespace middleware {
76 namespace protobuf {
77 
78 // ===================================================================
79 
80 class TCPServerConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.TCPServerConfig) */ {
81  public:
83  virtual ~TCPServerConfig();
84 
85  TCPServerConfig(const TCPServerConfig& from);
86 
87  inline TCPServerConfig& operator=(const TCPServerConfig& from) {
88  CopyFrom(from);
89  return *this;
90  }
91  #if LANG_CXX11
92  TCPServerConfig(TCPServerConfig&& from) noexcept
93  : TCPServerConfig() {
94  *this = ::std::move(from);
95  }
96 
97  inline TCPServerConfig& operator=(TCPServerConfig&& 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 TCPServerConfig& default_instance();
115 
116  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
118  return reinterpret_cast<const TCPServerConfig*>(
120  }
121  static constexpr int kIndexInFileMessages =
122  0;
123 
124  void Swap(TCPServerConfig* other);
125  friend void swap(TCPServerConfig& a, TCPServerConfig& b) {
126  a.Swap(&b);
127  }
128 
129  // implements Message ----------------------------------------------
130 
131  inline TCPServerConfig* New() const final {
132  return CreateMaybeMessage<TCPServerConfig>(NULL);
133  }
134 
135  TCPServerConfig* New(::google::protobuf::Arena* arena) const final {
136  return CreateMaybeMessage<TCPServerConfig>(arena);
137  }
138  void CopyFrom(const ::google::protobuf::Message& from) final;
139  void MergeFrom(const ::google::protobuf::Message& from) final;
140  void CopyFrom(const TCPServerConfig& from);
141  void MergeFrom(const TCPServerConfig& 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(TCPServerConfig* 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  // optional string end_of_line = 3 [default = "\n", (.goby.field) = {
175  bool has_end_of_line() const;
176  void clear_end_of_line();
177  static const int kEndOfLineFieldNumber = 3;
178  const ::std::string& end_of_line() const;
179  void set_end_of_line(const ::std::string& value);
180  #if LANG_CXX11
181  void set_end_of_line(::std::string&& value);
182  #endif
183  void set_end_of_line(const char* value);
184  void set_end_of_line(const char* value, size_t size);
185  ::std::string* mutable_end_of_line();
186  ::std::string* release_end_of_line();
187  void set_allocated_end_of_line(::std::string* end_of_line);
188 
189  // required uint32 bind_port = 2 [(.goby.field) = {
190  bool has_bind_port() const;
191  void clear_bind_port();
192  static const int kBindPortFieldNumber = 2;
195 
196  // optional bool set_reuseaddr = 10 [default = false];
197  bool has_set_reuseaddr() const;
198  void clear_set_reuseaddr();
199  static const int kSetReuseaddrFieldNumber = 10;
200  bool set_reuseaddr() const;
201  void set_set_reuseaddr(bool value);
202 
203  // optional bool ipv6 = 11 [default = false];
204  bool has_ipv6() const;
205  void clear_ipv6();
206  static const int kIpv6FieldNumber = 11;
207  bool ipv6() const;
208  void set_ipv6(bool value);
209 
210  // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.TCPServerConfig)
211  private:
212  void set_has_bind_port();
213  void clear_has_bind_port();
214  void set_has_end_of_line();
215  void clear_has_end_of_line();
216  void set_has_set_reuseaddr();
217  void clear_has_set_reuseaddr();
218  void set_has_ipv6();
219  void clear_has_ipv6();
220 
221  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
222  ::google::protobuf::internal::HasBits<1> _has_bits_;
223  mutable ::google::protobuf::internal::CachedSize _cached_size_;
224  public:
225  static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_end_of_line_;
226  private:
227  ::google::protobuf::internal::ArenaStringPtr end_of_line_;
228  ::google::protobuf::uint32 bind_port_;
229  bool set_reuseaddr_;
230  bool ipv6_;
231  friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto::TableStruct;
232 };
233 // -------------------------------------------------------------------
234 
235 class TCPClientConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.TCPClientConfig) */ {
236  public:
237  TCPClientConfig();
238  virtual ~TCPClientConfig();
239 
240  TCPClientConfig(const TCPClientConfig& from);
241 
243  CopyFrom(from);
244  return *this;
245  }
246  #if LANG_CXX11
247  TCPClientConfig(TCPClientConfig&& from) noexcept
248  : TCPClientConfig() {
249  *this = ::std::move(from);
250  }
251 
252  inline TCPClientConfig& operator=(TCPClientConfig&& from) noexcept {
253  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
254  if (this != &from) InternalSwap(&from);
255  } else {
256  CopyFrom(from);
257  }
258  return *this;
259  }
260  #endif
261  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
262  return _internal_metadata_.unknown_fields();
263  }
264  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
265  return _internal_metadata_.mutable_unknown_fields();
266  }
267 
268  static const ::google::protobuf::Descriptor* descriptor();
269  static const TCPClientConfig& default_instance();
270 
271  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
273  return reinterpret_cast<const TCPClientConfig*>(
275  }
276  static constexpr int kIndexInFileMessages =
277  1;
278 
279  void Swap(TCPClientConfig* other);
280  friend void swap(TCPClientConfig& a, TCPClientConfig& b) {
281  a.Swap(&b);
282  }
283 
284  // implements Message ----------------------------------------------
285 
286  inline TCPClientConfig* New() const final {
287  return CreateMaybeMessage<TCPClientConfig>(NULL);
288  }
289 
290  TCPClientConfig* New(::google::protobuf::Arena* arena) const final {
291  return CreateMaybeMessage<TCPClientConfig>(arena);
292  }
293  void CopyFrom(const ::google::protobuf::Message& from) final;
294  void MergeFrom(const ::google::protobuf::Message& from) final;
295  void CopyFrom(const TCPClientConfig& from);
296  void MergeFrom(const TCPClientConfig& from);
297  void Clear() final;
298  bool IsInitialized() const final;
299 
300  size_t ByteSizeLong() const final;
302  ::google::protobuf::io::CodedInputStream* input) final;
304  ::google::protobuf::io::CodedOutputStream* output) const final;
306  bool deterministic, ::google::protobuf::uint8* target) const final;
307  int GetCachedSize() const final { return _cached_size_.Get(); }
308 
309  private:
310  void SharedCtor();
311  void SharedDtor();
312  void SetCachedSize(int size) const final;
313  void InternalSwap(TCPClientConfig* other);
314  private:
315  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
316  return NULL;
317  }
318  inline void* MaybeArenaPtr() const {
319  return NULL;
320  }
321  public:
322 
324 
325  // nested types ----------------------------------------------------
326 
327  // accessors -------------------------------------------------------
328 
329  // optional string end_of_line = 3 [default = "\n", (.goby.field) = {
330  bool has_end_of_line() const;
331  void clear_end_of_line();
332  static const int kEndOfLineFieldNumber = 3;
333  const ::std::string& end_of_line() const;
334  void set_end_of_line(const ::std::string& value);
335  #if LANG_CXX11
336  void set_end_of_line(::std::string&& value);
337  #endif
338  void set_end_of_line(const char* value);
339  void set_end_of_line(const char* value, size_t size);
340  ::std::string* mutable_end_of_line();
341  ::std::string* release_end_of_line();
342  void set_allocated_end_of_line(::std::string* end_of_line);
343 
344  // required string remote_address = 5 [(.goby.field) = {
345  bool has_remote_address() const;
346  void clear_remote_address();
347  static const int kRemoteAddressFieldNumber = 5;
348  const ::std::string& remote_address() const;
349  void set_remote_address(const ::std::string& value);
350  #if LANG_CXX11
351  void set_remote_address(::std::string&& value);
352  #endif
353  void set_remote_address(const char* value);
354  void set_remote_address(const char* value, size_t size);
355  ::std::string* mutable_remote_address();
356  ::std::string* release_remote_address();
357  void set_allocated_remote_address(::std::string* remote_address);
358 
359  // required uint32 remote_port = 6 [(.goby.field) = {
360  bool has_remote_port() const;
361  void clear_remote_port();
362  static const int kRemotePortFieldNumber = 6;
365 
366  // optional bool ipv6 = 7 [default = false];
367  bool has_ipv6() const;
368  void clear_ipv6();
369  static const int kIpv6FieldNumber = 7;
370  bool ipv6() const;
371  void set_ipv6(bool value);
372 
373  // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.TCPClientConfig)
374  private:
375  void set_has_end_of_line();
376  void clear_has_end_of_line();
377  void set_has_remote_address();
378  void clear_has_remote_address();
379  void set_has_remote_port();
380  void clear_has_remote_port();
381  void set_has_ipv6();
382  void clear_has_ipv6();
383 
384  // helper for ByteSizeLong()
385  size_t RequiredFieldsByteSizeFallback() const;
386 
387  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
388  ::google::protobuf::internal::HasBits<1> _has_bits_;
389  mutable ::google::protobuf::internal::CachedSize _cached_size_;
390  public:
391  static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_end_of_line_;
392  private:
393  ::google::protobuf::internal::ArenaStringPtr end_of_line_;
394  ::google::protobuf::internal::ArenaStringPtr remote_address_;
395  ::google::protobuf::uint32 remote_port_;
396  bool ipv6_;
397  friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto::TableStruct;
398 };
399 // ===================================================================
400 
401 
402 // ===================================================================
403 
404 #ifdef __GNUC__
405  #pragma GCC diagnostic push
406  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
407 #endif // __GNUC__
408 // TCPServerConfig
409 
410 // required uint32 bind_port = 2 [(.goby.field) = {
411 inline bool TCPServerConfig::has_bind_port() const {
412  return (_has_bits_[0] & 0x00000002u) != 0;
413 }
414 inline void TCPServerConfig::set_has_bind_port() {
415  _has_bits_[0] |= 0x00000002u;
416 }
417 inline void TCPServerConfig::clear_has_bind_port() {
418  _has_bits_[0] &= ~0x00000002u;
419 }
421  bind_port_ = 0u;
422  clear_has_bind_port();
423 }
425  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.TCPServerConfig.bind_port)
426  return bind_port_;
427 }
429  set_has_bind_port();
430  bind_port_ = value;
431  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.TCPServerConfig.bind_port)
432 }
433 
434 // optional string end_of_line = 3 [default = "\n", (.goby.field) = {
435 inline bool TCPServerConfig::has_end_of_line() const {
436  return (_has_bits_[0] & 0x00000001u) != 0;
437 }
438 inline void TCPServerConfig::set_has_end_of_line() {
439  _has_bits_[0] |= 0x00000001u;
440 }
441 inline void TCPServerConfig::clear_has_end_of_line() {
442  _has_bits_[0] &= ~0x00000001u;
443 }
446  clear_has_end_of_line();
447 }
448 inline const ::std::string& TCPServerConfig::end_of_line() const {
449  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.TCPServerConfig.end_of_line)
450  return end_of_line_.GetNoArena();
451 }
452 inline void TCPServerConfig::set_end_of_line(const ::std::string& value) {
453  set_has_end_of_line();
455  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.TCPServerConfig.end_of_line)
456 }
457 #if LANG_CXX11
458 inline void TCPServerConfig::set_end_of_line(::std::string&& value) {
459  set_has_end_of_line();
460  end_of_line_.SetNoArena(
462  // @@protoc_insertion_point(field_set_rvalue:goby.middleware.protobuf.TCPServerConfig.end_of_line)
463 }
464 #endif
465 inline void TCPServerConfig::set_end_of_line(const char* value) {
466  GOOGLE_DCHECK(value != NULL);
467  set_has_end_of_line();
469  // @@protoc_insertion_point(field_set_char:goby.middleware.protobuf.TCPServerConfig.end_of_line)
470 }
471 inline void TCPServerConfig::set_end_of_line(const char* value, size_t size) {
472  set_has_end_of_line();
474  ::std::string(reinterpret_cast<const char*>(value), size));
475  // @@protoc_insertion_point(field_set_pointer:goby.middleware.protobuf.TCPServerConfig.end_of_line)
476 }
477 inline ::std::string* TCPServerConfig::mutable_end_of_line() {
478  set_has_end_of_line();
479  // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.TCPServerConfig.end_of_line)
481 }
482 inline ::std::string* TCPServerConfig::release_end_of_line() {
483  // @@protoc_insertion_point(field_release:goby.middleware.protobuf.TCPServerConfig.end_of_line)
484  if (!has_end_of_line()) {
485  return NULL;
486  }
487  clear_has_end_of_line();
489 }
490 inline void TCPServerConfig::set_allocated_end_of_line(::std::string* end_of_line) {
491  if (end_of_line != NULL) {
492  set_has_end_of_line();
493  } else {
494  clear_has_end_of_line();
495  }
497  // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.TCPServerConfig.end_of_line)
498 }
499 
500 // optional bool set_reuseaddr = 10 [default = false];
502  return (_has_bits_[0] & 0x00000004u) != 0;
503 }
504 inline void TCPServerConfig::set_has_set_reuseaddr() {
505  _has_bits_[0] |= 0x00000004u;
506 }
507 inline void TCPServerConfig::clear_has_set_reuseaddr() {
508  _has_bits_[0] &= ~0x00000004u;
509 }
511  set_reuseaddr_ = false;
512  clear_has_set_reuseaddr();
513 }
514 inline bool TCPServerConfig::set_reuseaddr() const {
515  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.TCPServerConfig.set_reuseaddr)
516  return set_reuseaddr_;
517 }
518 inline void TCPServerConfig::set_set_reuseaddr(bool value) {
519  set_has_set_reuseaddr();
520  set_reuseaddr_ = value;
521  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.TCPServerConfig.set_reuseaddr)
522 }
523 
524 // optional bool ipv6 = 11 [default = false];
525 inline bool TCPServerConfig::has_ipv6() const {
526  return (_has_bits_[0] & 0x00000008u) != 0;
527 }
528 inline void TCPServerConfig::set_has_ipv6() {
529  _has_bits_[0] |= 0x00000008u;
530 }
531 inline void TCPServerConfig::clear_has_ipv6() {
532  _has_bits_[0] &= ~0x00000008u;
533 }
535  ipv6_ = false;
536  clear_has_ipv6();
537 }
538 inline bool TCPServerConfig::ipv6() const {
539  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.TCPServerConfig.ipv6)
540  return ipv6_;
541 }
542 inline void TCPServerConfig::set_ipv6(bool value) {
543  set_has_ipv6();
544  ipv6_ = value;
545  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.TCPServerConfig.ipv6)
546 }
547 
548 // -------------------------------------------------------------------
549 
550 // TCPClientConfig
551 
552 // optional string end_of_line = 3 [default = "\n", (.goby.field) = {
553 inline bool TCPClientConfig::has_end_of_line() const {
554  return (_has_bits_[0] & 0x00000001u) != 0;
555 }
556 inline void TCPClientConfig::set_has_end_of_line() {
557  _has_bits_[0] |= 0x00000001u;
558 }
559 inline void TCPClientConfig::clear_has_end_of_line() {
560  _has_bits_[0] &= ~0x00000001u;
561 }
564  clear_has_end_of_line();
565 }
566 inline const ::std::string& TCPClientConfig::end_of_line() const {
567  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.TCPClientConfig.end_of_line)
568  return end_of_line_.GetNoArena();
569 }
570 inline void TCPClientConfig::set_end_of_line(const ::std::string& value) {
571  set_has_end_of_line();
573  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.TCPClientConfig.end_of_line)
574 }
575 #if LANG_CXX11
576 inline void TCPClientConfig::set_end_of_line(::std::string&& value) {
577  set_has_end_of_line();
578  end_of_line_.SetNoArena(
580  // @@protoc_insertion_point(field_set_rvalue:goby.middleware.protobuf.TCPClientConfig.end_of_line)
581 }
582 #endif
583 inline void TCPClientConfig::set_end_of_line(const char* value) {
584  GOOGLE_DCHECK(value != NULL);
585  set_has_end_of_line();
587  // @@protoc_insertion_point(field_set_char:goby.middleware.protobuf.TCPClientConfig.end_of_line)
588 }
589 inline void TCPClientConfig::set_end_of_line(const char* value, size_t size) {
590  set_has_end_of_line();
592  ::std::string(reinterpret_cast<const char*>(value), size));
593  // @@protoc_insertion_point(field_set_pointer:goby.middleware.protobuf.TCPClientConfig.end_of_line)
594 }
595 inline ::std::string* TCPClientConfig::mutable_end_of_line() {
596  set_has_end_of_line();
597  // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.TCPClientConfig.end_of_line)
599 }
600 inline ::std::string* TCPClientConfig::release_end_of_line() {
601  // @@protoc_insertion_point(field_release:goby.middleware.protobuf.TCPClientConfig.end_of_line)
602  if (!has_end_of_line()) {
603  return NULL;
604  }
605  clear_has_end_of_line();
607 }
608 inline void TCPClientConfig::set_allocated_end_of_line(::std::string* end_of_line) {
609  if (end_of_line != NULL) {
610  set_has_end_of_line();
611  } else {
612  clear_has_end_of_line();
613  }
615  // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.TCPClientConfig.end_of_line)
616 }
617 
618 // required string remote_address = 5 [(.goby.field) = {
620  return (_has_bits_[0] & 0x00000002u) != 0;
621 }
622 inline void TCPClientConfig::set_has_remote_address() {
623  _has_bits_[0] |= 0x00000002u;
624 }
625 inline void TCPClientConfig::clear_has_remote_address() {
626  _has_bits_[0] &= ~0x00000002u;
627 }
629  remote_address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
630  clear_has_remote_address();
631 }
632 inline const ::std::string& TCPClientConfig::remote_address() const {
633  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.TCPClientConfig.remote_address)
634  return remote_address_.GetNoArena();
635 }
636 inline void TCPClientConfig::set_remote_address(const ::std::string& value) {
637  set_has_remote_address();
638  remote_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
639  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.TCPClientConfig.remote_address)
640 }
641 #if LANG_CXX11
642 inline void TCPClientConfig::set_remote_address(::std::string&& value) {
643  set_has_remote_address();
644  remote_address_.SetNoArena(
646  // @@protoc_insertion_point(field_set_rvalue:goby.middleware.protobuf.TCPClientConfig.remote_address)
647 }
648 #endif
649 inline void TCPClientConfig::set_remote_address(const char* value) {
650  GOOGLE_DCHECK(value != NULL);
651  set_has_remote_address();
652  remote_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
653  // @@protoc_insertion_point(field_set_char:goby.middleware.protobuf.TCPClientConfig.remote_address)
654 }
655 inline void TCPClientConfig::set_remote_address(const char* value, size_t size) {
656  set_has_remote_address();
657  remote_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
658  ::std::string(reinterpret_cast<const char*>(value), size));
659  // @@protoc_insertion_point(field_set_pointer:goby.middleware.protobuf.TCPClientConfig.remote_address)
660 }
662  set_has_remote_address();
663  // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.TCPClientConfig.remote_address)
664  return remote_address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
665 }
667  // @@protoc_insertion_point(field_release:goby.middleware.protobuf.TCPClientConfig.remote_address)
668  if (!has_remote_address()) {
669  return NULL;
670  }
671  clear_has_remote_address();
672  return remote_address_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
673 }
674 inline void TCPClientConfig::set_allocated_remote_address(::std::string* remote_address) {
675  if (remote_address != NULL) {
676  set_has_remote_address();
677  } else {
678  clear_has_remote_address();
679  }
680  remote_address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), remote_address);
681  // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.TCPClientConfig.remote_address)
682 }
683 
684 // required uint32 remote_port = 6 [(.goby.field) = {
685 inline bool TCPClientConfig::has_remote_port() const {
686  return (_has_bits_[0] & 0x00000004u) != 0;
687 }
688 inline void TCPClientConfig::set_has_remote_port() {
689  _has_bits_[0] |= 0x00000004u;
690 }
691 inline void TCPClientConfig::clear_has_remote_port() {
692  _has_bits_[0] &= ~0x00000004u;
693 }
695  remote_port_ = 0u;
696  clear_has_remote_port();
697 }
699  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.TCPClientConfig.remote_port)
700  return remote_port_;
701 }
703  set_has_remote_port();
704  remote_port_ = value;
705  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.TCPClientConfig.remote_port)
706 }
707 
708 // optional bool ipv6 = 7 [default = false];
709 inline bool TCPClientConfig::has_ipv6() const {
710  return (_has_bits_[0] & 0x00000008u) != 0;
711 }
712 inline void TCPClientConfig::set_has_ipv6() {
713  _has_bits_[0] |= 0x00000008u;
714 }
715 inline void TCPClientConfig::clear_has_ipv6() {
716  _has_bits_[0] &= ~0x00000008u;
717 }
719  ipv6_ = false;
720  clear_has_ipv6();
721 }
722 inline bool TCPClientConfig::ipv6() const {
723  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.TCPClientConfig.ipv6)
724  return ipv6_;
725 }
726 inline void TCPClientConfig::set_ipv6(bool value) {
727  set_has_ipv6();
728  ipv6_ = value;
729  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.TCPClientConfig.ipv6)
730 }
731 
732 #ifdef __GNUC__
733  #pragma GCC diagnostic pop
734 #endif // __GNUC__
735 // -------------------------------------------------------------------
736 
737 
738 // @@protoc_insertion_point(namespace_scope)
739 
740 } // namespace protobuf
741 } // namespace middleware
742 } // namespace goby
743 
744 // @@protoc_insertion_point(global_scope)
745 
746 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto
protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: tcp_config.pb.h:48
goby::middleware::protobuf::TCPServerConfig::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: tcp_config.pb.h:106
goby::middleware::protobuf::TCPClientConfig::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: tcp_config.pb.h:276
goby::middleware::protobuf::TCPServerConfig::mutable_end_of_line
::std::string * mutable_end_of_line()
Definition: tcp_config.pb.h:477
goby::middleware::protobuf::TCPClientConfig::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: tcp_config.pb.h:264
google::protobuf::internal::GetEmptyStringAlreadyInited
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:133
goby::middleware::protobuf::TCPServerConfig::kIpv6FieldNumber
static const int kIpv6FieldNumber
Definition: tcp_config.pb.h:206
goby::middleware::protobuf::TCPServerConfig::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::middleware::protobuf::TCPServerConfig::end_of_line
const ::std::string & end_of_line() const
Definition: tcp_config.pb.h:448
goby::middleware::protobuf::TCPServerConfig::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::middleware::protobuf::TCPClientConfig::default_instance
static const TCPClientConfig & default_instance()
goby::middleware::protobuf::TCPClientConfig::set_end_of_line
void set_end_of_line(const ::std::string &value)
Definition: tcp_config.pb.h:570
goby::middleware::protobuf::TCPClientConfig::remote_address
const ::std::string & remote_address() const
Definition: tcp_config.pb.h:632
goby::middleware::protobuf::TCPServerConfig::set_reuseaddr
bool set_reuseaddr() const
Definition: tcp_config.pb.h:514
goby::middleware::protobuf::TCPClientConfig::descriptor
static const ::google::protobuf::Descriptor * descriptor()
protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: tcp_config.pb.h:50
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::middleware::protobuf::TCPClientConfig::kRemoteAddressFieldNumber
static const int kRemoteAddressFieldNumber
Definition: tcp_config.pb.h:347
goby::middleware::protobuf::TCPServerConfig::default_instance
static const TCPServerConfig & default_instance()
goby::middleware::protobuf::TCPServerConfig::TCPServerConfig
TCPServerConfig()
goby::middleware::protobuf::TCPClientConfig::mutable_end_of_line
::std::string * mutable_end_of_line()
Definition: tcp_config.pb.h:595
goby::middleware::protobuf::TCPClientConfig::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::middleware::protobuf::_TCPServerConfig_default_instance_
TCPServerConfigDefaultTypeInternal _TCPServerConfig_default_instance_
goby::middleware::protobuf::TCPServerConfig::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::middleware::protobuf::TCPServerConfig::has_ipv6
bool has_ipv6() const
Definition: tcp_config.pb.h:525
goby::middleware::protobuf::TCPServerConfig::has_end_of_line
bool has_end_of_line() const
Definition: tcp_config.pb.h:435
goby::middleware::protobuf::TCPServerConfig::kSetReuseaddrFieldNumber
static const int kSetReuseaddrFieldNumber
Definition: tcp_config.pb.h:199
goby::middleware::protobuf::TCPClientConfig::operator=
TCPClientConfig & operator=(const TCPClientConfig &from)
Definition: tcp_config.pb.h:242
goby::middleware::protobuf::TCPClientConfig
Definition: tcp_config.pb.h:235
protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[2]
Definition: tcp_config.pb.h:49
goby::middleware::protobuf::TCPServerConfig::set_end_of_line
void set_end_of_line(const ::std::string &value)
Definition: tcp_config.pb.h:452
goby::middleware::protobuf::TCPServerConfig::clear_bind_port
void clear_bind_port()
Definition: tcp_config.pb.h:420
goby::middleware::protobuf::TCPClientConfig::ipv6
bool ipv6() const
Definition: tcp_config.pb.h:722
goby::middleware::protobuf::TCPServerConfig::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: tcp_config.pb.h:109
goby::middleware::protobuf::TCPServerConfig::kBindPortFieldNumber
static const int kBindPortFieldNumber
Definition: tcp_config.pb.h:192
goby::middleware::protobuf::TCPServerConfig::clear_end_of_line
void clear_end_of_line()
Definition: tcp_config.pb.h:444
goby::middleware::protobuf::TCPClientConfig::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::middleware::protobuf::_TCPClientConfig_default_instance_
TCPClientConfigDefaultTypeInternal _TCPClientConfig_default_instance_
goby::middleware::protobuf::TCPClientConfig::set_ipv6
void set_ipv6(bool value)
Definition: tcp_config.pb.h:726
google::protobuf::Arena
Definition: arena.h:244
goby::middleware::protobuf::TCPServerConfig
Definition: tcp_config.pb.h:80
goby::middleware::protobuf::TCPClientConfig::clear_end_of_line
void clear_end_of_line()
Definition: tcp_config.pb.h:562
protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto::TableStruct
Definition: tcp_config.pb.h:46
goby::middleware::protobuf::TCPServerConfig::ipv6
bool ipv6() const
Definition: tcp_config.pb.h:538
goby::middleware::protobuf::TCPServerConfig::clear_set_reuseaddr
void clear_set_reuseaddr()
Definition: tcp_config.pb.h:510
goby::middleware::protobuf::TCPClientConfig::has_ipv6
bool has_ipv6() const
Definition: tcp_config.pb.h:709
goby::middleware::protobuf::TCPClientConfig::Swap
void Swap(TCPClientConfig *other)
goby::middleware::protobuf::TCPServerConfig::set_set_reuseaddr
void set_set_reuseaddr(bool value)
Definition: tcp_config.pb.h:518
protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto::AddDescriptors
void AddDescriptors()
goby::middleware::protobuf::TCPServerConfig::IsInitialized
bool IsInitialized() const final
goby::middleware::protobuf::TCPClientConfig::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::middleware::protobuf::TCPClientConfig::release_remote_address
::std::string * release_remote_address()
Definition: tcp_config.pb.h:666
goby::middleware::protobuf::TCPClientConfig::end_of_line
const ::std::string & end_of_line() const
Definition: tcp_config.pb.h:566
message.h
goby::middleware::protobuf::TCPClientConfig::set_remote_port
void set_remote_port(::google::protobuf::uint32 value)
Definition: tcp_config.pb.h:702
goby::middleware::protobuf::TCPServerConfig::swap
friend void swap(TCPServerConfig &a, TCPServerConfig &b)
Definition: tcp_config.pb.h:125
goby::middleware::protobuf::TCPClientConfig::TCPClientConfig
TCPClientConfig()
goby::middleware::protobuf::TCPServerConfig::set_bind_port
void set_bind_port(::google::protobuf::uint32 value)
Definition: tcp_config.pb.h:428
protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: tcp_config.pb.h:47
goby::middleware::protobuf::TCPClientConfig::mutable_remote_address
::std::string * mutable_remote_address()
Definition: tcp_config.pb.h:661
goby::middleware::protobuf::TCPClientConfig::remote_port
::google::protobuf::uint32 remote_port() const
Definition: tcp_config.pb.h:698
goby::middleware::protobuf::TCPClientConfig::kRemotePortFieldNumber
static const int kRemotePortFieldNumber
Definition: tcp_config.pb.h:362
goby::middleware::protobuf::TCPClientConfig::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::middleware::protobuf::TCPClientConfig::Clear
void Clear() final
goby::middleware::protobuf::TCPServerConfig::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::middleware::protobuf::TCPServerConfig::_i_give_permission_to_break_this_code_default_end_of_line_
static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string > _i_give_permission_to_break_this_code_default_end_of_line_
Definition: tcp_config.pb.h:225
goby::middleware::protobuf::TCPClientConfig::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::middleware::protobuf::TCPServerConfig::set_allocated_end_of_line
void set_allocated_end_of_line(::std::string *end_of_line)
Definition: tcp_config.pb.h:490
goby::middleware::protobuf::TCPServerConfig::has_set_reuseaddr
bool has_set_reuseaddr() const
Definition: tcp_config.pb.h:501
goby::middleware::protobuf::TCPServerConfig::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: tcp_config.pb.h:51
goby::middleware::protobuf::TCPServerConfig::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: tcp_config.pb.h:121
goby::middleware::protobuf::TCPClientConfig::has_end_of_line
bool has_end_of_line() const
Definition: tcp_config.pb.h:553
goby::middleware::protobuf::TCPServerConfig::Clear
void Clear() final
goby::middleware::protobuf::TCPClientConfig::clear_ipv6
void clear_ipv6()
Definition: tcp_config.pb.h:718
google::protobuf::Metadata
Definition: message.h:174
detail::get
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())
Definition: json.hpp:5271
goby::middleware::protobuf::TCPServerConfig::~TCPServerConfig
virtual ~TCPServerConfig()
goby::middleware::protobuf::TCPClientConfig::has_remote_port
bool has_remote_port() const
Definition: tcp_config.pb.h:685
goby::middleware::protobuf::TCPClientConfig::New
TCPClientConfig * New() const final
Definition: tcp_config.pb.h:286
goby::middleware::protobuf::TCPClientConfig::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::middleware::protobuf::TCPServerConfig::GetCachedSize
int GetCachedSize() const final
Definition: tcp_config.pb.h:152
google::protobuf::Message
Definition: message.h:189
goby::middleware::protobuf::TCPServerConfig::New
TCPServerConfig * New() const final
Definition: tcp_config.pb.h:131
goby::middleware::protobuf::TCPServerConfig::set_ipv6
void set_ipv6(bool value)
Definition: tcp_config.pb.h:542
goby::middleware::protobuf::TCPClientConfig::set_remote_address
void set_remote_address(const ::std::string &value)
Definition: tcp_config.pb.h:636
protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: tcp_config.pb.h:52
goby::middleware::protobuf::TCPClientConfig::GetCachedSize
int GetCachedSize() const final
Definition: tcp_config.pb.h:307
goby::middleware::protobuf::TCPClientConfig::IsInitialized
bool IsInitialized() const final
goby::middleware::protobuf::TCPServerConfig::operator=
TCPServerConfig & operator=(const TCPServerConfig &from)
Definition: tcp_config.pb.h:87
goby::middleware::protobuf::TCPServerConfig::release_end_of_line
::std::string * release_end_of_line()
Definition: tcp_config.pb.h:482
goby::middleware::protobuf::TCPServerConfig::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::middleware::protobuf::TCPClientConfig::ByteSizeLong
size_t ByteSizeLong() const final
protobuf_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto
Definition: tcp_config.pb.h:44
goby::middleware::protobuf::TCPClientConfig::kEndOfLineFieldNumber
static const int kEndOfLineFieldNumber
Definition: tcp_config.pb.h:332
goby::middleware::protobuf::TCPClientConfig::has_remote_address
bool has_remote_address() const
Definition: tcp_config.pb.h:619
goby::middleware::protobuf::TCPServerConfig::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::middleware::protobuf::TCPClientConfig::swap
friend void swap(TCPClientConfig &a, TCPClientConfig &b)
Definition: tcp_config.pb.h:280
goby::middleware::protobuf::TCPServerConfig::ByteSizeLong
size_t ByteSizeLong() const final
arena.h
goby::middleware::protobuf::TCPClientConfig::New
TCPClientConfig * New(::google::protobuf::Arena *arena) const final
Definition: tcp_config.pb.h:290
goby::middleware::protobuf::TCPClientConfig::kIpv6FieldNumber
static const int kIpv6FieldNumber
Definition: tcp_config.pb.h:369
goby::middleware::protobuf::TCPServerConfig::has_bind_port
bool has_bind_port() const
Definition: tcp_config.pb.h:411
goby::middleware::protobuf::TCPServerConfig::New
TCPServerConfig * New(::google::protobuf::Arena *arena) const final
Definition: tcp_config.pb.h:135
option_extensions.pb.h
goby::middleware::protobuf::TCPServerConfig::clear_ipv6
void clear_ipv6()
Definition: tcp_config.pb.h:534
goby::middleware::protobuf::TCPServerConfig::kEndOfLineFieldNumber
static const int kEndOfLineFieldNumber
Definition: tcp_config.pb.h:177
goby::middleware::protobuf::TCPServerConfig::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::middleware::protobuf::TCPClientConfig::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::middleware::protobuf::TCPServerConfig::Swap
void Swap(TCPServerConfig *other)
goby::middleware::protobuf::TCPClientConfig::set_allocated_remote_address
void set_allocated_remote_address(::std::string *remote_address)
Definition: tcp_config.pb.h:674
goby::middleware::protobuf::TCPClientConfig::clear_remote_address
void clear_remote_address()
Definition: tcp_config.pb.h:628
goby::middleware::protobuf::TCPClientConfig::internal_default_instance
static const TCPClientConfig * internal_default_instance()
Definition: tcp_config.pb.h:272
goby::middleware::protobuf::TCPClientConfig::release_end_of_line
::std::string * release_end_of_line()
Definition: tcp_config.pb.h:600
goby::middleware::protobuf::TCPClientConfig::_i_give_permission_to_break_this_code_default_end_of_line_
static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string > _i_give_permission_to_break_this_code_default_end_of_line_
Definition: tcp_config.pb.h:391
goby::middleware::protobuf::TCPClientConfig::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: tcp_config.pb.h:261
goby::middleware::protobuf::TCPClientConfig::~TCPClientConfig
virtual ~TCPClientConfig()
google
Definition: dccl.h:57
goby::middleware::protobuf::TCPServerConfig::bind_port
::google::protobuf::uint32 bind_port() const
Definition: tcp_config.pb.h:424
goby::middleware::protobuf::TCPClientConfig::set_allocated_end_of_line
void set_allocated_end_of_line(::std::string *end_of_line)
Definition: tcp_config.pb.h:608
goby::middleware::protobuf::TCPClientConfig::clear_remote_port
void clear_remote_port()
Definition: tcp_config.pb.h:694
goby::middleware::protobuf::TCPServerConfig::internal_default_instance
static const TCPServerConfig * internal_default_instance()
Definition: tcp_config.pb.h:117