ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
esphome::api::EventResponse Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::EventResponse:
esphome::api::StateResponseProtoMessage esphome::api::ProtoMessage

Public Member Functions

const char * message_name () const override
 
void encode (ProtoWriteBuffer &buffer) const override
 
void calculate_size (ProtoSize &size) const override
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
uint32_t calculated_size () const
 

Data Fields

StringRef event_type {}
 
- Data Fields inherited from esphome::api::StateResponseProtoMessage
uint32_t key {0}
 
uint32_t device_id {0}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 108
 
static constexpr uint8_t ESTIMATED_SIZE = 18
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::api::StateResponseProtoMessage
 ~StateResponseProtoMessage ()=default
 
- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Detailed Description

Definition at line 2778 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

void esphome::api::EventResponse::calculate_size ( ProtoSize & size) const
overridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3113 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 2321 of file api_pb2_dump.cpp.

◆ encode()

void esphome::api::EventResponse::encode ( ProtoWriteBuffer & buffer) const
overridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3106 of file api_pb2.cpp.

◆ message_name()

const char * esphome::api::EventResponse::message_name ( ) const
inlineoverridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2783 of file api_pb2.h.

Field Documentation

◆ ESTIMATED_SIZE

uint8_t esphome::api::EventResponse::ESTIMATED_SIZE = 18
staticconstexpr

Definition at line 2781 of file api_pb2.h.

◆ event_type

StringRef esphome::api::EventResponse::event_type {}

Definition at line 2785 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::EventResponse::MESSAGE_TYPE = 108
staticconstexpr

Definition at line 2780 of file api_pb2.h.


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