ESPHome 2026.2.1
Loading...
Searching...
No Matches
esphome::api::VoiceAssistantEventData Class Referencefinal

#include <api_pb2.h>

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

Public Member Functions

const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoDecodableMessage
virtual void decode (const uint8_t *buffer, size_t length)
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 
virtual void encode (ProtoWriteBuffer buffer) const
 
virtual void calculate_size (ProtoSize &size) const
 
virtual const char * message_name () const
 

Data Fields

StringRef name {}
 
StringRef value {}
 

Protected Member Functions

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

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 2324 of file api_pb2.h.

Member Function Documentation

◆ decode_length()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 2461 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 2004 of file api_pb2_dump.cpp.

Field Documentation

◆ name

StringRef esphome::api::VoiceAssistantEventData::name {}

Definition at line 2326 of file api_pb2.h.

◆ value

StringRef esphome::api::VoiceAssistantEventData::value {}

Definition at line 2327 of file api_pb2.h.


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