ESPHome  2024.9.2
Public Member Functions | Data Fields | Protected Member Functions
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 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 2251 of file api_pb2.h.

Member Function Documentation

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 8831 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 8805 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 8787 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 8858 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 8845 of file api_pb2.cpp.

Field Documentation

◆ current_version

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

Definition at line 2258 of file api_pb2.h.

◆ has_progress

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

Definition at line 2256 of file api_pb2.h.

◆ in_progress

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

Definition at line 2255 of file api_pb2.h.

◆ key

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

Definition at line 2253 of file api_pb2.h.

◆ latest_version

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

Definition at line 2259 of file api_pb2.h.

◆ missing_state

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

Definition at line 2254 of file api_pb2.h.

◆ progress

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

Definition at line 2257 of file api_pb2.h.

◆ release_summary

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

Definition at line 2261 of file api_pb2.h.

◆ release_url

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

Definition at line 2262 of file api_pb2.h.

◆ title

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

Definition at line 2260 of file api_pb2.h.


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