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

#include <api_pb2.h>

Inheritance diagram for esphome::api::UpdateStateResponse:
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

uint32_t key {0}
 
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 {}
 

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 2508 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 10309 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 10283 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 10257 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 10239 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 10322 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 10297 of file api_pb2.cpp.

Field Documentation

◆ current_version

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

Definition at line 2515 of file api_pb2.h.

◆ has_progress

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

Definition at line 2513 of file api_pb2.h.

◆ in_progress

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

Definition at line 2512 of file api_pb2.h.

◆ key

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

Definition at line 2510 of file api_pb2.h.

◆ latest_version

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

Definition at line 2516 of file api_pb2.h.

◆ missing_state

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

Definition at line 2511 of file api_pb2.h.

◆ progress

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

Definition at line 2514 of file api_pb2.h.

◆ release_summary

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

Definition at line 2518 of file api_pb2.h.

◆ release_url

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

Definition at line 2519 of file api_pb2.h.

◆ title

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

Definition at line 2517 of file api_pb2.h.


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