ESPHome 2026.8.0
Loading...
Searching...
No Matches
api_pb2.h
Go to the documentation of this file.
1// This file was automatically generated with a tool.
2// See script/api_protobuf/api_protobuf.py
3#pragma once
4
6
7#include "proto.h"
8#include "api_pb2_includes.h"
9
10namespace esphome::api {
11
12namespace enums {
13
28#ifdef USE_COVER
34#endif
35#ifdef USE_FAN
40#endif
41#ifdef USE_LIGHT
55#endif
56#ifdef USE_SENSOR
64#endif
81#ifdef USE_API_USER_DEFINED_ACTIONS
98#endif
104#ifdef USE_CLIMATE
151#endif
152#ifdef USE_WATER_HEATER
162#endif
173#ifdef USE_NUMBER
179#endif
180#ifdef USE_LOCK
196#endif
197#ifdef USE_MEDIA_PLAYER
227#endif
228#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
238#endif
239#ifdef USE_BLUETOOTH_PROXY
252#endif
262#ifdef USE_VOICE_ASSISTANT
287#endif
288#ifdef USE_ALARM_CONTROL_PANEL
310#endif
311#ifdef USE_TEXT
316#endif
317#ifdef USE_VALVE
323#endif
324#ifdef USE_UPDATE
330#endif
331#ifdef USE_ZWAVE_PROXY
337#endif
338#ifdef USE_SERIAL_PROXY
356#endif
357
358} // namespace enums
359
361 public:
366#ifdef USE_ENTITY_ICON
368#endif
370#ifdef USE_DEVICES
372#endif
373
374 protected:
376};
377
379 public:
381#ifdef USE_DEVICES
383#endif
384
385 protected:
387};
388
390 public:
392#ifdef USE_DEVICES
394#endif
395
396 protected:
398};
400 public:
401 static constexpr uint8_t MESSAGE_TYPE = 1;
402 static constexpr uint8_t ESTIMATED_SIZE = 17;
403#ifdef HAS_PROTO_MESSAGE_DUMP
404 const LogString *message_name() const override { return LOG_STR("hello_request"); }
405#endif
409#ifdef HAS_PROTO_MESSAGE_DUMP
410 const char *dump_to(DumpBuffer &out) const override;
411#endif
412
413 protected:
414 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
415 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
416};
417class HelloResponse final : public ProtoMessage {
418 public:
419 static constexpr uint8_t MESSAGE_TYPE = 2;
420 static constexpr uint8_t ESTIMATED_SIZE = 26;
421#ifdef HAS_PROTO_MESSAGE_DUMP
422 const LogString *message_name() const override { return LOG_STR("hello_response"); }
423#endif
428 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
429 uint32_t calculate_size() const;
430#ifdef HAS_PROTO_MESSAGE_DUMP
431 const char *dump_to(DumpBuffer &out) const override;
432#endif
433
434 protected:
435};
437 public:
438 static constexpr uint8_t MESSAGE_TYPE = 5;
439 static constexpr uint8_t ESTIMATED_SIZE = 2;
440#ifdef HAS_PROTO_MESSAGE_DUMP
441 const LogString *message_name() const override { return LOG_STR("disconnect_request"); }
442#endif
444 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
445 uint32_t calculate_size() const;
446#ifdef HAS_PROTO_MESSAGE_DUMP
447 const char *dump_to(DumpBuffer &out) const override;
448#endif
449
450 protected:
451 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
452};
453class DisconnectResponse final : public ProtoMessage {
454 public:
455 static constexpr uint8_t MESSAGE_TYPE = 6;
456 static constexpr uint8_t ESTIMATED_SIZE = 0;
457#ifdef HAS_PROTO_MESSAGE_DUMP
458 const LogString *message_name() const override { return LOG_STR("disconnect_response"); }
459#endif
460#ifdef HAS_PROTO_MESSAGE_DUMP
461 const char *dump_to(DumpBuffer &out) const override;
462#endif
463
464 protected:
465};
466class PingRequest final : public ProtoMessage {
467 public:
468 static constexpr uint8_t MESSAGE_TYPE = 7;
469 static constexpr uint8_t ESTIMATED_SIZE = 0;
470#ifdef HAS_PROTO_MESSAGE_DUMP
471 const LogString *message_name() const override { return LOG_STR("ping_request"); }
472#endif
473#ifdef HAS_PROTO_MESSAGE_DUMP
474 const char *dump_to(DumpBuffer &out) const override;
475#endif
476
477 protected:
478};
479class PingResponse final : public ProtoMessage {
480 public:
481 static constexpr uint8_t MESSAGE_TYPE = 8;
482 static constexpr uint8_t ESTIMATED_SIZE = 0;
483#ifdef HAS_PROTO_MESSAGE_DUMP
484 const LogString *message_name() const override { return LOG_STR("ping_response"); }
485#endif
486#ifdef HAS_PROTO_MESSAGE_DUMP
487 const char *dump_to(DumpBuffer &out) const override;
488#endif
489
490 protected:
491};
492#ifdef USE_AREAS
493class AreaInfo final : public ProtoMessage {
494 public:
497 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
498 uint32_t calculate_size() const;
499#ifdef HAS_PROTO_MESSAGE_DUMP
500 const char *dump_to(DumpBuffer &out) const override;
501#endif
502
503 protected:
504};
505#endif
506#ifdef USE_DEVICES
507class DeviceInfo final : public ProtoMessage {
508 public:
512 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
513 uint32_t calculate_size() const;
514#ifdef HAS_PROTO_MESSAGE_DUMP
515 const char *dump_to(DumpBuffer &out) const override;
516#endif
517
518 protected:
519};
520#endif
521#ifdef USE_SERIAL_PROXY
522class SerialProxyInfo final : public ProtoMessage {
523 public:
526 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
527 uint32_t calculate_size() const;
528#ifdef HAS_PROTO_MESSAGE_DUMP
529 const char *dump_to(DumpBuffer &out) const override;
530#endif
531
532 protected:
533};
534#endif
535class DeviceInfoResponse final : public ProtoMessage {
536 public:
537 static constexpr uint8_t MESSAGE_TYPE = 10;
538 static constexpr uint16_t ESTIMATED_SIZE = 312;
539#ifdef HAS_PROTO_MESSAGE_DUMP
540 const LogString *message_name() const override { return LOG_STR("device_info_response"); }
541#endif
547#ifdef USE_DEEP_SLEEP
548 bool has_deep_sleep{false};
549#endif
550#ifdef ESPHOME_PROJECT_NAME
552#endif
553#ifdef ESPHOME_PROJECT_NAME
555#endif
556#ifdef USE_WEBSERVER
558#endif
559#ifdef USE_BLUETOOTH_PROXY
561#endif
564#ifdef USE_VOICE_ASSISTANT
566#endif
567#ifdef USE_AREAS
569#endif
570#ifdef USE_BLUETOOTH_PROXY
572#endif
573#ifdef USE_API_NOISE
575#endif
576#ifdef USE_DEVICES
577 std::array<DeviceInfo, ESPHOME_DEVICE_COUNT> devices{};
578#endif
579#ifdef USE_AREAS
580 std::array<AreaInfo, ESPHOME_AREA_COUNT> areas{};
581#endif
582#ifdef USE_AREAS
584#endif
585#ifdef USE_ZWAVE_PROXY
587#endif
588#ifdef USE_ZWAVE_PROXY
590#endif
591#ifdef USE_SERIAL_PROXY
592 std::array<SerialProxyInfo, SERIAL_PROXY_COUNT> serial_proxies{};
593#endif
594#ifdef USE_API_NOISE
596#endif
597 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
598 uint32_t calculate_size() const;
599#ifdef HAS_PROTO_MESSAGE_DUMP
600 const char *dump_to(DumpBuffer &out) const override;
601#endif
602
603 protected:
604};
605#ifdef USE_BLUETOOTH_PROXY
607 public:
610 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
611 uint32_t calculate_size() const;
612#ifdef HAS_PROTO_MESSAGE_DUMP
613 const char *dump_to(DumpBuffer &out) const override;
614#endif
615
616 protected:
617};
618#endif
619#ifdef USE_VOICE_ASSISTANT
621 public:
623 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
624 uint32_t calculate_size() const;
625#ifdef HAS_PROTO_MESSAGE_DUMP
626 const char *dump_to(DumpBuffer &out) const override;
627#endif
628
629 protected:
630};
631#endif
632#ifdef USE_ZWAVE_PROXY
634 public:
637 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
638 uint32_t calculate_size() const;
639#ifdef HAS_PROTO_MESSAGE_DUMP
640 const char *dump_to(DumpBuffer &out) const override;
641#endif
642
643 protected:
644};
645#endif
647 public:
648 static constexpr uint8_t MESSAGE_TYPE = 150;
649 static constexpr uint8_t ESTIMATED_SIZE = 102;
650#ifdef HAS_PROTO_MESSAGE_DUMP
651 const LogString *message_name() const override { return LOG_STR("device_capabilities_response"); }
652#endif
653#ifdef USE_BLUETOOTH_PROXY
655#endif
656#ifdef USE_VOICE_ASSISTANT
658#endif
659#ifdef USE_ZWAVE_PROXY
661#endif
662#ifdef USE_SERIAL_PROXY
663 std::array<SerialProxyInfo, SERIAL_PROXY_COUNT> serial_proxies{};
664#endif
665 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
666 uint32_t calculate_size() const;
667#ifdef HAS_PROTO_MESSAGE_DUMP
668 const char *dump_to(DumpBuffer &out) const override;
669#endif
670
671 protected:
672};
674 public:
675 static constexpr uint8_t MESSAGE_TYPE = 19;
676 static constexpr uint8_t ESTIMATED_SIZE = 0;
677#ifdef HAS_PROTO_MESSAGE_DUMP
678 const LogString *message_name() const override { return LOG_STR("list_entities_done_response"); }
679#endif
680#ifdef HAS_PROTO_MESSAGE_DUMP
681 const char *dump_to(DumpBuffer &out) const override;
682#endif
683
684 protected:
685};
686#ifdef USE_BINARY_SENSOR
688 public:
689 static constexpr uint8_t MESSAGE_TYPE = 12;
690 static constexpr uint8_t ESTIMATED_SIZE = 51;
691#ifdef HAS_PROTO_MESSAGE_DUMP
692 const LogString *message_name() const override { return LOG_STR("list_entities_binary_sensor_response"); }
693#endif
696 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
697 uint32_t calculate_size() const;
698#ifdef HAS_PROTO_MESSAGE_DUMP
699 const char *dump_to(DumpBuffer &out) const override;
700#endif
701
702 protected:
703};
705 public:
706 static constexpr uint8_t MESSAGE_TYPE = 21;
707 static constexpr uint8_t ESTIMATED_SIZE = 13;
708#ifdef HAS_PROTO_MESSAGE_DUMP
709 const LogString *message_name() const override { return LOG_STR("binary_sensor_state_response"); }
710#endif
711 bool state{false};
712 bool missing_state{false};
713 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
714 uint32_t calculate_size() const;
715#ifdef HAS_PROTO_MESSAGE_DUMP
716 const char *dump_to(DumpBuffer &out) const override;
717#endif
718
719 protected:
720};
721#endif
722#ifdef USE_COVER
724 public:
725 static constexpr uint8_t MESSAGE_TYPE = 13;
726 static constexpr uint8_t ESTIMATED_SIZE = 57;
727#ifdef HAS_PROTO_MESSAGE_DUMP
728 const LogString *message_name() const override { return LOG_STR("list_entities_cover_response"); }
729#endif
730 bool assumed_state{false};
731 bool supports_position{false};
732 bool supports_tilt{false};
734 bool supports_stop{false};
735 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
736 uint32_t calculate_size() const;
737#ifdef HAS_PROTO_MESSAGE_DUMP
738 const char *dump_to(DumpBuffer &out) const override;
739#endif
740
741 protected:
742};
744 public:
745 static constexpr uint8_t MESSAGE_TYPE = 22;
746 static constexpr uint8_t ESTIMATED_SIZE = 21;
747#ifdef HAS_PROTO_MESSAGE_DUMP
748 const LogString *message_name() const override { return LOG_STR("cover_state_response"); }
749#endif
750 float position{0.0f};
751 float tilt{0.0f};
753 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
754 uint32_t calculate_size() const;
755#ifdef HAS_PROTO_MESSAGE_DUMP
756 const char *dump_to(DumpBuffer &out) const override;
757#endif
758
759 protected:
760};
762 public:
763 static constexpr uint8_t MESSAGE_TYPE = 30;
764 static constexpr uint8_t ESTIMATED_SIZE = 25;
765#ifdef HAS_PROTO_MESSAGE_DUMP
766 const LogString *message_name() const override { return LOG_STR("cover_command_request"); }
767#endif
768 bool has_position{false};
769 float position{0.0f};
770 bool has_tilt{false};
771 float tilt{0.0f};
772 bool stop{false};
773#ifdef HAS_PROTO_MESSAGE_DUMP
774 const char *dump_to(DumpBuffer &out) const override;
775#endif
776
777 protected:
778 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
779 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
780};
781#endif
782#ifdef USE_FAN
784 public:
785 static constexpr uint8_t MESSAGE_TYPE = 14;
786 static constexpr uint8_t ESTIMATED_SIZE = 68;
787#ifdef HAS_PROTO_MESSAGE_DUMP
788 const LogString *message_name() const override { return LOG_STR("list_entities_fan_response"); }
789#endif
791 bool supports_speed{false};
794 const std::vector<const char *> *supported_preset_modes{};
795 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
796 uint32_t calculate_size() const;
797#ifdef HAS_PROTO_MESSAGE_DUMP
798 const char *dump_to(DumpBuffer &out) const override;
799#endif
800
801 protected:
802};
804 public:
805 static constexpr uint8_t MESSAGE_TYPE = 23;
806 static constexpr uint8_t ESTIMATED_SIZE = 28;
807#ifdef HAS_PROTO_MESSAGE_DUMP
808 const LogString *message_name() const override { return LOG_STR("fan_state_response"); }
809#endif
810 bool state{false};
811 bool oscillating{false};
813 int32_t speed_level{0};
815 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
816 uint32_t calculate_size() const;
817#ifdef HAS_PROTO_MESSAGE_DUMP
818 const char *dump_to(DumpBuffer &out) const override;
819#endif
820
821 protected:
822};
824 public:
825 static constexpr uint8_t MESSAGE_TYPE = 31;
826 static constexpr uint8_t ESTIMATED_SIZE = 38;
827#ifdef HAS_PROTO_MESSAGE_DUMP
828 const LogString *message_name() const override { return LOG_STR("fan_command_request"); }
829#endif
830 bool has_state{false};
831 bool state{false};
832 bool has_oscillating{false};
833 bool oscillating{false};
834 bool has_direction{false};
836 bool has_speed_level{false};
837 int32_t speed_level{0};
838 bool has_preset_mode{false};
840#ifdef HAS_PROTO_MESSAGE_DUMP
841 const char *dump_to(DumpBuffer &out) const override;
842#endif
843
844 protected:
845 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
846 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
847 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
848};
849#endif
850#ifdef USE_LIGHT
852 public:
853 static constexpr uint8_t MESSAGE_TYPE = 15;
854 static constexpr uint8_t ESTIMATED_SIZE = 73;
855#ifdef HAS_PROTO_MESSAGE_DUMP
856 const LogString *message_name() const override { return LOG_STR("list_entities_light_response"); }
857#endif
859 float min_mireds{0.0f};
860 float max_mireds{0.0f};
862 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
863 uint32_t calculate_size() const;
864#ifdef HAS_PROTO_MESSAGE_DUMP
865 const char *dump_to(DumpBuffer &out) const override;
866#endif
867
868 protected:
869};
871 public:
872 static constexpr uint8_t MESSAGE_TYPE = 24;
873 static constexpr uint8_t ESTIMATED_SIZE = 67;
874#ifdef HAS_PROTO_MESSAGE_DUMP
875 const LogString *message_name() const override { return LOG_STR("light_state_response"); }
876#endif
877 bool state{false};
878 float brightness{0.0f};
880 float color_brightness{0.0f};
881 float red{0.0f};
882 float green{0.0f};
883 float blue{0.0f};
884 float white{0.0f};
885 float color_temperature{0.0f};
886 float cold_white{0.0f};
887 float warm_white{0.0f};
889 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
890 uint32_t calculate_size() const;
891#ifdef HAS_PROTO_MESSAGE_DUMP
892 const char *dump_to(DumpBuffer &out) const override;
893#endif
894
895 protected:
896};
898 public:
899 static constexpr uint8_t MESSAGE_TYPE = 32;
900 static constexpr uint8_t ESTIMATED_SIZE = 112;
901#ifdef HAS_PROTO_MESSAGE_DUMP
902 const LogString *message_name() const override { return LOG_STR("light_command_request"); }
903#endif
904 bool has_state{false};
905 bool state{false};
906 bool has_brightness{false};
907 float brightness{0.0f};
908 bool has_color_mode{false};
911 float color_brightness{0.0f};
912 bool has_rgb{false};
913 float red{0.0f};
914 float green{0.0f};
915 float blue{0.0f};
916 bool has_white{false};
917 float white{0.0f};
919 float color_temperature{0.0f};
920 bool has_cold_white{false};
921 float cold_white{0.0f};
922 bool has_warm_white{false};
923 float warm_white{0.0f};
926 bool has_flash_length{false};
928 bool has_effect{false};
930#ifdef HAS_PROTO_MESSAGE_DUMP
931 const char *dump_to(DumpBuffer &out) const override;
932#endif
933
934 protected:
935 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
936 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
937 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
938};
939#endif
940#ifdef USE_SENSOR
942 public:
943 static constexpr uint8_t MESSAGE_TYPE = 16;
944 static constexpr uint8_t ESTIMATED_SIZE = 66;
945#ifdef HAS_PROTO_MESSAGE_DUMP
946 const LogString *message_name() const override { return LOG_STR("list_entities_sensor_response"); }
947#endif
950 bool force_update{false};
953 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
954 uint32_t calculate_size() const;
955#ifdef HAS_PROTO_MESSAGE_DUMP
956 const char *dump_to(DumpBuffer &out) const override;
957#endif
958
959 protected:
960};
962 public:
963 static constexpr uint8_t MESSAGE_TYPE = 25;
964 static constexpr uint8_t ESTIMATED_SIZE = 16;
965#ifdef HAS_PROTO_MESSAGE_DUMP
966 const LogString *message_name() const override { return LOG_STR("sensor_state_response"); }
967#endif
968 float state{0.0f};
969 bool missing_state{false};
970 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
972#ifdef HAS_PROTO_MESSAGE_DUMP
973 const char *dump_to(DumpBuffer &out) const override;
974#endif
975
976 protected:
977};
978#endif
979#ifdef USE_SWITCH
981 public:
982 static constexpr uint8_t MESSAGE_TYPE = 17;
983 static constexpr uint8_t ESTIMATED_SIZE = 51;
984#ifdef HAS_PROTO_MESSAGE_DUMP
985 const LogString *message_name() const override { return LOG_STR("list_entities_switch_response"); }
986#endif
987 bool assumed_state{false};
989 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
991#ifdef HAS_PROTO_MESSAGE_DUMP
992 const char *dump_to(DumpBuffer &out) const override;
993#endif
994
995 protected:
996};
998 public:
999 static constexpr uint8_t MESSAGE_TYPE = 26;
1000 static constexpr uint8_t ESTIMATED_SIZE = 11;
1001#ifdef HAS_PROTO_MESSAGE_DUMP
1002 const LogString *message_name() const override { return LOG_STR("switch_state_response"); }
1003#endif
1004 bool state{false};
1005 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1007#ifdef HAS_PROTO_MESSAGE_DUMP
1008 const char *dump_to(DumpBuffer &out) const override;
1009#endif
1010
1011 protected:
1012};
1014 public:
1015 static constexpr uint8_t MESSAGE_TYPE = 33;
1016 static constexpr uint8_t ESTIMATED_SIZE = 11;
1017#ifdef HAS_PROTO_MESSAGE_DUMP
1018 const LogString *message_name() const override { return LOG_STR("switch_command_request"); }
1019#endif
1020 bool state{false};
1021#ifdef HAS_PROTO_MESSAGE_DUMP
1022 const char *dump_to(DumpBuffer &out) const override;
1023#endif
1024
1025 protected:
1026 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1027 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1028};
1029#endif
1030#ifdef USE_TEXT_SENSOR
1032 public:
1033 static constexpr uint8_t MESSAGE_TYPE = 18;
1034 static constexpr uint8_t ESTIMATED_SIZE = 49;
1035#ifdef HAS_PROTO_MESSAGE_DUMP
1036 const LogString *message_name() const override { return LOG_STR("list_entities_text_sensor_response"); }
1037#endif
1039 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1040 uint32_t calculate_size() const;
1041#ifdef HAS_PROTO_MESSAGE_DUMP
1042 const char *dump_to(DumpBuffer &out) const override;
1043#endif
1044
1045 protected:
1046};
1048 public:
1049 static constexpr uint8_t MESSAGE_TYPE = 27;
1050 static constexpr uint8_t ESTIMATED_SIZE = 20;
1051#ifdef HAS_PROTO_MESSAGE_DUMP
1052 const LogString *message_name() const override { return LOG_STR("text_sensor_state_response"); }
1053#endif
1055 bool missing_state{false};
1056 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1057 uint32_t calculate_size() const;
1058#ifdef HAS_PROTO_MESSAGE_DUMP
1059 const char *dump_to(DumpBuffer &out) const override;
1060#endif
1061
1062 protected:
1063};
1064#endif
1066 public:
1067 static constexpr uint8_t MESSAGE_TYPE = 28;
1068 static constexpr uint8_t ESTIMATED_SIZE = 4;
1069#ifdef HAS_PROTO_MESSAGE_DUMP
1070 const LogString *message_name() const override { return LOG_STR("subscribe_logs_request"); }
1071#endif
1073 bool dump_config{false};
1074#ifdef HAS_PROTO_MESSAGE_DUMP
1075 const char *dump_to(DumpBuffer &out) const override;
1076#endif
1077
1078 protected:
1079 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1080};
1082 public:
1083 static constexpr uint8_t MESSAGE_TYPE = 29;
1084 static constexpr uint8_t ESTIMATED_SIZE = 21;
1085#ifdef HAS_PROTO_MESSAGE_DUMP
1086 const LogString *message_name() const override { return LOG_STR("subscribe_logs_response"); }
1087#endif
1089 const uint8_t *message_ptr_{nullptr};
1090 size_t message_len_{0};
1091 void set_message(const uint8_t *data, size_t len) {
1092 this->message_ptr_ = data;
1093 this->message_len_ = len;
1094 }
1095 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1097#ifdef HAS_PROTO_MESSAGE_DUMP
1098 const char *dump_to(DumpBuffer &out) const override;
1099#endif
1100
1101 protected:
1102};
1103#ifdef USE_API_NOISE
1105 public:
1106 static constexpr uint8_t MESSAGE_TYPE = 124;
1107 static constexpr uint8_t ESTIMATED_SIZE = 19;
1108#ifdef HAS_PROTO_MESSAGE_DUMP
1109 const LogString *message_name() const override { return LOG_STR("noise_encryption_set_key_request"); }
1110#endif
1111 const uint8_t *key{nullptr};
1112 uint16_t key_len{0};
1113#ifdef HAS_PROTO_MESSAGE_DUMP
1114 const char *dump_to(DumpBuffer &out) const override;
1115#endif
1116
1117 protected:
1118 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1119};
1121 public:
1122 static constexpr uint8_t MESSAGE_TYPE = 125;
1123 static constexpr uint8_t ESTIMATED_SIZE = 2;
1124#ifdef HAS_PROTO_MESSAGE_DUMP
1125 const LogString *message_name() const override { return LOG_STR("noise_encryption_set_key_response"); }
1126#endif
1127 bool success{false};
1128 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1129 uint32_t calculate_size() const;
1130#ifdef HAS_PROTO_MESSAGE_DUMP
1131 const char *dump_to(DumpBuffer &out) const override;
1132#endif
1133
1134 protected:
1135};
1136#endif
1137#ifdef USE_API_HOMEASSISTANT_SERVICES
1139 public:
1142 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1143 uint32_t calculate_size() const;
1144#ifdef HAS_PROTO_MESSAGE_DUMP
1145 const char *dump_to(DumpBuffer &out) const override;
1146#endif
1147
1148 protected:
1149};
1151 public:
1152 static constexpr uint8_t MESSAGE_TYPE = 35;
1153 static constexpr uint8_t ESTIMATED_SIZE = 128;
1154#ifdef HAS_PROTO_MESSAGE_DUMP
1155 const LogString *message_name() const override { return LOG_STR("homeassistant_action_request"); }
1156#endif
1161 bool is_event{false};
1162#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
1164#endif
1165#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1166 bool wants_response{false};
1167#endif
1168#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1170#endif
1171 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1172 uint32_t calculate_size() const;
1173#ifdef HAS_PROTO_MESSAGE_DUMP
1174 const char *dump_to(DumpBuffer &out) const override;
1175#endif
1176
1177 protected:
1178};
1179#endif
1180#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
1182 public:
1183 static constexpr uint8_t MESSAGE_TYPE = 130;
1184 static constexpr uint8_t ESTIMATED_SIZE = 34;
1185#ifdef HAS_PROTO_MESSAGE_DUMP
1186 const LogString *message_name() const override { return LOG_STR("homeassistant_action_response"); }
1187#endif
1189 bool success{false};
1191#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1192 const uint8_t *response_data{nullptr};
1194#endif
1195#ifdef HAS_PROTO_MESSAGE_DUMP
1196 const char *dump_to(DumpBuffer &out) const override;
1197#endif
1198
1199 protected:
1200 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1201 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1202};
1203#endif
1204#ifdef USE_API_HOMEASSISTANT_STATES
1206 public:
1207 static constexpr uint8_t MESSAGE_TYPE = 39;
1208 static constexpr uint8_t ESTIMATED_SIZE = 20;
1209#ifdef HAS_PROTO_MESSAGE_DUMP
1210 const LogString *message_name() const override { return LOG_STR("subscribe_home_assistant_state_response"); }
1211#endif
1214 bool once{false};
1215 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1216 uint32_t calculate_size() const;
1217#ifdef HAS_PROTO_MESSAGE_DUMP
1218 const char *dump_to(DumpBuffer &out) const override;
1219#endif
1220
1221 protected:
1222};
1224 public:
1225 static constexpr uint8_t MESSAGE_TYPE = 40;
1226 static constexpr uint8_t ESTIMATED_SIZE = 27;
1227#ifdef HAS_PROTO_MESSAGE_DUMP
1228 const LogString *message_name() const override { return LOG_STR("home_assistant_state_response"); }
1229#endif
1233#ifdef HAS_PROTO_MESSAGE_DUMP
1234 const char *dump_to(DumpBuffer &out) const override;
1235#endif
1236
1237 protected:
1238 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1239};
1240#endif
1241class GetTimeRequest final : public ProtoMessage {
1242 public:
1243 static constexpr uint8_t MESSAGE_TYPE = 36;
1244 static constexpr uint8_t ESTIMATED_SIZE = 0;
1245#ifdef HAS_PROTO_MESSAGE_DUMP
1246 const LogString *message_name() const override { return LOG_STR("get_time_request"); }
1247#endif
1248#ifdef HAS_PROTO_MESSAGE_DUMP
1249 const char *dump_to(DumpBuffer &out) const override;
1250#endif
1251
1252 protected:
1253};
1254class DSTRule final : public ProtoDecodableMessage {
1255 public:
1256 int32_t time_seconds{0};
1262#ifdef HAS_PROTO_MESSAGE_DUMP
1263 const char *dump_to(DumpBuffer &out) const override;
1264#endif
1265
1266 protected:
1267 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1268};
1270 public:
1275#ifdef HAS_PROTO_MESSAGE_DUMP
1276 const char *dump_to(DumpBuffer &out) const override;
1277#endif
1278
1279 protected:
1280 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1281 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1282};
1284 public:
1285 static constexpr uint8_t MESSAGE_TYPE = 37;
1286 static constexpr uint8_t ESTIMATED_SIZE = 31;
1287#ifdef HAS_PROTO_MESSAGE_DUMP
1288 const LogString *message_name() const override { return LOG_STR("get_time_response"); }
1289#endif
1293#ifdef HAS_PROTO_MESSAGE_DUMP
1294 const char *dump_to(DumpBuffer &out) const override;
1295#endif
1296
1297 protected:
1298 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1299 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1300};
1301#ifdef USE_API_USER_DEFINED_ACTIONS
1303 public:
1306 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1307 uint32_t calculate_size() const;
1308#ifdef HAS_PROTO_MESSAGE_DUMP
1309 const char *dump_to(DumpBuffer &out) const override;
1310#endif
1311
1312 protected:
1313};
1315 public:
1316 static constexpr uint8_t MESSAGE_TYPE = 41;
1317 static constexpr uint8_t ESTIMATED_SIZE = 50;
1318#ifdef HAS_PROTO_MESSAGE_DUMP
1319 const LogString *message_name() const override { return LOG_STR("list_entities_services_response"); }
1320#endif
1325 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1326 uint32_t calculate_size() const;
1327#ifdef HAS_PROTO_MESSAGE_DUMP
1328 const char *dump_to(DumpBuffer &out) const override;
1329#endif
1330
1331 protected:
1332};
1334 public:
1335 bool bool_{false};
1336 int32_t legacy_int{0};
1337 float float_{0.0f};
1339 int32_t int_{0};
1344 void decode(const uint8_t *buffer, size_t length);
1345#ifdef HAS_PROTO_MESSAGE_DUMP
1346 const char *dump_to(DumpBuffer &out) const override;
1347#endif
1348
1349 protected:
1350 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1351 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1352 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1353};
1355 public:
1356 static constexpr uint8_t MESSAGE_TYPE = 42;
1357 static constexpr uint8_t ESTIMATED_SIZE = 45;
1358#ifdef HAS_PROTO_MESSAGE_DUMP
1359 const LogString *message_name() const override { return LOG_STR("execute_service_request"); }
1360#endif
1363#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1365#endif
1366#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1367 bool return_response{false};
1368#endif
1369 void decode(const uint8_t *buffer, size_t length);
1370#ifdef HAS_PROTO_MESSAGE_DUMP
1371 const char *dump_to(DumpBuffer &out) const override;
1372#endif
1373
1374 protected:
1375 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1376 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1377 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1378};
1379#endif
1380#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1382 public:
1383 static constexpr uint8_t MESSAGE_TYPE = 131;
1384 static constexpr uint8_t ESTIMATED_SIZE = 34;
1385#ifdef HAS_PROTO_MESSAGE_DUMP
1386 const LogString *message_name() const override { return LOG_STR("execute_service_response"); }
1387#endif
1389 bool success{false};
1391#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES_JSON
1392 const uint8_t *response_data{nullptr};
1394#endif
1395 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1396 uint32_t calculate_size() const;
1397#ifdef HAS_PROTO_MESSAGE_DUMP
1398 const char *dump_to(DumpBuffer &out) const override;
1399#endif
1400
1401 protected:
1402};
1403#endif
1404#ifdef USE_CAMERA
1406 public:
1407 static constexpr uint8_t MESSAGE_TYPE = 43;
1408 static constexpr uint8_t ESTIMATED_SIZE = 40;
1409#ifdef HAS_PROTO_MESSAGE_DUMP
1410 const LogString *message_name() const override { return LOG_STR("list_entities_camera_response"); }
1411#endif
1412 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1413 uint32_t calculate_size() const;
1414#ifdef HAS_PROTO_MESSAGE_DUMP
1415 const char *dump_to(DumpBuffer &out) const override;
1416#endif
1417
1418 protected:
1419};
1421 public:
1422 static constexpr uint8_t MESSAGE_TYPE = 44;
1423 static constexpr uint8_t ESTIMATED_SIZE = 30;
1424#ifdef HAS_PROTO_MESSAGE_DUMP
1425 const LogString *message_name() const override { return LOG_STR("camera_image_response"); }
1426#endif
1427 const uint8_t *data_ptr_{nullptr};
1428 size_t data_len_{0};
1429 void set_data(const uint8_t *data, size_t len) {
1430 this->data_ptr_ = data;
1431 this->data_len_ = len;
1432 }
1433 bool done{false};
1434 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1435 uint32_t calculate_size() const;
1436#ifdef HAS_PROTO_MESSAGE_DUMP
1437 const char *dump_to(DumpBuffer &out) const override;
1438#endif
1439
1440 protected:
1441};
1443 public:
1444 static constexpr uint8_t MESSAGE_TYPE = 45;
1445 static constexpr uint8_t ESTIMATED_SIZE = 4;
1446#ifdef HAS_PROTO_MESSAGE_DUMP
1447 const LogString *message_name() const override { return LOG_STR("camera_image_request"); }
1448#endif
1449 bool single{false};
1450 bool stream{false};
1451#ifdef HAS_PROTO_MESSAGE_DUMP
1452 const char *dump_to(DumpBuffer &out) const override;
1453#endif
1454
1455 protected:
1456 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1457};
1458#endif
1459#ifdef USE_CLIMATE
1461 public:
1462 static constexpr uint8_t MESSAGE_TYPE = 46;
1463 static constexpr uint8_t ESTIMATED_SIZE = 153;
1464#ifdef HAS_PROTO_MESSAGE_DUMP
1465 const LogString *message_name() const override { return LOG_STR("list_entities_climate_response"); }
1466#endif
1473 bool supports_action{false};
1476 const std::vector<const char *> *supported_custom_fan_modes{};
1478 const std::vector<const char *> *supported_custom_presets{};
1486 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1487 uint32_t calculate_size() const;
1488#ifdef HAS_PROTO_MESSAGE_DUMP
1489 const char *dump_to(DumpBuffer &out) const override;
1490#endif
1491
1492 protected:
1493};
1495 public:
1496 static constexpr uint8_t MESSAGE_TYPE = 47;
1497 static constexpr uint8_t ESTIMATED_SIZE = 68;
1498#ifdef HAS_PROTO_MESSAGE_DUMP
1499 const LogString *message_name() const override { return LOG_STR("climate_state_response"); }
1500#endif
1512 float current_humidity{0.0f};
1513 float target_humidity{0.0f};
1514 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1515 uint32_t calculate_size() const;
1516#ifdef HAS_PROTO_MESSAGE_DUMP
1517 const char *dump_to(DumpBuffer &out) const override;
1518#endif
1519
1520 protected:
1521};
1523 public:
1524 static constexpr uint8_t MESSAGE_TYPE = 48;
1525 static constexpr uint8_t ESTIMATED_SIZE = 84;
1526#ifdef HAS_PROTO_MESSAGE_DUMP
1527 const LogString *message_name() const override { return LOG_STR("climate_command_request"); }
1528#endif
1529 bool has_mode{false};
1537 bool has_fan_mode{false};
1539 bool has_swing_mode{false};
1543 bool has_preset{false};
1548 float target_humidity{0.0f};
1549#ifdef HAS_PROTO_MESSAGE_DUMP
1550 const char *dump_to(DumpBuffer &out) const override;
1551#endif
1552
1553 protected:
1554 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1555 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1556 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1557};
1558#endif
1559#ifdef USE_WATER_HEATER
1561 public:
1562 static constexpr uint8_t MESSAGE_TYPE = 132;
1563 static constexpr uint8_t ESTIMATED_SIZE = 65;
1564#ifdef HAS_PROTO_MESSAGE_DUMP
1565 const LogString *message_name() const override { return LOG_STR("list_entities_water_heater_response"); }
1566#endif
1567 float min_temperature{0.0f};
1568 float max_temperature{0.0f};
1573 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1574 uint32_t calculate_size() const;
1575#ifdef HAS_PROTO_MESSAGE_DUMP
1576 const char *dump_to(DumpBuffer &out) const override;
1577#endif
1578
1579 protected:
1580};
1582 public:
1583 static constexpr uint8_t MESSAGE_TYPE = 133;
1584 static constexpr uint8_t ESTIMATED_SIZE = 35;
1585#ifdef HAS_PROTO_MESSAGE_DUMP
1586 const LogString *message_name() const override { return LOG_STR("water_heater_state_response"); }
1587#endif
1594 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1595 uint32_t calculate_size() const;
1596#ifdef HAS_PROTO_MESSAGE_DUMP
1597 const char *dump_to(DumpBuffer &out) const override;
1598#endif
1599
1600 protected:
1601};
1603 public:
1604 static constexpr uint8_t MESSAGE_TYPE = 134;
1605 static constexpr uint8_t ESTIMATED_SIZE = 34;
1606#ifdef HAS_PROTO_MESSAGE_DUMP
1607 const LogString *message_name() const override { return LOG_STR("water_heater_command_request"); }
1608#endif
1615#ifdef HAS_PROTO_MESSAGE_DUMP
1616 const char *dump_to(DumpBuffer &out) const override;
1617#endif
1618
1619 protected:
1620 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1621 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1622};
1623#endif
1624#ifdef USE_NUMBER
1626 public:
1627 static constexpr uint8_t MESSAGE_TYPE = 49;
1628 static constexpr uint8_t ESTIMATED_SIZE = 75;
1629#ifdef HAS_PROTO_MESSAGE_DUMP
1630 const LogString *message_name() const override { return LOG_STR("list_entities_number_response"); }
1631#endif
1632 float min_value{0.0f};
1633 float max_value{0.0f};
1634 float step{0.0f};
1638 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1639 uint32_t calculate_size() const;
1640#ifdef HAS_PROTO_MESSAGE_DUMP
1641 const char *dump_to(DumpBuffer &out) const override;
1642#endif
1643
1644 protected:
1645};
1647 public:
1648 static constexpr uint8_t MESSAGE_TYPE = 50;
1649 static constexpr uint8_t ESTIMATED_SIZE = 16;
1650#ifdef HAS_PROTO_MESSAGE_DUMP
1651 const LogString *message_name() const override { return LOG_STR("number_state_response"); }
1652#endif
1653 float state{0.0f};
1654 bool missing_state{false};
1655 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1656 uint32_t calculate_size() const;
1657#ifdef HAS_PROTO_MESSAGE_DUMP
1658 const char *dump_to(DumpBuffer &out) const override;
1659#endif
1660
1661 protected:
1662};
1664 public:
1665 static constexpr uint8_t MESSAGE_TYPE = 51;
1666 static constexpr uint8_t ESTIMATED_SIZE = 14;
1667#ifdef HAS_PROTO_MESSAGE_DUMP
1668 const LogString *message_name() const override { return LOG_STR("number_command_request"); }
1669#endif
1670 float state{0.0f};
1671#ifdef HAS_PROTO_MESSAGE_DUMP
1672 const char *dump_to(DumpBuffer &out) const override;
1673#endif
1674
1675 protected:
1676 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1677 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1678};
1679#endif
1680#ifdef USE_SELECT
1682 public:
1683 static constexpr uint8_t MESSAGE_TYPE = 52;
1684 static constexpr uint8_t ESTIMATED_SIZE = 58;
1685#ifdef HAS_PROTO_MESSAGE_DUMP
1686 const LogString *message_name() const override { return LOG_STR("list_entities_select_response"); }
1687#endif
1689 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1690 uint32_t calculate_size() const;
1691#ifdef HAS_PROTO_MESSAGE_DUMP
1692 const char *dump_to(DumpBuffer &out) const override;
1693#endif
1694
1695 protected:
1696};
1698 public:
1699 static constexpr uint8_t MESSAGE_TYPE = 53;
1700 static constexpr uint8_t ESTIMATED_SIZE = 20;
1701#ifdef HAS_PROTO_MESSAGE_DUMP
1702 const LogString *message_name() const override { return LOG_STR("select_state_response"); }
1703#endif
1705 bool missing_state{false};
1706 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1707 uint32_t calculate_size() const;
1708#ifdef HAS_PROTO_MESSAGE_DUMP
1709 const char *dump_to(DumpBuffer &out) const override;
1710#endif
1711
1712 protected:
1713};
1715 public:
1716 static constexpr uint8_t MESSAGE_TYPE = 54;
1717 static constexpr uint8_t ESTIMATED_SIZE = 18;
1718#ifdef HAS_PROTO_MESSAGE_DUMP
1719 const LogString *message_name() const override { return LOG_STR("select_command_request"); }
1720#endif
1722#ifdef HAS_PROTO_MESSAGE_DUMP
1723 const char *dump_to(DumpBuffer &out) const override;
1724#endif
1725
1726 protected:
1727 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1728 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1729 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1730};
1731#endif
1732#ifdef USE_SIREN
1734 public:
1735 static constexpr uint8_t MESSAGE_TYPE = 55;
1736 static constexpr uint8_t ESTIMATED_SIZE = 62;
1737#ifdef HAS_PROTO_MESSAGE_DUMP
1738 const LogString *message_name() const override { return LOG_STR("list_entities_siren_response"); }
1739#endif
1742 bool supports_volume{false};
1743 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1744 uint32_t calculate_size() const;
1745#ifdef HAS_PROTO_MESSAGE_DUMP
1746 const char *dump_to(DumpBuffer &out) const override;
1747#endif
1748
1749 protected:
1750};
1752 public:
1753 static constexpr uint8_t MESSAGE_TYPE = 56;
1754 static constexpr uint8_t ESTIMATED_SIZE = 11;
1755#ifdef HAS_PROTO_MESSAGE_DUMP
1756 const LogString *message_name() const override { return LOG_STR("siren_state_response"); }
1757#endif
1758 bool state{false};
1759 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1760 uint32_t calculate_size() const;
1761#ifdef HAS_PROTO_MESSAGE_DUMP
1762 const char *dump_to(DumpBuffer &out) const override;
1763#endif
1764
1765 protected:
1766};
1768 public:
1769 static constexpr uint8_t MESSAGE_TYPE = 57;
1770 static constexpr uint8_t ESTIMATED_SIZE = 37;
1771#ifdef HAS_PROTO_MESSAGE_DUMP
1772 const LogString *message_name() const override { return LOG_STR("siren_command_request"); }
1773#endif
1774 bool has_state{false};
1775 bool state{false};
1776 bool has_tone{false};
1778 bool has_duration{false};
1780 bool has_volume{false};
1781 float volume{0.0f};
1782#ifdef HAS_PROTO_MESSAGE_DUMP
1783 const char *dump_to(DumpBuffer &out) const override;
1784#endif
1785
1786 protected:
1787 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1788 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1789 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1790};
1791#endif
1792#ifdef USE_LOCK
1794 public:
1795 static constexpr uint8_t MESSAGE_TYPE = 58;
1796 static constexpr uint8_t ESTIMATED_SIZE = 55;
1797#ifdef HAS_PROTO_MESSAGE_DUMP
1798 const LogString *message_name() const override { return LOG_STR("list_entities_lock_response"); }
1799#endif
1800 bool assumed_state{false};
1801 bool supports_open{false};
1802 bool requires_code{false};
1804 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1805 uint32_t calculate_size() const;
1806#ifdef HAS_PROTO_MESSAGE_DUMP
1807 const char *dump_to(DumpBuffer &out) const override;
1808#endif
1809
1810 protected:
1811};
1813 public:
1814 static constexpr uint8_t MESSAGE_TYPE = 59;
1815 static constexpr uint8_t ESTIMATED_SIZE = 11;
1816#ifdef HAS_PROTO_MESSAGE_DUMP
1817 const LogString *message_name() const override { return LOG_STR("lock_state_response"); }
1818#endif
1820 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1821 uint32_t calculate_size() const;
1822#ifdef HAS_PROTO_MESSAGE_DUMP
1823 const char *dump_to(DumpBuffer &out) const override;
1824#endif
1825
1826 protected:
1827};
1829 public:
1830 static constexpr uint8_t MESSAGE_TYPE = 60;
1831 static constexpr uint8_t ESTIMATED_SIZE = 22;
1832#ifdef HAS_PROTO_MESSAGE_DUMP
1833 const LogString *message_name() const override { return LOG_STR("lock_command_request"); }
1834#endif
1836 bool has_code{false};
1838#ifdef HAS_PROTO_MESSAGE_DUMP
1839 const char *dump_to(DumpBuffer &out) const override;
1840#endif
1841
1842 protected:
1843 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1844 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1845 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1846};
1847#endif
1848#ifdef USE_BUTTON
1850 public:
1851 static constexpr uint8_t MESSAGE_TYPE = 61;
1852 static constexpr uint8_t ESTIMATED_SIZE = 49;
1853#ifdef HAS_PROTO_MESSAGE_DUMP
1854 const LogString *message_name() const override { return LOG_STR("list_entities_button_response"); }
1855#endif
1857 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1858 uint32_t calculate_size() const;
1859#ifdef HAS_PROTO_MESSAGE_DUMP
1860 const char *dump_to(DumpBuffer &out) const override;
1861#endif
1862
1863 protected:
1864};
1866 public:
1867 static constexpr uint8_t MESSAGE_TYPE = 62;
1868 static constexpr uint8_t ESTIMATED_SIZE = 9;
1869#ifdef HAS_PROTO_MESSAGE_DUMP
1870 const LogString *message_name() const override { return LOG_STR("button_command_request"); }
1871#endif
1872#ifdef HAS_PROTO_MESSAGE_DUMP
1873 const char *dump_to(DumpBuffer &out) const override;
1874#endif
1875
1876 protected:
1877 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1878 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1879};
1880#endif
1881#ifdef USE_MEDIA_PLAYER
1883 public:
1889 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1890 uint32_t calculate_size() const;
1891#ifdef HAS_PROTO_MESSAGE_DUMP
1892 const char *dump_to(DumpBuffer &out) const override;
1893#endif
1894
1895 protected:
1896};
1898 public:
1899 static constexpr uint8_t MESSAGE_TYPE = 63;
1900 static constexpr uint8_t ESTIMATED_SIZE = 80;
1901#ifdef HAS_PROTO_MESSAGE_DUMP
1902 const LogString *message_name() const override { return LOG_STR("list_entities_media_player_response"); }
1903#endif
1904 bool supports_pause{false};
1905 std::vector<MediaPlayerSupportedFormat> supported_formats{};
1907 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1908 uint32_t calculate_size() const;
1909#ifdef HAS_PROTO_MESSAGE_DUMP
1910 const char *dump_to(DumpBuffer &out) const override;
1911#endif
1912
1913 protected:
1914};
1916 public:
1917 static constexpr uint8_t MESSAGE_TYPE = 64;
1918 static constexpr uint8_t ESTIMATED_SIZE = 18;
1919#ifdef HAS_PROTO_MESSAGE_DUMP
1920 const LogString *message_name() const override { return LOG_STR("media_player_state_response"); }
1921#endif
1923 float volume{0.0f};
1924 bool muted{false};
1925 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1926 uint32_t calculate_size() const;
1927#ifdef HAS_PROTO_MESSAGE_DUMP
1928 const char *dump_to(DumpBuffer &out) const override;
1929#endif
1930
1931 protected:
1932};
1934 public:
1935 static constexpr uint8_t MESSAGE_TYPE = 65;
1936 static constexpr uint8_t ESTIMATED_SIZE = 35;
1937#ifdef HAS_PROTO_MESSAGE_DUMP
1938 const LogString *message_name() const override { return LOG_STR("media_player_command_request"); }
1939#endif
1940 bool has_command{false};
1942 bool has_volume{false};
1943 float volume{0.0f};
1944 bool has_media_url{false};
1946 bool has_announcement{false};
1947 bool announcement{false};
1948#ifdef HAS_PROTO_MESSAGE_DUMP
1949 const char *dump_to(DumpBuffer &out) const override;
1950#endif
1951
1952 protected:
1953 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1954 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1955 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1956};
1957#endif
1958#ifdef USE_BLUETOOTH_PROXY
1960 public:
1961 static constexpr uint8_t MESSAGE_TYPE = 66;
1962 static constexpr uint8_t ESTIMATED_SIZE = 4;
1963#ifdef HAS_PROTO_MESSAGE_DUMP
1964 const LogString *message_name() const override { return LOG_STR("subscribe_bluetooth_le_advertisements_request"); }
1965#endif
1967#ifdef HAS_PROTO_MESSAGE_DUMP
1968 const char *dump_to(DumpBuffer &out) const override;
1969#endif
1970
1971 protected:
1972 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1973};
1975 public:
1976 uint64_t address{0};
1977 int32_t rssi{0};
1979 uint8_t data[62]{};
1980 uint8_t data_len{0};
1981#ifdef HAS_PROTO_MESSAGE_DUMP
1982 const char *dump_to(DumpBuffer &out) const override;
1983#endif
1984
1985 protected:
1986};
1988 public:
1989 static constexpr uint8_t MESSAGE_TYPE = 93;
1990 static constexpr uint8_t ESTIMATED_SIZE = 136;
1991#ifdef HAS_PROTO_MESSAGE_DUMP
1992 const LogString *message_name() const override { return LOG_STR("bluetooth_le_raw_advertisements_response"); }
1993#endif
1994 std::array<BluetoothLERawAdvertisement, BLUETOOTH_PROXY_ADVERTISEMENT_BATCH_SIZE> advertisements{};
1996 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
1998#ifdef HAS_PROTO_MESSAGE_DUMP
1999 const char *dump_to(DumpBuffer &out) const override;
2000#endif
2001
2002 protected:
2003};
2004#endif
2005#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
2007 public:
2008 static constexpr uint8_t MESSAGE_TYPE = 68;
2009 static constexpr uint8_t ESTIMATED_SIZE = 12;
2010#ifdef HAS_PROTO_MESSAGE_DUMP
2011 const LogString *message_name() const override { return LOG_STR("bluetooth_device_request"); }
2012#endif
2013 uint64_t address{0};
2015 bool has_address_type{false};
2017#ifdef HAS_PROTO_MESSAGE_DUMP
2018 const char *dump_to(DumpBuffer &out) const override;
2019#endif
2020
2021 protected:
2022 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2023};
2025 public:
2026 static constexpr uint8_t MESSAGE_TYPE = 69;
2027 static constexpr uint8_t ESTIMATED_SIZE = 14;
2028#ifdef HAS_PROTO_MESSAGE_DUMP
2029 const LogString *message_name() const override { return LOG_STR("bluetooth_device_connection_response"); }
2030#endif
2031 uint64_t address{0};
2032 bool connected{false};
2034 int32_t error{0};
2035 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2036 uint32_t calculate_size() const;
2037#ifdef HAS_PROTO_MESSAGE_DUMP
2038 const char *dump_to(DumpBuffer &out) const override;
2039#endif
2040
2041 protected:
2042};
2044 public:
2045 static constexpr uint8_t MESSAGE_TYPE = 70;
2046 static constexpr uint8_t ESTIMATED_SIZE = 4;
2047#ifdef HAS_PROTO_MESSAGE_DUMP
2048 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_get_services_request"); }
2049#endif
2050 uint64_t address{0};
2051#ifdef HAS_PROTO_MESSAGE_DUMP
2052 const char *dump_to(DumpBuffer &out) const override;
2053#endif
2054
2055 protected:
2056 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2057};
2059 public:
2060 std::array<uint64_t, 2> uuid{};
2063 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2064 uint32_t calculate_size() const;
2065#ifdef HAS_PROTO_MESSAGE_DUMP
2066 const char *dump_to(DumpBuffer &out) const override;
2067#endif
2068
2069 protected:
2070};
2072 public:
2073 std::array<uint64_t, 2> uuid{};
2078 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2079 uint32_t calculate_size() const;
2080#ifdef HAS_PROTO_MESSAGE_DUMP
2081 const char *dump_to(DumpBuffer &out) const override;
2082#endif
2083
2084 protected:
2085};
2087 public:
2088 std::array<uint64_t, 2> uuid{};
2092 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2093 uint32_t calculate_size() const;
2094#ifdef HAS_PROTO_MESSAGE_DUMP
2095 const char *dump_to(DumpBuffer &out) const override;
2096#endif
2097
2098 protected:
2099};
2101 public:
2102 static constexpr uint8_t MESSAGE_TYPE = 71;
2103 static constexpr uint8_t ESTIMATED_SIZE = 38;
2104#ifdef HAS_PROTO_MESSAGE_DUMP
2105 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_get_services_response"); }
2106#endif
2107 uint64_t address{0};
2108 std::vector<BluetoothGATTService> services{};
2109 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2110 uint32_t calculate_size() const;
2111#ifdef HAS_PROTO_MESSAGE_DUMP
2112 const char *dump_to(DumpBuffer &out) const override;
2113#endif
2114
2115 protected:
2116};
2118 public:
2119 static constexpr uint8_t MESSAGE_TYPE = 72;
2120 static constexpr uint8_t ESTIMATED_SIZE = 4;
2121#ifdef HAS_PROTO_MESSAGE_DUMP
2122 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_get_services_done_response"); }
2123#endif
2124 uint64_t address{0};
2125 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2126 uint32_t calculate_size() const;
2127#ifdef HAS_PROTO_MESSAGE_DUMP
2128 const char *dump_to(DumpBuffer &out) const override;
2129#endif
2130
2131 protected:
2132};
2134 public:
2135 static constexpr uint8_t MESSAGE_TYPE = 73;
2136 static constexpr uint8_t ESTIMATED_SIZE = 8;
2137#ifdef HAS_PROTO_MESSAGE_DUMP
2138 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_read_request"); }
2139#endif
2140 uint64_t address{0};
2142#ifdef HAS_PROTO_MESSAGE_DUMP
2143 const char *dump_to(DumpBuffer &out) const override;
2144#endif
2145
2146 protected:
2147 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2148};
2150 public:
2151 static constexpr uint8_t MESSAGE_TYPE = 74;
2152 static constexpr uint8_t ESTIMATED_SIZE = 27;
2153#ifdef HAS_PROTO_MESSAGE_DUMP
2154 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_read_response"); }
2155#endif
2156 uint64_t address{0};
2158 const uint8_t *data_ptr_{nullptr};
2159 size_t data_len_{0};
2160 void set_data(const uint8_t *data, size_t len) {
2161 this->data_ptr_ = data;
2162 this->data_len_ = len;
2163 }
2164 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2165 uint32_t calculate_size() const;
2166#ifdef HAS_PROTO_MESSAGE_DUMP
2167 const char *dump_to(DumpBuffer &out) const override;
2168#endif
2169
2170 protected:
2171};
2173 public:
2174 static constexpr uint8_t MESSAGE_TYPE = 75;
2175 static constexpr uint8_t ESTIMATED_SIZE = 29;
2176#ifdef HAS_PROTO_MESSAGE_DUMP
2177 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_write_request"); }
2178#endif
2179 uint64_t address{0};
2181 bool response{false};
2182 const uint8_t *data{nullptr};
2183 uint16_t data_len{0};
2184#ifdef HAS_PROTO_MESSAGE_DUMP
2185 const char *dump_to(DumpBuffer &out) const override;
2186#endif
2187
2188 protected:
2189 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2190 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2191};
2193 public:
2194 static constexpr uint8_t MESSAGE_TYPE = 76;
2195 static constexpr uint8_t ESTIMATED_SIZE = 8;
2196#ifdef HAS_PROTO_MESSAGE_DUMP
2197 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_read_descriptor_request"); }
2198#endif
2199 uint64_t address{0};
2201#ifdef HAS_PROTO_MESSAGE_DUMP
2202 const char *dump_to(DumpBuffer &out) const override;
2203#endif
2204
2205 protected:
2206 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2207};
2209 public:
2210 static constexpr uint8_t MESSAGE_TYPE = 77;
2211 static constexpr uint8_t ESTIMATED_SIZE = 27;
2212#ifdef HAS_PROTO_MESSAGE_DUMP
2213 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_write_descriptor_request"); }
2214#endif
2215 uint64_t address{0};
2217 const uint8_t *data{nullptr};
2218 uint16_t data_len{0};
2219#ifdef HAS_PROTO_MESSAGE_DUMP
2220 const char *dump_to(DumpBuffer &out) const override;
2221#endif
2222
2223 protected:
2224 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2225 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2226};
2228 public:
2229 static constexpr uint8_t MESSAGE_TYPE = 78;
2230 static constexpr uint8_t ESTIMATED_SIZE = 10;
2231#ifdef HAS_PROTO_MESSAGE_DUMP
2232 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_notify_request"); }
2233#endif
2234 uint64_t address{0};
2236 bool enable{false};
2237#ifdef HAS_PROTO_MESSAGE_DUMP
2238 const char *dump_to(DumpBuffer &out) const override;
2239#endif
2240
2241 protected:
2242 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2243};
2245 public:
2246 static constexpr uint8_t MESSAGE_TYPE = 79;
2247 static constexpr uint8_t ESTIMATED_SIZE = 27;
2248#ifdef HAS_PROTO_MESSAGE_DUMP
2249 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_notify_data_response"); }
2250#endif
2251 uint64_t address{0};
2253 const uint8_t *data_ptr_{nullptr};
2254 size_t data_len_{0};
2255 void set_data(const uint8_t *data, size_t len) {
2256 this->data_ptr_ = data;
2257 this->data_len_ = len;
2258 }
2259 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2260 uint32_t calculate_size() const;
2261#ifdef HAS_PROTO_MESSAGE_DUMP
2262 const char *dump_to(DumpBuffer &out) const override;
2263#endif
2264
2265 protected:
2266};
2268 public:
2269 static constexpr uint8_t MESSAGE_TYPE = 81;
2270 static constexpr uint8_t ESTIMATED_SIZE = 20;
2271#ifdef HAS_PROTO_MESSAGE_DUMP
2272 const LogString *message_name() const override { return LOG_STR("bluetooth_connections_free_response"); }
2273#endif
2276 std::array<uint64_t, BLUETOOTH_PROXY_MAX_CONNECTIONS> allocated{};
2277 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2278 uint32_t calculate_size() const;
2279#ifdef HAS_PROTO_MESSAGE_DUMP
2280 const char *dump_to(DumpBuffer &out) const override;
2281#endif
2282
2283 protected:
2284};
2286 public:
2287 static constexpr uint8_t MESSAGE_TYPE = 82;
2288 static constexpr uint8_t ESTIMATED_SIZE = 12;
2289#ifdef HAS_PROTO_MESSAGE_DUMP
2290 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_error_response"); }
2291#endif
2292 uint64_t address{0};
2294 int32_t error{0};
2295 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2296 uint32_t calculate_size() const;
2297#ifdef HAS_PROTO_MESSAGE_DUMP
2298 const char *dump_to(DumpBuffer &out) const override;
2299#endif
2300
2301 protected:
2302};
2304 public:
2305 static constexpr uint8_t MESSAGE_TYPE = 83;
2306 static constexpr uint8_t ESTIMATED_SIZE = 8;
2307#ifdef HAS_PROTO_MESSAGE_DUMP
2308 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_write_response"); }
2309#endif
2310 uint64_t address{0};
2312 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2313 uint32_t calculate_size() const;
2314#ifdef HAS_PROTO_MESSAGE_DUMP
2315 const char *dump_to(DumpBuffer &out) const override;
2316#endif
2317
2318 protected:
2319};
2321 public:
2322 static constexpr uint8_t MESSAGE_TYPE = 84;
2323 static constexpr uint8_t ESTIMATED_SIZE = 8;
2324#ifdef HAS_PROTO_MESSAGE_DUMP
2325 const LogString *message_name() const override { return LOG_STR("bluetooth_gatt_notify_response"); }
2326#endif
2327 uint64_t address{0};
2329 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2330 uint32_t calculate_size() const;
2331#ifdef HAS_PROTO_MESSAGE_DUMP
2332 const char *dump_to(DumpBuffer &out) const override;
2333#endif
2334
2335 protected:
2336};
2338 public:
2339 static constexpr uint8_t MESSAGE_TYPE = 85;
2340 static constexpr uint8_t ESTIMATED_SIZE = 10;
2341#ifdef HAS_PROTO_MESSAGE_DUMP
2342 const LogString *message_name() const override { return LOG_STR("bluetooth_device_pairing_response"); }
2343#endif
2344 uint64_t address{0};
2345 bool paired{false};
2346 int32_t error{0};
2347 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2348 uint32_t calculate_size() const;
2349#ifdef HAS_PROTO_MESSAGE_DUMP
2350 const char *dump_to(DumpBuffer &out) const override;
2351#endif
2352
2353 protected:
2354};
2356 public:
2357 static constexpr uint8_t MESSAGE_TYPE = 86;
2358 static constexpr uint8_t ESTIMATED_SIZE = 10;
2359#ifdef HAS_PROTO_MESSAGE_DUMP
2360 const LogString *message_name() const override { return LOG_STR("bluetooth_device_unpairing_response"); }
2361#endif
2362 uint64_t address{0};
2363 bool success{false};
2364 int32_t error{0};
2365 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2366 uint32_t calculate_size() const;
2367#ifdef HAS_PROTO_MESSAGE_DUMP
2368 const char *dump_to(DumpBuffer &out) const override;
2369#endif
2370
2371 protected:
2372};
2374 public:
2375 static constexpr uint8_t MESSAGE_TYPE = 88;
2376 static constexpr uint8_t ESTIMATED_SIZE = 10;
2377#ifdef HAS_PROTO_MESSAGE_DUMP
2378 const LogString *message_name() const override { return LOG_STR("bluetooth_device_clear_cache_response"); }
2379#endif
2380 uint64_t address{0};
2381 bool success{false};
2382 int32_t error{0};
2383 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2384 uint32_t calculate_size() const;
2385#ifdef HAS_PROTO_MESSAGE_DUMP
2386 const char *dump_to(DumpBuffer &out) const override;
2387#endif
2388
2389 protected:
2390};
2391#endif
2392#ifdef USE_BLUETOOTH_PROXY
2394 public:
2395 static constexpr uint8_t MESSAGE_TYPE = 126;
2396 static constexpr uint8_t ESTIMATED_SIZE = 6;
2397#ifdef HAS_PROTO_MESSAGE_DUMP
2398 const LogString *message_name() const override { return LOG_STR("bluetooth_scanner_state_response"); }
2399#endif
2403 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2404 uint32_t calculate_size() const;
2405#ifdef HAS_PROTO_MESSAGE_DUMP
2406 const char *dump_to(DumpBuffer &out) const override;
2407#endif
2408
2409 protected:
2410};
2412 public:
2413 static constexpr uint8_t MESSAGE_TYPE = 127;
2414 static constexpr uint8_t ESTIMATED_SIZE = 2;
2415#ifdef HAS_PROTO_MESSAGE_DUMP
2416 const LogString *message_name() const override { return LOG_STR("bluetooth_scanner_set_mode_request"); }
2417#endif
2419#ifdef HAS_PROTO_MESSAGE_DUMP
2420 const char *dump_to(DumpBuffer &out) const override;
2421#endif
2422
2423 protected:
2424 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2425};
2426#endif
2427#ifdef USE_VOICE_ASSISTANT
2429 public:
2430 static constexpr uint8_t MESSAGE_TYPE = 89;
2431 static constexpr uint8_t ESTIMATED_SIZE = 6;
2432#ifdef HAS_PROTO_MESSAGE_DUMP
2433 const LogString *message_name() const override { return LOG_STR("subscribe_voice_assistant_request"); }
2434#endif
2435 bool subscribe{false};
2437#ifdef HAS_PROTO_MESSAGE_DUMP
2438 const char *dump_to(DumpBuffer &out) const override;
2439#endif
2440
2441 protected:
2442 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2443};
2445 public:
2449 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2450 uint32_t calculate_size() const;
2451#ifdef HAS_PROTO_MESSAGE_DUMP
2452 const char *dump_to(DumpBuffer &out) const override;
2453#endif
2454
2455 protected:
2456};
2458 public:
2459 static constexpr uint8_t MESSAGE_TYPE = 90;
2460 static constexpr uint8_t ESTIMATED_SIZE = 41;
2461#ifdef HAS_PROTO_MESSAGE_DUMP
2462 const LogString *message_name() const override { return LOG_STR("voice_assistant_request"); }
2463#endif
2464 bool start{false};
2469 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2470 uint32_t calculate_size() const;
2471#ifdef HAS_PROTO_MESSAGE_DUMP
2472 const char *dump_to(DumpBuffer &out) const override;
2473#endif
2474
2475 protected:
2476};
2478 public:
2479 static constexpr uint8_t MESSAGE_TYPE = 91;
2480 static constexpr uint8_t ESTIMATED_SIZE = 6;
2481#ifdef HAS_PROTO_MESSAGE_DUMP
2482 const LogString *message_name() const override { return LOG_STR("voice_assistant_response"); }
2483#endif
2485 bool error{false};
2486#ifdef HAS_PROTO_MESSAGE_DUMP
2487 const char *dump_to(DumpBuffer &out) const override;
2488#endif
2489
2490 protected:
2491 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2492};
2494 public:
2497#ifdef HAS_PROTO_MESSAGE_DUMP
2498 const char *dump_to(DumpBuffer &out) const override;
2499#endif
2500
2501 protected:
2502 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2503};
2505 public:
2506 static constexpr uint8_t MESSAGE_TYPE = 92;
2507 static constexpr uint8_t ESTIMATED_SIZE = 36;
2508#ifdef HAS_PROTO_MESSAGE_DUMP
2509 const LogString *message_name() const override { return LOG_STR("voice_assistant_event_response"); }
2510#endif
2512 std::vector<VoiceAssistantEventData> data{};
2513#ifdef HAS_PROTO_MESSAGE_DUMP
2514 const char *dump_to(DumpBuffer &out) const override;
2515#endif
2516
2517 protected:
2518 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2519 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2520};
2522 public:
2523 static constexpr uint8_t MESSAGE_TYPE = 106;
2524 static constexpr uint8_t ESTIMATED_SIZE = 40;
2525#ifdef HAS_PROTO_MESSAGE_DUMP
2526 const LogString *message_name() const override { return LOG_STR("voice_assistant_audio"); }
2527#endif
2528 const uint8_t *data{nullptr};
2529 uint16_t data_len{0};
2530 bool end{false};
2531 const uint8_t *data2{nullptr};
2532 uint16_t data2_len{0};
2533 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2534 uint32_t calculate_size() const;
2535#ifdef HAS_PROTO_MESSAGE_DUMP
2536 const char *dump_to(DumpBuffer &out) const override;
2537#endif
2538
2539 protected:
2540 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2541 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2542};
2544 public:
2545 static constexpr uint8_t MESSAGE_TYPE = 115;
2546 static constexpr uint8_t ESTIMATED_SIZE = 30;
2547#ifdef HAS_PROTO_MESSAGE_DUMP
2548 const LogString *message_name() const override { return LOG_STR("voice_assistant_timer_event_response"); }
2549#endif
2555 bool is_active{false};
2556#ifdef HAS_PROTO_MESSAGE_DUMP
2557 const char *dump_to(DumpBuffer &out) const override;
2558#endif
2559
2560 protected:
2561 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2562 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2563};
2565 public:
2566 static constexpr uint8_t MESSAGE_TYPE = 119;
2567 static constexpr uint8_t ESTIMATED_SIZE = 29;
2568#ifdef HAS_PROTO_MESSAGE_DUMP
2569 const LogString *message_name() const override { return LOG_STR("voice_assistant_announce_request"); }
2570#endif
2575#ifdef HAS_PROTO_MESSAGE_DUMP
2576 const char *dump_to(DumpBuffer &out) const override;
2577#endif
2578
2579 protected:
2580 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2581 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2582};
2584 public:
2585 static constexpr uint8_t MESSAGE_TYPE = 120;
2586 static constexpr uint8_t ESTIMATED_SIZE = 2;
2587#ifdef HAS_PROTO_MESSAGE_DUMP
2588 const LogString *message_name() const override { return LOG_STR("voice_assistant_announce_finished"); }
2589#endif
2590 bool success{false};
2591 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2592 uint32_t calculate_size() const;
2593#ifdef HAS_PROTO_MESSAGE_DUMP
2594 const char *dump_to(DumpBuffer &out) const override;
2595#endif
2596
2597 protected:
2598};
2600 public:
2603 std::vector<std::string> trained_languages{};
2604 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2605 uint32_t calculate_size() const;
2606#ifdef HAS_PROTO_MESSAGE_DUMP
2607 const char *dump_to(DumpBuffer &out) const override;
2608#endif
2609
2610 protected:
2611};
2613 public:
2616 std::vector<std::string> trained_languages{};
2621#ifdef HAS_PROTO_MESSAGE_DUMP
2622 const char *dump_to(DumpBuffer &out) const override;
2623#endif
2624
2625 protected:
2626 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2627 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2628};
2630 public:
2631 static constexpr uint8_t MESSAGE_TYPE = 121;
2632 static constexpr uint8_t ESTIMATED_SIZE = 34;
2633#ifdef HAS_PROTO_MESSAGE_DUMP
2634 const LogString *message_name() const override { return LOG_STR("voice_assistant_configuration_request"); }
2635#endif
2636 std::vector<VoiceAssistantExternalWakeWord> external_wake_words{};
2637#ifdef HAS_PROTO_MESSAGE_DUMP
2638 const char *dump_to(DumpBuffer &out) const override;
2639#endif
2640
2641 protected:
2642 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2643};
2645 public:
2646 static constexpr uint8_t MESSAGE_TYPE = 122;
2647 static constexpr uint8_t ESTIMATED_SIZE = 56;
2648#ifdef HAS_PROTO_MESSAGE_DUMP
2649 const LogString *message_name() const override { return LOG_STR("voice_assistant_configuration_response"); }
2650#endif
2651 std::vector<VoiceAssistantWakeWord> available_wake_words{};
2652 const std::vector<std::string> *active_wake_words{};
2654 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2655 uint32_t calculate_size() const;
2656#ifdef HAS_PROTO_MESSAGE_DUMP
2657 const char *dump_to(DumpBuffer &out) const override;
2658#endif
2659
2660 protected:
2661};
2663 public:
2664 static constexpr uint8_t MESSAGE_TYPE = 123;
2665 static constexpr uint8_t ESTIMATED_SIZE = 18;
2666#ifdef HAS_PROTO_MESSAGE_DUMP
2667 const LogString *message_name() const override { return LOG_STR("voice_assistant_set_configuration"); }
2668#endif
2669 std::vector<std::string> active_wake_words{};
2670#ifdef HAS_PROTO_MESSAGE_DUMP
2671 const char *dump_to(DumpBuffer &out) const override;
2672#endif
2673
2674 protected:
2675 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2676};
2677#endif
2678#ifdef USE_ALARM_CONTROL_PANEL
2680 public:
2681 static constexpr uint8_t MESSAGE_TYPE = 94;
2682 static constexpr uint8_t ESTIMATED_SIZE = 48;
2683#ifdef HAS_PROTO_MESSAGE_DUMP
2684 const LogString *message_name() const override { return LOG_STR("list_entities_alarm_control_panel_response"); }
2685#endif
2687 bool requires_code{false};
2689 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2690 uint32_t calculate_size() const;
2691#ifdef HAS_PROTO_MESSAGE_DUMP
2692 const char *dump_to(DumpBuffer &out) const override;
2693#endif
2694
2695 protected:
2696};
2698 public:
2699 static constexpr uint8_t MESSAGE_TYPE = 95;
2700 static constexpr uint8_t ESTIMATED_SIZE = 11;
2701#ifdef HAS_PROTO_MESSAGE_DUMP
2702 const LogString *message_name() const override { return LOG_STR("alarm_control_panel_state_response"); }
2703#endif
2705 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2706 uint32_t calculate_size() const;
2707#ifdef HAS_PROTO_MESSAGE_DUMP
2708 const char *dump_to(DumpBuffer &out) const override;
2709#endif
2710
2711 protected:
2712};
2714 public:
2715 static constexpr uint8_t MESSAGE_TYPE = 96;
2716 static constexpr uint8_t ESTIMATED_SIZE = 20;
2717#ifdef HAS_PROTO_MESSAGE_DUMP
2718 const LogString *message_name() const override { return LOG_STR("alarm_control_panel_command_request"); }
2719#endif
2722#ifdef HAS_PROTO_MESSAGE_DUMP
2723 const char *dump_to(DumpBuffer &out) const override;
2724#endif
2725
2726 protected:
2727 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2728 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2729 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2730};
2731#endif
2732#ifdef USE_TEXT
2734 public:
2735 static constexpr uint8_t MESSAGE_TYPE = 97;
2736 static constexpr uint8_t ESTIMATED_SIZE = 59;
2737#ifdef HAS_PROTO_MESSAGE_DUMP
2738 const LogString *message_name() const override { return LOG_STR("list_entities_text_response"); }
2739#endif
2744 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2745 uint32_t calculate_size() const;
2746#ifdef HAS_PROTO_MESSAGE_DUMP
2747 const char *dump_to(DumpBuffer &out) const override;
2748#endif
2749
2750 protected:
2751};
2753 public:
2754 static constexpr uint8_t MESSAGE_TYPE = 98;
2755 static constexpr uint8_t ESTIMATED_SIZE = 20;
2756#ifdef HAS_PROTO_MESSAGE_DUMP
2757 const LogString *message_name() const override { return LOG_STR("text_state_response"); }
2758#endif
2760 bool missing_state{false};
2761 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2762 uint32_t calculate_size() const;
2763#ifdef HAS_PROTO_MESSAGE_DUMP
2764 const char *dump_to(DumpBuffer &out) const override;
2765#endif
2766
2767 protected:
2768};
2770 public:
2771 static constexpr uint8_t MESSAGE_TYPE = 99;
2772 static constexpr uint8_t ESTIMATED_SIZE = 18;
2773#ifdef HAS_PROTO_MESSAGE_DUMP
2774 const LogString *message_name() const override { return LOG_STR("text_command_request"); }
2775#endif
2777#ifdef HAS_PROTO_MESSAGE_DUMP
2778 const char *dump_to(DumpBuffer &out) const override;
2779#endif
2780
2781 protected:
2782 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2783 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2784 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2785};
2786#endif
2787#ifdef USE_DATETIME_DATE
2789 public:
2790 static constexpr uint8_t MESSAGE_TYPE = 100;
2791 static constexpr uint8_t ESTIMATED_SIZE = 40;
2792#ifdef HAS_PROTO_MESSAGE_DUMP
2793 const LogString *message_name() const override { return LOG_STR("list_entities_date_response"); }
2794#endif
2795 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2796 uint32_t calculate_size() const;
2797#ifdef HAS_PROTO_MESSAGE_DUMP
2798 const char *dump_to(DumpBuffer &out) const override;
2799#endif
2800
2801 protected:
2802};
2804 public:
2805 static constexpr uint8_t MESSAGE_TYPE = 101;
2806 static constexpr uint8_t ESTIMATED_SIZE = 23;
2807#ifdef HAS_PROTO_MESSAGE_DUMP
2808 const LogString *message_name() const override { return LOG_STR("date_state_response"); }
2809#endif
2810 bool missing_state{false};
2814 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2815 uint32_t calculate_size() const;
2816#ifdef HAS_PROTO_MESSAGE_DUMP
2817 const char *dump_to(DumpBuffer &out) const override;
2818#endif
2819
2820 protected:
2821};
2823 public:
2824 static constexpr uint8_t MESSAGE_TYPE = 102;
2825 static constexpr uint8_t ESTIMATED_SIZE = 21;
2826#ifdef HAS_PROTO_MESSAGE_DUMP
2827 const LogString *message_name() const override { return LOG_STR("date_command_request"); }
2828#endif
2832#ifdef HAS_PROTO_MESSAGE_DUMP
2833 const char *dump_to(DumpBuffer &out) const override;
2834#endif
2835
2836 protected:
2837 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2838 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2839};
2840#endif
2841#ifdef USE_DATETIME_TIME
2843 public:
2844 static constexpr uint8_t MESSAGE_TYPE = 103;
2845 static constexpr uint8_t ESTIMATED_SIZE = 40;
2846#ifdef HAS_PROTO_MESSAGE_DUMP
2847 const LogString *message_name() const override { return LOG_STR("list_entities_time_response"); }
2848#endif
2849 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2850 uint32_t calculate_size() const;
2851#ifdef HAS_PROTO_MESSAGE_DUMP
2852 const char *dump_to(DumpBuffer &out) const override;
2853#endif
2854
2855 protected:
2856};
2858 public:
2859 static constexpr uint8_t MESSAGE_TYPE = 104;
2860 static constexpr uint8_t ESTIMATED_SIZE = 23;
2861#ifdef HAS_PROTO_MESSAGE_DUMP
2862 const LogString *message_name() const override { return LOG_STR("time_state_response"); }
2863#endif
2864 bool missing_state{false};
2868 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2869 uint32_t calculate_size() const;
2870#ifdef HAS_PROTO_MESSAGE_DUMP
2871 const char *dump_to(DumpBuffer &out) const override;
2872#endif
2873
2874 protected:
2875};
2877 public:
2878 static constexpr uint8_t MESSAGE_TYPE = 105;
2879 static constexpr uint8_t ESTIMATED_SIZE = 21;
2880#ifdef HAS_PROTO_MESSAGE_DUMP
2881 const LogString *message_name() const override { return LOG_STR("time_command_request"); }
2882#endif
2886#ifdef HAS_PROTO_MESSAGE_DUMP
2887 const char *dump_to(DumpBuffer &out) const override;
2888#endif
2889
2890 protected:
2891 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2892 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2893};
2894#endif
2895#ifdef USE_EVENT
2897 public:
2898 static constexpr uint8_t MESSAGE_TYPE = 107;
2899 static constexpr uint8_t ESTIMATED_SIZE = 67;
2900#ifdef HAS_PROTO_MESSAGE_DUMP
2901 const LogString *message_name() const override { return LOG_STR("list_entities_event_response"); }
2902#endif
2905 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2906 uint32_t calculate_size() const;
2907#ifdef HAS_PROTO_MESSAGE_DUMP
2908 const char *dump_to(DumpBuffer &out) const override;
2909#endif
2910
2911 protected:
2912};
2914 public:
2915 static constexpr uint8_t MESSAGE_TYPE = 108;
2916 static constexpr uint8_t ESTIMATED_SIZE = 18;
2917#ifdef HAS_PROTO_MESSAGE_DUMP
2918 const LogString *message_name() const override { return LOG_STR("event_response"); }
2919#endif
2921 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2922 uint32_t calculate_size() const;
2923#ifdef HAS_PROTO_MESSAGE_DUMP
2924 const char *dump_to(DumpBuffer &out) const override;
2925#endif
2926
2927 protected:
2928};
2929#endif
2930#ifdef USE_VALVE
2932 public:
2933 static constexpr uint8_t MESSAGE_TYPE = 109;
2934 static constexpr uint8_t ESTIMATED_SIZE = 55;
2935#ifdef HAS_PROTO_MESSAGE_DUMP
2936 const LogString *message_name() const override { return LOG_STR("list_entities_valve_response"); }
2937#endif
2939 bool assumed_state{false};
2941 bool supports_stop{false};
2942 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2943 uint32_t calculate_size() const;
2944#ifdef HAS_PROTO_MESSAGE_DUMP
2945 const char *dump_to(DumpBuffer &out) const override;
2946#endif
2947
2948 protected:
2949};
2951 public:
2952 static constexpr uint8_t MESSAGE_TYPE = 110;
2953 static constexpr uint8_t ESTIMATED_SIZE = 16;
2954#ifdef HAS_PROTO_MESSAGE_DUMP
2955 const LogString *message_name() const override { return LOG_STR("valve_state_response"); }
2956#endif
2957 float position{0.0f};
2959 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2960 uint32_t calculate_size() const;
2961#ifdef HAS_PROTO_MESSAGE_DUMP
2962 const char *dump_to(DumpBuffer &out) const override;
2963#endif
2964
2965 protected:
2966};
2968 public:
2969 static constexpr uint8_t MESSAGE_TYPE = 111;
2970 static constexpr uint8_t ESTIMATED_SIZE = 18;
2971#ifdef HAS_PROTO_MESSAGE_DUMP
2972 const LogString *message_name() const override { return LOG_STR("valve_command_request"); }
2973#endif
2974 bool has_position{false};
2975 float position{0.0f};
2976 bool stop{false};
2977#ifdef HAS_PROTO_MESSAGE_DUMP
2978 const char *dump_to(DumpBuffer &out) const override;
2979#endif
2980
2981 protected:
2982 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2983 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2984};
2985#endif
2986#ifdef USE_DATETIME_DATETIME
2988 public:
2989 static constexpr uint8_t MESSAGE_TYPE = 112;
2990 static constexpr uint8_t ESTIMATED_SIZE = 40;
2991#ifdef HAS_PROTO_MESSAGE_DUMP
2992 const LogString *message_name() const override { return LOG_STR("list_entities_date_time_response"); }
2993#endif
2994 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
2995 uint32_t calculate_size() const;
2996#ifdef HAS_PROTO_MESSAGE_DUMP
2997 const char *dump_to(DumpBuffer &out) const override;
2998#endif
2999
3000 protected:
3001};
3003 public:
3004 static constexpr uint8_t MESSAGE_TYPE = 113;
3005 static constexpr uint8_t ESTIMATED_SIZE = 16;
3006#ifdef HAS_PROTO_MESSAGE_DUMP
3007 const LogString *message_name() const override { return LOG_STR("date_time_state_response"); }
3008#endif
3009 bool missing_state{false};
3011 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3012 uint32_t calculate_size() const;
3013#ifdef HAS_PROTO_MESSAGE_DUMP
3014 const char *dump_to(DumpBuffer &out) const override;
3015#endif
3016
3017 protected:
3018};
3020 public:
3021 static constexpr uint8_t MESSAGE_TYPE = 114;
3022 static constexpr uint8_t ESTIMATED_SIZE = 14;
3023#ifdef HAS_PROTO_MESSAGE_DUMP
3024 const LogString *message_name() const override { return LOG_STR("date_time_command_request"); }
3025#endif
3027#ifdef HAS_PROTO_MESSAGE_DUMP
3028 const char *dump_to(DumpBuffer &out) const override;
3029#endif
3030
3031 protected:
3032 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
3033 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3034};
3035#endif
3036#ifdef USE_UPDATE
3038 public:
3039 static constexpr uint8_t MESSAGE_TYPE = 116;
3040 static constexpr uint8_t ESTIMATED_SIZE = 49;
3041#ifdef HAS_PROTO_MESSAGE_DUMP
3042 const LogString *message_name() const override { return LOG_STR("list_entities_update_response"); }
3043#endif
3045 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3046 uint32_t calculate_size() const;
3047#ifdef HAS_PROTO_MESSAGE_DUMP
3048 const char *dump_to(DumpBuffer &out) const override;
3049#endif
3050
3051 protected:
3052};
3054 public:
3055 static constexpr uint8_t MESSAGE_TYPE = 117;
3056 static constexpr uint8_t ESTIMATED_SIZE = 65;
3057#ifdef HAS_PROTO_MESSAGE_DUMP
3058 const LogString *message_name() const override { return LOG_STR("update_state_response"); }
3059#endif
3060 bool missing_state{false};
3061 bool in_progress{false};
3062 bool has_progress{false};
3063 float progress{0.0f};
3069 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3070 uint32_t calculate_size() const;
3071#ifdef HAS_PROTO_MESSAGE_DUMP
3072 const char *dump_to(DumpBuffer &out) const override;
3073#endif
3074
3075 protected:
3076};
3078 public:
3079 static constexpr uint8_t MESSAGE_TYPE = 118;
3080 static constexpr uint8_t ESTIMATED_SIZE = 11;
3081#ifdef HAS_PROTO_MESSAGE_DUMP
3082 const LogString *message_name() const override { return LOG_STR("update_command_request"); }
3083#endif
3085#ifdef HAS_PROTO_MESSAGE_DUMP
3086 const char *dump_to(DumpBuffer &out) const override;
3087#endif
3088
3089 protected:
3090 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
3091 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3092};
3093#endif
3094#ifdef USE_ZWAVE_PROXY
3096 public:
3097 static constexpr uint8_t MESSAGE_TYPE = 128;
3098 static constexpr uint8_t ESTIMATED_SIZE = 19;
3099#ifdef HAS_PROTO_MESSAGE_DUMP
3100 const LogString *message_name() const override { return LOG_STR("z_wave_proxy_frame"); }
3101#endif
3102 const uint8_t *data{nullptr};
3103 uint16_t data_len{0};
3104 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3106#ifdef HAS_PROTO_MESSAGE_DUMP
3107 const char *dump_to(DumpBuffer &out) const override;
3108#endif
3109
3110 protected:
3111 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3112};
3114 public:
3115 static constexpr uint8_t MESSAGE_TYPE = 129;
3116 static constexpr uint8_t ESTIMATED_SIZE = 21;
3117#ifdef HAS_PROTO_MESSAGE_DUMP
3118 const LogString *message_name() const override { return LOG_STR("z_wave_proxy_request"); }
3119#endif
3121 const uint8_t *data{nullptr};
3122 uint16_t data_len{0};
3123 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3124 uint32_t calculate_size() const;
3125#ifdef HAS_PROTO_MESSAGE_DUMP
3126 const char *dump_to(DumpBuffer &out) const override;
3127#endif
3128
3129 protected:
3130 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3131 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3132};
3133#endif
3134#ifdef USE_INFRARED
3136 public:
3137 static constexpr uint8_t MESSAGE_TYPE = 135;
3138 static constexpr uint8_t ESTIMATED_SIZE = 48;
3139#ifdef HAS_PROTO_MESSAGE_DUMP
3140 const LogString *message_name() const override { return LOG_STR("list_entities_infrared_response"); }
3141#endif
3144 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3145 uint32_t calculate_size() const;
3146#ifdef HAS_PROTO_MESSAGE_DUMP
3147 const char *dump_to(DumpBuffer &out) const override;
3148#endif
3149
3150 protected:
3151};
3152#endif
3153#if defined(USE_IR_RF) || defined(USE_RADIO_FREQUENCY)
3155 public:
3156 static constexpr uint8_t MESSAGE_TYPE = 136;
3157 static constexpr uint8_t ESTIMATED_SIZE = 224;
3158#ifdef HAS_PROTO_MESSAGE_DUMP
3159 const LogString *message_name() const override { return LOG_STR("infrared_rf_transmit_raw_timings_request"); }
3160#endif
3161#ifdef USE_DEVICES
3163#endif
3167 const uint8_t *timings_data_{nullptr};
3168 uint16_t timings_length_{0};
3169 uint16_t timings_count_{0};
3171#ifdef HAS_PROTO_MESSAGE_DUMP
3172 const char *dump_to(DumpBuffer &out) const override;
3173#endif
3174
3175 protected:
3176 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
3177 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3178 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3179};
3181 public:
3182 static constexpr uint8_t MESSAGE_TYPE = 137;
3183 static constexpr uint8_t ESTIMATED_SIZE = 17;
3184#ifdef HAS_PROTO_MESSAGE_DUMP
3185 const LogString *message_name() const override { return LOG_STR("infrared_rf_receive_event"); }
3186#endif
3187#ifdef USE_DEVICES
3189#endif
3191 const std::vector<int32_t> *timings{};
3192 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3194#ifdef HAS_PROTO_MESSAGE_DUMP
3195 const char *dump_to(DumpBuffer &out) const override;
3196#endif
3197
3198 protected:
3199};
3200#endif
3201#ifdef USE_RADIO_FREQUENCY
3203 public:
3204 static constexpr uint8_t MESSAGE_TYPE = 148;
3205 static constexpr uint8_t ESTIMATED_SIZE = 56;
3206#ifdef HAS_PROTO_MESSAGE_DUMP
3207 const LogString *message_name() const override { return LOG_STR("list_entities_radio_frequency_response"); }
3208#endif
3213 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3215#ifdef HAS_PROTO_MESSAGE_DUMP
3216 const char *dump_to(DumpBuffer &out) const override;
3217#endif
3218
3219 protected:
3220};
3221#endif
3222#ifdef USE_SERIAL_PROXY
3224 public:
3225 static constexpr uint8_t MESSAGE_TYPE = 138;
3226 static constexpr uint8_t ESTIMATED_SIZE = 20;
3227#ifdef HAS_PROTO_MESSAGE_DUMP
3228 const LogString *message_name() const override { return LOG_STR("serial_proxy_configure_request"); }
3229#endif
3232 bool flow_control{false};
3236#ifdef HAS_PROTO_MESSAGE_DUMP
3237 const char *dump_to(DumpBuffer &out) const override;
3238#endif
3239
3240 protected:
3241 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3242};
3244 public:
3245 static constexpr uint8_t MESSAGE_TYPE = 139;
3246 static constexpr uint8_t ESTIMATED_SIZE = 23;
3247#ifdef HAS_PROTO_MESSAGE_DUMP
3248 const LogString *message_name() const override { return LOG_STR("serial_proxy_data_received"); }
3249#endif
3251 const uint8_t *data_ptr_{nullptr};
3252 size_t data_len_{0};
3253 void set_data(const uint8_t *data, size_t len) {
3254 this->data_ptr_ = data;
3255 this->data_len_ = len;
3256 }
3257 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3259#ifdef HAS_PROTO_MESSAGE_DUMP
3260 const char *dump_to(DumpBuffer &out) const override;
3261#endif
3262
3263 protected:
3264};
3266 public:
3267 static constexpr uint8_t MESSAGE_TYPE = 140;
3268 static constexpr uint8_t ESTIMATED_SIZE = 23;
3269#ifdef HAS_PROTO_MESSAGE_DUMP
3270 const LogString *message_name() const override { return LOG_STR("serial_proxy_write_request"); }
3271#endif
3273 const uint8_t *data{nullptr};
3274 uint16_t data_len{0};
3275#ifdef HAS_PROTO_MESSAGE_DUMP
3276 const char *dump_to(DumpBuffer &out) const override;
3277#endif
3278
3279 protected:
3280 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3281 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3282};
3284 public:
3285 static constexpr uint8_t MESSAGE_TYPE = 141;
3286 static constexpr uint8_t ESTIMATED_SIZE = 8;
3287#ifdef HAS_PROTO_MESSAGE_DUMP
3288 const LogString *message_name() const override { return LOG_STR("serial_proxy_set_modem_pins_request"); }
3289#endif
3292#ifdef HAS_PROTO_MESSAGE_DUMP
3293 const char *dump_to(DumpBuffer &out) const override;
3294#endif
3295
3296 protected:
3297 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3298};
3300 public:
3301 static constexpr uint8_t MESSAGE_TYPE = 142;
3302 static constexpr uint8_t ESTIMATED_SIZE = 4;
3303#ifdef HAS_PROTO_MESSAGE_DUMP
3304 const LogString *message_name() const override { return LOG_STR("serial_proxy_get_modem_pins_request"); }
3305#endif
3307#ifdef HAS_PROTO_MESSAGE_DUMP
3308 const char *dump_to(DumpBuffer &out) const override;
3309#endif
3310
3311 protected:
3312 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3313};
3315 public:
3316 static constexpr uint8_t MESSAGE_TYPE = 143;
3317 static constexpr uint8_t ESTIMATED_SIZE = 8;
3318#ifdef HAS_PROTO_MESSAGE_DUMP
3319 const LogString *message_name() const override { return LOG_STR("serial_proxy_get_modem_pins_response"); }
3320#endif
3323 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3324 uint32_t calculate_size() const;
3325#ifdef HAS_PROTO_MESSAGE_DUMP
3326 const char *dump_to(DumpBuffer &out) const override;
3327#endif
3328
3329 protected:
3330};
3332 public:
3333 static constexpr uint8_t MESSAGE_TYPE = 144;
3334 static constexpr uint8_t ESTIMATED_SIZE = 6;
3335#ifdef HAS_PROTO_MESSAGE_DUMP
3336 const LogString *message_name() const override { return LOG_STR("serial_proxy_request"); }
3337#endif
3340#ifdef HAS_PROTO_MESSAGE_DUMP
3341 const char *dump_to(DumpBuffer &out) const override;
3342#endif
3343
3344 protected:
3345 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3346};
3348 public:
3349 static constexpr uint8_t MESSAGE_TYPE = 147;
3350 static constexpr uint8_t ESTIMATED_SIZE = 17;
3351#ifdef HAS_PROTO_MESSAGE_DUMP
3352 const LogString *message_name() const override { return LOG_STR("serial_proxy_request_response"); }
3353#endif
3358 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3359 uint32_t calculate_size() const;
3360#ifdef HAS_PROTO_MESSAGE_DUMP
3361 const char *dump_to(DumpBuffer &out) const override;
3362#endif
3363
3364 protected:
3365};
3366#endif
3367#ifdef USE_BLUETOOTH_PROXY_CONNECTIONS
3369 public:
3370 static constexpr uint8_t MESSAGE_TYPE = 145;
3371 static constexpr uint8_t ESTIMATED_SIZE = 20;
3372#ifdef HAS_PROTO_MESSAGE_DUMP
3373 const LogString *message_name() const override { return LOG_STR("bluetooth_set_connection_params_request"); }
3374#endif
3375 uint64_t address{0};
3380#ifdef HAS_PROTO_MESSAGE_DUMP
3381 const char *dump_to(DumpBuffer &out) const override;
3382#endif
3383
3384 protected:
3385 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3386};
3388 public:
3389 static constexpr uint8_t MESSAGE_TYPE = 146;
3390 static constexpr uint8_t ESTIMATED_SIZE = 8;
3391#ifdef HAS_PROTO_MESSAGE_DUMP
3392 const LogString *message_name() const override { return LOG_STR("bluetooth_set_connection_params_response"); }
3393#endif
3394 uint64_t address{0};
3395 int32_t error{0};
3396 uint8_t *encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const;
3397 uint32_t calculate_size() const;
3398#ifdef HAS_PROTO_MESSAGE_DUMP
3399 const char *dump_to(DumpBuffer &out) const override;
3400#endif
3401
3402 protected:
3403};
3404#endif
3405
3406} // namespace esphome::api
Fixed-capacity vector - allocates once at runtime, never reallocates This avoids std::vector template...
Definition helpers.h:544
StringRef is a reference to a string owned by something else.
Definition string_ref.h:26
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3288
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3262
const LogString * message_name() const override
Definition api_pb2.h:2718
enums::AlarmControlPanelStateCommand command
Definition api_pb2.h:2720
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3277
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2716
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2700
const char * dump_to(DumpBuffer &out) const override
enums::AlarmControlPanelState state
Definition api_pb2.h:2704
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2699
const LogString * message_name() const override
Definition api_pb2.h:2702
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3244
const char * dump_to(DumpBuffer &out) const override
uint32_t calculate_size() const
Definition api_pb2.cpp:77
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:71
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:706
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:355
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:707
const LogString * message_name() const override
Definition api_pb2.h:709
std::array< uint64_t, BLUETOOTH_PROXY_MAX_CONNECTIONS > allocated
Definition api_pb2.h:2276
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2272
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2761
const LogString * message_name() const override
Definition api_pb2.h:2378
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2849
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2029
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2506
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2340
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2339
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2821
const LogString * message_name() const override
Definition api_pb2.h:2342
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2008
enums::BluetoothDeviceRequestType request_type
Definition api_pb2.h:2014
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2009
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2011
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
const LogString * message_name() const override
Definition api_pb2.h:2360
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2835
const char * dump_to(DumpBuffer &out) const override
FixedVector< BluetoothGATTDescriptor > descriptors
Definition api_pb2.h:2076
const char * dump_to(DumpBuffer &out) const override
std::array< uint64_t, 2 > uuid
Definition api_pb2.h:2073
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2552
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2532
std::array< uint64_t, 2 > uuid
Definition api_pb2.h:2060
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2288
const LogString * message_name() const override
Definition api_pb2.h:2290
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2783
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2287
const LogString * message_name() const override
Definition api_pb2.h:2122
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2628
const LogString * message_name() const override
Definition api_pb2.h:2048
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2046
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2522
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2610
const LogString * message_name() const override
Definition api_pb2.h:2105
std::vector< BluetoothGATTService > services
Definition api_pb2.h:2108
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2747
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2249
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:2255
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2247
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2230
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2229
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2731
const LogString * message_name() const override
Definition api_pb2.h:2232
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2322
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2323
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2325
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2809
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2197
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2693
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2135
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2138
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2638
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2136
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2151
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:2160
const LogString * message_name() const override
Definition api_pb2.h:2154
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2651
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2152
FixedVector< BluetoothGATTCharacteristic > characteristics
Definition api_pb2.h:2090
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2582
const char * dump_to(DumpBuffer &out) const override
std::array< uint64_t, 2 > uuid
Definition api_pb2.h:2088
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2706
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2719
const LogString * message_name() const override
Definition api_pb2.h:2213
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2681
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2175
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2665
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2177
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2174
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2306
const LogString * message_name() const override
Definition api_pb2.h:2308
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2797
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2305
const char * dump_to(DumpBuffer &out) const override
std::array< BluetoothLERawAdvertisement, BLUETOOTH_PROXY_ADVERTISEMENT_BATCH_SIZE > advertisements
Definition api_pb2.h:1994
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
const LogString * message_name() const override
Definition api_pb2.h:1992
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:245
enums::BluetoothScannerMode mode
Definition api_pb2.h:2418
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2413
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2416
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2414
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2879
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2396
enums::BluetoothScannerMode mode
Definition api_pb2.h:2401
enums::BluetoothScannerState state
Definition api_pb2.h:2400
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2395
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2865
enums::BluetoothScannerMode configured_mode
Definition api_pb2.h:2402
const LogString * message_name() const override
Definition api_pb2.h:2398
const LogString * message_name() const override
Definition api_pb2.h:3373
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:4229
const LogString * message_name() const override
Definition api_pb2.h:3392
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:4251
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2275
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1867
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2287
const LogString * message_name() const override
Definition api_pb2.h:1870
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1868
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1486
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1445
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1444
const LogString * message_name() const override
Definition api_pb2.h:1447
const char * dump_to(DumpBuffer &out) const override
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:1429
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1423
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:1425
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1422
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1466
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1708
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1524
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1525
const char * dump_to(DumpBuffer &out) const override
enums::ClimateSwingMode swing_mode
Definition api_pb2.h:1540
const LogString * message_name() const override
Definition api_pb2.h:1527
enums::ClimateFanMode fan_mode
Definition api_pb2.h:1538
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1639
enums::ClimatePreset preset
Definition api_pb2.h:1544
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1693
enums::ClimateFanMode fan_mode
Definition api_pb2.h:1507
enums::ClimateSwingMode swing_mode
Definition api_pb2.h:1508
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1496
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1597
const char * dump_to(DumpBuffer &out) const override
enums::ClimateAction action
Definition api_pb2.h:1506
const LogString * message_name() const override
Definition api_pb2.h:1499
enums::ClimatePreset preset
Definition api_pb2.h:1510
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1497
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:460
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:763
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:764
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:439
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:766
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:746
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:417
enums::CoverOperation current_operation
Definition api_pb2.h:752
const LogString * message_name() const override
Definition api_pb2.h:748
uint32_t calculate_size() const
Definition api_pb2.cpp:428
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:745
enums::DSTRuleType type
Definition api_pb2.h:1258
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1199
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3468
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2824
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2827
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3447
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2825
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3423
const LogString * message_name() const override
Definition api_pb2.h:2808
uint32_t calculate_size() const
Definition api_pb2.cpp:3435
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2805
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2806
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3022
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3021
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:3024
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3768
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3780
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3748
const LogString * message_name() const override
Definition api_pb2.h:3007
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3004
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3005
const char * dump_to(DumpBuffer &out) const override
std::array< SerialProxyInfo, SERIAL_PROXY_COUNT > serial_proxies
Definition api_pb2.h:663
const LogString * message_name() const override
Definition api_pb2.h:651
VoiceAssistantCapabilities voice_assistant
Definition api_pb2.h:657
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:649
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:284
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:648
ZWaveProxyCapabilities zwave_proxy
Definition api_pb2.h:660
const char * dump_to(DumpBuffer &out) const override
BluetoothProxyCapabilities bluetooth_proxy
Definition api_pb2.h:654
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:85
uint32_t calculate_size() const
Definition api_pb2.cpp:92
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:537
const LogString * message_name() const override
Definition api_pb2.h:540
static constexpr uint16_t ESTIMATED_SIZE
Definition api_pb2.h:538
uint32_t calculate_size() const
Definition api_pb2.cpp:179
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:114
std::array< AreaInfo, ESPHOME_AREA_COUNT > areas
Definition api_pb2.h:580
std::array< SerialProxyInfo, SERIAL_PROXY_COUNT > serial_proxies
Definition api_pb2.h:592
std::array< DeviceInfo, ESPHOME_DEVICE_COUNT > devices
Definition api_pb2.h:577
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:438
const LogString * message_name() const override
Definition api_pb2.h:441
uint32_t calculate_size() const
Definition api_pb2.cpp:65
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:439
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:50
enums::DisconnectReason reason
Definition api_pb2.h:443
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:60
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:455
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:456
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:458
Fixed-size buffer for message dumps - avoids heap allocation.
Definition proto.h:543
uint32_t calculate_size() const
Definition api_pb2.cpp:3616
const LogString * message_name() const override
Definition api_pb2.h:2918
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2915
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3607
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2916
const char * dump_to(DumpBuffer &out) const override
FixedVector< float > float_array
Definition api_pb2.h:1342
FixedVector< std::string > string_array
Definition api_pb2.h:1343
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1309
void decode(const uint8_t *buffer, size_t length)
Definition api_pb2.cpp:1358
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1331
FixedVector< int32_t > int_array
Definition api_pb2.h:1341
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1345
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1356
FixedVector< ExecuteServiceArgument > args
Definition api_pb2.h:1362
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1357
void decode(const uint8_t *buffer, size_t length)
Definition api_pb2.cpp:1407
const LogString * message_name() const override
Definition api_pb2.h:1359
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1369
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1397
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1386
const LogString * message_name() const override
Definition api_pb2.h:1386
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1384
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1383
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1414
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:825
const LogString * message_name() const override
Definition api_pb2.h:828
const char * dump_to(DumpBuffer &out) const override
enums::FanDirection direction
Definition api_pb2.h:835
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:589
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:826
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:550
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:600
const LogString * message_name() const override
Definition api_pb2.h:808
enums::FanDirection direction
Definition api_pb2.h:812
uint32_t calculate_size() const
Definition api_pb2.cpp:537
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:806
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:805
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:524
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1243
const LogString * message_name() const override
Definition api_pb2.h:1246
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1244
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1264
ParsedTimezone parsed_timezone
Definition api_pb2.h:1292
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1250
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1286
const LogString * message_name() const override
Definition api_pb2.h:1288
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1285
const LogString * message_name() const override
Definition api_pb2.h:404
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:402
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:401
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:10
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:23
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:419
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:420
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:34
uint32_t calculate_size() const
Definition api_pb2.cpp:42
const LogString * message_name() const override
Definition api_pb2.h:422
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1225
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1226
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1179
const LogString * message_name() const override
Definition api_pb2.h:1228
const LogString * message_name() const override
Definition api_pb2.h:1155
FixedVector< HomeassistantServiceMap > variables
Definition api_pb2.h:1160
FixedVector< HomeassistantServiceMap > data
Definition api_pb2.h:1158
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1076
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1153
FixedVector< HomeassistantServiceMap > data_template
Definition api_pb2.h:1159
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1152
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1145
const LogString * message_name() const override
Definition api_pb2.h:1186
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1132
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1184
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1183
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1064
enums::EntityCategory entity_category
Definition api_pb2.h:369
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3183
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
const std::vector< int32_t > * timings
Definition api_pb2.h:3191
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3182
const LogString * message_name() const override
Definition api_pb2.h:3185
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:4020
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:3159
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3986
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:4007
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:760
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:771
const LogString * message_name() const override
Definition api_pb2.h:902
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:899
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:700
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:900
const LogString * message_name() const override
Definition api_pb2.h:875
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:873
uint32_t calculate_size() const
Definition api_pb2.cpp:680
enums::ColorMode color_mode
Definition api_pb2.h:879
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:872
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:660
const LogString * message_name() const override
Definition api_pb2.h:2684
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3208
const LogString * message_name() const override
Definition api_pb2.h:692
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:321
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:690
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1852
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1851
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2243
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:1854
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1407
const LogString * message_name() const override
Definition api_pb2.h:1410
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1408
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1436
const std::vector< const char * > * supported_custom_presets
Definition api_pb2.h:1478
const climate::ClimateSwingModeMask * supported_swing_modes
Definition api_pb2.h:1475
enums::TemperatureUnit temperature_unit
Definition api_pb2.h:1485
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1463
const std::vector< const char * > * supported_custom_fan_modes
Definition api_pb2.h:1476
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1462
const climate::ClimatePresetMask * supported_presets
Definition api_pb2.h:1477
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1501
const climate::ClimateFanModeMask * supported_fan_modes
Definition api_pb2.h:1474
const char * dump_to(DumpBuffer &out) const override
const climate::ClimateModeMask * supported_modes
Definition api_pb2.h:1469
const LogString * message_name() const override
Definition api_pb2.h:1465
const LogString * message_name() const override
Definition api_pb2.h:728
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:726
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:377
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:725
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2791
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3393
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2793
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2790
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3718
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2989
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2990
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2992
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:675
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:676
const LogString * message_name() const override
Definition api_pb2.h:678
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3567
const LogString * message_name() const override
Definition api_pb2.h:2901
const FixedVector< const char * > * event_types
Definition api_pb2.h:2904
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2899
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2898
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:478
const std::vector< const char * > * supported_preset_modes
Definition api_pb2.h:794
const LogString * message_name() const override
Definition api_pb2.h:788
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:786
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:785
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3950
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3137
const LogString * message_name() const override
Definition api_pb2.h:3140
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3138
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:854
const char * dump_to(DumpBuffer &out) const override
const FixedVector< const char * > * effects
Definition api_pb2.h:861
const light::ColorModeMask * supported_color_modes
Definition api_pb2.h:858
const LogString * message_name() const override
Definition api_pb2.h:856
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:853
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:612
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1795
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:1798
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2146
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1796
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1900
const LogString * message_name() const override
Definition api_pb2.h:1902
const char * dump_to(DumpBuffer &out) const override
std::vector< MediaPlayerSupportedFormat > supported_formats
Definition api_pb2.h:1905
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2317
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1628
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1848
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:1630
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1627
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:3207
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1683
const FixedVector< const char * > * options
Definition api_pb2.h:1688
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1684
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1937
const LogString * message_name() const override
Definition api_pb2.h:1686
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:810
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:944
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:943
const LogString * message_name() const override
Definition api_pb2.h:946
enums::SensorStateClass state_class
Definition api_pb2.h:952
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1275
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1287
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:1319
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1316
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1317
enums::SupportsResponseType supports_response
Definition api_pb2.h:1324
FixedVector< ListEntitiesServicesArgument > args
Definition api_pb2.h:1323
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2030
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1735
const LogString * message_name() const override
Definition api_pb2.h:1738
const FixedVector< const char * > * tones
Definition api_pb2.h:1740
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1736
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:985
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:983
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:982
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2735
const LogString * message_name() const override
Definition api_pb2.h:2738
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3300
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2736
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1033
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1034
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:955
const LogString * message_name() const override
Definition api_pb2.h:1036
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2845
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2847
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3480
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2844
const LogString * message_name() const override
Definition api_pb2.h:3042
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3039
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3040
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3795
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2933
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3627
const LogString * message_name() const override
Definition api_pb2.h:2936
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2934
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1732
const water_heater::WaterHeaterModeMask * supported_modes
Definition api_pb2.h:1570
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1563
const LogString * message_name() const override
Definition api_pb2.h:1565
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2202
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1830
const LogString * message_name() const override
Definition api_pb2.h:1833
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2231
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1831
enums::LockCommand command
Definition api_pb2.h:1835
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2220
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1815
uint32_t calculate_size() const
Definition api_pb2.cpp:2193
const LogString * message_name() const override
Definition api_pb2.h:1817
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1814
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2184
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1936
const char * dump_to(DumpBuffer &out) const override
enums::MediaPlayerCommand command
Definition api_pb2.h:1941
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2422
const LogString * message_name() const override
Definition api_pb2.h:1938
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2411
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2381
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1935
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1917
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2359
enums::MediaPlayerState state
Definition api_pb2.h:1922
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:1920
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1918
enums::MediaPlayerFormatPurpose purpose
Definition api_pb2.h:1887
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2299
const LogString * message_name() const override
Definition api_pb2.h:1109
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1106
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1107
const LogString * message_name() const override
Definition api_pb2.h:1125
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1052
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1123
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1122
const LogString * message_name() const override
Definition api_pb2.h:1668
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1665
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1922
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1666
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1910
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1649
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1648
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1890
const LogString * message_name() const override
Definition api_pb2.h:1651
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1237
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1224
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:468
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:469
const LogString * message_name() const override
Definition api_pb2.h:471
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:484
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:481
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:482
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2007
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1717
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1995
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1716
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2018
const LogString * message_name() const override
Definition api_pb2.h:1719
const LogString * message_name() const override
Definition api_pb2.h:1702
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1975
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1700
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1699
const LogString * message_name() const override
Definition api_pb2.h:966
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:964
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:963
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3225
enums::SerialProxyParity parity
Definition api_pb2.h:3233
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3226
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:3228
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3245
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:3253
const LogString * message_name() const override
Definition api_pb2.h:3248
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3246
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3301
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:4176
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:3304
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3302
const LogString * message_name() const override
Definition api_pb2.h:3319
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3317
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:4186
const char * dump_to(DumpBuffer &out) const override
uint32_t calculate_size() const
Definition api_pb2.cpp:107
enums::SerialProxyPortType port_type
Definition api_pb2.h:525
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:101
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:3336
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:4198
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3333
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3334
enums::SerialProxyRequestType type
Definition api_pb2.h:3339
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3350
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3349
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:4211
const LogString * message_name() const override
Definition api_pb2.h:3352
enums::SerialProxyRequestType type
Definition api_pb2.h:3355
enums::SerialProxyStatus status
Definition api_pb2.h:3356
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:3288
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:4163
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3285
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3286
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3267
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:4151
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3268
const LogString * message_name() const override
Definition api_pb2.h:3270
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2090
const LogString * message_name() const override
Definition api_pb2.h:1772
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2120
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1770
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2131
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1769
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:1756
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1754
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2072
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1753
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2437
const LogString * message_name() const override
Definition api_pb2.h:1964
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1165
const LogString * message_name() const override
Definition api_pb2.h:1210
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:1070
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1068
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1067
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1008
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1083
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1084
const LogString * message_name() const override
Definition api_pb2.h:1086
void set_message(const uint8_t *data, size_t len)
Definition api_pb2.h:1091
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2891
const LogString * message_name() const override
Definition api_pb2.h:2433
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2430
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2431
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:943
const LogString * message_name() const override
Definition api_pb2.h:1018
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1015
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1016
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
const LogString * message_name() const override
Definition api_pb2.h:1002
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1000
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:999
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3370
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3358
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2772
const LogString * message_name() const override
Definition api_pb2.h:2774
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3381
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2771
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1049
const LogString * message_name() const override
Definition api_pb2.h:1052
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1050
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:987
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2755
uint32_t calculate_size() const
Definition api_pb2.cpp:3348
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3338
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2754
const LogString * message_name() const override
Definition api_pb2.h:2757
const LogString * message_name() const override
Definition api_pb2.h:2881
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3555
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2878
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3534
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2879
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3510
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2859
const LogString * message_name() const override
Definition api_pb2.h:2862
uint32_t calculate_size() const
Definition api_pb2.cpp:3522
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2860
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:3082
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3080
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3876
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3861
enums::UpdateCommand command
Definition api_pb2.h:3084
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3079
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3056
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:3058
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3827
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3055
const LogString * message_name() const override
Definition api_pb2.h:2972
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2969
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3685
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2970
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3703
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2953
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3665
enums::ValveOperation current_operation
Definition api_pb2.h:2958
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2952
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2955
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2586
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2585
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3089
const LogString * message_name() const override
Definition api_pb2.h:2588
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3070
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2567
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3060
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2569
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2566
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2985
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2995
const LogString * message_name() const override
Definition api_pb2.h:2526
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2524
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2523
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3012
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2904
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:259
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3159
const LogString * message_name() const override
Definition api_pb2.h:2634
const char * dump_to(DumpBuffer &out) const override
std::vector< VoiceAssistantExternalWakeWord > external_wake_words
Definition api_pb2.h:2636
std::vector< VoiceAssistantWakeWord > available_wake_words
Definition api_pb2.h:2651
const LogString * message_name() const override
Definition api_pb2.h:2649
const std::vector< std::string > * active_wake_words
Definition api_pb2.h:2652
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3170
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2949
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2974
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2507
const LogString * message_name() const override
Definition api_pb2.h:2509
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2506
const char * dump_to(DumpBuffer &out) const override
enums::VoiceAssistantEvent event_type
Definition api_pb2.h:2511
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2964
std::vector< VoiceAssistantEventData > data
Definition api_pb2.h:2512
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3129
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3119
std::vector< std::string > trained_languages
Definition api_pb2.h:2616
const LogString * message_name() const override
Definition api_pb2.h:2462
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:2918
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2459
VoiceAssistantAudioSettings audio_settings
Definition api_pb2.h:2467
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2460
const char * dump_to(DumpBuffer &out) const override
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2936
const LogString * message_name() const override
Definition api_pb2.h:2482
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2480
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2479
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2665
std::vector< std::string > active_wake_words
Definition api_pb2.h:2669
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2664
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3196
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:2667
const LogString * message_name() const override
Definition api_pb2.h:2548
enums::VoiceAssistantTimerEvent event_type
Definition api_pb2.h:2550
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3045
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3026
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3099
const char * dump_to(DumpBuffer &out) const override
std::vector< std::string > trained_languages
Definition api_pb2.h:2603
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1806
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1827
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1605
const char * dump_to(DumpBuffer &out) const override
const LogString * message_name() const override
Definition api_pb2.h:1607
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1604
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1583
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1584
const LogString * message_name() const override
Definition api_pb2.h:1586
const char * dump_to(DumpBuffer &out) const override
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:1778
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:271
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3098
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3888
const LogString * message_name() const override
Definition api_pb2.h:3100
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
uint32_t calculate_size() const
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3097
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3116
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3924
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3115
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
const LogString * message_name() const override
Definition api_pb2.h:3118
uint32_t calculate_size() const
Definition api_pb2.cpp:3942
enums::ZWaveProxyRequestType type
Definition api_pb2.h:3120
uint8_t * encode(ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
Definition api_pb2.cpp:3936
const char * dump_to(DumpBuffer &out) const override
@ MEDIA_PLAYER_STATE_ANNOUNCING
Definition api_pb2.h:203
@ ALARM_STATE_ARMED_CUSTOM_BYPASS
Definition api_pb2.h:295
@ SERVICE_ARG_TYPE_BOOL_ARRAY
Definition api_pb2.h:87
@ SERVICE_ARG_TYPE_STRING_ARRAY
Definition api_pb2.h:90
@ SERVICE_ARG_TYPE_FLOAT_ARRAY
Definition api_pb2.h:89
@ SERIAL_PROXY_PORT_TYPE_RS232
Definition api_pb2.h:20
@ SERIAL_PROXY_PORT_TYPE_RS485
Definition api_pb2.h:21
@ VOICE_ASSISTANT_REQUEST_USE_WAKE_WORD
Definition api_pb2.h:260
@ VOICE_ASSISTANT_REQUEST_USE_VAD
Definition api_pb2.h:259
@ WATER_HEATER_MODE_PERFORMANCE
Definition api_pb2.h:157
@ WATER_HEATER_MODE_HIGH_DEMAND
Definition api_pb2.h:158
@ SERIAL_PROXY_REQUEST_TYPE_UNSUBSCRIBE
Definition api_pb2.h:346
@ SERIAL_PROXY_REQUEST_TYPE_FLUSH
Definition api_pb2.h:347
@ SERIAL_PROXY_REQUEST_TYPE_SUBSCRIBE
Definition api_pb2.h:345
@ MEDIA_PLAYER_FORMAT_PURPOSE_ANNOUNCEMENT
Definition api_pb2.h:225
@ MEDIA_PLAYER_FORMAT_PURPOSE_DEFAULT
Definition api_pb2.h:224
@ COLOR_MODE_LEGACY_BRIGHTNESS
Definition api_pb2.h:45
@ COLOR_MODE_RGB_COLOR_TEMPERATURE
Definition api_pb2.h:52
@ COLOR_MODE_COLOR_TEMPERATURE
Definition api_pb2.h:48
@ COLOR_MODE_RGB_COLD_WARM_WHITE
Definition api_pb2.h:53
@ VOICE_ASSISTANT_TIMER_UPDATED
Definition api_pb2.h:283
@ VOICE_ASSISTANT_TIMER_STARTED
Definition api_pb2.h:282
@ VOICE_ASSISTANT_TIMER_FINISHED
Definition api_pb2.h:285
@ VOICE_ASSISTANT_TIMER_CANCELLED
Definition api_pb2.h:284
@ MEDIA_PLAYER_COMMAND_REPEAT_ONE
Definition api_pb2.h:217
@ MEDIA_PLAYER_COMMAND_REPEAT_OFF
Definition api_pb2.h:218
@ MEDIA_PLAYER_COMMAND_VOLUME_DOWN
Definition api_pb2.h:215
@ MEDIA_PLAYER_COMMAND_VOLUME_UP
Definition api_pb2.h:214
@ MEDIA_PLAYER_COMMAND_TURN_OFF
Definition api_pb2.h:221
@ MEDIA_PLAYER_COMMAND_CLEAR_PLAYLIST
Definition api_pb2.h:219
@ VOICE_ASSISTANT_WAKE_WORD_START
Definition api_pb2.h:273
@ VOICE_ASSISTANT_TTS_STREAM_END
Definition api_pb2.h:278
@ VOICE_ASSISTANT_STT_VAD_START
Definition api_pb2.h:275
@ VOICE_ASSISTANT_INTENT_PROGRESS
Definition api_pb2.h:279
@ VOICE_ASSISTANT_TTS_STREAM_START
Definition api_pb2.h:277
@ VOICE_ASSISTANT_WAKE_WORD_END
Definition api_pb2.h:274
@ SERIAL_PROXY_STATUS_ASSUMED_SUCCESS
Definition api_pb2.h:351
@ SERIAL_PROXY_STATUS_NOT_SUPPORTED
Definition api_pb2.h:354
@ DISCONNECT_REASON_PROVISIONING_CLOSED
Definition api_pb2.h:16
@ DISCONNECT_REASON_UNSPECIFIED
Definition api_pb2.h:15
@ BLUETOOTH_DEVICE_REQUEST_TYPE_UNPAIR
Definition api_pb2.h:233
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE
Definition api_pb2.h:234
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT
Definition api_pb2.h:230
@ BLUETOOTH_DEVICE_REQUEST_TYPE_PAIR
Definition api_pb2.h:232
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE
Definition api_pb2.h:235
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CLEAR_CACHE
Definition api_pb2.h:236
@ BLUETOOTH_DEVICE_REQUEST_TYPE_DISCONNECT
Definition api_pb2.h:231
@ BLUETOOTH_SCANNER_MODE_PASSIVE
Definition api_pb2.h:249
@ BLUETOOTH_SCANNER_MODE_ACTIVE
Definition api_pb2.h:250
@ BLUETOOTH_SCANNER_STATE_STOPPED
Definition api_pb2.h:246
@ BLUETOOTH_SCANNER_STATE_STARTING
Definition api_pb2.h:242
@ BLUETOOTH_SCANNER_STATE_STOPPING
Definition api_pb2.h:245
@ BLUETOOTH_SCANNER_STATE_RUNNING
Definition api_pb2.h:243
@ BLUETOOTH_SCANNER_STATE_FAILED
Definition api_pb2.h:244
@ DST_RULE_TYPE_MONTH_WEEK_DAY
Definition api_pb2.h:77
@ DST_RULE_TYPE_JULIAN_NO_LEAP
Definition api_pb2.h:78
@ WATER_HEATER_COMMAND_HAS_ON_STATE
Definition api_pb2.h:170
@ WATER_HEATER_COMMAND_HAS_NONE
Definition api_pb2.h:164
@ WATER_HEATER_COMMAND_HAS_STATE
Definition api_pb2.h:167
@ WATER_HEATER_COMMAND_HAS_AWAY_STATE
Definition api_pb2.h:171
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_LOW
Definition api_pb2.h:168
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE
Definition api_pb2.h:166
@ WATER_HEATER_COMMAND_HAS_MODE
Definition api_pb2.h:165
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_HIGH
Definition api_pb2.h:169
@ ZWAVE_PROXY_REQUEST_TYPE_SUBSCRIBE
Definition api_pb2.h:333
@ ZWAVE_PROXY_REQUEST_TYPE_UNSUBSCRIBE
Definition api_pb2.h:334
@ ZWAVE_PROXY_REQUEST_TYPE_HOME_ID_CHANGE
Definition api_pb2.h:335
@ ALARM_CONTROL_PANEL_ARM_NIGHT
Definition api_pb2.h:305
@ ALARM_CONTROL_PANEL_ARM_CUSTOM_BYPASS
Definition api_pb2.h:307
@ ALARM_CONTROL_PANEL_ARM_VACATION
Definition api_pb2.h:306
@ VOICE_ASSISTANT_SUBSCRIBE_API_AUDIO
Definition api_pb2.h:255
@ VOICE_ASSISTANT_SUBSCRIBE_NONE
Definition api_pb2.h:254
@ STATE_CLASS_TOTAL_INCREASING
Definition api_pb2.h:60
@ STATE_CLASS_MEASUREMENT_ANGLE
Definition api_pb2.h:62
uint64_t proto_varint_value_t
Type used for decoded varint values - uint64_t when BLE needs 64-bit addresses, uint32_t otherwise.
Definition proto.h:118
const void size_t len
Definition hal.h:64
static void uint32_t
uint16_t length
Definition tt21100.cpp:0