ESPHome 2025.5.0
Loading...
Searching...
No Matches
esphome::api::ListEntitiesSirenResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::ListEntitiesSirenResponse:
esphome::api::ProtoMessage

Public Member Functions

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

Data Fields

std::string object_id {}
 
uint32_t key {0}
 
std::string name {}
 
std::string unique_id {}
 
std::string icon {}
 
bool disabled_by_default {false}
 
std::vector< std::string > tones {}
 
bool supports_duration {false}
 
bool supports_volume {false}
 
enums::EntityCategory entity_category {}
 

Protected Member Functions

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

Detailed Description

Definition at line 1287 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

void esphome::api::ListEntitiesSirenResponse::calculate_size ( uint32_t & total_size) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 5452 of file api_pb2.cpp.

◆ decode_32bit()

bool esphome::api::ListEntitiesSirenResponse::decode_32bit ( uint32_t field_id,
Proto32Bit value )
overrideprotectedvirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 5428 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 5402 of file api_pb2.cpp.

◆ decode_varint()

bool esphome::api::ListEntitiesSirenResponse::decode_varint ( uint32_t field_id,
ProtoVarInt value )
overrideprotectedvirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 5380 of file api_pb2.cpp.

◆ dump_to()

void esphome::api::ListEntitiesSirenResponse::dump_to ( std::string & out) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 5469 of file api_pb2.cpp.

◆ encode()

void esphome::api::ListEntitiesSirenResponse::encode ( ProtoWriteBuffer buffer) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 5438 of file api_pb2.cpp.

Field Documentation

◆ disabled_by_default

bool esphome::api::ListEntitiesSirenResponse::disabled_by_default {false}

Definition at line 1294 of file api_pb2.h.

◆ entity_category

enums::EntityCategory esphome::api::ListEntitiesSirenResponse::entity_category {}

Definition at line 1298 of file api_pb2.h.

◆ icon

std::string esphome::api::ListEntitiesSirenResponse::icon {}

Definition at line 1293 of file api_pb2.h.

◆ key

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

Definition at line 1290 of file api_pb2.h.

◆ name

std::string esphome::api::ListEntitiesSirenResponse::name {}

Definition at line 1291 of file api_pb2.h.

◆ object_id

std::string esphome::api::ListEntitiesSirenResponse::object_id {}

Definition at line 1289 of file api_pb2.h.

◆ supports_duration

bool esphome::api::ListEntitiesSirenResponse::supports_duration {false}

Definition at line 1296 of file api_pb2.h.

◆ supports_volume

bool esphome::api::ListEntitiesSirenResponse::supports_volume {false}

Definition at line 1297 of file api_pb2.h.

◆ tones

std::vector<std::string> esphome::api::ListEntitiesSirenResponse::tones {}

Definition at line 1295 of file api_pb2.h.

◆ unique_id

std::string esphome::api::ListEntitiesSirenResponse::unique_id {}

Definition at line 1292 of file api_pb2.h.


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