Goby3  3.1.5a
2024.05.23
goby::acomms::protobuf::FileFragment Class Reference

#include <goby/acomms/protobuf/file_transfer.pb.h>

Inheritance diagram for goby::acomms::protobuf::FileFragment:
google::protobuf::Message google::protobuf::MessageLite

Public Types

enum  DCCLParameters { DCCL_ID = 7, DCCL_MAX_BYTES = 64 }
 
- Public Types inherited from google::protobuf::Message
typedef google::protobuf::Reflection Reflection
 

Public Member Functions

 FileFragment ()
 
virtual ~FileFragment ()
 
 FileFragment (const FileFragment &from)
 
FileFragmentoperator= (const FileFragment &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (FileFragment *other)
 
FileFragmentNew () const final
 
FileFragmentNew (::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 FileFragment &from)
 
void MergeFrom (const FileFragment &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_src () const
 
void clear_src ()
 
::google::protobuf::int32 src () const
 
void set_src (::google::protobuf::int32 value)
 
bool has_dest () const
 
void clear_dest ()
 
::google::protobuf::int32 dest () const
 
void set_dest (::google::protobuf::int32 value)
 
bool has_fragment () const
 
void clear_fragment ()
 
::google::protobuf::int32 fragment () const
 
void set_fragment (::google::protobuf::int32 value)
 
bool has_is_last_fragment () const
 
void clear_is_last_fragment ()
 
bool is_last_fragment () const
 
void set_is_last_fragment (bool value)
 
bool has_num_bytes () const
 
void clear_num_bytes ()
 
::google::protobuf::int32 num_bytes () const
 
void set_num_bytes (::google::protobuf::int32 value)
 
- 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 FileFragmentdefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const FileFragmentinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const int kDataFieldNumber = 6
 
static const int kSrcFieldNumber = 1
 
static const int kDestFieldNumber = 2
 
static const int kFragmentFieldNumber = 3
 
static const int kIsLastFragmentFieldNumber = 4
 
static const int kNumBytesFieldNumber = 5
 

Friends

struct ::protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct
 
void swap (FileFragment &a, FileFragment &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 125 of file file_transfer.pb.h.

Member Enumeration Documentation

◆ DCCLParameters

Enumerator
DCCL_ID 
DCCL_MAX_BYTES 

Definition at line 269 of file file_transfer.pb.h.

Constructor & Destructor Documentation

◆ FileFragment() [1/2]

goby::acomms::protobuf::FileFragment::FileFragment ( )

◆ ~FileFragment()

virtual goby::acomms::protobuf::FileFragment::~FileFragment ( )
virtual

◆ FileFragment() [2/2]

goby::acomms::protobuf::FileFragment::FileFragment ( const FileFragment from)

Member Function Documentation

◆ ByteSizeLong()

size_t goby::acomms::protobuf::FileFragment::ByteSizeLong ( ) const
finalvirtual

Reimplemented from google::protobuf::Message.

◆ Clear()

void goby::acomms::protobuf::FileFragment::Clear ( )
finalvirtual

Reimplemented from google::protobuf::Message.

◆ clear_data()

void goby::acomms::protobuf::FileFragment::clear_data ( )
inline

Definition at line 814 of file file_transfer.pb.h.

◆ clear_dest()

void goby::acomms::protobuf::FileFragment::clear_dest ( )
inline

Definition at line 718 of file file_transfer.pb.h.

◆ clear_fragment()

void goby::acomms::protobuf::FileFragment::clear_fragment ( )
inline

Definition at line 742 of file file_transfer.pb.h.

◆ clear_is_last_fragment()

void goby::acomms::protobuf::FileFragment::clear_is_last_fragment ( )
inline

Definition at line 766 of file file_transfer.pb.h.

◆ clear_num_bytes()

void goby::acomms::protobuf::FileFragment::clear_num_bytes ( )
inline

Definition at line 790 of file file_transfer.pb.h.

◆ clear_src()

void goby::acomms::protobuf::FileFragment::clear_src ( )
inline

Definition at line 694 of file file_transfer.pb.h.

◆ CopyFrom() [1/2]

void goby::acomms::protobuf::FileFragment::CopyFrom ( const ::google::protobuf::Message from)
final

◆ CopyFrom() [2/2]

void goby::acomms::protobuf::FileFragment::CopyFrom ( const FileFragment from)

◆ data()

const ::std::string & goby::acomms::protobuf::FileFragment::data ( ) const
inline

Definition at line 818 of file file_transfer.pb.h.

◆ default_instance()

static const FileFragment& goby::acomms::protobuf::FileFragment::default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* goby::acomms::protobuf::FileFragment::descriptor ( )
static

◆ dest()

google::protobuf::int32 goby::acomms::protobuf::FileFragment::dest ( ) const
inline

Definition at line 722 of file file_transfer.pb.h.

◆ fragment()

google::protobuf::int32 goby::acomms::protobuf::FileFragment::fragment ( ) const
inline

Definition at line 746 of file file_transfer.pb.h.

◆ GetCachedSize()

int goby::acomms::protobuf::FileFragment::GetCachedSize ( ) const
inlinefinalvirtual

Implements google::protobuf::MessageLite.

Definition at line 197 of file file_transfer.pb.h.

◆ GetMetadata()

::google::protobuf::Metadata goby::acomms::protobuf::FileFragment::GetMetadata ( ) const
finalvirtual

◆ has_data()

bool goby::acomms::protobuf::FileFragment::has_data ( ) const
inline

Definition at line 805 of file file_transfer.pb.h.

◆ has_dest()

bool goby::acomms::protobuf::FileFragment::has_dest ( ) const
inline

Definition at line 709 of file file_transfer.pb.h.

◆ has_fragment()

bool goby::acomms::protobuf::FileFragment::has_fragment ( ) const
inline

Definition at line 733 of file file_transfer.pb.h.

◆ has_is_last_fragment()

bool goby::acomms::protobuf::FileFragment::has_is_last_fragment ( ) const
inline

Definition at line 757 of file file_transfer.pb.h.

◆ has_num_bytes()

bool goby::acomms::protobuf::FileFragment::has_num_bytes ( ) const
inline

Definition at line 781 of file file_transfer.pb.h.

◆ has_src()

bool goby::acomms::protobuf::FileFragment::has_src ( ) const
inline

Definition at line 685 of file file_transfer.pb.h.

◆ InitAsDefaultInstance()

static void goby::acomms::protobuf::FileFragment::InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const FileFragment* goby::acomms::protobuf::FileFragment::internal_default_instance ( )
inlinestatic

Definition at line 162 of file file_transfer.pb.h.

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* goby::acomms::protobuf::FileFragment::InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ is_last_fragment()

bool goby::acomms::protobuf::FileFragment::is_last_fragment ( ) const
inline

Definition at line 770 of file file_transfer.pb.h.

◆ IsInitialized()

bool goby::acomms::protobuf::FileFragment::IsInitialized ( ) const
finalvirtual

Reimplemented from google::protobuf::Message.

◆ MergeFrom() [1/2]

void goby::acomms::protobuf::FileFragment::MergeFrom ( const ::google::protobuf::Message from)
final

◆ MergeFrom() [2/2]

void goby::acomms::protobuf::FileFragment::MergeFrom ( const FileFragment from)

◆ MergePartialFromCodedStream()

bool goby::acomms::protobuf::FileFragment::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ mutable_data()

std::string * goby::acomms::protobuf::FileFragment::mutable_data ( )
inline

Definition at line 847 of file file_transfer.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet* goby::acomms::protobuf::FileFragment::mutable_unknown_fields ( )
inline

Definition at line 154 of file file_transfer.pb.h.

◆ New() [1/2]

FileFragment* goby::acomms::protobuf::FileFragment::New ( ) const
inlinefinalvirtual

Implements google::protobuf::Message.

Definition at line 176 of file file_transfer.pb.h.

◆ New() [2/2]

FileFragment* goby::acomms::protobuf::FileFragment::New ( ::google::protobuf::Arena arena) const
inlinefinalvirtual

Reimplemented from google::protobuf::Message.

Definition at line 180 of file file_transfer.pb.h.

◆ num_bytes()

google::protobuf::int32 goby::acomms::protobuf::FileFragment::num_bytes ( ) const
inline

Definition at line 794 of file file_transfer.pb.h.

◆ operator=()

FileFragment& goby::acomms::protobuf::FileFragment::operator= ( const FileFragment from)
inline

Definition at line 132 of file file_transfer.pb.h.

◆ release_data()

std::string * goby::acomms::protobuf::FileFragment::release_data ( )
inline

Definition at line 852 of file file_transfer.pb.h.

◆ SerializeWithCachedSizes()

void goby::acomms::protobuf::FileFragment::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ set_allocated_data()

void goby::acomms::protobuf::FileFragment::set_allocated_data ( ::std::string *  data)
inline

Definition at line 860 of file file_transfer.pb.h.

◆ set_data() [1/3]

void goby::acomms::protobuf::FileFragment::set_data ( const ::std::string &  value)
inline

Definition at line 822 of file file_transfer.pb.h.

◆ set_data() [2/3]

void goby::acomms::protobuf::FileFragment::set_data ( const char value)
inline

Definition at line 835 of file file_transfer.pb.h.

◆ set_data() [3/3]

void goby::acomms::protobuf::FileFragment::set_data ( const void *  value,
size_t  size 
)
inline

Definition at line 841 of file file_transfer.pb.h.

◆ set_dest()

void goby::acomms::protobuf::FileFragment::set_dest ( ::google::protobuf::int32  value)
inline

Definition at line 726 of file file_transfer.pb.h.

◆ set_fragment()

void goby::acomms::protobuf::FileFragment::set_fragment ( ::google::protobuf::int32  value)
inline

Definition at line 750 of file file_transfer.pb.h.

◆ set_is_last_fragment()

void goby::acomms::protobuf::FileFragment::set_is_last_fragment ( bool  value)
inline

Definition at line 774 of file file_transfer.pb.h.

◆ set_num_bytes()

void goby::acomms::protobuf::FileFragment::set_num_bytes ( ::google::protobuf::int32  value)
inline

Definition at line 798 of file file_transfer.pb.h.

◆ set_src()

void goby::acomms::protobuf::FileFragment::set_src ( ::google::protobuf::int32  value)
inline

Definition at line 702 of file file_transfer.pb.h.

◆ src()

google::protobuf::int32 goby::acomms::protobuf::FileFragment::src ( ) const
inline

Definition at line 698 of file file_transfer.pb.h.

◆ Swap()

void goby::acomms::protobuf::FileFragment::Swap ( FileFragment other)

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet& goby::acomms::protobuf::FileFragment::unknown_fields ( ) const
inline

Definition at line 151 of file file_transfer.pb.h.

Friends And Related Function Documentation

◆ ::protobuf_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto::TableStruct

◆ swap

void swap ( FileFragment a,
FileFragment b 
)
friend

Definition at line 170 of file file_transfer.pb.h.

Member Data Documentation

◆ kDataFieldNumber

const int goby::acomms::protobuf::FileFragment::kDataFieldNumber = 6
static

Definition at line 222 of file file_transfer.pb.h.

◆ kDestFieldNumber

const int goby::acomms::protobuf::FileFragment::kDestFieldNumber = 2
static

Definition at line 244 of file file_transfer.pb.h.

◆ kFragmentFieldNumber

const int goby::acomms::protobuf::FileFragment::kFragmentFieldNumber = 3
static

Definition at line 251 of file file_transfer.pb.h.

◆ kIndexInFileMessages

constexpr int goby::acomms::protobuf::FileFragment::kIndexInFileMessages
staticconstexpr
Initial value:
=
0

Definition at line 166 of file file_transfer.pb.h.

◆ kIsLastFragmentFieldNumber

const int goby::acomms::protobuf::FileFragment::kIsLastFragmentFieldNumber = 4
static

Definition at line 258 of file file_transfer.pb.h.

◆ kNumBytesFieldNumber

const int goby::acomms::protobuf::FileFragment::kNumBytesFieldNumber = 5
static

Definition at line 265 of file file_transfer.pb.h.

◆ kSrcFieldNumber

const int goby::acomms::protobuf::FileFragment::kSrcFieldNumber = 1
static

Definition at line 237 of file file_transfer.pb.h.


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