ESPHome  2024.11.2
Public Member Functions | Data Fields | Protected Member Functions
esphome::api::ExecuteServiceArgument Class Reference

#include <api_pb2.h>

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

Public Member Functions

void encode (ProtoWriteBuffer buffer) const override
 
void dump_to (std::string &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 
void decode (const uint8_t *buffer, size_t length)
 
std::string dump () 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::ProtoMessage
virtual bool decode_64bit (uint32_t field_id, Proto64Bit value)
 

Detailed Description

Definition at line 913 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::ProtoMessage.

Definition at line 3368 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3354 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3328 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 3402 of file api_pb2.cpp.

◆ encode()

void esphome::api::ExecuteServiceArgument::encode ( ProtoWriteBuffer  buffer) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 3382 of file api_pb2.cpp.

Field Documentation

◆ bool_

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

Definition at line 915 of file api_pb2.h.

◆ bool_array

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

Definition at line 920 of file api_pb2.h.

◆ float_

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

Definition at line 917 of file api_pb2.h.

◆ float_array

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

Definition at line 922 of file api_pb2.h.

◆ int_

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

Definition at line 919 of file api_pb2.h.

◆ int_array

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

Definition at line 921 of file api_pb2.h.

◆ legacy_int

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

Definition at line 916 of file api_pb2.h.

◆ string_

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

Definition at line 918 of file api_pb2.h.

◆ string_array

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

Definition at line 923 of file api_pb2.h.


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