ESPHome 2025.8.0b1
Loading...
Searching...
No Matches
esphome::api::ExecuteServiceArgument Class Reference

#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 1224 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 972 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 959 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 937 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 1130 of file api_pb2_dump.cpp.

Field Documentation

◆ bool_

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

Definition at line 1226 of file api_pb2.h.

◆ bool_array

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

Definition at line 1231 of file api_pb2.h.

◆ float_

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

Definition at line 1228 of file api_pb2.h.

◆ float_array

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

Definition at line 1233 of file api_pb2.h.

◆ int_

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

Definition at line 1230 of file api_pb2.h.

◆ int_array

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

Definition at line 1232 of file api_pb2.h.

◆ legacy_int

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

Definition at line 1227 of file api_pb2.h.

◆ string_

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

Definition at line 1229 of file api_pb2.h.

◆ string_array

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

Definition at line 1234 of file api_pb2.h.


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