ESPHome 2025.8.0b1
Loading...
Searching...
No Matches
esphome::api::HelloRequest Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::HelloRequest:
esphome::api::ProtoDecodableMessage esphome::api::ProtoMessage

Public Member Functions

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

Data Fields

std::string client_info {}
 
uint32_t api_version_major {0}
 
uint32_t api_version_minor {0}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 1
 
static constexpr uint8_t ESTIMATED_SIZE = 17
 

Protected Member Functions

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::ProtoDecodableMessage
virtual bool decode_32bit (uint32_t field_id, Proto32Bit value)
 

Detailed Description

Definition at line 324 of file api_pb2.h.

Member Function Documentation

◆ decode_length()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 23 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 10 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 659 of file api_pb2_dump.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 329 of file api_pb2.h.

Field Documentation

◆ api_version_major

uint32_t esphome::api::HelloRequest::api_version_major {0}

Definition at line 332 of file api_pb2.h.

◆ api_version_minor

uint32_t esphome::api::HelloRequest::api_version_minor {0}

Definition at line 333 of file api_pb2.h.

◆ client_info

std::string esphome::api::HelloRequest::client_info {}

Definition at line 331 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::HelloRequest::ESTIMATED_SIZE = 17
staticconstexpr

Definition at line 327 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::HelloRequest::MESSAGE_TYPE = 1
staticconstexpr

Definition at line 326 of file api_pb2.h.


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