ESPHome 2025.12.0-dev
Loading...
Searching...
No Matches
esphome::api::ExecuteServiceArgument Class Referencefinal

#include <api_pb2.h>

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

Public Member Functions

void decode (const uint8_t *buffer, size_t length) override
 
void dump_to (std::string &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoDecodableMessage
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 
virtual void encode (ProtoWriteBuffer buffer) const
 
virtual void calculate_size (ProtoSize &size) const
 
std::string dump () const
 
virtual const char * message_name () const
 

Data Fields

bool bool_ {false}
 
int32_t legacy_int {0}
 
float float_ {0.0f}
 
std::string string_ {}
 
int32_t int_ {0}
 
FixedVector< bool > bool_array {}
 
FixedVector< int32_t > int_array {}
 
FixedVector< float > float_array {}
 
FixedVector< std::string > string_array {}
 

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::ProtoDecodableMessage

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

Member Function Documentation

◆ decode()

void esphome::api::ExecuteServiceArgument::decode ( const uint8_t * buffer,
size_t length )
overridevirtual

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 1067 of file api_pb2.cpp.

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 1054 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 1041 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 1019 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1196 of file api_pb2_dump.cpp.

Field Documentation

◆ bool_

bool esphome::api::ExecuteServiceArgument::bool_ {false}

Definition at line 1277 of file api_pb2.h.

◆ bool_array

FixedVector<bool> esphome::api::ExecuteServiceArgument::bool_array {}

Definition at line 1282 of file api_pb2.h.

◆ float_

float esphome::api::ExecuteServiceArgument::float_ {0.0f}

Definition at line 1279 of file api_pb2.h.

◆ float_array

FixedVector<float> esphome::api::ExecuteServiceArgument::float_array {}

Definition at line 1284 of file api_pb2.h.

◆ int_

int32_t esphome::api::ExecuteServiceArgument::int_ {0}

Definition at line 1281 of file api_pb2.h.

◆ int_array

FixedVector<int32_t> esphome::api::ExecuteServiceArgument::int_array {}

Definition at line 1283 of file api_pb2.h.

◆ legacy_int

int32_t esphome::api::ExecuteServiceArgument::legacy_int {0}

Definition at line 1278 of file api_pb2.h.

◆ string_

std::string esphome::api::ExecuteServiceArgument::string_ {}

Definition at line 1280 of file api_pb2.h.

◆ string_array

FixedVector<std::string> esphome::api::ExecuteServiceArgument::string_array {}

Definition at line 1285 of file api_pb2.h.


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