Goby3  3.1.5a
2024.05.23
goby::middleware::protobuf::IOData Class Reference

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

Inheritance diagram for goby::middleware::protobuf::IOData:
google::protobuf::Message google::protobuf::MessageLite

Public Types

enum  SrcCase { kUdpSrc = 10, kTcpSrc = 11, SRC_NOT_SET = 0 }
 
enum  DestCase { kUdpDest = 20, kTcpDest = 21, DEST_NOT_SET = 0 }
 
- Public Types inherited from google::protobuf::Message
typedef google::protobuf::Reflection Reflection
 

Public Member Functions

 IOData ()
 
virtual ~IOData ()
 
 IOData (const IOData &from)
 
IODataoperator= (const IOData &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (IOData *other)
 
IODataNew () const final
 
IODataNew (::google::protobuf::Arena *arena) const final
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const IOData &from)
 
void MergeFrom (const IOData &from)
 
void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_data () const
 
void clear_data ()
 
const ::std::string & data () const
 
void set_data (const ::std::string &value)
 
void set_data (const char *value)
 
void set_data (const void *value, size_t size)
 
::std::string * mutable_data ()
 
::std::string * release_data ()
 
void set_allocated_data (::std::string *data)
 
bool has_index () const
 
void clear_index ()
 
::google::protobuf::int32 index () const
 
void set_index (::google::protobuf::int32 value)
 
bool has_udp_src () const
 
void clear_udp_src ()
 
const ::goby::middleware::protobuf::UDPEndPointudp_src () const
 
::goby::middleware::protobuf::UDPEndPointrelease_udp_src ()
 
::goby::middleware::protobuf::UDPEndPointmutable_udp_src ()
 
void set_allocated_udp_src (::goby::middleware::protobuf::UDPEndPoint *udp_src)
 
bool has_tcp_src () const
 
void clear_tcp_src ()
 
const ::goby::middleware::protobuf::TCPEndPointtcp_src () const
 
::goby::middleware::protobuf::TCPEndPointrelease_tcp_src ()
 
::goby::middleware::protobuf::TCPEndPointmutable_tcp_src ()
 
void set_allocated_tcp_src (::goby::middleware::protobuf::TCPEndPoint *tcp_src)
 
bool has_udp_dest () const
 
void clear_udp_dest ()
 
const ::goby::middleware::protobuf::UDPEndPointudp_dest () const
 
::goby::middleware::protobuf::UDPEndPointrelease_udp_dest ()
 
::goby::middleware::protobuf::UDPEndPointmutable_udp_dest ()
 
void set_allocated_udp_dest (::goby::middleware::protobuf::UDPEndPoint *udp_dest)
 
bool has_tcp_dest () const
 
void clear_tcp_dest ()
 
const ::goby::middleware::protobuf::TCPEndPointtcp_dest () const
 
::goby::middleware::protobuf::TCPEndPointrelease_tcp_dest ()
 
::goby::middleware::protobuf::TCPEndPointmutable_tcp_dest ()
 
void set_allocated_tcp_dest (::goby::middleware::protobuf::TCPEndPoint *tcp_dest)
 
void clear_src ()
 
SrcCase src_case () const
 
void clear_dest ()
 
DestCase dest_case () const
 
- Public Member Functions inherited from google::protobuf::Message
 Message ()
 
virtual ~Message ()
 
virtual void CopyFrom (const Message &from)
 
virtual void MergeFrom (const Message &from)
 
void CheckInitialized () const
 
void FindInitializationErrors (std::vector< string > *errors) const
 
string InitializationErrorString () const
 
virtual void DiscardUnknownFields ()
 
virtual size_t SpaceUsedLong () const
 
int SpaceUsed () const
 
string DebugString () const
 
string ShortDebugString () const
 
string Utf8DebugString () const
 
void PrintDebugString () const
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (std::istream *input)
 
bool ParsePartialFromIstream (std::istream *input)
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (std::ostream *output) const
 
bool SerializePartialToOstream (std::ostream *output) const
 
virtual string GetTypeName () const
 
virtual void CheckTypeAndMergeFrom (const MessageLite &other)
 
virtual bool MergePartialFromCodedStream (io::CodedInputStream *input)
 
virtual void SerializeWithCachedSizes (io::CodedOutputStream *output) const
 
const Descriptor * GetDescriptor () const
 
virtual const ReflectionGetReflection () const final
 
- Public Member Functions inherited from google::protobuf::MessageLite
 MessageLite ()
 
virtual ~MessageLite ()
 
virtual ::google::protobuf::ArenaGetArena () const
 
virtual void * GetMaybeArenaPointer () const
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromString (const string &data)
 
bool ParsePartialFromString (const string &data)
 
bool ParseFromArray (const void *data, int size)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
bool SerializeToCodedStream (io::CodedOutputStream *output) const
 
bool SerializePartialToCodedStream (io::CodedOutputStream *output) const
 
bool SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializeToString (string *output) const
 
bool SerializePartialToString (string *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializePartialToArray (void *data, int size) const
 
string SerializeAsString () const
 
string SerializePartialAsString () const
 
bool AppendToString (string *output) const
 
bool AppendPartialToString (string *output) const
 
int ByteSize () const
 
virtual uint8 * SerializeWithCachedSizesToArray (uint8 *target) const
 
virtual uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, uint8 *target) const
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const IODatadefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const IODatainternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const int kDataFieldNumber = 30
 
static const int kIndexFieldNumber = 1
 
static const int kUdpSrcFieldNumber = 10
 
static const int kTcpSrcFieldNumber = 11
 
static const int kUdpDestFieldNumber = 20
 
static const int kTcpDestFieldNumber = 21
 

Friends

struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fio_2eproto::TableStruct
 
void swap (IOData &a, IOData &b)
 

Additional Inherited Members

- Static Protected Member Functions inherited from google::protobuf::MessageLite
template<typename T >
::google::protobuf::internal::RepeatedPtrFieldBase * CastToBase (::google::protobuf::RepeatedPtrField< T > *repeated)
 
template<typename T >
static const ::google::protobuf::internal::RepeatedPtrFieldBase & CastToBase (const ::google::protobuf::RepeatedPtrField< T > &repeated)
 
template<typename T >
static T * CreateMaybeMessage (Arena *arena)
 

Detailed Description

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

Member Enumeration Documentation

◆ DestCase

Enumerator
kUdpDest 
kTcpDest 
DEST_NOT_SET 

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

◆ SrcCase

Enumerator
kUdpSrc 
kTcpSrc 
SRC_NOT_SET 

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

Constructor & Destructor Documentation

◆ IOData() [1/2]

goby::middleware::protobuf::IOData::IOData ( )

◆ ~IOData()

virtual goby::middleware::protobuf::IOData::~IOData ( )
virtual

◆ IOData() [2/2]

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

Member Function Documentation

◆ ByteSizeLong()

size_t goby::middleware::protobuf::IOData::ByteSizeLong ( ) const
finalvirtual

Reimplemented from google::protobuf::Message.

◆ Clear()

void goby::middleware::protobuf::IOData::Clear ( )
finalvirtual

Reimplemented from google::protobuf::Message.

◆ clear_data()

void goby::middleware::protobuf::IOData::clear_data ( )
inline

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

◆ clear_dest()

void goby::middleware::protobuf::IOData::clear_dest ( )

◆ clear_index()

void goby::middleware::protobuf::IOData::clear_index ( )
inline

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

◆ clear_src()

void goby::middleware::protobuf::IOData::clear_src ( )

◆ clear_tcp_dest()

void goby::middleware::protobuf::IOData::clear_tcp_dest ( )
inline

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

◆ clear_tcp_src()

void goby::middleware::protobuf::IOData::clear_tcp_src ( )
inline

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

◆ clear_udp_dest()

void goby::middleware::protobuf::IOData::clear_udp_dest ( )
inline

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

◆ clear_udp_src()

void goby::middleware::protobuf::IOData::clear_udp_src ( )
inline

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

◆ CopyFrom() [1/2]

void goby::middleware::protobuf::IOData::CopyFrom ( const ::google::protobuf::Message from)
final

◆ CopyFrom() [2/2]

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

◆ data()

const ::std::string & goby::middleware::protobuf::IOData::data ( ) const
inline

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

◆ default_instance()

static const IOData& goby::middleware::protobuf::IOData::default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* goby::middleware::protobuf::IOData::descriptor ( )
static

◆ dest_case()

IOData::DestCase goby::middleware::protobuf::IOData::dest_case ( ) const
inline

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

◆ GetCachedSize()

int goby::middleware::protobuf::IOData::GetCachedSize ( ) const
inlinefinalvirtual

Implements google::protobuf::MessageLite.

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

◆ GetMetadata()

::google::protobuf::Metadata goby::middleware::protobuf::IOData::GetMetadata ( ) const
finalvirtual

◆ has_data()

bool goby::middleware::protobuf::IOData::has_data ( ) const
inline

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

◆ has_index()

bool goby::middleware::protobuf::IOData::has_index ( ) const
inline

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

◆ has_tcp_dest()

bool goby::middleware::protobuf::IOData::has_tcp_dest ( ) const
inline

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

◆ has_tcp_src()

bool goby::middleware::protobuf::IOData::has_tcp_src ( ) const
inline

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

◆ has_udp_dest()

bool goby::middleware::protobuf::IOData::has_udp_dest ( ) const
inline

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

◆ has_udp_src()

bool goby::middleware::protobuf::IOData::has_udp_src ( ) const
inline

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

◆ index()

google::protobuf::int32 goby::middleware::protobuf::IOData::index ( ) const
inline

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

◆ InitAsDefaultInstance()

static void goby::middleware::protobuf::IOData::InitAsDefaultInstance ( )
static

◆ internal_default_instance()

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

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

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* goby::middleware::protobuf::IOData::InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ IsInitialized()

bool goby::middleware::protobuf::IOData::IsInitialized ( ) const
finalvirtual

Reimplemented from google::protobuf::Message.

◆ MergeFrom() [1/2]

void goby::middleware::protobuf::IOData::MergeFrom ( const ::google::protobuf::Message from)
final

◆ MergeFrom() [2/2]

void goby::middleware::protobuf::IOData::MergeFrom ( const IOData from)

◆ MergePartialFromCodedStream()

bool goby::middleware::protobuf::IOData::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ mutable_data()

std::string * goby::middleware::protobuf::IOData::mutable_data ( )
inline

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

◆ mutable_tcp_dest()

goby::middleware::protobuf::TCPEndPoint * goby::middleware::protobuf::IOData::mutable_tcp_dest ( )
inline

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

◆ mutable_tcp_src()

goby::middleware::protobuf::TCPEndPoint * goby::middleware::protobuf::IOData::mutable_tcp_src ( )
inline

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

◆ mutable_udp_dest()

goby::middleware::protobuf::UDPEndPoint * goby::middleware::protobuf::IOData::mutable_udp_dest ( )
inline

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

◆ mutable_udp_src()

goby::middleware::protobuf::UDPEndPoint * goby::middleware::protobuf::IOData::mutable_udp_src ( )
inline

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

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet* goby::middleware::protobuf::IOData::mutable_unknown_fields ( )
inline

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

◆ New() [1/2]

IOData* goby::middleware::protobuf::IOData::New ( ) const
inlinefinalvirtual

Implements google::protobuf::Message.

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

◆ New() [2/2]

IOData* goby::middleware::protobuf::IOData::New ( ::google::protobuf::Arena arena) const
inlinefinalvirtual

Reimplemented from google::protobuf::Message.

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

◆ operator=()

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

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

◆ release_data()

std::string * goby::middleware::protobuf::IOData::release_data ( )
inline

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

◆ release_tcp_dest()

goby::middleware::protobuf::TCPEndPoint * goby::middleware::protobuf::IOData::release_tcp_dest ( )
inline

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

◆ release_tcp_src()

goby::middleware::protobuf::TCPEndPoint * goby::middleware::protobuf::IOData::release_tcp_src ( )
inline

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

◆ release_udp_dest()

goby::middleware::protobuf::UDPEndPoint * goby::middleware::protobuf::IOData::release_udp_dest ( )
inline

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

◆ release_udp_src()

goby::middleware::protobuf::UDPEndPoint * goby::middleware::protobuf::IOData::release_udp_src ( )
inline

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

◆ SerializeWithCachedSizes()

void goby::middleware::protobuf::IOData::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ set_allocated_data()

void goby::middleware::protobuf::IOData::set_allocated_data ( ::std::string *  data)
inline

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

◆ set_allocated_tcp_dest()

void goby::middleware::protobuf::IOData::set_allocated_tcp_dest ( ::goby::middleware::protobuf::TCPEndPoint tcp_dest)

◆ set_allocated_tcp_src()

void goby::middleware::protobuf::IOData::set_allocated_tcp_src ( ::goby::middleware::protobuf::TCPEndPoint tcp_src)

◆ set_allocated_udp_dest()

void goby::middleware::protobuf::IOData::set_allocated_udp_dest ( ::goby::middleware::protobuf::UDPEndPoint udp_dest)

◆ set_allocated_udp_src()

void goby::middleware::protobuf::IOData::set_allocated_udp_src ( ::goby::middleware::protobuf::UDPEndPoint udp_src)

◆ set_data() [1/3]

void goby::middleware::protobuf::IOData::set_data ( const ::std::string &  value)
inline

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

◆ set_data() [2/3]

void goby::middleware::protobuf::IOData::set_data ( const char value)
inline

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

◆ set_data() [3/3]

void goby::middleware::protobuf::IOData::set_data ( const void *  value,
size_t  size 
)
inline

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

◆ set_index()

void goby::middleware::protobuf::IOData::set_index ( ::google::protobuf::int32  value)
inline

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

◆ src_case()

IOData::SrcCase goby::middleware::protobuf::IOData::src_case ( ) const
inline

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

◆ Swap()

void goby::middleware::protobuf::IOData::Swap ( IOData other)

◆ tcp_dest()

const ::goby::middleware::protobuf::TCPEndPoint & goby::middleware::protobuf::IOData::tcp_dest ( ) const
inline

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

◆ tcp_src()

const ::goby::middleware::protobuf::TCPEndPoint & goby::middleware::protobuf::IOData::tcp_src ( ) const
inline

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

◆ udp_dest()

const ::goby::middleware::protobuf::UDPEndPoint & goby::middleware::protobuf::IOData::udp_dest ( ) const
inline

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

◆ udp_src()

const ::goby::middleware::protobuf::UDPEndPoint & goby::middleware::protobuf::IOData::udp_src ( ) const
inline

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

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet& goby::middleware::protobuf::IOData::unknown_fields ( ) const
inline

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

Friends And Related Function Documentation

◆ ::protobuf_goby_2fmiddleware_2fprotobuf_2fio_2eproto::TableStruct

◆ swap

void swap ( IOData a,
IOData b 
)
friend

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

Member Data Documentation

◆ kDataFieldNumber

const int goby::middleware::protobuf::IOData::kDataFieldNumber = 30
static

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

◆ kIndexFieldNumber

const int goby::middleware::protobuf::IOData::kIndexFieldNumber = 1
static

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

◆ kIndexInFileMessages

constexpr int goby::middleware::protobuf::IOData::kIndexInFileMessages
staticconstexpr
Initial value:
=
2

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

◆ kTcpDestFieldNumber

const int goby::middleware::protobuf::IOData::kTcpDestFieldNumber = 21
static

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

◆ kTcpSrcFieldNumber

const int goby::middleware::protobuf::IOData::kTcpSrcFieldNumber = 11
static

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

◆ kUdpDestFieldNumber

const int goby::middleware::protobuf::IOData::kUdpDestFieldNumber = 20
static

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

◆ kUdpSrcFieldNumber

const int goby::middleware::protobuf::IOData::kUdpSrcFieldNumber = 10
static

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


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