ESPHome  2024.4.0
Public Member Functions | Data Fields | Protected Member Functions
esphome::api::ListEntitiesSwitchResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::ListEntitiesSwitchResponse:
esphome::api::ProtoMessage

Public Member Functions

void encode (ProtoWriteBuffer buffer) 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 assumed_state {false}
 
bool disabled_by_default {false}
 
enums::EntityCategory entity_category {}
 
std::string device_class {}
 

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

Member Function Documentation

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2573 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2547 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2529 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 2595 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 2583 of file api_pb2.cpp.

Field Documentation

◆ assumed_state

bool esphome::api::ListEntitiesSwitchResponse::assumed_state {false}

Definition at line 672 of file api_pb2.h.

◆ device_class

std::string esphome::api::ListEntitiesSwitchResponse::device_class {}

Definition at line 675 of file api_pb2.h.

◆ disabled_by_default

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

Definition at line 673 of file api_pb2.h.

◆ entity_category

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

Definition at line 674 of file api_pb2.h.

◆ icon

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

Definition at line 671 of file api_pb2.h.

◆ key

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

Definition at line 668 of file api_pb2.h.

◆ name

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

Definition at line 669 of file api_pb2.h.

◆ object_id

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

Definition at line 667 of file api_pb2.h.

◆ unique_id

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

Definition at line 670 of file api_pb2.h.


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