ESPHome 2025.6.3
Loading...
Searching...
No Matches
esphome::api::UpdateStateResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::UpdateStateResponse:
esphome::api::StateResponseProtoMessage 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::StateResponseProtoMessage
 ~StateResponseProtoMessage () override=default
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 
void decode (const uint8_t *buffer, size_t length)
 
std::string dump () const
 

Static Public Member Functions

static constexpr const char * message_name ()
 

Data Fields

bool missing_state {false}
 
bool in_progress {false}
 
bool has_progress {false}
 
float progress {0.0f}
 
std::string current_version {}
 
std::string latest_version {}
 
std::string title {}
 
std::string release_summary {}
 
std::string release_url {}
 
- Data Fields inherited from esphome::api::StateResponseProtoMessage
uint32_t key {0}
 

Static Public Attributes

static constexpr uint16_t MESSAGE_TYPE = 117
 
static constexpr uint16_t ESTIMATED_SIZE = 61
 

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

Member Function Documentation

◆ calculate_size()

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

Implements esphome::api::ProtoMessage.

Definition at line 10314 of file api_pb2.cpp.

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 10288 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 10262 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 10244 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 10327 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 10302 of file api_pb2.cpp.

◆ message_name()

static constexpr const char * esphome::api::UpdateStateResponse::message_name ( )
inlinestaticconstexpr

Definition at line 2980 of file api_pb2.h.

Field Documentation

◆ current_version

std::string esphome::api::UpdateStateResponse::current_version {}

Definition at line 2986 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint16_t esphome::api::UpdateStateResponse::ESTIMATED_SIZE = 61
staticconstexpr

Definition at line 2978 of file api_pb2.h.

◆ has_progress

bool esphome::api::UpdateStateResponse::has_progress {false}

Definition at line 2984 of file api_pb2.h.

◆ in_progress

bool esphome::api::UpdateStateResponse::in_progress {false}

Definition at line 2983 of file api_pb2.h.

◆ latest_version

std::string esphome::api::UpdateStateResponse::latest_version {}

Definition at line 2987 of file api_pb2.h.

◆ MESSAGE_TYPE

uint16_t esphome::api::UpdateStateResponse::MESSAGE_TYPE = 117
staticconstexpr

Definition at line 2977 of file api_pb2.h.

◆ missing_state

bool esphome::api::UpdateStateResponse::missing_state {false}

Definition at line 2982 of file api_pb2.h.

◆ progress

float esphome::api::UpdateStateResponse::progress {0.0f}

Definition at line 2985 of file api_pb2.h.

◆ release_summary

std::string esphome::api::UpdateStateResponse::release_summary {}

Definition at line 2989 of file api_pb2.h.

◆ release_url

std::string esphome::api::UpdateStateResponse::release_url {}

Definition at line 2990 of file api_pb2.h.

◆ title

std::string esphome::api::UpdateStateResponse::title {}

Definition at line 2988 of file api_pb2.h.


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