ESPHome 2025.6.0
Loading...
Searching...
No Matches
esphome::api::StateResponseProtoMessage Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::StateResponseProtoMessage:
esphome::api::ProtoMessage esphome::api::AlarmControlPanelStateResponse esphome::api::BinarySensorStateResponse esphome::api::ClimateStateResponse esphome::api::CoverStateResponse esphome::api::DateStateResponse esphome::api::DateTimeStateResponse esphome::api::EventResponse esphome::api::FanStateResponse esphome::api::LightStateResponse esphome::api::LockStateResponse esphome::api::MediaPlayerStateResponse esphome::api::NumberStateResponse esphome::api::SelectStateResponse esphome::api::SensorStateResponse esphome::api::SirenStateResponse esphome::api::SwitchStateResponse esphome::api::TextSensorStateResponse esphome::api::TextStateResponse esphome::api::TimeStateResponse esphome::api::UpdateStateResponse esphome::api::ValveStateResponse

Public Member Functions

 ~StateResponseProtoMessage () override=default
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 
virtual void encode (ProtoWriteBuffer buffer) const =0
 
void decode (const uint8_t *buffer, size_t length)
 
virtual void calculate_size (uint32_t &total_size) const =0
 
std::string dump () const
 
virtual void dump_to (std::string &out) const =0
 

Data Fields

uint32_t key {0}
 

Additional Inherited Members

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

Detailed Description

Definition at line 271 of file api_pb2.h.

Constructor & Destructor Documentation

◆ ~StateResponseProtoMessage()

esphome::api::StateResponseProtoMessage::~StateResponseProtoMessage ( )
overridedefault

Field Documentation

◆ key

uint32_t esphome::api::StateResponseProtoMessage::key {0}

Definition at line 274 of file api_pb2.h.


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