Goby3 3.5.1
2026.06.04
Loading...
Searching...
No Matches
goby::acomms::protobuf::TransferResponse Class Referencefinal

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

Inheritance diagram for goby::acomms::protobuf::TransferResponse:

Public Types

enum  : int {
  kSrcFieldNumber = 1 , kDestFieldNumber = 2 , kTransferSuccessfulFieldNumber = 3 , kNumFragmentsFieldNumber = 5 ,
  kErrorFieldNumber = 4
}
enum  DCCLParameters { DCCL_ID = 9 , DCCL_MAX_BYTES = 64 }
typedef TransferResponse_ErrorCode ErrorCode

Public Member Functions

 TransferResponse ()
 ~TransferResponse () override
PROTOBUF_CONSTEXPR TransferResponse (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 TransferResponse (const TransferResponse &from)
 TransferResponse (TransferResponse &&from) noexcept
TransferResponseoperator= (const TransferResponse &from)
TransferResponseoperator= (TransferResponse &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
void Swap (TransferResponse *other)
void UnsafeArenaSwap (TransferResponse *other)
TransferResponseNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void CopyFrom (const TransferResponse &from)
void MergeFrom (const TransferResponse &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_src () const
void clear_src ()
int32_t src () const
void set_src (int32_t value)
bool has_dest () const
void clear_dest ()
int32_t dest () const
void set_dest (int32_t value)
bool has_transfer_successful () const
void clear_transfer_successful ()
bool transfer_successful () const
void set_transfer_successful (bool value)
bool has_num_fragments () const
void clear_num_fragments ()
int32_t num_fragments () const
void set_num_fragments (int32_t value)
bool has_error () const
void clear_error ()
::goby::acomms::protobuf::TransferResponse_ErrorCode error () const
void set_error (::goby::acomms::protobuf::TransferResponse_ErrorCode value)

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 TransferResponsedefault_instance ()
static const TransferResponseinternal_default_instance ()
static bool ErrorCode_IsValid (int value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ErrorCode_descriptor ()
template<typename T>
static const std::string & ErrorCode_Name (T enum_t_value)
static bool ErrorCode_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ErrorCode *value)

Static Public Attributes

static constexpr int kIndexInFileMessages
static const ClassData _class_data_
static constexpr ErrorCode COULD_NOT_READ_FILE
static constexpr ErrorCode FILE_TOO_LARGE
static constexpr ErrorCode TIMEOUT
static constexpr ErrorCode COULD_NOT_WRITE_FILE
static constexpr ErrorCode ERROR_WHILE_READING
static constexpr ErrorCode OTHER_ERROR
static constexpr ErrorCode ErrorCode_MIN
static constexpr ErrorCode ErrorCode_MAX
static constexpr int ErrorCode_ARRAYSIZE

Protected Member Functions

 TransferResponse (::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_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto
void swap (TransferResponse &a, TransferResponse &b)

Detailed Description

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

Member Typedef Documentation

◆ ErrorCode

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kSrcFieldNumber 
kDestFieldNumber 
kTransferSuccessfulFieldNumber 
kNumFragmentsFieldNumber 
kErrorFieldNumber 

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

◆ DCCLParameters

Enumerator
DCCL_ID 
DCCL_MAX_BYTES 

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

Constructor & Destructor Documentation

◆ TransferResponse() [1/5]

goby::acomms::protobuf::TransferResponse::TransferResponse ( )
inline

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

◆ ~TransferResponse()

goby::acomms::protobuf::TransferResponse::~TransferResponse ( )
override

◆ TransferResponse() [2/5]

PROTOBUF_CONSTEXPR goby::acomms::protobuf::TransferResponse::TransferResponse ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized )
explicit

◆ TransferResponse() [3/5]

goby::acomms::protobuf::TransferResponse::TransferResponse ( const TransferResponse & from)

◆ TransferResponse() [4/5]

goby::acomms::protobuf::TransferResponse::TransferResponse ( TransferResponse && from)
inlinenoexcept

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

◆ TransferResponse() [5/5]

goby::acomms::protobuf::TransferResponse::TransferResponse ( ::PROTOBUF_NAMESPACE_ID::Arena * arena,
bool is_message_owned = false )
explicitprotected

Member Function Documentation

◆ _InternalParse()

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

◆ _InternalSerialize()

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

◆ ByteSizeLong()

size_t goby::acomms::protobuf::TransferResponse::ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void goby::acomms::protobuf::TransferResponse::Clear ( )
final

◆ clear_dest()

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

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

◆ clear_error()

void goby::acomms::protobuf::TransferResponse::clear_error ( )
inline

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

◆ clear_num_fragments()

void goby::acomms::protobuf::TransferResponse::clear_num_fragments ( )
inline

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

◆ clear_src()

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

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

◆ clear_transfer_successful()

void goby::acomms::protobuf::TransferResponse::clear_transfer_successful ( )
inline

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

◆ CopyFrom()

void goby::acomms::protobuf::TransferResponse::CopyFrom ( const TransferResponse & from)

◆ default_instance()

const TransferResponse & goby::acomms::protobuf::TransferResponse::default_instance ( )
inlinestatic

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

◆ descriptor()

const ::PROTOBUF_NAMESPACE_ID::Descriptor * goby::acomms::protobuf::TransferResponse::descriptor ( )
inlinestatic

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

◆ dest()

int32_t goby::acomms::protobuf::TransferResponse::dest ( ) const
inline

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

◆ error()

goby::acomms::protobuf::TransferResponse_ErrorCode goby::acomms::protobuf::TransferResponse::error ( ) const
inline

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

◆ ErrorCode_descriptor()

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * goby::acomms::protobuf::TransferResponse::ErrorCode_descriptor ( )
inlinestatic

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

◆ ErrorCode_IsValid()

bool goby::acomms::protobuf::TransferResponse::ErrorCode_IsValid ( int value)
inlinestatic

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

◆ ErrorCode_Name()

template<typename T>
const std::string & goby::acomms::protobuf::TransferResponse::ErrorCode_Name ( T enum_t_value)
inlinestatic

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

◆ ErrorCode_Parse()

bool goby::acomms::protobuf::TransferResponse::ErrorCode_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
ErrorCode * value )
inlinestatic

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

◆ GetCachedSize()

int goby::acomms::protobuf::TransferResponse::GetCachedSize ( ) const
inlinefinal

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

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * goby::acomms::protobuf::TransferResponse::GetClassData ( ) const
final

◆ GetDescriptor()

const ::PROTOBUF_NAMESPACE_ID::Descriptor * goby::acomms::protobuf::TransferResponse::GetDescriptor ( )
inlinestatic

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

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata goby::acomms::protobuf::TransferResponse::GetMetadata ( ) const
final

◆ GetReflection()

const ::PROTOBUF_NAMESPACE_ID::Reflection * goby::acomms::protobuf::TransferResponse::GetReflection ( )
inlinestatic

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

◆ has_dest()

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

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

◆ has_error()

bool goby::acomms::protobuf::TransferResponse::has_error ( ) const
inline

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

◆ has_num_fragments()

bool goby::acomms::protobuf::TransferResponse::has_num_fragments ( ) const
inline

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

◆ has_src()

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

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

◆ has_transfer_successful()

bool goby::acomms::protobuf::TransferResponse::has_transfer_successful ( ) const
inline

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

◆ internal_default_instance()

const TransferResponse * goby::acomms::protobuf::TransferResponse::internal_default_instance ( )
inlinestatic

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

◆ IsInitialized()

bool goby::acomms::protobuf::TransferResponse::IsInitialized ( ) const
final

◆ MergeFrom()

void goby::acomms::protobuf::TransferResponse::MergeFrom ( const TransferResponse & from)
inline

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

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * goby::acomms::protobuf::TransferResponse::mutable_unknown_fields ( )
inline

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

◆ New()

TransferResponse * goby::acomms::protobuf::TransferResponse::New ( ::PROTOBUF_NAMESPACE_ID::Arena * arena = nullptr) const
inlinefinal

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

◆ num_fragments()

int32_t goby::acomms::protobuf::TransferResponse::num_fragments ( ) const
inline

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

TransferResponse & goby::acomms::protobuf::TransferResponse::operator= ( TransferResponse && from)
inlinenoexcept

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

◆ set_dest()

void goby::acomms::protobuf::TransferResponse::set_dest ( int32_t value)
inline

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

◆ set_error()

void goby::acomms::protobuf::TransferResponse::set_error ( ::goby::acomms::protobuf::TransferResponse_ErrorCode value)
inline

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

◆ set_num_fragments()

void goby::acomms::protobuf::TransferResponse::set_num_fragments ( int32_t value)
inline

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

◆ set_src()

void goby::acomms::protobuf::TransferResponse::set_src ( int32_t value)
inline

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

◆ set_transfer_successful()

void goby::acomms::protobuf::TransferResponse::set_transfer_successful ( bool value)
inline

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

◆ src()

int32_t goby::acomms::protobuf::TransferResponse::src ( ) const
inline

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

◆ Swap()

void goby::acomms::protobuf::TransferResponse::Swap ( TransferResponse * other)
inline

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

◆ transfer_successful()

bool goby::acomms::protobuf::TransferResponse::transfer_successful ( ) const
inline

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

◆ unknown_fields()

const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & goby::acomms::protobuf::TransferResponse::unknown_fields ( ) const
inline

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

◆ UnsafeArenaSwap()

void goby::acomms::protobuf::TransferResponse::UnsafeArenaSwap ( TransferResponse * other)
inline

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

◆ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper

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

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

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

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

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

◆ ::TableStruct_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto

friend struct ::TableStruct_goby_2facomms_2fprotobuf_2ffile_5ftransfer_2eproto
friend

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

◆ swap

void swap ( TransferResponse & a,
TransferResponse & b )
friend

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

Member Data Documentation

◆ _class_data_

const ClassData goby::acomms::protobuf::TransferResponse::_class_data_
static

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

◆ _impl_

Impl_ goby::acomms::protobuf::TransferResponse::_impl_

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

◆ COULD_NOT_READ_FILE

ErrorCode goby::acomms::protobuf::TransferResponse::COULD_NOT_READ_FILE
staticconstexpr
Initial value:

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

◆ COULD_NOT_WRITE_FILE

ErrorCode goby::acomms::protobuf::TransferResponse::COULD_NOT_WRITE_FILE
staticconstexpr
Initial value:

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

◆ ERROR_WHILE_READING

ErrorCode goby::acomms::protobuf::TransferResponse::ERROR_WHILE_READING
staticconstexpr
Initial value:

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

◆ ErrorCode_ARRAYSIZE

int goby::acomms::protobuf::TransferResponse::ErrorCode_ARRAYSIZE
staticconstexpr
Initial value:

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

◆ ErrorCode_MAX

ErrorCode goby::acomms::protobuf::TransferResponse::ErrorCode_MAX
staticconstexpr
Initial value:
=
constexpr TransferResponse_ErrorCode TransferResponse_ErrorCode_ErrorCode_MAX

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

◆ ErrorCode_MIN

ErrorCode goby::acomms::protobuf::TransferResponse::ErrorCode_MIN
staticconstexpr
Initial value:
=
constexpr TransferResponse_ErrorCode TransferResponse_ErrorCode_ErrorCode_MIN

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

◆ FILE_TOO_LARGE

ErrorCode goby::acomms::protobuf::TransferResponse::FILE_TOO_LARGE
staticconstexpr
Initial value:

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

◆ kIndexInFileMessages

int goby::acomms::protobuf::TransferResponse::kIndexInFileMessages
staticconstexpr
Initial value:
=
2

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

◆ OTHER_ERROR

ErrorCode goby::acomms::protobuf::TransferResponse::OTHER_ERROR
staticconstexpr
Initial value:

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

◆ TIMEOUT

ErrorCode goby::acomms::protobuf::TransferResponse::TIMEOUT
staticconstexpr
Initial value:

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


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