ESPHome 2025.10.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 dump_to (std::string &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoDecodableMessage
void decode (const uint8_t *buffer, size_t length)
 
- 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}
 
std::vector< bool > bool_array {}
 
std::vector< int32_t > int_array {}
 
std::vector< float > float_array {}
 
std::vector< 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

Detailed Description

Definition at line 1242 of file api_pb2.h.

Member Function Documentation

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoDecodableMessage.

Definition at line 1003 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 990 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 968 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 1168 of file api_pb2_dump.cpp.

Field Documentation

◆ bool_

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

Definition at line 1244 of file api_pb2.h.

◆ bool_array

std::vector<bool> esphome::api::ExecuteServiceArgument::bool_array {}

Definition at line 1249 of file api_pb2.h.

◆ float_

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

Definition at line 1246 of file api_pb2.h.

◆ float_array

std::vector<float> esphome::api::ExecuteServiceArgument::float_array {}

Definition at line 1251 of file api_pb2.h.

◆ int_

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

Definition at line 1248 of file api_pb2.h.

◆ int_array

std::vector<int32_t> esphome::api::ExecuteServiceArgument::int_array {}

Definition at line 1250 of file api_pb2.h.

◆ legacy_int

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

Definition at line 1245 of file api_pb2.h.

◆ string_

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

Definition at line 1247 of file api_pb2.h.

◆ string_array

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

Definition at line 1252 of file api_pb2.h.


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