ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::api::VoiceAssistantExternalWakeWord Class Referencefinal

#include <api_pb2.h>

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

Public Member Functions

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

Data Fields

StringRef id {}
 
StringRef wake_word {}
 
std::vector< std::string > trained_languages {}
 
StringRef model_type {}
 
uint32_t model_size {0}
 
StringRef model_hash {}
 
StringRef url {}
 

Static Protected Member Functions

static void decode_field (void *self, uint32_t tag, const uint8_t *data, proto_varint_value_t scalar)
 

Additional Inherited Members

- Public Types inherited from esphome::api::ProtoDecodableMessage
using DecodeFieldFn = void (*)(void *msg, uint32_t tag, const uint8_t *data, proto_varint_value_t scalar)
 Stores one decoded field into msg; generated per message type.
 
- Static Public Member Functions inherited from esphome::api::ProtoDecodableMessage
static void decode_fields (void *msg, const uint8_t *buffer, size_t length, DecodeFieldFn field)
 Walk buffer and hand every field to field.
 
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.
 
- Static Public Member Functions inherited from esphome::api::ProtoMessage
static uint8_t * encode_msg (const void *self, uint8_t *pos PROTO_ENCODE_DEBUG_PARAM)
 
static uint32_t calc_size_msg (const void *self)
 
- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Detailed Description

Definition at line 3138 of file api_pb2.h.

Member Function Documentation

◆ decode()

void esphome::api::VoiceAssistantExternalWakeWord::decode ( const uint8_t * buffer,
size_t length )
inline

Definition at line 3147 of file api_pb2.h.

◆ decode_field()

void esphome::api::VoiceAssistantExternalWakeWord::decode_field ( void * self,
uint32_t tag,
const uint8_t * data,
proto_varint_value_t scalar )
staticprotected

Definition at line 3202 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 2457 of file api_pb2_dump.cpp.

Field Documentation

◆ id

StringRef esphome::api::VoiceAssistantExternalWakeWord::id {}

Definition at line 3140 of file api_pb2.h.

◆ model_hash

StringRef esphome::api::VoiceAssistantExternalWakeWord::model_hash {}

Definition at line 3145 of file api_pb2.h.

◆ model_size

uint32_t esphome::api::VoiceAssistantExternalWakeWord::model_size {0}

Definition at line 3144 of file api_pb2.h.

◆ model_type

StringRef esphome::api::VoiceAssistantExternalWakeWord::model_type {}

Definition at line 3143 of file api_pb2.h.

◆ trained_languages

std::vector<std::string> esphome::api::VoiceAssistantExternalWakeWord::trained_languages {}

Definition at line 3142 of file api_pb2.h.

◆ url

StringRef esphome::api::VoiceAssistantExternalWakeWord::url {}

Definition at line 3146 of file api_pb2.h.

◆ wake_word

StringRef esphome::api::VoiceAssistantExternalWakeWord::wake_word {}

Definition at line 3141 of file api_pb2.h.


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