ESPHome 2026.5.0-dev
Loading...
Searching...
No Matches
esphome::api::HomeassistantActionResponse Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::HomeassistantActionResponse:
esphome::api::ProtoDecodableMessage esphome::api::ProtoMessage

Public Member Functions

const LogString * message_name () const override
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoDecodableMessage
void decode (const uint8_t *buffer, size_t length)
 
- Public Member Functions inherited from esphome::api::ProtoMessage
uint8_t * encode (ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
 
uint32_t calculate_size () const
 

Data Fields

uint32_t call_id {0}
 
bool success {false}
 
StringRef error_message {}
 
const uint8_t * response_data {nullptr}
 
uint16_t response_data_len {0}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 130
 
static constexpr uint8_t ESTIMATED_SIZE = 34
 

Protected Member Functions

bool decode_length (uint32_t field_id, ProtoLengthDelimited value) override
 
bool decode_varint (uint32_t field_id, proto_varint_value_t value) override
 
- Protected Member Functions inherited from esphome::api::ProtoDecodableMessage
 ~ProtoDecodableMessage ()=default
 
virtual bool decode_32bit (uint32_t field_id, Proto32Bit value)
 
- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from esphome::api::ProtoDecodableMessage
static uint32_t count_repeated_field (const uint8_t *buffer, size_t length, uint32_t target_field_id)
 Count occurrences of a repeated field in a protobuf buffer.
 

Detailed Description

Definition at line 1093 of file api_pb2.h.

Member Function Documentation

◆ decode_length()

bool esphome::api::HomeassistantActionResponse::decode_length ( uint32_t field_id,
ProtoLengthDelimited value )
overrideprotectedvirtual

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 1043 of file api_pb2.cpp.

◆ decode_varint()

bool esphome::api::HomeassistantActionResponse::decode_varint ( uint32_t field_id,
proto_varint_value_t value )
overrideprotectedvirtual

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 1030 of file api_pb2.cpp.

◆ dump_to()

const char * esphome::api::HomeassistantActionResponse::dump_to ( DumpBuffer & out) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 1334 of file api_pb2_dump.cpp.

◆ message_name()

const LogString * esphome::api::HomeassistantActionResponse::message_name ( ) const
inlineoverridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1098 of file api_pb2.h.

Field Documentation

◆ call_id

uint32_t esphome::api::HomeassistantActionResponse::call_id {0}

Definition at line 1100 of file api_pb2.h.

◆ error_message

StringRef esphome::api::HomeassistantActionResponse::error_message {}

Definition at line 1102 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::HomeassistantActionResponse::ESTIMATED_SIZE = 34
staticconstexpr

Definition at line 1096 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::HomeassistantActionResponse::MESSAGE_TYPE = 130
staticconstexpr

Definition at line 1095 of file api_pb2.h.

◆ response_data

const uint8_t* esphome::api::HomeassistantActionResponse::response_data {nullptr}

Definition at line 1104 of file api_pb2.h.

◆ response_data_len

uint16_t esphome::api::HomeassistantActionResponse::response_data_len {0}

Definition at line 1105 of file api_pb2.h.

◆ success

bool esphome::api::HomeassistantActionResponse::success {false}

Definition at line 1101 of file api_pb2.h.


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