4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 3021012 < 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.
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
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>
40#include <boost/units/systems/si.hpp>
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
48PROTOBUF_NAMESPACE_CLOSE
59struct TCPClientConfigDefaultTypeInternal;
62struct TCPServerConfigDefaultTypeInternal;
67PROTOBUF_NAMESPACE_OPEN
70PROTOBUF_NAMESPACE_CLOSE
78 public ::PROTOBUF_NAMESPACE_ID::Message {
82 explicit PROTOBUF_CONSTEXPR
TCPServerConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
87 *
this = ::std::move(from);
95 if (
this == &from)
return *
this;
96 if (GetOwningArena() == from.GetOwningArena()
97 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
98 && GetOwningArena() !=
nullptr
109 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
112 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
115 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
138 if (other ==
this)
return;
139 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
140 if (GetOwningArena() !=
nullptr &&
141 GetOwningArena() == other->GetOwningArena()) {
143 if (GetOwningArena() == other->GetOwningArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
159 return CreateMaybeMessage<TCPServerConfig>(arena);
161 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 TCPServerConfig::MergeImpl(*
this, from);
168 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
170 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
176 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
182 void SetCachedSize(
int size)
const final;
186 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
187 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
188 return "goby.middleware.protobuf.TCPServerConfig";
192 bool is_message_owned =
false);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
213 bool _internal_has_end_of_line()
const;
217 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
223 const std::string& _internal_end_of_line()
const;
224 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_end_of_line(
const std::string& value);
225 std::string* _internal_mutable_end_of_line();
231 bool _internal_has_bind_port()
const;
237 uint32_t _internal_bind_port()
const;
238 void _internal_set_bind_port(uint32_t value);
244 bool _internal_has_set_reuseaddr()
const;
250 bool _internal_set_reuseaddr()
const;
251 void _internal_set_set_reuseaddr(
bool value);
257 bool _internal_has_ipv6()
const;
263 bool _internal_ipv6()
const;
264 void _internal_set_ipv6(
bool value);
271 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
272 typedef void InternalArenaConstructable_;
273 typedef void DestructorSkippable_;
275 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
276 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
277 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_end_of_line_;
278 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr end_of_line_;
284 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto;
289 public ::PROTOBUF_NAMESPACE_ID::Message {
293 explicit PROTOBUF_CONSTEXPR
TCPClientConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
298 *
this = ::std::move(from);
306 if (
this == &from)
return *
this;
307 if (GetOwningArena() == from.GetOwningArena()
308 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
309 && GetOwningArena() !=
nullptr
320 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
323 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
326 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
327 return GetDescriptor();
330 return default_instance().GetMetadata().descriptor;
333 return default_instance().GetMetadata().reflection;
336 return *internal_default_instance();
342 static constexpr int kIndexInFileMessages =
349 if (other ==
this)
return;
350 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
351 if (GetOwningArena() !=
nullptr &&
352 GetOwningArena() == other->GetOwningArena()) {
354 if (GetOwningArena() == other->GetOwningArena()) {
358 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
362 if (other ==
this)
return;
363 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
370 return CreateMaybeMessage<TCPClientConfig>(arena);
372 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
374 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
376 TCPClientConfig::MergeImpl(*
this, from);
379 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
381 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
382 bool IsInitialized() const final;
385 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
386 uint8_t* _InternalSerialize(
387 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
388 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
391 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
393 void SetCachedSize(
int size)
const final;
397 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
398 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
399 return "goby.middleware.protobuf.TCPClientConfig";
403 bool is_message_owned =
false);
407 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
409 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
416 kEndOfLineFieldNumber = 3,
417 kRemoteAddressFieldNumber = 5,
418 kRemotePortFieldNumber = 6,
419 kIpv6FieldNumber = 7,
422 bool has_end_of_line()
const;
424 bool _internal_has_end_of_line()
const;
426 void clear_end_of_line();
427 const std::string& end_of_line()
const;
428 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
430 std::string* mutable_end_of_line();
431 PROTOBUF_NODISCARD std::string* release_end_of_line();
432 void set_allocated_end_of_line(std::string* end_of_line);
434 const std::string& _internal_end_of_line()
const;
435 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_end_of_line(
const std::string& value);
436 std::string* _internal_mutable_end_of_line();
440 bool has_remote_address()
const;
442 bool _internal_has_remote_address()
const;
444 void clear_remote_address();
445 const std::string& remote_address()
const;
446 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
448 std::string* mutable_remote_address();
449 PROTOBUF_NODISCARD std::string* release_remote_address();
450 void set_allocated_remote_address(std::string* remote_address);
452 const std::string& _internal_remote_address()
const;
453 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_remote_address(
const std::string& value);
454 std::string* _internal_mutable_remote_address();
458 bool has_remote_port()
const;
460 bool _internal_has_remote_port()
const;
462 void clear_remote_port();
463 uint32_t remote_port()
const;
464 void set_remote_port(uint32_t value);
466 uint32_t _internal_remote_port()
const;
467 void _internal_set_remote_port(uint32_t value);
471 bool has_ipv6()
const;
473 bool _internal_has_ipv6()
const;
477 void set_ipv6(
bool value);
479 bool _internal_ipv6()
const;
480 void _internal_set_ipv6(
bool value);
488 size_t RequiredFieldsByteSizeFallback()
const;
490 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
491 typedef void InternalArenaConstructable_;
492 typedef void DestructorSkippable_;
494 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
495 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
496 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_end_of_line_;
497 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr end_of_line_;
498 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_address_;
499 uint32_t remote_port_;
503 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto;
511 #pragma GCC diagnostic push
512 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
517inline bool TCPServerConfig::_internal_has_bind_port()
const {
518 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
521inline bool TCPServerConfig::has_bind_port()
const {
522 return _internal_has_bind_port();
524inline void TCPServerConfig::clear_bind_port() {
525 _impl_.bind_port_ = 0u;
526 _impl_._has_bits_[0] &= ~0x00000002u;
528inline uint32_t TCPServerConfig::_internal_bind_port()
const {
529 return _impl_.bind_port_;
531inline uint32_t TCPServerConfig::bind_port()
const {
533 return _internal_bind_port();
535inline void TCPServerConfig::_internal_set_bind_port(uint32_t value) {
536 _impl_._has_bits_[0] |= 0x00000002u;
537 _impl_.bind_port_ = value;
539inline void TCPServerConfig::set_bind_port(uint32_t value) {
540 _internal_set_bind_port(value);
545inline bool TCPServerConfig::_internal_has_end_of_line()
const {
546 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
549inline bool TCPServerConfig::has_end_of_line()
const {
550 return _internal_has_end_of_line();
552inline void TCPServerConfig::clear_end_of_line() {
553 _impl_.end_of_line_.ClearToDefault(::goby::middleware::protobuf::TCPServerConfig::Impl_::_i_give_permission_to_break_this_code_default_end_of_line_, GetArenaForAllocation());
554 _impl_._has_bits_[0] &= ~0x00000001u;
556inline const std::string& TCPServerConfig::end_of_line()
const {
558 if (_impl_.end_of_line_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_end_of_line_.get();
559 return _internal_end_of_line();
561template <
typename ArgT0,
typename... ArgT>
562inline PROTOBUF_ALWAYS_INLINE
563void TCPServerConfig::set_end_of_line(ArgT0&& arg0, ArgT... args) {
564 _impl_._has_bits_[0] |= 0x00000001u;
565 _impl_.end_of_line_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
568inline std::string* TCPServerConfig::mutable_end_of_line() {
569 std::string* _s = _internal_mutable_end_of_line();
573inline const std::string& TCPServerConfig::_internal_end_of_line()
const {
574 return _impl_.end_of_line_.Get();
576inline void TCPServerConfig::_internal_set_end_of_line(
const std::string& value) {
577 _impl_._has_bits_[0] |= 0x00000001u;
578 _impl_.end_of_line_.Set(value, GetArenaForAllocation());
580inline std::string* TCPServerConfig::_internal_mutable_end_of_line() {
581 _impl_._has_bits_[0] |= 0x00000001u;
582 return _impl_.end_of_line_.Mutable(::goby::middleware::protobuf::TCPServerConfig::Impl_::_i_give_permission_to_break_this_code_default_end_of_line_, GetArenaForAllocation());
584inline std::string* TCPServerConfig::release_end_of_line() {
586 if (!_internal_has_end_of_line()) {
589 _impl_._has_bits_[0] &= ~0x00000001u;
590 auto* p = _impl_.end_of_line_.Release();
593inline void TCPServerConfig::set_allocated_end_of_line(std::string* end_of_line) {
594 if (end_of_line !=
nullptr) {
595 _impl_._has_bits_[0] |= 0x00000001u;
597 _impl_._has_bits_[0] &= ~0x00000001u;
599 _impl_.end_of_line_.SetAllocated(end_of_line, GetArenaForAllocation());
604inline bool TCPServerConfig::_internal_has_set_reuseaddr()
const {
605 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
608inline bool TCPServerConfig::has_set_reuseaddr()
const {
609 return _internal_has_set_reuseaddr();
611inline void TCPServerConfig::clear_set_reuseaddr() {
612 _impl_.set_reuseaddr_ =
false;
613 _impl_._has_bits_[0] &= ~0x00000004u;
615inline bool TCPServerConfig::_internal_set_reuseaddr()
const {
616 return _impl_.set_reuseaddr_;
618inline bool TCPServerConfig::set_reuseaddr()
const {
620 return _internal_set_reuseaddr();
622inline void TCPServerConfig::_internal_set_set_reuseaddr(
bool value) {
623 _impl_._has_bits_[0] |= 0x00000004u;
624 _impl_.set_reuseaddr_ = value;
626inline void TCPServerConfig::set_set_reuseaddr(
bool value) {
627 _internal_set_set_reuseaddr(value);
632inline bool TCPServerConfig::_internal_has_ipv6()
const {
633 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
636inline bool TCPServerConfig::has_ipv6()
const {
637 return _internal_has_ipv6();
639inline void TCPServerConfig::clear_ipv6() {
640 _impl_.ipv6_ =
false;
641 _impl_._has_bits_[0] &= ~0x00000008u;
643inline bool TCPServerConfig::_internal_ipv6()
const {
646inline bool TCPServerConfig::ipv6()
const {
648 return _internal_ipv6();
650inline void TCPServerConfig::_internal_set_ipv6(
bool value) {
651 _impl_._has_bits_[0] |= 0x00000008u;
652 _impl_.ipv6_ = value;
654inline void TCPServerConfig::set_ipv6(
bool value) {
655 _internal_set_ipv6(value);
664inline bool TCPClientConfig::_internal_has_end_of_line()
const {
665 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
668inline bool TCPClientConfig::has_end_of_line()
const {
669 return _internal_has_end_of_line();
671inline void TCPClientConfig::clear_end_of_line() {
672 _impl_.end_of_line_.ClearToDefault(::goby::middleware::protobuf::TCPClientConfig::Impl_::_i_give_permission_to_break_this_code_default_end_of_line_, GetArenaForAllocation());
673 _impl_._has_bits_[0] &= ~0x00000001u;
675inline const std::string& TCPClientConfig::end_of_line()
const {
677 if (_impl_.end_of_line_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_end_of_line_.get();
678 return _internal_end_of_line();
680template <
typename ArgT0,
typename... ArgT>
681inline PROTOBUF_ALWAYS_INLINE
682void TCPClientConfig::set_end_of_line(ArgT0&& arg0, ArgT... args) {
683 _impl_._has_bits_[0] |= 0x00000001u;
684 _impl_.end_of_line_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
687inline std::string* TCPClientConfig::mutable_end_of_line() {
688 std::string* _s = _internal_mutable_end_of_line();
692inline const std::string& TCPClientConfig::_internal_end_of_line()
const {
693 return _impl_.end_of_line_.Get();
695inline void TCPClientConfig::_internal_set_end_of_line(
const std::string& value) {
696 _impl_._has_bits_[0] |= 0x00000001u;
697 _impl_.end_of_line_.Set(value, GetArenaForAllocation());
699inline std::string* TCPClientConfig::_internal_mutable_end_of_line() {
700 _impl_._has_bits_[0] |= 0x00000001u;
701 return _impl_.end_of_line_.Mutable(::goby::middleware::protobuf::TCPClientConfig::Impl_::_i_give_permission_to_break_this_code_default_end_of_line_, GetArenaForAllocation());
703inline std::string* TCPClientConfig::release_end_of_line() {
705 if (!_internal_has_end_of_line()) {
708 _impl_._has_bits_[0] &= ~0x00000001u;
709 auto* p = _impl_.end_of_line_.Release();
712inline void TCPClientConfig::set_allocated_end_of_line(std::string* end_of_line) {
713 if (end_of_line !=
nullptr) {
714 _impl_._has_bits_[0] |= 0x00000001u;
716 _impl_._has_bits_[0] &= ~0x00000001u;
718 _impl_.end_of_line_.SetAllocated(end_of_line, GetArenaForAllocation());
723inline bool TCPClientConfig::_internal_has_remote_address()
const {
724 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
727inline bool TCPClientConfig::has_remote_address()
const {
728 return _internal_has_remote_address();
730inline void TCPClientConfig::clear_remote_address() {
731 _impl_.remote_address_.ClearToEmpty();
732 _impl_._has_bits_[0] &= ~0x00000002u;
734inline const std::string& TCPClientConfig::remote_address()
const {
736 return _internal_remote_address();
738template <
typename ArgT0,
typename... ArgT>
739inline PROTOBUF_ALWAYS_INLINE
740void TCPClientConfig::set_remote_address(ArgT0&& arg0, ArgT... args) {
741 _impl_._has_bits_[0] |= 0x00000002u;
742 _impl_.remote_address_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
745inline std::string* TCPClientConfig::mutable_remote_address() {
746 std::string* _s = _internal_mutable_remote_address();
750inline const std::string& TCPClientConfig::_internal_remote_address()
const {
751 return _impl_.remote_address_.Get();
753inline void TCPClientConfig::_internal_set_remote_address(
const std::string& value) {
754 _impl_._has_bits_[0] |= 0x00000002u;
755 _impl_.remote_address_.Set(value, GetArenaForAllocation());
757inline std::string* TCPClientConfig::_internal_mutable_remote_address() {
758 _impl_._has_bits_[0] |= 0x00000002u;
759 return _impl_.remote_address_.Mutable(GetArenaForAllocation());
761inline std::string* TCPClientConfig::release_remote_address() {
763 if (!_internal_has_remote_address()) {
766 _impl_._has_bits_[0] &= ~0x00000002u;
767 auto* p = _impl_.remote_address_.Release();
768#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
769 if (_impl_.remote_address_.IsDefault()) {
770 _impl_.remote_address_.Set(
"", GetArenaForAllocation());
775inline void TCPClientConfig::set_allocated_remote_address(std::string* remote_address) {
776 if (remote_address !=
nullptr) {
777 _impl_._has_bits_[0] |= 0x00000002u;
779 _impl_._has_bits_[0] &= ~0x00000002u;
781 _impl_.remote_address_.SetAllocated(remote_address, GetArenaForAllocation());
782#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
783 if (_impl_.remote_address_.IsDefault()) {
784 _impl_.remote_address_.Set(
"", GetArenaForAllocation());
791inline bool TCPClientConfig::_internal_has_remote_port()
const {
792 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
795inline bool TCPClientConfig::has_remote_port()
const {
796 return _internal_has_remote_port();
798inline void TCPClientConfig::clear_remote_port() {
799 _impl_.remote_port_ = 0u;
800 _impl_._has_bits_[0] &= ~0x00000004u;
802inline uint32_t TCPClientConfig::_internal_remote_port()
const {
803 return _impl_.remote_port_;
805inline uint32_t TCPClientConfig::remote_port()
const {
807 return _internal_remote_port();
809inline void TCPClientConfig::_internal_set_remote_port(uint32_t value) {
810 _impl_._has_bits_[0] |= 0x00000004u;
811 _impl_.remote_port_ = value;
813inline void TCPClientConfig::set_remote_port(uint32_t value) {
814 _internal_set_remote_port(value);
819inline bool TCPClientConfig::_internal_has_ipv6()
const {
820 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
823inline bool TCPClientConfig::has_ipv6()
const {
824 return _internal_has_ipv6();
826inline void TCPClientConfig::clear_ipv6() {
827 _impl_.ipv6_ =
false;
828 _impl_._has_bits_[0] &= ~0x00000008u;
830inline bool TCPClientConfig::_internal_ipv6()
const {
833inline bool TCPClientConfig::ipv6()
const {
835 return _internal_ipv6();
837inline void TCPClientConfig::_internal_set_ipv6(
bool value) {
838 _impl_._has_bits_[0] |= 0x00000008u;
839 _impl_.ipv6_ = value;
841inline void TCPClientConfig::set_ipv6(
bool value) {
842 _internal_set_ipv6(value);
847 #pragma GCC diagnostic pop
860#include <google/protobuf/port_undef.inc>
static const ClassData _class_data_
void MergeFrom(const TCPClientConfig &from)
~TCPClientConfig() override
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
TCPClientConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
TCPClientConfig(TCPClientConfig &&from) noexcept
static const TCPClientConfig & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
friend void swap(TCPClientConfig &a, TCPClientConfig &b)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_end_of_line(ArgT0 &&arg0, ArgT... args)
TCPClientConfig(const TCPClientConfig &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void Swap(TCPClientConfig *other)
static const TCPClientConfig * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
TCPClientConfig & operator=(const TCPClientConfig &from)
PROTOBUF_CONSTEXPR TCPClientConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_remote_address(ArgT0 &&arg0, ArgT... args)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
TCPClientConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
TCPClientConfig & operator=(TCPClientConfig &&from) noexcept
void CopyFrom(const TCPClientConfig &from)
void UnsafeArenaSwap(TCPClientConfig *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const std::string & end_of_line() const
bool set_reuseaddr() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_end_of_line(ArgT0 &&arg0, ArgT... args)
void CopyFrom(const TCPServerConfig &from)
bool has_end_of_line() const
uint32_t bind_port() const
TCPServerConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void UnsafeArenaSwap(TCPServerConfig *other)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
bool has_set_reuseaddr() const
void set_bind_port(uint32_t value)
void Swap(TCPServerConfig *other)
void clear_set_reuseaddr()
size_t ByteSizeLong() const final
static const ClassData _class_data_
bool IsInitialized() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_ipv6(bool value)
TCPServerConfig & operator=(const TCPServerConfig &from)
PROTOBUF_NODISCARD std::string * release_end_of_line()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
friend void swap(TCPServerConfig &a, TCPServerConfig &b)
static const TCPServerConfig * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool has_bind_port() const
TCPServerConfig(TCPServerConfig &&from) noexcept
static constexpr int kIndexInFileMessages
TCPServerConfig(const TCPServerConfig &from)
void set_allocated_end_of_line(std::string *end_of_line)
void MergeFrom(const TCPServerConfig &from)
int GetCachedSize() const final
static const TCPServerConfig & default_instance()
std::string * mutable_end_of_line()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
TCPServerConfig & operator=(TCPServerConfig &&from) noexcept
@ kSetReuseaddrFieldNumber
PROTOBUF_CONSTEXPR TCPServerConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_set_reuseaddr(bool value)
~TCPServerConfig() override
TCPServerConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TCPClientConfigDefaultTypeInternal _TCPClientConfig_default_instance_
TCPServerConfigDefaultTypeInternal _TCPServerConfig_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2ftcp_5fconfig_2eproto