JaiaBot  1.19.0
JaiaBot micro-AUV software
jaiabot::protobuf::APIResponse Class Reference

#include <jaiabot/messages/rest_api.pb.h>

Inheritance diagram for jaiabot::protobuf::APIResponse:
Collaboration diagram for jaiabot::protobuf::APIResponse:

Public Types

enum  ActionCase {
  kError = 10, kStatus = 11, kMetadata = 12, kTaskPackets = 13,
  kCommandResult = 14, ACTION_NOT_SET = 0
}
 
typedef APIResponse_Nodes Nodes
 
typedef APIResponse_Statuses Statuses
 
typedef APIResponse_Metadatas Metadatas
 
typedef APIResponse_TaskPackets TaskPackets
 

Public Member Functions

 APIResponse ()
 
virtual ~APIResponse ()
 
 APIResponse (const APIResponse &from)
 
APIResponseoperator= (const APIResponse &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (APIResponse *other)
 
APIResponseNew () const final
 
APIResponseNew (::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 APIResponse &from)
 
void MergeFrom (const APIResponse &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_target () const
 
void clear_target ()
 
const ::jaiabot::protobuf::APIResponse_Nodestarget () const
 
::jaiabot::protobuf::APIResponse_Nodesrelease_target ()
 
::jaiabot::protobuf::APIResponse_Nodesmutable_target ()
 
void set_allocated_target (::jaiabot::protobuf::APIResponse_Nodes *target)
 
bool has_request () const
 
void clear_request ()
 
const ::jaiabot::protobuf::APIRequestrequest () const
 
::jaiabot::protobuf::APIRequestrelease_request ()
 
::jaiabot::protobuf::APIRequestmutable_request ()
 
void set_allocated_request (::jaiabot::protobuf::APIRequest *request)
 
bool has_error () const
 
void clear_error ()
 
const ::jaiabot::protobuf::APIErrorerror () const
 
::jaiabot::protobuf::APIErrorrelease_error ()
 
::jaiabot::protobuf::APIErrormutable_error ()
 
void set_allocated_error (::jaiabot::protobuf::APIError *error)
 
bool has_status () const
 
void clear_status ()
 
const ::jaiabot::protobuf::APIResponse_Statusesstatus () const
 
::jaiabot::protobuf::APIResponse_Statusesrelease_status ()
 
::jaiabot::protobuf::APIResponse_Statusesmutable_status ()
 
void set_allocated_status (::jaiabot::protobuf::APIResponse_Statuses *status)
 
bool has_metadata () const
 
void clear_metadata ()
 
const ::jaiabot::protobuf::APIResponse_Metadatasmetadata () const
 
::jaiabot::protobuf::APIResponse_Metadatasrelease_metadata ()
 
::jaiabot::protobuf::APIResponse_Metadatasmutable_metadata ()
 
void set_allocated_metadata (::jaiabot::protobuf::APIResponse_Metadatas *metadata)
 
bool has_task_packets () const
 
void clear_task_packets ()
 
const ::jaiabot::protobuf::APIResponse_TaskPacketstask_packets () const
 
::jaiabot::protobuf::APIResponse_TaskPacketsrelease_task_packets ()
 
::jaiabot::protobuf::APIResponse_TaskPacketsmutable_task_packets ()
 
void set_allocated_task_packets (::jaiabot::protobuf::APIResponse_TaskPackets *task_packets)
 
bool has_command_result () const
 
void clear_command_result ()
 
const ::jaiabot::protobuf::CommandResultcommand_result () const
 
::jaiabot::protobuf::CommandResultrelease_command_result ()
 
::jaiabot::protobuf::CommandResultmutable_command_result ()
 
void set_allocated_command_result (::jaiabot::protobuf::CommandResult *command_result)
 
void clear_action ()
 
ActionCase action_case () const
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const APIResponsedefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const APIResponseinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const int kTargetFieldNumber = 1
 
static const int kRequestFieldNumber = 20
 
static const int kErrorFieldNumber = 10
 
static const int kStatusFieldNumber = 11
 
static const int kMetadataFieldNumber = 12
 
static const int kTaskPacketsFieldNumber = 13
 
static const int kCommandResultFieldNumber = 14
 

Friends

struct ::protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct
 
void swap (APIResponse &a, APIResponse &b)
 

Detailed Description

Definition at line 1399 of file rest_api.pb.h.

Member Typedef Documentation

◆ Metadatas

◆ Nodes

◆ Statuses

◆ TaskPackets

Member Enumeration Documentation

◆ ActionCase

Enumerator
kError 
kStatus 
kMetadata 
kTaskPackets 
kCommandResult 
ACTION_NOT_SET 

Definition at line 1435 of file rest_api.pb.h.

Constructor & Destructor Documentation

◆ APIResponse() [1/2]

jaiabot::protobuf::APIResponse::APIResponse ( )

◆ ~APIResponse()

virtual jaiabot::protobuf::APIResponse::~APIResponse ( )
virtual

◆ APIResponse() [2/2]

jaiabot::protobuf::APIResponse::APIResponse ( const APIResponse from)

Member Function Documentation

◆ action_case()

APIResponse::ActionCase jaiabot::protobuf::APIResponse::action_case ( ) const
inline

Definition at line 3209 of file rest_api.pb.h.

◆ ByteSizeLong()

size_t jaiabot::protobuf::APIResponse::ByteSizeLong ( ) const
final

◆ Clear()

void jaiabot::protobuf::APIResponse::Clear ( )
final

◆ clear_action()

void jaiabot::protobuf::APIResponse::clear_action ( )

◆ clear_command_result()

void jaiabot::protobuf::APIResponse::clear_command_result ( )
inline

Definition at line 3108 of file rest_api.pb.h.

◆ clear_error()

void jaiabot::protobuf::APIResponse::clear_error ( )
inline

Definition at line 2932 of file rest_api.pb.h.

◆ clear_metadata()

void jaiabot::protobuf::APIResponse::clear_metadata ( )
inline

Definition at line 3020 of file rest_api.pb.h.

◆ clear_request()

void jaiabot::protobuf::APIResponse::clear_request ( )
inline

Definition at line 3155 of file rest_api.pb.h.

◆ clear_status()

void jaiabot::protobuf::APIResponse::clear_status ( )
inline

Definition at line 2976 of file rest_api.pb.h.

◆ clear_target()

void jaiabot::protobuf::APIResponse::clear_target ( )
inline

Definition at line 2877 of file rest_api.pb.h.

◆ clear_task_packets()

void jaiabot::protobuf::APIResponse::clear_task_packets ( )
inline

Definition at line 3064 of file rest_api.pb.h.

◆ command_result()

const ::jaiabot::protobuf::CommandResult & jaiabot::protobuf::APIResponse::command_result ( ) const
inline

Definition at line 3128 of file rest_api.pb.h.

◆ CopyFrom() [1/2]

void jaiabot::protobuf::APIResponse::CopyFrom ( const ::google::protobuf::Message &  from)
final

◆ CopyFrom() [2/2]

void jaiabot::protobuf::APIResponse::CopyFrom ( const APIResponse from)

◆ default_instance()

static const APIResponse& jaiabot::protobuf::APIResponse::default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* jaiabot::protobuf::APIResponse::descriptor ( )
static

◆ error()

const ::jaiabot::protobuf::APIError & jaiabot::protobuf::APIResponse::error ( ) const
inline

Definition at line 2952 of file rest_api.pb.h.

◆ GetCachedSize()

int jaiabot::protobuf::APIResponse::GetCachedSize ( ) const
inlinefinal

Definition at line 1480 of file rest_api.pb.h.

◆ GetMetadata()

::google::protobuf::Metadata jaiabot::protobuf::APIResponse::GetMetadata ( ) const
final

◆ has_command_result()

bool jaiabot::protobuf::APIResponse::has_command_result ( ) const
inline

Definition at line 3102 of file rest_api.pb.h.

◆ has_error()

bool jaiabot::protobuf::APIResponse::has_error ( ) const
inline

Definition at line 2926 of file rest_api.pb.h.

◆ has_metadata()

bool jaiabot::protobuf::APIResponse::has_metadata ( ) const
inline

Definition at line 3014 of file rest_api.pb.h.

◆ has_request()

bool jaiabot::protobuf::APIResponse::has_request ( ) const
inline

Definition at line 3146 of file rest_api.pb.h.

◆ has_status()

bool jaiabot::protobuf::APIResponse::has_status ( ) const
inline

Definition at line 2970 of file rest_api.pb.h.

◆ has_target()

bool jaiabot::protobuf::APIResponse::has_target ( ) const
inline

Definition at line 2868 of file rest_api.pb.h.

◆ has_task_packets()

bool jaiabot::protobuf::APIResponse::has_task_packets ( ) const
inline

Definition at line 3058 of file rest_api.pb.h.

◆ InitAsDefaultInstance()

static void jaiabot::protobuf::APIResponse::InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const APIResponse* jaiabot::protobuf::APIResponse::internal_default_instance ( )
inlinestatic

Definition at line 1445 of file rest_api.pb.h.

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* jaiabot::protobuf::APIResponse::InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ IsInitialized()

bool jaiabot::protobuf::APIResponse::IsInitialized ( ) const
final

◆ MergeFrom() [1/2]

void jaiabot::protobuf::APIResponse::MergeFrom ( const ::google::protobuf::Message &  from)
final

◆ MergeFrom() [2/2]

void jaiabot::protobuf::APIResponse::MergeFrom ( const APIResponse from)

◆ MergePartialFromCodedStream()

bool jaiabot::protobuf::APIResponse::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ metadata()

const ::jaiabot::protobuf::APIResponse_Metadatas & jaiabot::protobuf::APIResponse::metadata ( ) const
inline

Definition at line 3040 of file rest_api.pb.h.

◆ mutable_command_result()

jaiabot::protobuf::CommandResult * jaiabot::protobuf::APIResponse::mutable_command_result ( )
inline

Definition at line 3134 of file rest_api.pb.h.

◆ mutable_error()

jaiabot::protobuf::APIError * jaiabot::protobuf::APIResponse::mutable_error ( )
inline

Definition at line 2958 of file rest_api.pb.h.

◆ mutable_metadata()

jaiabot::protobuf::APIResponse_Metadatas * jaiabot::protobuf::APIResponse::mutable_metadata ( )
inline

Definition at line 3046 of file rest_api.pb.h.

◆ mutable_request()

jaiabot::protobuf::APIRequest * jaiabot::protobuf::APIResponse::mutable_request ( )
inline

Definition at line 3175 of file rest_api.pb.h.

◆ mutable_status()

jaiabot::protobuf::APIResponse_Statuses * jaiabot::protobuf::APIResponse::mutable_status ( )
inline

Definition at line 3002 of file rest_api.pb.h.

◆ mutable_target()

jaiabot::protobuf::APIResponse_Nodes * jaiabot::protobuf::APIResponse::mutable_target ( )
inline

Definition at line 2897 of file rest_api.pb.h.

◆ mutable_task_packets()

jaiabot::protobuf::APIResponse_TaskPackets * jaiabot::protobuf::APIResponse::mutable_task_packets ( )
inline

Definition at line 3090 of file rest_api.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet* jaiabot::protobuf::APIResponse::mutable_unknown_fields ( )
inline

Definition at line 1428 of file rest_api.pb.h.

◆ New() [1/2]

APIResponse* jaiabot::protobuf::APIResponse::New ( ) const
inlinefinal

Definition at line 1459 of file rest_api.pb.h.

◆ New() [2/2]

APIResponse* jaiabot::protobuf::APIResponse::New ( ::google::protobuf::Arena *  arena) const
inlinefinal

Definition at line 1463 of file rest_api.pb.h.

◆ operator=()

APIResponse& jaiabot::protobuf::APIResponse::operator= ( const APIResponse from)
inline

Definition at line 1406 of file rest_api.pb.h.

◆ release_command_result()

jaiabot::protobuf::CommandResult * jaiabot::protobuf::APIResponse::release_command_result ( )
inline

Definition at line 3117 of file rest_api.pb.h.

◆ release_error()

jaiabot::protobuf::APIError * jaiabot::protobuf::APIResponse::release_error ( )
inline

Definition at line 2941 of file rest_api.pb.h.

◆ release_metadata()

jaiabot::protobuf::APIResponse_Metadatas * jaiabot::protobuf::APIResponse::release_metadata ( )
inline

Definition at line 3029 of file rest_api.pb.h.

◆ release_request()

jaiabot::protobuf::APIRequest * jaiabot::protobuf::APIResponse::release_request ( )
inline

Definition at line 3168 of file rest_api.pb.h.

◆ release_status()

jaiabot::protobuf::APIResponse_Statuses * jaiabot::protobuf::APIResponse::release_status ( )
inline

Definition at line 2985 of file rest_api.pb.h.

◆ release_target()

jaiabot::protobuf::APIResponse_Nodes * jaiabot::protobuf::APIResponse::release_target ( )
inline

Definition at line 2890 of file rest_api.pb.h.

◆ release_task_packets()

jaiabot::protobuf::APIResponse_TaskPackets * jaiabot::protobuf::APIResponse::release_task_packets ( )
inline

Definition at line 3073 of file rest_api.pb.h.

◆ request()

const ::jaiabot::protobuf::APIRequest & jaiabot::protobuf::APIResponse::request ( ) const
inline

Definition at line 3162 of file rest_api.pb.h.

◆ SerializeWithCachedSizes()

void jaiabot::protobuf::APIResponse::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ set_allocated_command_result()

void jaiabot::protobuf::APIResponse::set_allocated_command_result ( ::jaiabot::protobuf::CommandResult command_result)

◆ set_allocated_error()

void jaiabot::protobuf::APIResponse::set_allocated_error ( ::jaiabot::protobuf::APIError error)

◆ set_allocated_metadata()

void jaiabot::protobuf::APIResponse::set_allocated_metadata ( ::jaiabot::protobuf::APIResponse_Metadatas metadata)

◆ set_allocated_request()

void jaiabot::protobuf::APIResponse::set_allocated_request ( ::jaiabot::protobuf::APIRequest request)
inline

Definition at line 3184 of file rest_api.pb.h.

◆ set_allocated_status()

void jaiabot::protobuf::APIResponse::set_allocated_status ( ::jaiabot::protobuf::APIResponse_Statuses status)

◆ set_allocated_target()

void jaiabot::protobuf::APIResponse::set_allocated_target ( ::jaiabot::protobuf::APIResponse_Nodes target)
inline

Definition at line 2906 of file rest_api.pb.h.

◆ set_allocated_task_packets()

void jaiabot::protobuf::APIResponse::set_allocated_task_packets ( ::jaiabot::protobuf::APIResponse_TaskPackets task_packets)

◆ status()

const ::jaiabot::protobuf::APIResponse_Statuses & jaiabot::protobuf::APIResponse::status ( ) const
inline

Definition at line 2996 of file rest_api.pb.h.

◆ Swap()

void jaiabot::protobuf::APIResponse::Swap ( APIResponse other)

◆ target()

const ::jaiabot::protobuf::APIResponse_Nodes & jaiabot::protobuf::APIResponse::target ( ) const
inline

Definition at line 2884 of file rest_api.pb.h.

◆ task_packets()

const ::jaiabot::protobuf::APIResponse_TaskPackets & jaiabot::protobuf::APIResponse::task_packets ( ) const
inline

Definition at line 3084 of file rest_api.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet& jaiabot::protobuf::APIResponse::unknown_fields ( ) const
inline

Definition at line 1425 of file rest_api.pb.h.

Friends And Related Function Documentation

◆ ::protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct

Definition at line 1623 of file rest_api.pb.h.

◆ swap

void swap ( APIResponse a,
APIResponse b 
)
friend

Definition at line 1453 of file rest_api.pb.h.

Member Data Documentation

◆ kCommandResultFieldNumber

const int jaiabot::protobuf::APIResponse::kCommandResultFieldNumber = 14
static

Definition at line 1582 of file rest_api.pb.h.

◆ kErrorFieldNumber

const int jaiabot::protobuf::APIResponse::kErrorFieldNumber = 10
static

Definition at line 1534 of file rest_api.pb.h.

◆ kIndexInFileMessages

constexpr int jaiabot::protobuf::APIResponse::kIndexInFileMessages
staticconstexpr
Initial value:
=
9

Definition at line 1449 of file rest_api.pb.h.

◆ kMetadataFieldNumber

const int jaiabot::protobuf::APIResponse::kMetadataFieldNumber = 12
static

Definition at line 1558 of file rest_api.pb.h.

◆ kRequestFieldNumber

const int jaiabot::protobuf::APIResponse::kRequestFieldNumber = 20
static

Definition at line 1522 of file rest_api.pb.h.

◆ kStatusFieldNumber

const int jaiabot::protobuf::APIResponse::kStatusFieldNumber = 11
static

Definition at line 1546 of file rest_api.pb.h.

◆ kTargetFieldNumber

const int jaiabot::protobuf::APIResponse::kTargetFieldNumber = 1
static

Definition at line 1510 of file rest_api.pb.h.

◆ kTaskPacketsFieldNumber

const int jaiabot::protobuf::APIResponse::kTaskPacketsFieldNumber = 13
static

Definition at line 1570 of file rest_api.pb.h.


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