ESPHome 2026.10.0
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)
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
uint8_t * encode (ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
 
uint32_t calculate_size () const
 
virtual const LogString * message_name () const
 

Data Fields

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

Static Protected Member Functions

static void decode_field (void *self, uint32_t tag, const uint8_t *data, proto_varint_value_t scalar)
 

Additional Inherited Members

- Public Types inherited from esphome::api::ProtoDecodableMessage
using DecodeFieldFn = void (*)(void *msg, uint32_t tag, const uint8_t *data, proto_varint_value_t scalar)
 Stores one decoded field into msg; generated per message type.
 
- Static Public Member Functions inherited from esphome::api::ProtoDecodableMessage
static void decode_fields (void *msg, const uint8_t *buffer, size_t length, DecodeFieldFn field)
 Walk buffer and hand every field to field.
 
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.
 
- Static Public Member Functions inherited from esphome::api::ProtoMessage
static uint8_t * encode_msg (const void *self, uint8_t *pos PROTO_ENCODE_DEBUG_PARAM)
 
static uint32_t calc_size_msg (const void *self)
 
- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Detailed Description

Definition at line 1626 of file api_pb2.h.

Member Function Documentation

◆ decode()

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

Definition at line 1415 of file api_pb2.cpp.

◆ decode_field()

void esphome::api::ExecuteServiceArgument::decode_field ( void * self,
uint32_t tag,
const uint8_t * data,
proto_varint_value_t scalar )
staticprotected

Definition at line 1382 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1641 of file api_pb2_dump.cpp.

Field Documentation

◆ bool_

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

Definition at line 1628 of file api_pb2.h.

◆ bool_array

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

Definition at line 1633 of file api_pb2.h.

◆ float_

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

Definition at line 1630 of file api_pb2.h.

◆ float_array

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

Definition at line 1635 of file api_pb2.h.

◆ int_

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

Definition at line 1632 of file api_pb2.h.

◆ int_array

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

Definition at line 1634 of file api_pb2.h.

◆ legacy_int

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

Definition at line 1629 of file api_pb2.h.

◆ string_

StringRef esphome::api::ExecuteServiceArgument::string_ {}

Definition at line 1631 of file api_pb2.h.

◆ string_array

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

Definition at line 1636 of file api_pb2.h.


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