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

#include <api_pb2.h>

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

Public Member Functions

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
 
virtual const char * message_name () const
 

Data Fields

int32_t time_seconds {0}
 
uint32_t day {0}
 
enums::DSTRuleType type {}
 
uint32_t month {0}
 
uint32_t week {0}
 
uint32_t day_of_week {0}
 

Protected Member Functions

bool decode_varint (uint32_t field_id, ProtoVarInt value) override
 
- Protected Member Functions inherited from esphome::api::ProtoDecodableMessage
 ~ProtoDecodableMessage ()=default
 
virtual bool decode_length (uint32_t field_id, ProtoLengthDelimited value)
 
virtual bool decode_32bit (uint32_t field_id, Proto32Bit 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 1125 of file api_pb2.h.

Member Function Documentation

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 957 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1271 of file api_pb2_dump.cpp.

Field Documentation

◆ day

uint32_t esphome::api::DSTRule::day {0}

Definition at line 1128 of file api_pb2.h.

◆ day_of_week

uint32_t esphome::api::DSTRule::day_of_week {0}

Definition at line 1132 of file api_pb2.h.

◆ month

uint32_t esphome::api::DSTRule::month {0}

Definition at line 1130 of file api_pb2.h.

◆ time_seconds

int32_t esphome::api::DSTRule::time_seconds {0}

Definition at line 1127 of file api_pb2.h.

◆ type

enums::DSTRuleType esphome::api::DSTRule::type {}

Definition at line 1129 of file api_pb2.h.

◆ week

uint32_t esphome::api::DSTRule::week {0}

Definition at line 1131 of file api_pb2.h.


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