Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
goby::middleware::protobuf::TCPEndPoint Class Referencefinal

#include <goby/middleware/protobuf/io.pb.h>

Inheritance diagram for goby::middleware::protobuf::TCPEndPoint:

Public Types

enum  : int { kAddrFieldNumber = 1 , kPortFieldNumber = 2 , kAllClientsFieldNumber = 3 }
 

Public Member Functions

 TCPEndPoint ()
 
 ~TCPEndPoint () override
 
PROTOBUF_CONSTEXPR TCPEndPoint (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 TCPEndPoint (const TCPEndPoint &from)
 
 TCPEndPoint (TCPEndPoint &&from) noexcept
 
TCPEndPointoperator= (const TCPEndPoint &from)
 
TCPEndPointoperator= (TCPEndPoint &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (TCPEndPoint *other)
 
void UnsafeArenaSwap (TCPEndPoint *other)
 
TCPEndPointNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
void CopyFrom (const TCPEndPoint &from)
 
void MergeFrom (const TCPEndPoint &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
uint8_t * _InternalSerialize (uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_addr () const
 
void clear_addr ()
 
const std::string & addr () const
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_addr (ArgT0 &&arg0, ArgT... args)
 
std::string * mutable_addr ()
 
PROTOBUF_NODISCARD std::string * release_addr ()
 
void set_allocated_addr (std::string *addr)
 
bool has_port () const
 
void clear_port ()
 
uint32_t port () const
 
void set_port (uint32_t value)
 
bool has_all_clients () const
 
void clear_all_clients ()
 
bool all_clients () const
 
void set_all_clients (bool value)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_addr (ArgT0 &&arg0, ArgT... args)
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const TCPEndPointdefault_instance ()
 
static const TCPEndPointinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

 TCPEndPoint (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Friends

class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
template<typename T >
class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
 
struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fio_2eproto
 
void swap (TCPEndPoint &a, TCPEndPoint &b)
 

Detailed Description

Definition at line 408 of file io.pb.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kAddrFieldNumber 
kPortFieldNumber 
kAllClientsFieldNumber 

Definition at line 535 of file io.pb.h.

Constructor & Destructor Documentation

◆ TCPEndPoint() [1/5]

goby::middleware::protobuf::TCPEndPoint::TCPEndPoint ( )
inline

Definition at line 411 of file io.pb.h.

◆ ~TCPEndPoint()

goby::middleware::protobuf::TCPEndPoint::~TCPEndPoint ( )
override

◆ TCPEndPoint() [2/5]

PROTOBUF_CONSTEXPR goby::middleware::protobuf::TCPEndPoint::TCPEndPoint ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicit

◆ TCPEndPoint() [3/5]

goby::middleware::protobuf::TCPEndPoint::TCPEndPoint ( const TCPEndPoint from)

◆ TCPEndPoint() [4/5]

goby::middleware::protobuf::TCPEndPoint::TCPEndPoint ( TCPEndPoint &&  from)
inlinenoexcept

Definition at line 416 of file io.pb.h.

◆ TCPEndPoint() [5/5]

goby::middleware::protobuf::TCPEndPoint::TCPEndPoint ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

Member Function Documentation

◆ _InternalParse()

const char * goby::middleware::protobuf::TCPEndPoint::_InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

uint8_t * goby::middleware::protobuf::TCPEndPoint::_InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ addr()

const std::string & goby::middleware::protobuf::TCPEndPoint::addr ( ) const
inline

Definition at line 2337 of file io.pb.h.

◆ all_clients()

bool goby::middleware::protobuf::TCPEndPoint::all_clients ( ) const
inline

Definition at line 2436 of file io.pb.h.

◆ ByteSizeLong()

size_t goby::middleware::protobuf::TCPEndPoint::ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void goby::middleware::protobuf::TCPEndPoint::Clear ( )
final

◆ clear_addr()

void goby::middleware::protobuf::TCPEndPoint::clear_addr ( )
inline

Definition at line 2333 of file io.pb.h.

◆ clear_all_clients()

void goby::middleware::protobuf::TCPEndPoint::clear_all_clients ( )
inline

Definition at line 2429 of file io.pb.h.

◆ clear_port()

void goby::middleware::protobuf::TCPEndPoint::clear_port ( )
inline

Definition at line 2401 of file io.pb.h.

◆ CopyFrom()

void goby::middleware::protobuf::TCPEndPoint::CopyFrom ( const TCPEndPoint from)

◆ default_instance()

static const TCPEndPoint & goby::middleware::protobuf::TCPEndPoint::default_instance ( )
inlinestatic

Definition at line 455 of file io.pb.h.

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * goby::middleware::protobuf::TCPEndPoint::descriptor ( )
inlinestatic

Definition at line 446 of file io.pb.h.

◆ GetCachedSize()

int goby::middleware::protobuf::TCPEndPoint::GetCachedSize ( ) const
inlinefinal

Definition at line 508 of file io.pb.h.

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * goby::middleware::protobuf::TCPEndPoint::GetClassData ( ) const
final

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * goby::middleware::protobuf::TCPEndPoint::GetDescriptor ( )
inlinestatic

Definition at line 449 of file io.pb.h.

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata goby::middleware::protobuf::TCPEndPoint::GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection * goby::middleware::protobuf::TCPEndPoint::GetReflection ( )
inlinestatic

Definition at line 452 of file io.pb.h.

◆ has_addr()

bool goby::middleware::protobuf::TCPEndPoint::has_addr ( ) const
inline

Definition at line 2330 of file io.pb.h.

◆ has_all_clients()

bool goby::middleware::protobuf::TCPEndPoint::has_all_clients ( ) const
inline

Definition at line 2426 of file io.pb.h.

◆ has_port()

bool goby::middleware::protobuf::TCPEndPoint::has_port ( ) const
inline

Definition at line 2398 of file io.pb.h.

◆ internal_default_instance()

static const TCPEndPoint * goby::middleware::protobuf::TCPEndPoint::internal_default_instance ( )
inlinestatic

Definition at line 458 of file io.pb.h.

◆ IsInitialized()

bool goby::middleware::protobuf::TCPEndPoint::IsInitialized ( ) const
final

◆ MergeFrom()

void goby::middleware::protobuf::TCPEndPoint::MergeFrom ( const TCPEndPoint from)
inline

Definition at line 495 of file io.pb.h.

◆ mutable_addr()

std::string * goby::middleware::protobuf::TCPEndPoint::mutable_addr ( )
inline

Definition at line 2348 of file io.pb.h.

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * goby::middleware::protobuf::TCPEndPoint::mutable_unknown_fields ( )
inline

Definition at line 442 of file io.pb.h.

◆ New()

TCPEndPoint * goby::middleware::protobuf::TCPEndPoint::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

Definition at line 489 of file io.pb.h.

◆ operator=() [1/2]

TCPEndPoint & goby::middleware::protobuf::TCPEndPoint::operator= ( const TCPEndPoint from)
inline

Definition at line 421 of file io.pb.h.

◆ operator=() [2/2]

TCPEndPoint & goby::middleware::protobuf::TCPEndPoint::operator= ( TCPEndPoint &&  from)
inlinenoexcept

Definition at line 425 of file io.pb.h.

◆ port()

uint32_t goby::middleware::protobuf::TCPEndPoint::port ( ) const
inline

Definition at line 2408 of file io.pb.h.

◆ release_addr()

std::string * goby::middleware::protobuf::TCPEndPoint::release_addr ( )
inline

Definition at line 2364 of file io.pb.h.

◆ set_addr() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void goby::middleware::protobuf::TCPEndPoint::set_addr ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_addr() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void goby::middleware::protobuf::TCPEndPoint::set_addr ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

Definition at line 2343 of file io.pb.h.

◆ set_all_clients()

void goby::middleware::protobuf::TCPEndPoint::set_all_clients ( bool  value)
inline

Definition at line 2444 of file io.pb.h.

◆ set_allocated_addr()

void goby::middleware::protobuf::TCPEndPoint::set_allocated_addr ( std::string *  addr)
inline

Definition at line 2378 of file io.pb.h.

◆ set_port()

void goby::middleware::protobuf::TCPEndPoint::set_port ( uint32_t  value)
inline

Definition at line 2416 of file io.pb.h.

◆ Swap()

void goby::middleware::protobuf::TCPEndPoint::Swap ( TCPEndPoint other)
inline

Definition at line 468 of file io.pb.h.

◆ unknown_fields()

const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & goby::middleware::protobuf::TCPEndPoint::unknown_fields ( ) const
inline

Definition at line 439 of file io.pb.h.

◆ UnsafeArenaSwap()

void goby::middleware::protobuf::TCPEndPoint::UnsafeArenaSwap ( TCPEndPoint other)
inline

Definition at line 481 of file io.pb.h.

Friends And Related Symbol Documentation

◆ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper

template<typename T >
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
friend

Definition at line 588 of file io.pb.h.

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
friend

Definition at line 517 of file io.pb.h.

◆ ::TableStruct_goby_2fmiddleware_2fprotobuf_2fio_2eproto

◆ swap

void swap ( TCPEndPoint a,
TCPEndPoint b 
)
friend

Definition at line 465 of file io.pb.h.

Member Data Documentation

◆ _class_data_

const ClassData goby::middleware::protobuf::TCPEndPoint::_class_data_
static

Definition at line 526 of file io.pb.h.

◆ _impl_

Impl_ goby::middleware::protobuf::TCPEndPoint::_impl_

Definition at line 598 of file io.pb.h.

◆ kIndexInFileMessages

constexpr int goby::middleware::protobuf::TCPEndPoint::kIndexInFileMessages
staticconstexpr
Initial value:
=
1

Definition at line 462 of file io.pb.h.


The documentation for this class was generated from the following file: