ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
esphome::api::DateTimeCommandRequest Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::DateTimeCommandRequest:
esphome::api::CommandProtoMessage esphome::api::ProtoDecodableMessage esphome::api::ProtoMessage

Public Member Functions

const char * message_name () const override
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoDecodableMessage
virtual void decode (const uint8_t *buffer, size_t length)
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual void encode (ProtoWriteBuffer &buffer) const
 
virtual void calculate_size (ProtoSize &size) const
 
uint32_t calculated_size () const
 

Data Fields

uint32_t epoch_seconds {0}
 
- Data Fields inherited from esphome::api::CommandProtoMessage
uint32_t key {0}
 
uint32_t device_id {0}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 114
 
static constexpr uint8_t ESTIMATED_SIZE = 14
 

Protected Member Functions

bool decode_32bit (uint32_t field_id, Proto32Bit value) override
 
bool decode_varint (uint32_t field_id, ProtoVarInt value) override
 
- Protected Member Functions inherited from esphome::api::CommandProtoMessage
 ~CommandProtoMessage ()=default
 
- Protected Member Functions inherited from esphome::api::ProtoDecodableMessage
 ~ProtoDecodableMessage ()=default
 
virtual bool decode_length (uint32_t field_id, ProtoLengthDelimited value)
 
- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from esphome::api::ProtoDecodableMessage
static uint32_t count_repeated_field (const uint8_t *buffer, size_t length, uint32_t target_field_id)
 Count occurrences of a repeated field in a protobuf buffer.
 

Detailed Description

Definition at line 2884 of file api_pb2.h.

Member Function Documentation

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 3259 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 3247 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 2399 of file api_pb2_dump.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2889 of file api_pb2.h.

Field Documentation

◆ epoch_seconds

uint32_t esphome::api::DateTimeCommandRequest::epoch_seconds {0}

Definition at line 2891 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::DateTimeCommandRequest::ESTIMATED_SIZE = 14
staticconstexpr

Definition at line 2887 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::DateTimeCommandRequest::MESSAGE_TYPE = 114
staticconstexpr

Definition at line 2886 of file api_pb2.h.


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