ESPHome 2026.3.3
Loading...
Searching...
No Matches
esphome::api::SubscribeLogsResponse Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::SubscribeLogsResponse:
esphome::api::ProtoMessage

Public Member Functions

const char * message_name () const override
 
void set_message (const uint8_t *data, size_t len)
 
void encode (ProtoWriteBuffer &buffer) const
 
uint32_t calculate_size () const
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
void encode (ProtoWriteBuffer &buffer) const
 
uint32_t calculate_size () const
 

Data Fields

enums::LogLevel level {}
 
const uint8_t * message_ptr_ {nullptr}
 
size_t message_len_ {0}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 29
 
static constexpr uint8_t ESTIMATED_SIZE = 21
 

Additional Inherited Members

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

Detailed Description

Definition at line 993 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

uint32_t esphome::api::SubscribeLogsResponse::calculate_size ( ) const

Definition at line 883 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1252 of file api_pb2_dump.cpp.

◆ encode()

void esphome::api::SubscribeLogsResponse::encode ( ProtoWriteBuffer & buffer) const

Definition at line 879 of file api_pb2.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 998 of file api_pb2.h.

◆ set_message()

void esphome::api::SubscribeLogsResponse::set_message ( const uint8_t * data,
size_t len )
inline

Definition at line 1003 of file api_pb2.h.

Field Documentation

◆ ESTIMATED_SIZE

uint8_t esphome::api::SubscribeLogsResponse::ESTIMATED_SIZE = 21
staticconstexpr

Definition at line 996 of file api_pb2.h.

◆ level

enums::LogLevel esphome::api::SubscribeLogsResponse::level {}

Definition at line 1000 of file api_pb2.h.

◆ message_len_

size_t esphome::api::SubscribeLogsResponse::message_len_ {0}

Definition at line 1002 of file api_pb2.h.

◆ message_ptr_

const uint8_t* esphome::api::SubscribeLogsResponse::message_ptr_ {nullptr}

Definition at line 1001 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::SubscribeLogsResponse::MESSAGE_TYPE = 29
staticconstexpr

Definition at line 995 of file api_pb2.h.


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