ESPHome 2026.3.3
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
24#ifdef USE_COVER
30#endif
31#ifdef USE_FAN
36#endif
37#ifdef USE_LIGHT
51#endif
52#ifdef USE_SENSOR
60#endif
77#ifdef USE_API_USER_DEFINED_ACTIONS
94#endif
95#ifdef USE_CLIMATE
142#endif
143#ifdef USE_WATER_HEATER
153#endif
164#ifdef USE_NUMBER
170#endif
171#ifdef USE_LOCK
185#endif
186#ifdef USE_MEDIA_PLAYER
216#endif
217#ifdef USE_BLUETOOTH_PROXY
239#endif
249#ifdef USE_VOICE_ASSISTANT
274#endif
275#ifdef USE_ALARM_CONTROL_PANEL
297#endif
298#ifdef USE_TEXT
303#endif
304#ifdef USE_VALVE
310#endif
311#ifdef USE_UPDATE
317#endif
318#ifdef USE_ZWAVE_PROXY
324#endif
325#ifdef USE_SERIAL_PROXY
343#endif
344
345} // namespace enums
346
348 public:
353#ifdef USE_ENTITY_ICON
355#endif
357#ifdef USE_DEVICES
359#endif
360
361 protected:
363};
364
366 public:
368#ifdef USE_DEVICES
370#endif
371
372 protected:
374};
375
377 public:
379#ifdef USE_DEVICES
381#endif
382
383 protected:
385};
387 public:
388 static constexpr uint8_t MESSAGE_TYPE = 1;
389 static constexpr uint8_t ESTIMATED_SIZE = 17;
390#ifdef HAS_PROTO_MESSAGE_DUMP
391 const char *message_name() const override { return "hello_request"; }
392#endif
396#ifdef HAS_PROTO_MESSAGE_DUMP
397 const char *dump_to(DumpBuffer &out) const override;
398#endif
399
400 protected:
401 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
402 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
403};
404class HelloResponse final : public ProtoMessage {
405 public:
406 static constexpr uint8_t MESSAGE_TYPE = 2;
407 static constexpr uint8_t ESTIMATED_SIZE = 26;
408#ifdef HAS_PROTO_MESSAGE_DUMP
409 const char *message_name() const override { return "hello_response"; }
410#endif
415 void encode(ProtoWriteBuffer &buffer) const;
416 uint32_t calculate_size() const;
417#ifdef HAS_PROTO_MESSAGE_DUMP
418 const char *dump_to(DumpBuffer &out) const override;
419#endif
420
421 protected:
422};
423class DisconnectRequest final : public ProtoMessage {
424 public:
425 static constexpr uint8_t MESSAGE_TYPE = 5;
426 static constexpr uint8_t ESTIMATED_SIZE = 0;
427#ifdef HAS_PROTO_MESSAGE_DUMP
428 const char *message_name() const override { return "disconnect_request"; }
429#endif
430#ifdef HAS_PROTO_MESSAGE_DUMP
431 const char *dump_to(DumpBuffer &out) const override;
432#endif
433
434 protected:
435};
436class DisconnectResponse final : public ProtoMessage {
437 public:
438 static constexpr uint8_t MESSAGE_TYPE = 6;
439 static constexpr uint8_t ESTIMATED_SIZE = 0;
440#ifdef HAS_PROTO_MESSAGE_DUMP
441 const char *message_name() const override { return "disconnect_response"; }
442#endif
443#ifdef HAS_PROTO_MESSAGE_DUMP
444 const char *dump_to(DumpBuffer &out) const override;
445#endif
446
447 protected:
448};
449class PingRequest final : public ProtoMessage {
450 public:
451 static constexpr uint8_t MESSAGE_TYPE = 7;
452 static constexpr uint8_t ESTIMATED_SIZE = 0;
453#ifdef HAS_PROTO_MESSAGE_DUMP
454 const char *message_name() const override { return "ping_request"; }
455#endif
456#ifdef HAS_PROTO_MESSAGE_DUMP
457 const char *dump_to(DumpBuffer &out) const override;
458#endif
459
460 protected:
461};
462class PingResponse final : public ProtoMessage {
463 public:
464 static constexpr uint8_t MESSAGE_TYPE = 8;
465 static constexpr uint8_t ESTIMATED_SIZE = 0;
466#ifdef HAS_PROTO_MESSAGE_DUMP
467 const char *message_name() const override { return "ping_response"; }
468#endif
469#ifdef HAS_PROTO_MESSAGE_DUMP
470 const char *dump_to(DumpBuffer &out) const override;
471#endif
472
473 protected:
474};
475#ifdef USE_AREAS
476class AreaInfo final : public ProtoMessage {
477 public:
480 void encode(ProtoWriteBuffer &buffer) const;
481 uint32_t calculate_size() const;
482#ifdef HAS_PROTO_MESSAGE_DUMP
483 const char *dump_to(DumpBuffer &out) const override;
484#endif
485
486 protected:
487};
488#endif
489#ifdef USE_DEVICES
490class DeviceInfo final : public ProtoMessage {
491 public:
495 void encode(ProtoWriteBuffer &buffer) const;
496 uint32_t calculate_size() const;
497#ifdef HAS_PROTO_MESSAGE_DUMP
498 const char *dump_to(DumpBuffer &out) const override;
499#endif
500
501 protected:
502};
503#endif
504#ifdef USE_SERIAL_PROXY
505class SerialProxyInfo final : public ProtoMessage {
506 public:
509 void encode(ProtoWriteBuffer &buffer) const;
510 uint32_t calculate_size() const;
511#ifdef HAS_PROTO_MESSAGE_DUMP
512 const char *dump_to(DumpBuffer &out) const override;
513#endif
514
515 protected:
516};
517#endif
518class DeviceInfoResponse final : public ProtoMessage {
519 public:
520 static constexpr uint8_t MESSAGE_TYPE = 10;
521 static constexpr uint16_t ESTIMATED_SIZE = 309;
522#ifdef HAS_PROTO_MESSAGE_DUMP
523 const char *message_name() const override { return "device_info_response"; }
524#endif
530#ifdef USE_DEEP_SLEEP
531 bool has_deep_sleep{false};
532#endif
533#ifdef ESPHOME_PROJECT_NAME
535#endif
536#ifdef ESPHOME_PROJECT_NAME
538#endif
539#ifdef USE_WEBSERVER
541#endif
542#ifdef USE_BLUETOOTH_PROXY
544#endif
547#ifdef USE_VOICE_ASSISTANT
549#endif
550#ifdef USE_AREAS
552#endif
553#ifdef USE_BLUETOOTH_PROXY
555#endif
556#ifdef USE_API_NOISE
558#endif
559#ifdef USE_DEVICES
560 std::array<DeviceInfo, ESPHOME_DEVICE_COUNT> devices{};
561#endif
562#ifdef USE_AREAS
563 std::array<AreaInfo, ESPHOME_AREA_COUNT> areas{};
564#endif
565#ifdef USE_AREAS
567#endif
568#ifdef USE_ZWAVE_PROXY
570#endif
571#ifdef USE_ZWAVE_PROXY
573#endif
574#ifdef USE_SERIAL_PROXY
575 std::array<SerialProxyInfo, SERIAL_PROXY_COUNT> serial_proxies{};
576#endif
577 void encode(ProtoWriteBuffer &buffer) const;
578 uint32_t calculate_size() const;
579#ifdef HAS_PROTO_MESSAGE_DUMP
580 const char *dump_to(DumpBuffer &out) const override;
581#endif
582
583 protected:
584};
586 public:
587 static constexpr uint8_t MESSAGE_TYPE = 19;
588 static constexpr uint8_t ESTIMATED_SIZE = 0;
589#ifdef HAS_PROTO_MESSAGE_DUMP
590 const char *message_name() const override { return "list_entities_done_response"; }
591#endif
592#ifdef HAS_PROTO_MESSAGE_DUMP
593 const char *dump_to(DumpBuffer &out) const override;
594#endif
595
596 protected:
597};
598#ifdef USE_BINARY_SENSOR
600 public:
601 static constexpr uint8_t MESSAGE_TYPE = 12;
602 static constexpr uint8_t ESTIMATED_SIZE = 51;
603#ifdef HAS_PROTO_MESSAGE_DUMP
604 const char *message_name() const override { return "list_entities_binary_sensor_response"; }
605#endif
608 void encode(ProtoWriteBuffer &buffer) const;
609 uint32_t calculate_size() const;
610#ifdef HAS_PROTO_MESSAGE_DUMP
611 const char *dump_to(DumpBuffer &out) const override;
612#endif
613
614 protected:
615};
617 public:
618 static constexpr uint8_t MESSAGE_TYPE = 21;
619 static constexpr uint8_t ESTIMATED_SIZE = 13;
620#ifdef HAS_PROTO_MESSAGE_DUMP
621 const char *message_name() const override { return "binary_sensor_state_response"; }
622#endif
623 bool state{false};
624 bool missing_state{false};
625 void encode(ProtoWriteBuffer &buffer) const;
626 uint32_t calculate_size() const;
627#ifdef HAS_PROTO_MESSAGE_DUMP
628 const char *dump_to(DumpBuffer &out) const override;
629#endif
630
631 protected:
632};
633#endif
634#ifdef USE_COVER
636 public:
637 static constexpr uint8_t MESSAGE_TYPE = 13;
638 static constexpr uint8_t ESTIMATED_SIZE = 57;
639#ifdef HAS_PROTO_MESSAGE_DUMP
640 const char *message_name() const override { return "list_entities_cover_response"; }
641#endif
642 bool assumed_state{false};
643 bool supports_position{false};
644 bool supports_tilt{false};
646 bool supports_stop{false};
647 void encode(ProtoWriteBuffer &buffer) const;
648 uint32_t calculate_size() const;
649#ifdef HAS_PROTO_MESSAGE_DUMP
650 const char *dump_to(DumpBuffer &out) const override;
651#endif
652
653 protected:
654};
656 public:
657 static constexpr uint8_t MESSAGE_TYPE = 22;
658 static constexpr uint8_t ESTIMATED_SIZE = 21;
659#ifdef HAS_PROTO_MESSAGE_DUMP
660 const char *message_name() const override { return "cover_state_response"; }
661#endif
662 float position{0.0f};
663 float tilt{0.0f};
665 void encode(ProtoWriteBuffer &buffer) 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 = 30;
676 static constexpr uint8_t ESTIMATED_SIZE = 25;
677#ifdef HAS_PROTO_MESSAGE_DUMP
678 const char *message_name() const override { return "cover_command_request"; }
679#endif
680 bool has_position{false};
681 float position{0.0f};
682 bool has_tilt{false};
683 float tilt{0.0f};
684 bool stop{false};
685#ifdef HAS_PROTO_MESSAGE_DUMP
686 const char *dump_to(DumpBuffer &out) const override;
687#endif
688
689 protected:
690 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
691 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
692};
693#endif
694#ifdef USE_FAN
696 public:
697 static constexpr uint8_t MESSAGE_TYPE = 14;
698 static constexpr uint8_t ESTIMATED_SIZE = 68;
699#ifdef HAS_PROTO_MESSAGE_DUMP
700 const char *message_name() const override { return "list_entities_fan_response"; }
701#endif
703 bool supports_speed{false};
706 const std::vector<const char *> *supported_preset_modes{};
707 void encode(ProtoWriteBuffer &buffer) const;
708 uint32_t calculate_size() const;
709#ifdef HAS_PROTO_MESSAGE_DUMP
710 const char *dump_to(DumpBuffer &out) const override;
711#endif
712
713 protected:
714};
716 public:
717 static constexpr uint8_t MESSAGE_TYPE = 23;
718 static constexpr uint8_t ESTIMATED_SIZE = 28;
719#ifdef HAS_PROTO_MESSAGE_DUMP
720 const char *message_name() const override { return "fan_state_response"; }
721#endif
722 bool state{false};
723 bool oscillating{false};
725 int32_t speed_level{0};
727 void encode(ProtoWriteBuffer &buffer) const;
728 uint32_t calculate_size() const;
729#ifdef HAS_PROTO_MESSAGE_DUMP
730 const char *dump_to(DumpBuffer &out) const override;
731#endif
732
733 protected:
734};
736 public:
737 static constexpr uint8_t MESSAGE_TYPE = 31;
738 static constexpr uint8_t ESTIMATED_SIZE = 38;
739#ifdef HAS_PROTO_MESSAGE_DUMP
740 const char *message_name() const override { return "fan_command_request"; }
741#endif
742 bool has_state{false};
743 bool state{false};
744 bool has_oscillating{false};
745 bool oscillating{false};
746 bool has_direction{false};
748 bool has_speed_level{false};
749 int32_t speed_level{0};
750 bool has_preset_mode{false};
752#ifdef HAS_PROTO_MESSAGE_DUMP
753 const char *dump_to(DumpBuffer &out) const override;
754#endif
755
756 protected:
757 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
758 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
759 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
760};
761#endif
762#ifdef USE_LIGHT
764 public:
765 static constexpr uint8_t MESSAGE_TYPE = 15;
766 static constexpr uint8_t ESTIMATED_SIZE = 73;
767#ifdef HAS_PROTO_MESSAGE_DUMP
768 const char *message_name() const override { return "list_entities_light_response"; }
769#endif
771 float min_mireds{0.0f};
772 float max_mireds{0.0f};
774 void encode(ProtoWriteBuffer &buffer) const;
775 uint32_t calculate_size() const;
776#ifdef HAS_PROTO_MESSAGE_DUMP
777 const char *dump_to(DumpBuffer &out) const override;
778#endif
779
780 protected:
781};
783 public:
784 static constexpr uint8_t MESSAGE_TYPE = 24;
785 static constexpr uint8_t ESTIMATED_SIZE = 67;
786#ifdef HAS_PROTO_MESSAGE_DUMP
787 const char *message_name() const override { return "light_state_response"; }
788#endif
789 bool state{false};
790 float brightness{0.0f};
792 float color_brightness{0.0f};
793 float red{0.0f};
794 float green{0.0f};
795 float blue{0.0f};
796 float white{0.0f};
797 float color_temperature{0.0f};
798 float cold_white{0.0f};
799 float warm_white{0.0f};
801 void encode(ProtoWriteBuffer &buffer) const;
802 uint32_t calculate_size() const;
803#ifdef HAS_PROTO_MESSAGE_DUMP
804 const char *dump_to(DumpBuffer &out) const override;
805#endif
806
807 protected:
808};
810 public:
811 static constexpr uint8_t MESSAGE_TYPE = 32;
812 static constexpr uint8_t ESTIMATED_SIZE = 112;
813#ifdef HAS_PROTO_MESSAGE_DUMP
814 const char *message_name() const override { return "light_command_request"; }
815#endif
816 bool has_state{false};
817 bool state{false};
818 bool has_brightness{false};
819 float brightness{0.0f};
820 bool has_color_mode{false};
823 float color_brightness{0.0f};
824 bool has_rgb{false};
825 float red{0.0f};
826 float green{0.0f};
827 float blue{0.0f};
828 bool has_white{false};
829 float white{0.0f};
831 float color_temperature{0.0f};
832 bool has_cold_white{false};
833 float cold_white{0.0f};
834 bool has_warm_white{false};
835 float warm_white{0.0f};
838 bool has_flash_length{false};
840 bool has_effect{false};
842#ifdef HAS_PROTO_MESSAGE_DUMP
843 const char *dump_to(DumpBuffer &out) const override;
844#endif
845
846 protected:
847 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
848 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
849 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
850};
851#endif
852#ifdef USE_SENSOR
854 public:
855 static constexpr uint8_t MESSAGE_TYPE = 16;
856 static constexpr uint8_t ESTIMATED_SIZE = 66;
857#ifdef HAS_PROTO_MESSAGE_DUMP
858 const char *message_name() const override { return "list_entities_sensor_response"; }
859#endif
862 bool force_update{false};
865 void encode(ProtoWriteBuffer &buffer) const;
866 uint32_t calculate_size() const;
867#ifdef HAS_PROTO_MESSAGE_DUMP
868 const char *dump_to(DumpBuffer &out) const override;
869#endif
870
871 protected:
872};
874 public:
875 static constexpr uint8_t MESSAGE_TYPE = 25;
876 static constexpr uint8_t ESTIMATED_SIZE = 16;
877#ifdef HAS_PROTO_MESSAGE_DUMP
878 const char *message_name() const override { return "sensor_state_response"; }
879#endif
880 float state{0.0f};
881 bool missing_state{false};
882 void encode(ProtoWriteBuffer &buffer) const;
883 uint32_t calculate_size() const;
884#ifdef HAS_PROTO_MESSAGE_DUMP
885 const char *dump_to(DumpBuffer &out) const override;
886#endif
887
888 protected:
889};
890#endif
891#ifdef USE_SWITCH
893 public:
894 static constexpr uint8_t MESSAGE_TYPE = 17;
895 static constexpr uint8_t ESTIMATED_SIZE = 51;
896#ifdef HAS_PROTO_MESSAGE_DUMP
897 const char *message_name() const override { return "list_entities_switch_response"; }
898#endif
899 bool assumed_state{false};
901 void encode(ProtoWriteBuffer &buffer) const;
902 uint32_t calculate_size() const;
903#ifdef HAS_PROTO_MESSAGE_DUMP
904 const char *dump_to(DumpBuffer &out) const override;
905#endif
906
907 protected:
908};
910 public:
911 static constexpr uint8_t MESSAGE_TYPE = 26;
912 static constexpr uint8_t ESTIMATED_SIZE = 11;
913#ifdef HAS_PROTO_MESSAGE_DUMP
914 const char *message_name() const override { return "switch_state_response"; }
915#endif
916 bool state{false};
917 void encode(ProtoWriteBuffer &buffer) const;
918 uint32_t calculate_size() const;
919#ifdef HAS_PROTO_MESSAGE_DUMP
920 const char *dump_to(DumpBuffer &out) const override;
921#endif
922
923 protected:
924};
926 public:
927 static constexpr uint8_t MESSAGE_TYPE = 33;
928 static constexpr uint8_t ESTIMATED_SIZE = 11;
929#ifdef HAS_PROTO_MESSAGE_DUMP
930 const char *message_name() const override { return "switch_command_request"; }
931#endif
932 bool state{false};
933#ifdef HAS_PROTO_MESSAGE_DUMP
934 const char *dump_to(DumpBuffer &out) const override;
935#endif
936
937 protected:
938 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
939 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
940};
941#endif
942#ifdef USE_TEXT_SENSOR
944 public:
945 static constexpr uint8_t MESSAGE_TYPE = 18;
946 static constexpr uint8_t ESTIMATED_SIZE = 49;
947#ifdef HAS_PROTO_MESSAGE_DUMP
948 const char *message_name() const override { return "list_entities_text_sensor_response"; }
949#endif
951 void encode(ProtoWriteBuffer &buffer) const;
952 uint32_t calculate_size() const;
953#ifdef HAS_PROTO_MESSAGE_DUMP
954 const char *dump_to(DumpBuffer &out) const override;
955#endif
956
957 protected:
958};
960 public:
961 static constexpr uint8_t MESSAGE_TYPE = 27;
962 static constexpr uint8_t ESTIMATED_SIZE = 20;
963#ifdef HAS_PROTO_MESSAGE_DUMP
964 const char *message_name() const override { return "text_sensor_state_response"; }
965#endif
967 bool missing_state{false};
968 void encode(ProtoWriteBuffer &buffer) const;
969 uint32_t calculate_size() const;
970#ifdef HAS_PROTO_MESSAGE_DUMP
971 const char *dump_to(DumpBuffer &out) const override;
972#endif
973
974 protected:
975};
976#endif
978 public:
979 static constexpr uint8_t MESSAGE_TYPE = 28;
980 static constexpr uint8_t ESTIMATED_SIZE = 4;
981#ifdef HAS_PROTO_MESSAGE_DUMP
982 const char *message_name() const override { return "subscribe_logs_request"; }
983#endif
985 bool dump_config{false};
986#ifdef HAS_PROTO_MESSAGE_DUMP
987 const char *dump_to(DumpBuffer &out) const override;
988#endif
989
990 protected:
991 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
992};
994 public:
995 static constexpr uint8_t MESSAGE_TYPE = 29;
996 static constexpr uint8_t ESTIMATED_SIZE = 21;
997#ifdef HAS_PROTO_MESSAGE_DUMP
998 const char *message_name() const override { return "subscribe_logs_response"; }
999#endif
1001 const uint8_t *message_ptr_{nullptr};
1002 size_t message_len_{0};
1003 void set_message(const uint8_t *data, size_t len) {
1004 this->message_ptr_ = data;
1005 this->message_len_ = len;
1006 }
1007 void encode(ProtoWriteBuffer &buffer) const;
1008 uint32_t calculate_size() const;
1009#ifdef HAS_PROTO_MESSAGE_DUMP
1010 const char *dump_to(DumpBuffer &out) const override;
1011#endif
1012
1013 protected:
1014};
1015#ifdef USE_API_NOISE
1017 public:
1018 static constexpr uint8_t MESSAGE_TYPE = 124;
1019 static constexpr uint8_t ESTIMATED_SIZE = 19;
1020#ifdef HAS_PROTO_MESSAGE_DUMP
1021 const char *message_name() const override { return "noise_encryption_set_key_request"; }
1022#endif
1023 const uint8_t *key{nullptr};
1024 uint16_t key_len{0};
1025#ifdef HAS_PROTO_MESSAGE_DUMP
1026 const char *dump_to(DumpBuffer &out) const override;
1027#endif
1028
1029 protected:
1030 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1031};
1033 public:
1034 static constexpr uint8_t MESSAGE_TYPE = 125;
1035 static constexpr uint8_t ESTIMATED_SIZE = 2;
1036#ifdef HAS_PROTO_MESSAGE_DUMP
1037 const char *message_name() const override { return "noise_encryption_set_key_response"; }
1038#endif
1039 bool success{false};
1040 void encode(ProtoWriteBuffer &buffer) const;
1041 uint32_t calculate_size() const;
1042#ifdef HAS_PROTO_MESSAGE_DUMP
1043 const char *dump_to(DumpBuffer &out) const override;
1044#endif
1045
1046 protected:
1047};
1048#endif
1049#ifdef USE_API_HOMEASSISTANT_SERVICES
1051 public:
1054 void encode(ProtoWriteBuffer &buffer) const;
1055 uint32_t calculate_size() const;
1056#ifdef HAS_PROTO_MESSAGE_DUMP
1057 const char *dump_to(DumpBuffer &out) const override;
1058#endif
1059
1060 protected:
1061};
1063 public:
1064 static constexpr uint8_t MESSAGE_TYPE = 35;
1065 static constexpr uint8_t ESTIMATED_SIZE = 128;
1066#ifdef HAS_PROTO_MESSAGE_DUMP
1067 const char *message_name() const override { return "homeassistant_action_request"; }
1068#endif
1073 bool is_event{false};
1074#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
1076#endif
1077#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1078 bool wants_response{false};
1079#endif
1080#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1082#endif
1083 void encode(ProtoWriteBuffer &buffer) const;
1084 uint32_t calculate_size() const;
1085#ifdef HAS_PROTO_MESSAGE_DUMP
1086 const char *dump_to(DumpBuffer &out) const override;
1087#endif
1088
1089 protected:
1090};
1091#endif
1092#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES
1094 public:
1095 static constexpr uint8_t MESSAGE_TYPE = 130;
1096 static constexpr uint8_t ESTIMATED_SIZE = 34;
1097#ifdef HAS_PROTO_MESSAGE_DUMP
1098 const char *message_name() const override { return "homeassistant_action_response"; }
1099#endif
1101 bool success{false};
1103#ifdef USE_API_HOMEASSISTANT_ACTION_RESPONSES_JSON
1104 const uint8_t *response_data{nullptr};
1106#endif
1107#ifdef HAS_PROTO_MESSAGE_DUMP
1108 const char *dump_to(DumpBuffer &out) const override;
1109#endif
1110
1111 protected:
1112 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1113 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1114};
1115#endif
1116#ifdef USE_API_HOMEASSISTANT_STATES
1118 public:
1119 static constexpr uint8_t MESSAGE_TYPE = 39;
1120 static constexpr uint8_t ESTIMATED_SIZE = 20;
1121#ifdef HAS_PROTO_MESSAGE_DUMP
1122 const char *message_name() const override { return "subscribe_home_assistant_state_response"; }
1123#endif
1126 bool once{false};
1127 void encode(ProtoWriteBuffer &buffer) const;
1128 uint32_t calculate_size() const;
1129#ifdef HAS_PROTO_MESSAGE_DUMP
1130 const char *dump_to(DumpBuffer &out) const override;
1131#endif
1132
1133 protected:
1134};
1136 public:
1137 static constexpr uint8_t MESSAGE_TYPE = 40;
1138 static constexpr uint8_t ESTIMATED_SIZE = 27;
1139#ifdef HAS_PROTO_MESSAGE_DUMP
1140 const char *message_name() const override { return "home_assistant_state_response"; }
1141#endif
1145#ifdef HAS_PROTO_MESSAGE_DUMP
1146 const char *dump_to(DumpBuffer &out) const override;
1147#endif
1148
1149 protected:
1150 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1151};
1152#endif
1153class GetTimeRequest final : public ProtoMessage {
1154 public:
1155 static constexpr uint8_t MESSAGE_TYPE = 36;
1156 static constexpr uint8_t ESTIMATED_SIZE = 0;
1157#ifdef HAS_PROTO_MESSAGE_DUMP
1158 const char *message_name() const override { return "get_time_request"; }
1159#endif
1160#ifdef HAS_PROTO_MESSAGE_DUMP
1161 const char *dump_to(DumpBuffer &out) const override;
1162#endif
1163
1164 protected:
1165};
1166class DSTRule final : public ProtoDecodableMessage {
1167 public:
1168 int32_t time_seconds{0};
1174#ifdef HAS_PROTO_MESSAGE_DUMP
1175 const char *dump_to(DumpBuffer &out) const override;
1176#endif
1177
1178 protected:
1179 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1180};
1182 public:
1187#ifdef HAS_PROTO_MESSAGE_DUMP
1188 const char *dump_to(DumpBuffer &out) const override;
1189#endif
1190
1191 protected:
1192 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1193 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1194};
1196 public:
1197 static constexpr uint8_t MESSAGE_TYPE = 37;
1198 static constexpr uint8_t ESTIMATED_SIZE = 31;
1199#ifdef HAS_PROTO_MESSAGE_DUMP
1200 const char *message_name() const override { return "get_time_response"; }
1201#endif
1205#ifdef HAS_PROTO_MESSAGE_DUMP
1206 const char *dump_to(DumpBuffer &out) const override;
1207#endif
1208
1209 protected:
1210 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1211 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1212};
1213#ifdef USE_API_USER_DEFINED_ACTIONS
1215 public:
1218 void encode(ProtoWriteBuffer &buffer) const;
1219 uint32_t calculate_size() const;
1220#ifdef HAS_PROTO_MESSAGE_DUMP
1221 const char *dump_to(DumpBuffer &out) const override;
1222#endif
1223
1224 protected:
1225};
1227 public:
1228 static constexpr uint8_t MESSAGE_TYPE = 41;
1229 static constexpr uint8_t ESTIMATED_SIZE = 50;
1230#ifdef HAS_PROTO_MESSAGE_DUMP
1231 const char *message_name() const override { return "list_entities_services_response"; }
1232#endif
1237 void encode(ProtoWriteBuffer &buffer) const;
1238 uint32_t calculate_size() const;
1239#ifdef HAS_PROTO_MESSAGE_DUMP
1240 const char *dump_to(DumpBuffer &out) const override;
1241#endif
1242
1243 protected:
1244};
1246 public:
1247 bool bool_{false};
1248 int32_t legacy_int{0};
1249 float float_{0.0f};
1251 int32_t int_{0};
1256 void decode(const uint8_t *buffer, size_t length) override;
1257#ifdef HAS_PROTO_MESSAGE_DUMP
1258 const char *dump_to(DumpBuffer &out) const override;
1259#endif
1260
1261 protected:
1262 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1263 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1264 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1265};
1267 public:
1268 static constexpr uint8_t MESSAGE_TYPE = 42;
1269 static constexpr uint8_t ESTIMATED_SIZE = 45;
1270#ifdef HAS_PROTO_MESSAGE_DUMP
1271 const char *message_name() const override { return "execute_service_request"; }
1272#endif
1275#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1277#endif
1278#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1279 bool return_response{false};
1280#endif
1281 void decode(const uint8_t *buffer, size_t length) override;
1282#ifdef HAS_PROTO_MESSAGE_DUMP
1283 const char *dump_to(DumpBuffer &out) const override;
1284#endif
1285
1286 protected:
1287 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1288 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1289 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1290};
1291#endif
1292#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES
1294 public:
1295 static constexpr uint8_t MESSAGE_TYPE = 131;
1296 static constexpr uint8_t ESTIMATED_SIZE = 34;
1297#ifdef HAS_PROTO_MESSAGE_DUMP
1298 const char *message_name() const override { return "execute_service_response"; }
1299#endif
1301 bool success{false};
1303#ifdef USE_API_USER_DEFINED_ACTION_RESPONSES_JSON
1304 const uint8_t *response_data{nullptr};
1306#endif
1307 void encode(ProtoWriteBuffer &buffer) const;
1308 uint32_t calculate_size() const;
1309#ifdef HAS_PROTO_MESSAGE_DUMP
1310 const char *dump_to(DumpBuffer &out) const override;
1311#endif
1312
1313 protected:
1314};
1315#endif
1316#ifdef USE_CAMERA
1318 public:
1319 static constexpr uint8_t MESSAGE_TYPE = 43;
1320 static constexpr uint8_t ESTIMATED_SIZE = 40;
1321#ifdef HAS_PROTO_MESSAGE_DUMP
1322 const char *message_name() const override { return "list_entities_camera_response"; }
1323#endif
1324 void encode(ProtoWriteBuffer &buffer) const;
1325 uint32_t calculate_size() const;
1326#ifdef HAS_PROTO_MESSAGE_DUMP
1327 const char *dump_to(DumpBuffer &out) const override;
1328#endif
1329
1330 protected:
1331};
1333 public:
1334 static constexpr uint8_t MESSAGE_TYPE = 44;
1335 static constexpr uint8_t ESTIMATED_SIZE = 30;
1336#ifdef HAS_PROTO_MESSAGE_DUMP
1337 const char *message_name() const override { return "camera_image_response"; }
1338#endif
1339 const uint8_t *data_ptr_{nullptr};
1340 size_t data_len_{0};
1341 void set_data(const uint8_t *data, size_t len) {
1342 this->data_ptr_ = data;
1343 this->data_len_ = len;
1344 }
1345 bool done{false};
1346 void encode(ProtoWriteBuffer &buffer) const;
1347 uint32_t calculate_size() const;
1348#ifdef HAS_PROTO_MESSAGE_DUMP
1349 const char *dump_to(DumpBuffer &out) const override;
1350#endif
1351
1352 protected:
1353};
1355 public:
1356 static constexpr uint8_t MESSAGE_TYPE = 45;
1357 static constexpr uint8_t ESTIMATED_SIZE = 4;
1358#ifdef HAS_PROTO_MESSAGE_DUMP
1359 const char *message_name() const override { return "camera_image_request"; }
1360#endif
1361 bool single{false};
1362 bool stream{false};
1363#ifdef HAS_PROTO_MESSAGE_DUMP
1364 const char *dump_to(DumpBuffer &out) const override;
1365#endif
1366
1367 protected:
1368 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1369};
1370#endif
1371#ifdef USE_CLIMATE
1373 public:
1374 static constexpr uint8_t MESSAGE_TYPE = 46;
1375 static constexpr uint8_t ESTIMATED_SIZE = 150;
1376#ifdef HAS_PROTO_MESSAGE_DUMP
1377 const char *message_name() const override { return "list_entities_climate_response"; }
1378#endif
1385 bool supports_action{false};
1388 const std::vector<const char *> *supported_custom_fan_modes{};
1390 const std::vector<const char *> *supported_custom_presets{};
1397 void encode(ProtoWriteBuffer &buffer) const;
1398 uint32_t calculate_size() const;
1399#ifdef HAS_PROTO_MESSAGE_DUMP
1400 const char *dump_to(DumpBuffer &out) const override;
1401#endif
1402
1403 protected:
1404};
1406 public:
1407 static constexpr uint8_t MESSAGE_TYPE = 47;
1408 static constexpr uint8_t ESTIMATED_SIZE = 68;
1409#ifdef HAS_PROTO_MESSAGE_DUMP
1410 const char *message_name() const override { return "climate_state_response"; }
1411#endif
1423 float current_humidity{0.0f};
1424 float target_humidity{0.0f};
1425 void encode(ProtoWriteBuffer &buffer) const;
1426 uint32_t calculate_size() const;
1427#ifdef HAS_PROTO_MESSAGE_DUMP
1428 const char *dump_to(DumpBuffer &out) const override;
1429#endif
1430
1431 protected:
1432};
1434 public:
1435 static constexpr uint8_t MESSAGE_TYPE = 48;
1436 static constexpr uint8_t ESTIMATED_SIZE = 84;
1437#ifdef HAS_PROTO_MESSAGE_DUMP
1438 const char *message_name() const override { return "climate_command_request"; }
1439#endif
1440 bool has_mode{false};
1448 bool has_fan_mode{false};
1450 bool has_swing_mode{false};
1454 bool has_preset{false};
1459 float target_humidity{0.0f};
1460#ifdef HAS_PROTO_MESSAGE_DUMP
1461 const char *dump_to(DumpBuffer &out) const override;
1462#endif
1463
1464 protected:
1465 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1466 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1467 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1468};
1469#endif
1470#ifdef USE_WATER_HEATER
1472 public:
1473 static constexpr uint8_t MESSAGE_TYPE = 132;
1474 static constexpr uint8_t ESTIMATED_SIZE = 63;
1475#ifdef HAS_PROTO_MESSAGE_DUMP
1476 const char *message_name() const override { return "list_entities_water_heater_response"; }
1477#endif
1478 float min_temperature{0.0f};
1479 float max_temperature{0.0f};
1483 void encode(ProtoWriteBuffer &buffer) const;
1484 uint32_t calculate_size() const;
1485#ifdef HAS_PROTO_MESSAGE_DUMP
1486 const char *dump_to(DumpBuffer &out) const override;
1487#endif
1488
1489 protected:
1490};
1492 public:
1493 static constexpr uint8_t MESSAGE_TYPE = 133;
1494 static constexpr uint8_t ESTIMATED_SIZE = 35;
1495#ifdef HAS_PROTO_MESSAGE_DUMP
1496 const char *message_name() const override { return "water_heater_state_response"; }
1497#endif
1504 void encode(ProtoWriteBuffer &buffer) const;
1505 uint32_t calculate_size() const;
1506#ifdef HAS_PROTO_MESSAGE_DUMP
1507 const char *dump_to(DumpBuffer &out) const override;
1508#endif
1509
1510 protected:
1511};
1513 public:
1514 static constexpr uint8_t MESSAGE_TYPE = 134;
1515 static constexpr uint8_t ESTIMATED_SIZE = 34;
1516#ifdef HAS_PROTO_MESSAGE_DUMP
1517 const char *message_name() const override { return "water_heater_command_request"; }
1518#endif
1525#ifdef HAS_PROTO_MESSAGE_DUMP
1526 const char *dump_to(DumpBuffer &out) const override;
1527#endif
1528
1529 protected:
1530 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1531 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1532};
1533#endif
1534#ifdef USE_NUMBER
1536 public:
1537 static constexpr uint8_t MESSAGE_TYPE = 49;
1538 static constexpr uint8_t ESTIMATED_SIZE = 75;
1539#ifdef HAS_PROTO_MESSAGE_DUMP
1540 const char *message_name() const override { return "list_entities_number_response"; }
1541#endif
1542 float min_value{0.0f};
1543 float max_value{0.0f};
1544 float step{0.0f};
1548 void encode(ProtoWriteBuffer &buffer) const;
1549 uint32_t calculate_size() const;
1550#ifdef HAS_PROTO_MESSAGE_DUMP
1551 const char *dump_to(DumpBuffer &out) const override;
1552#endif
1553
1554 protected:
1555};
1557 public:
1558 static constexpr uint8_t MESSAGE_TYPE = 50;
1559 static constexpr uint8_t ESTIMATED_SIZE = 16;
1560#ifdef HAS_PROTO_MESSAGE_DUMP
1561 const char *message_name() const override { return "number_state_response"; }
1562#endif
1563 float state{0.0f};
1564 bool missing_state{false};
1565 void encode(ProtoWriteBuffer &buffer) const;
1566 uint32_t calculate_size() const;
1567#ifdef HAS_PROTO_MESSAGE_DUMP
1568 const char *dump_to(DumpBuffer &out) const override;
1569#endif
1570
1571 protected:
1572};
1574 public:
1575 static constexpr uint8_t MESSAGE_TYPE = 51;
1576 static constexpr uint8_t ESTIMATED_SIZE = 14;
1577#ifdef HAS_PROTO_MESSAGE_DUMP
1578 const char *message_name() const override { return "number_command_request"; }
1579#endif
1580 float state{0.0f};
1581#ifdef HAS_PROTO_MESSAGE_DUMP
1582 const char *dump_to(DumpBuffer &out) const override;
1583#endif
1584
1585 protected:
1586 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1587 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1588};
1589#endif
1590#ifdef USE_SELECT
1592 public:
1593 static constexpr uint8_t MESSAGE_TYPE = 52;
1594 static constexpr uint8_t ESTIMATED_SIZE = 58;
1595#ifdef HAS_PROTO_MESSAGE_DUMP
1596 const char *message_name() const override { return "list_entities_select_response"; }
1597#endif
1599 void encode(ProtoWriteBuffer &buffer) const;
1600 uint32_t calculate_size() const;
1601#ifdef HAS_PROTO_MESSAGE_DUMP
1602 const char *dump_to(DumpBuffer &out) const override;
1603#endif
1604
1605 protected:
1606};
1608 public:
1609 static constexpr uint8_t MESSAGE_TYPE = 53;
1610 static constexpr uint8_t ESTIMATED_SIZE = 20;
1611#ifdef HAS_PROTO_MESSAGE_DUMP
1612 const char *message_name() const override { return "select_state_response"; }
1613#endif
1615 bool missing_state{false};
1616 void encode(ProtoWriteBuffer &buffer) const;
1617 uint32_t calculate_size() const;
1618#ifdef HAS_PROTO_MESSAGE_DUMP
1619 const char *dump_to(DumpBuffer &out) const override;
1620#endif
1621
1622 protected:
1623};
1625 public:
1626 static constexpr uint8_t MESSAGE_TYPE = 54;
1627 static constexpr uint8_t ESTIMATED_SIZE = 18;
1628#ifdef HAS_PROTO_MESSAGE_DUMP
1629 const char *message_name() const override { return "select_command_request"; }
1630#endif
1632#ifdef HAS_PROTO_MESSAGE_DUMP
1633 const char *dump_to(DumpBuffer &out) const override;
1634#endif
1635
1636 protected:
1637 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1638 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1639 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1640};
1641#endif
1642#ifdef USE_SIREN
1644 public:
1645 static constexpr uint8_t MESSAGE_TYPE = 55;
1646 static constexpr uint8_t ESTIMATED_SIZE = 62;
1647#ifdef HAS_PROTO_MESSAGE_DUMP
1648 const char *message_name() const override { return "list_entities_siren_response"; }
1649#endif
1652 bool supports_volume{false};
1653 void encode(ProtoWriteBuffer &buffer) const;
1654 uint32_t calculate_size() const;
1655#ifdef HAS_PROTO_MESSAGE_DUMP
1656 const char *dump_to(DumpBuffer &out) const override;
1657#endif
1658
1659 protected:
1660};
1662 public:
1663 static constexpr uint8_t MESSAGE_TYPE = 56;
1664 static constexpr uint8_t ESTIMATED_SIZE = 11;
1665#ifdef HAS_PROTO_MESSAGE_DUMP
1666 const char *message_name() const override { return "siren_state_response"; }
1667#endif
1668 bool state{false};
1669 void encode(ProtoWriteBuffer &buffer) const;
1670 uint32_t calculate_size() const;
1671#ifdef HAS_PROTO_MESSAGE_DUMP
1672 const char *dump_to(DumpBuffer &out) const override;
1673#endif
1674
1675 protected:
1676};
1678 public:
1679 static constexpr uint8_t MESSAGE_TYPE = 57;
1680 static constexpr uint8_t ESTIMATED_SIZE = 37;
1681#ifdef HAS_PROTO_MESSAGE_DUMP
1682 const char *message_name() const override { return "siren_command_request"; }
1683#endif
1684 bool has_state{false};
1685 bool state{false};
1686 bool has_tone{false};
1688 bool has_duration{false};
1690 bool has_volume{false};
1691 float volume{0.0f};
1692#ifdef HAS_PROTO_MESSAGE_DUMP
1693 const char *dump_to(DumpBuffer &out) const override;
1694#endif
1695
1696 protected:
1697 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1698 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1699 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1700};
1701#endif
1702#ifdef USE_LOCK
1704 public:
1705 static constexpr uint8_t MESSAGE_TYPE = 58;
1706 static constexpr uint8_t ESTIMATED_SIZE = 55;
1707#ifdef HAS_PROTO_MESSAGE_DUMP
1708 const char *message_name() const override { return "list_entities_lock_response"; }
1709#endif
1710 bool assumed_state{false};
1711 bool supports_open{false};
1712 bool requires_code{false};
1714 void encode(ProtoWriteBuffer &buffer) const;
1715 uint32_t calculate_size() const;
1716#ifdef HAS_PROTO_MESSAGE_DUMP
1717 const char *dump_to(DumpBuffer &out) const override;
1718#endif
1719
1720 protected:
1721};
1723 public:
1724 static constexpr uint8_t MESSAGE_TYPE = 59;
1725 static constexpr uint8_t ESTIMATED_SIZE = 11;
1726#ifdef HAS_PROTO_MESSAGE_DUMP
1727 const char *message_name() const override { return "lock_state_response"; }
1728#endif
1730 void encode(ProtoWriteBuffer &buffer) const;
1731 uint32_t calculate_size() const;
1732#ifdef HAS_PROTO_MESSAGE_DUMP
1733 const char *dump_to(DumpBuffer &out) const override;
1734#endif
1735
1736 protected:
1737};
1739 public:
1740 static constexpr uint8_t MESSAGE_TYPE = 60;
1741 static constexpr uint8_t ESTIMATED_SIZE = 22;
1742#ifdef HAS_PROTO_MESSAGE_DUMP
1743 const char *message_name() const override { return "lock_command_request"; }
1744#endif
1746 bool has_code{false};
1748#ifdef HAS_PROTO_MESSAGE_DUMP
1749 const char *dump_to(DumpBuffer &out) const override;
1750#endif
1751
1752 protected:
1753 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1754 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1755 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1756};
1757#endif
1758#ifdef USE_BUTTON
1760 public:
1761 static constexpr uint8_t MESSAGE_TYPE = 61;
1762 static constexpr uint8_t ESTIMATED_SIZE = 49;
1763#ifdef HAS_PROTO_MESSAGE_DUMP
1764 const char *message_name() const override { return "list_entities_button_response"; }
1765#endif
1767 void encode(ProtoWriteBuffer &buffer) const;
1768 uint32_t calculate_size() const;
1769#ifdef HAS_PROTO_MESSAGE_DUMP
1770 const char *dump_to(DumpBuffer &out) const override;
1771#endif
1772
1773 protected:
1774};
1776 public:
1777 static constexpr uint8_t MESSAGE_TYPE = 62;
1778 static constexpr uint8_t ESTIMATED_SIZE = 9;
1779#ifdef HAS_PROTO_MESSAGE_DUMP
1780 const char *message_name() const override { return "button_command_request"; }
1781#endif
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_varint(uint32_t field_id, proto_varint_value_t value) override;
1789};
1790#endif
1791#ifdef USE_MEDIA_PLAYER
1793 public:
1799 void encode(ProtoWriteBuffer &buffer) const;
1800 uint32_t calculate_size() const;
1801#ifdef HAS_PROTO_MESSAGE_DUMP
1802 const char *dump_to(DumpBuffer &out) const override;
1803#endif
1804
1805 protected:
1806};
1808 public:
1809 static constexpr uint8_t MESSAGE_TYPE = 63;
1810 static constexpr uint8_t ESTIMATED_SIZE = 80;
1811#ifdef HAS_PROTO_MESSAGE_DUMP
1812 const char *message_name() const override { return "list_entities_media_player_response"; }
1813#endif
1814 bool supports_pause{false};
1815 std::vector<MediaPlayerSupportedFormat> supported_formats{};
1817 void encode(ProtoWriteBuffer &buffer) const;
1818 uint32_t calculate_size() const;
1819#ifdef HAS_PROTO_MESSAGE_DUMP
1820 const char *dump_to(DumpBuffer &out) const override;
1821#endif
1822
1823 protected:
1824};
1826 public:
1827 static constexpr uint8_t MESSAGE_TYPE = 64;
1828 static constexpr uint8_t ESTIMATED_SIZE = 18;
1829#ifdef HAS_PROTO_MESSAGE_DUMP
1830 const char *message_name() const override { return "media_player_state_response"; }
1831#endif
1833 float volume{0.0f};
1834 bool muted{false};
1835 void encode(ProtoWriteBuffer &buffer) const;
1836 uint32_t calculate_size() const;
1837#ifdef HAS_PROTO_MESSAGE_DUMP
1838 const char *dump_to(DumpBuffer &out) const override;
1839#endif
1840
1841 protected:
1842};
1844 public:
1845 static constexpr uint8_t MESSAGE_TYPE = 65;
1846 static constexpr uint8_t ESTIMATED_SIZE = 35;
1847#ifdef HAS_PROTO_MESSAGE_DUMP
1848 const char *message_name() const override { return "media_player_command_request"; }
1849#endif
1850 bool has_command{false};
1852 bool has_volume{false};
1853 float volume{0.0f};
1854 bool has_media_url{false};
1856 bool has_announcement{false};
1857 bool announcement{false};
1858#ifdef HAS_PROTO_MESSAGE_DUMP
1859 const char *dump_to(DumpBuffer &out) const override;
1860#endif
1861
1862 protected:
1863 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
1864 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
1865 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1866};
1867#endif
1868#ifdef USE_BLUETOOTH_PROXY
1870 public:
1871 static constexpr uint8_t MESSAGE_TYPE = 66;
1872 static constexpr uint8_t ESTIMATED_SIZE = 4;
1873#ifdef HAS_PROTO_MESSAGE_DUMP
1874 const char *message_name() const override { return "subscribe_bluetooth_le_advertisements_request"; }
1875#endif
1877#ifdef HAS_PROTO_MESSAGE_DUMP
1878 const char *dump_to(DumpBuffer &out) const override;
1879#endif
1880
1881 protected:
1882 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1883};
1885 public:
1886 uint64_t address{0};
1887 int32_t rssi{0};
1889 uint8_t data[62]{};
1890 uint8_t data_len{0};
1891 void encode(ProtoWriteBuffer &buffer) const;
1892 uint32_t calculate_size() const;
1893#ifdef HAS_PROTO_MESSAGE_DUMP
1894 const char *dump_to(DumpBuffer &out) const override;
1895#endif
1896
1897 protected:
1898};
1900 public:
1901 static constexpr uint8_t MESSAGE_TYPE = 93;
1902 static constexpr uint8_t ESTIMATED_SIZE = 136;
1903#ifdef HAS_PROTO_MESSAGE_DUMP
1904 const char *message_name() const override { return "bluetooth_le_raw_advertisements_response"; }
1905#endif
1906 std::array<BluetoothLERawAdvertisement, BLUETOOTH_PROXY_ADVERTISEMENT_BATCH_SIZE> advertisements{};
1908 void encode(ProtoWriteBuffer &buffer) const;
1909 uint32_t calculate_size() const;
1910#ifdef HAS_PROTO_MESSAGE_DUMP
1911 const char *dump_to(DumpBuffer &out) const override;
1912#endif
1913
1914 protected:
1915};
1917 public:
1918 static constexpr uint8_t MESSAGE_TYPE = 68;
1919 static constexpr uint8_t ESTIMATED_SIZE = 12;
1920#ifdef HAS_PROTO_MESSAGE_DUMP
1921 const char *message_name() const override { return "bluetooth_device_request"; }
1922#endif
1923 uint64_t address{0};
1925 bool has_address_type{false};
1927#ifdef HAS_PROTO_MESSAGE_DUMP
1928 const char *dump_to(DumpBuffer &out) const override;
1929#endif
1930
1931 protected:
1932 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1933};
1935 public:
1936 static constexpr uint8_t MESSAGE_TYPE = 69;
1937 static constexpr uint8_t ESTIMATED_SIZE = 14;
1938#ifdef HAS_PROTO_MESSAGE_DUMP
1939 const char *message_name() const override { return "bluetooth_device_connection_response"; }
1940#endif
1941 uint64_t address{0};
1942 bool connected{false};
1944 int32_t error{0};
1945 void encode(ProtoWriteBuffer &buffer) const;
1946 uint32_t calculate_size() const;
1947#ifdef HAS_PROTO_MESSAGE_DUMP
1948 const char *dump_to(DumpBuffer &out) const override;
1949#endif
1950
1951 protected:
1952};
1954 public:
1955 static constexpr uint8_t MESSAGE_TYPE = 70;
1956 static constexpr uint8_t ESTIMATED_SIZE = 4;
1957#ifdef HAS_PROTO_MESSAGE_DUMP
1958 const char *message_name() const override { return "bluetooth_gatt_get_services_request"; }
1959#endif
1960 uint64_t address{0};
1961#ifdef HAS_PROTO_MESSAGE_DUMP
1962 const char *dump_to(DumpBuffer &out) const override;
1963#endif
1964
1965 protected:
1966 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
1967};
1969 public:
1970 std::array<uint64_t, 2> uuid{};
1973 void encode(ProtoWriteBuffer &buffer) const;
1974 uint32_t calculate_size() const;
1975#ifdef HAS_PROTO_MESSAGE_DUMP
1976 const char *dump_to(DumpBuffer &out) const override;
1977#endif
1978
1979 protected:
1980};
1982 public:
1983 std::array<uint64_t, 2> uuid{};
1988 void encode(ProtoWriteBuffer &buffer) const;
1989 uint32_t calculate_size() const;
1990#ifdef HAS_PROTO_MESSAGE_DUMP
1991 const char *dump_to(DumpBuffer &out) const override;
1992#endif
1993
1994 protected:
1995};
1997 public:
1998 std::array<uint64_t, 2> uuid{};
2002 void encode(ProtoWriteBuffer &buffer) const;
2003 uint32_t calculate_size() const;
2004#ifdef HAS_PROTO_MESSAGE_DUMP
2005 const char *dump_to(DumpBuffer &out) const override;
2006#endif
2007
2008 protected:
2009};
2011 public:
2012 static constexpr uint8_t MESSAGE_TYPE = 71;
2013 static constexpr uint8_t ESTIMATED_SIZE = 38;
2014#ifdef HAS_PROTO_MESSAGE_DUMP
2015 const char *message_name() const override { return "bluetooth_gatt_get_services_response"; }
2016#endif
2017 uint64_t address{0};
2018 std::vector<BluetoothGATTService> services{};
2019 void encode(ProtoWriteBuffer &buffer) const;
2020 uint32_t calculate_size() const;
2021#ifdef HAS_PROTO_MESSAGE_DUMP
2022 const char *dump_to(DumpBuffer &out) const override;
2023#endif
2024
2025 protected:
2026};
2028 public:
2029 static constexpr uint8_t MESSAGE_TYPE = 72;
2030 static constexpr uint8_t ESTIMATED_SIZE = 4;
2031#ifdef HAS_PROTO_MESSAGE_DUMP
2032 const char *message_name() const override { return "bluetooth_gatt_get_services_done_response"; }
2033#endif
2034 uint64_t address{0};
2035 void encode(ProtoWriteBuffer &buffer) 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 = 73;
2046 static constexpr uint8_t ESTIMATED_SIZE = 8;
2047#ifdef HAS_PROTO_MESSAGE_DUMP
2048 const char *message_name() const override { return "bluetooth_gatt_read_request"; }
2049#endif
2050 uint64_t address{0};
2052#ifdef HAS_PROTO_MESSAGE_DUMP
2053 const char *dump_to(DumpBuffer &out) const override;
2054#endif
2055
2056 protected:
2057 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2058};
2060 public:
2061 static constexpr uint8_t MESSAGE_TYPE = 74;
2062 static constexpr uint8_t ESTIMATED_SIZE = 27;
2063#ifdef HAS_PROTO_MESSAGE_DUMP
2064 const char *message_name() const override { return "bluetooth_gatt_read_response"; }
2065#endif
2066 uint64_t address{0};
2068 const uint8_t *data_ptr_{nullptr};
2069 size_t data_len_{0};
2070 void set_data(const uint8_t *data, size_t len) {
2071 this->data_ptr_ = data;
2072 this->data_len_ = len;
2073 }
2074 void encode(ProtoWriteBuffer &buffer) const;
2075 uint32_t calculate_size() const;
2076#ifdef HAS_PROTO_MESSAGE_DUMP
2077 const char *dump_to(DumpBuffer &out) const override;
2078#endif
2079
2080 protected:
2081};
2083 public:
2084 static constexpr uint8_t MESSAGE_TYPE = 75;
2085 static constexpr uint8_t ESTIMATED_SIZE = 29;
2086#ifdef HAS_PROTO_MESSAGE_DUMP
2087 const char *message_name() const override { return "bluetooth_gatt_write_request"; }
2088#endif
2089 uint64_t address{0};
2091 bool response{false};
2092 const uint8_t *data{nullptr};
2093 uint16_t data_len{0};
2094#ifdef HAS_PROTO_MESSAGE_DUMP
2095 const char *dump_to(DumpBuffer &out) const override;
2096#endif
2097
2098 protected:
2099 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2100 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2101};
2103 public:
2104 static constexpr uint8_t MESSAGE_TYPE = 76;
2105 static constexpr uint8_t ESTIMATED_SIZE = 8;
2106#ifdef HAS_PROTO_MESSAGE_DUMP
2107 const char *message_name() const override { return "bluetooth_gatt_read_descriptor_request"; }
2108#endif
2109 uint64_t address{0};
2111#ifdef HAS_PROTO_MESSAGE_DUMP
2112 const char *dump_to(DumpBuffer &out) const override;
2113#endif
2114
2115 protected:
2116 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2117};
2119 public:
2120 static constexpr uint8_t MESSAGE_TYPE = 77;
2121 static constexpr uint8_t ESTIMATED_SIZE = 27;
2122#ifdef HAS_PROTO_MESSAGE_DUMP
2123 const char *message_name() const override { return "bluetooth_gatt_write_descriptor_request"; }
2124#endif
2125 uint64_t address{0};
2127 const uint8_t *data{nullptr};
2128 uint16_t data_len{0};
2129#ifdef HAS_PROTO_MESSAGE_DUMP
2130 const char *dump_to(DumpBuffer &out) const override;
2131#endif
2132
2133 protected:
2134 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2135 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2136};
2138 public:
2139 static constexpr uint8_t MESSAGE_TYPE = 78;
2140 static constexpr uint8_t ESTIMATED_SIZE = 10;
2141#ifdef HAS_PROTO_MESSAGE_DUMP
2142 const char *message_name() const override { return "bluetooth_gatt_notify_request"; }
2143#endif
2144 uint64_t address{0};
2146 bool enable{false};
2147#ifdef HAS_PROTO_MESSAGE_DUMP
2148 const char *dump_to(DumpBuffer &out) const override;
2149#endif
2150
2151 protected:
2152 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2153};
2155 public:
2156 static constexpr uint8_t MESSAGE_TYPE = 79;
2157 static constexpr uint8_t ESTIMATED_SIZE = 27;
2158#ifdef HAS_PROTO_MESSAGE_DUMP
2159 const char *message_name() const override { return "bluetooth_gatt_notify_data_response"; }
2160#endif
2161 uint64_t address{0};
2163 const uint8_t *data_ptr_{nullptr};
2164 size_t data_len_{0};
2165 void set_data(const uint8_t *data, size_t len) {
2166 this->data_ptr_ = data;
2167 this->data_len_ = len;
2168 }
2169 void encode(ProtoWriteBuffer &buffer) const;
2170 uint32_t calculate_size() const;
2171#ifdef HAS_PROTO_MESSAGE_DUMP
2172 const char *dump_to(DumpBuffer &out) const override;
2173#endif
2174
2175 protected:
2176};
2178 public:
2179 static constexpr uint8_t MESSAGE_TYPE = 81;
2180 static constexpr uint8_t ESTIMATED_SIZE = 20;
2181#ifdef HAS_PROTO_MESSAGE_DUMP
2182 const char *message_name() const override { return "bluetooth_connections_free_response"; }
2183#endif
2186 std::array<uint64_t, BLUETOOTH_PROXY_MAX_CONNECTIONS> allocated{};
2187 void encode(ProtoWriteBuffer &buffer) const;
2188 uint32_t calculate_size() const;
2189#ifdef HAS_PROTO_MESSAGE_DUMP
2190 const char *dump_to(DumpBuffer &out) const override;
2191#endif
2192
2193 protected:
2194};
2196 public:
2197 static constexpr uint8_t MESSAGE_TYPE = 82;
2198 static constexpr uint8_t ESTIMATED_SIZE = 12;
2199#ifdef HAS_PROTO_MESSAGE_DUMP
2200 const char *message_name() const override { return "bluetooth_gatt_error_response"; }
2201#endif
2202 uint64_t address{0};
2204 int32_t error{0};
2205 void encode(ProtoWriteBuffer &buffer) const;
2206 uint32_t calculate_size() const;
2207#ifdef HAS_PROTO_MESSAGE_DUMP
2208 const char *dump_to(DumpBuffer &out) const override;
2209#endif
2210
2211 protected:
2212};
2214 public:
2215 static constexpr uint8_t MESSAGE_TYPE = 83;
2216 static constexpr uint8_t ESTIMATED_SIZE = 8;
2217#ifdef HAS_PROTO_MESSAGE_DUMP
2218 const char *message_name() const override { return "bluetooth_gatt_write_response"; }
2219#endif
2220 uint64_t address{0};
2222 void encode(ProtoWriteBuffer &buffer) const;
2223 uint32_t calculate_size() const;
2224#ifdef HAS_PROTO_MESSAGE_DUMP
2225 const char *dump_to(DumpBuffer &out) const override;
2226#endif
2227
2228 protected:
2229};
2231 public:
2232 static constexpr uint8_t MESSAGE_TYPE = 84;
2233 static constexpr uint8_t ESTIMATED_SIZE = 8;
2234#ifdef HAS_PROTO_MESSAGE_DUMP
2235 const char *message_name() const override { return "bluetooth_gatt_notify_response"; }
2236#endif
2237 uint64_t address{0};
2239 void encode(ProtoWriteBuffer &buffer) const;
2240 uint32_t calculate_size() const;
2241#ifdef HAS_PROTO_MESSAGE_DUMP
2242 const char *dump_to(DumpBuffer &out) const override;
2243#endif
2244
2245 protected:
2246};
2248 public:
2249 static constexpr uint8_t MESSAGE_TYPE = 85;
2250 static constexpr uint8_t ESTIMATED_SIZE = 10;
2251#ifdef HAS_PROTO_MESSAGE_DUMP
2252 const char *message_name() const override { return "bluetooth_device_pairing_response"; }
2253#endif
2254 uint64_t address{0};
2255 bool paired{false};
2256 int32_t error{0};
2257 void encode(ProtoWriteBuffer &buffer) const;
2258 uint32_t calculate_size() const;
2259#ifdef HAS_PROTO_MESSAGE_DUMP
2260 const char *dump_to(DumpBuffer &out) const override;
2261#endif
2262
2263 protected:
2264};
2266 public:
2267 static constexpr uint8_t MESSAGE_TYPE = 86;
2268 static constexpr uint8_t ESTIMATED_SIZE = 10;
2269#ifdef HAS_PROTO_MESSAGE_DUMP
2270 const char *message_name() const override { return "bluetooth_device_unpairing_response"; }
2271#endif
2272 uint64_t address{0};
2273 bool success{false};
2274 int32_t error{0};
2275 void encode(ProtoWriteBuffer &buffer) const;
2276 uint32_t calculate_size() const;
2277#ifdef HAS_PROTO_MESSAGE_DUMP
2278 const char *dump_to(DumpBuffer &out) const override;
2279#endif
2280
2281 protected:
2282};
2284 public:
2285 static constexpr uint8_t MESSAGE_TYPE = 88;
2286 static constexpr uint8_t ESTIMATED_SIZE = 10;
2287#ifdef HAS_PROTO_MESSAGE_DUMP
2288 const char *message_name() const override { return "bluetooth_device_clear_cache_response"; }
2289#endif
2290 uint64_t address{0};
2291 bool success{false};
2292 int32_t error{0};
2293 void encode(ProtoWriteBuffer &buffer) const;
2294 uint32_t calculate_size() const;
2295#ifdef HAS_PROTO_MESSAGE_DUMP
2296 const char *dump_to(DumpBuffer &out) const override;
2297#endif
2298
2299 protected:
2300};
2302 public:
2303 static constexpr uint8_t MESSAGE_TYPE = 126;
2304 static constexpr uint8_t ESTIMATED_SIZE = 6;
2305#ifdef HAS_PROTO_MESSAGE_DUMP
2306 const char *message_name() const override { return "bluetooth_scanner_state_response"; }
2307#endif
2311 void encode(ProtoWriteBuffer &buffer) const;
2312 uint32_t calculate_size() const;
2313#ifdef HAS_PROTO_MESSAGE_DUMP
2314 const char *dump_to(DumpBuffer &out) const override;
2315#endif
2316
2317 protected:
2318};
2320 public:
2321 static constexpr uint8_t MESSAGE_TYPE = 127;
2322 static constexpr uint8_t ESTIMATED_SIZE = 2;
2323#ifdef HAS_PROTO_MESSAGE_DUMP
2324 const char *message_name() const override { return "bluetooth_scanner_set_mode_request"; }
2325#endif
2327#ifdef HAS_PROTO_MESSAGE_DUMP
2328 const char *dump_to(DumpBuffer &out) const override;
2329#endif
2330
2331 protected:
2332 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2333};
2334#endif
2335#ifdef USE_VOICE_ASSISTANT
2337 public:
2338 static constexpr uint8_t MESSAGE_TYPE = 89;
2339 static constexpr uint8_t ESTIMATED_SIZE = 6;
2340#ifdef HAS_PROTO_MESSAGE_DUMP
2341 const char *message_name() const override { return "subscribe_voice_assistant_request"; }
2342#endif
2343 bool subscribe{false};
2345#ifdef HAS_PROTO_MESSAGE_DUMP
2346 const char *dump_to(DumpBuffer &out) const override;
2347#endif
2348
2349 protected:
2350 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2351};
2353 public:
2357 void encode(ProtoWriteBuffer &buffer) const;
2358 uint32_t calculate_size() const;
2359#ifdef HAS_PROTO_MESSAGE_DUMP
2360 const char *dump_to(DumpBuffer &out) const override;
2361#endif
2362
2363 protected:
2364};
2366 public:
2367 static constexpr uint8_t MESSAGE_TYPE = 90;
2368 static constexpr uint8_t ESTIMATED_SIZE = 41;
2369#ifdef HAS_PROTO_MESSAGE_DUMP
2370 const char *message_name() const override { return "voice_assistant_request"; }
2371#endif
2372 bool start{false};
2377 void encode(ProtoWriteBuffer &buffer) const;
2378 uint32_t calculate_size() const;
2379#ifdef HAS_PROTO_MESSAGE_DUMP
2380 const char *dump_to(DumpBuffer &out) const override;
2381#endif
2382
2383 protected:
2384};
2386 public:
2387 static constexpr uint8_t MESSAGE_TYPE = 91;
2388 static constexpr uint8_t ESTIMATED_SIZE = 6;
2389#ifdef HAS_PROTO_MESSAGE_DUMP
2390 const char *message_name() const override { return "voice_assistant_response"; }
2391#endif
2393 bool error{false};
2394#ifdef HAS_PROTO_MESSAGE_DUMP
2395 const char *dump_to(DumpBuffer &out) const override;
2396#endif
2397
2398 protected:
2399 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2400};
2402 public:
2405#ifdef HAS_PROTO_MESSAGE_DUMP
2406 const char *dump_to(DumpBuffer &out) const override;
2407#endif
2408
2409 protected:
2410 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2411};
2413 public:
2414 static constexpr uint8_t MESSAGE_TYPE = 92;
2415 static constexpr uint8_t ESTIMATED_SIZE = 36;
2416#ifdef HAS_PROTO_MESSAGE_DUMP
2417 const char *message_name() const override { return "voice_assistant_event_response"; }
2418#endif
2420 std::vector<VoiceAssistantEventData> data{};
2421#ifdef HAS_PROTO_MESSAGE_DUMP
2422 const char *dump_to(DumpBuffer &out) const override;
2423#endif
2424
2425 protected:
2426 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2427 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2428};
2430 public:
2431 static constexpr uint8_t MESSAGE_TYPE = 106;
2432 static constexpr uint8_t ESTIMATED_SIZE = 21;
2433#ifdef HAS_PROTO_MESSAGE_DUMP
2434 const char *message_name() const override { return "voice_assistant_audio"; }
2435#endif
2436 const uint8_t *data{nullptr};
2437 uint16_t data_len{0};
2438 bool end{false};
2439 void encode(ProtoWriteBuffer &buffer) const;
2440 uint32_t calculate_size() const;
2441#ifdef HAS_PROTO_MESSAGE_DUMP
2442 const char *dump_to(DumpBuffer &out) const override;
2443#endif
2444
2445 protected:
2446 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2447 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2448};
2450 public:
2451 static constexpr uint8_t MESSAGE_TYPE = 115;
2452 static constexpr uint8_t ESTIMATED_SIZE = 30;
2453#ifdef HAS_PROTO_MESSAGE_DUMP
2454 const char *message_name() const override { return "voice_assistant_timer_event_response"; }
2455#endif
2461 bool is_active{false};
2462#ifdef HAS_PROTO_MESSAGE_DUMP
2463 const char *dump_to(DumpBuffer &out) const override;
2464#endif
2465
2466 protected:
2467 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2468 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2469};
2471 public:
2472 static constexpr uint8_t MESSAGE_TYPE = 119;
2473 static constexpr uint8_t ESTIMATED_SIZE = 29;
2474#ifdef HAS_PROTO_MESSAGE_DUMP
2475 const char *message_name() const override { return "voice_assistant_announce_request"; }
2476#endif
2481#ifdef HAS_PROTO_MESSAGE_DUMP
2482 const char *dump_to(DumpBuffer &out) const override;
2483#endif
2484
2485 protected:
2486 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2487 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2488};
2490 public:
2491 static constexpr uint8_t MESSAGE_TYPE = 120;
2492 static constexpr uint8_t ESTIMATED_SIZE = 2;
2493#ifdef HAS_PROTO_MESSAGE_DUMP
2494 const char *message_name() const override { return "voice_assistant_announce_finished"; }
2495#endif
2496 bool success{false};
2497 void encode(ProtoWriteBuffer &buffer) const;
2498 uint32_t calculate_size() const;
2499#ifdef HAS_PROTO_MESSAGE_DUMP
2500 const char *dump_to(DumpBuffer &out) const override;
2501#endif
2502
2503 protected:
2504};
2506 public:
2509 std::vector<std::string> trained_languages{};
2510 void encode(ProtoWriteBuffer &buffer) const;
2511 uint32_t calculate_size() const;
2512#ifdef HAS_PROTO_MESSAGE_DUMP
2513 const char *dump_to(DumpBuffer &out) const override;
2514#endif
2515
2516 protected:
2517};
2519 public:
2522 std::vector<std::string> trained_languages{};
2527#ifdef HAS_PROTO_MESSAGE_DUMP
2528 const char *dump_to(DumpBuffer &out) const override;
2529#endif
2530
2531 protected:
2532 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2533 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2534};
2536 public:
2537 static constexpr uint8_t MESSAGE_TYPE = 121;
2538 static constexpr uint8_t ESTIMATED_SIZE = 34;
2539#ifdef HAS_PROTO_MESSAGE_DUMP
2540 const char *message_name() const override { return "voice_assistant_configuration_request"; }
2541#endif
2542 std::vector<VoiceAssistantExternalWakeWord> external_wake_words{};
2543#ifdef HAS_PROTO_MESSAGE_DUMP
2544 const char *dump_to(DumpBuffer &out) const override;
2545#endif
2546
2547 protected:
2548 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2549};
2551 public:
2552 static constexpr uint8_t MESSAGE_TYPE = 122;
2553 static constexpr uint8_t ESTIMATED_SIZE = 56;
2554#ifdef HAS_PROTO_MESSAGE_DUMP
2555 const char *message_name() const override { return "voice_assistant_configuration_response"; }
2556#endif
2557 std::vector<VoiceAssistantWakeWord> available_wake_words{};
2558 const std::vector<std::string> *active_wake_words{};
2560 void encode(ProtoWriteBuffer &buffer) const;
2561 uint32_t calculate_size() const;
2562#ifdef HAS_PROTO_MESSAGE_DUMP
2563 const char *dump_to(DumpBuffer &out) const override;
2564#endif
2565
2566 protected:
2567};
2569 public:
2570 static constexpr uint8_t MESSAGE_TYPE = 123;
2571 static constexpr uint8_t ESTIMATED_SIZE = 18;
2572#ifdef HAS_PROTO_MESSAGE_DUMP
2573 const char *message_name() const override { return "voice_assistant_set_configuration"; }
2574#endif
2575 std::vector<std::string> active_wake_words{};
2576#ifdef HAS_PROTO_MESSAGE_DUMP
2577 const char *dump_to(DumpBuffer &out) const override;
2578#endif
2579
2580 protected:
2581 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2582};
2583#endif
2584#ifdef USE_ALARM_CONTROL_PANEL
2586 public:
2587 static constexpr uint8_t MESSAGE_TYPE = 94;
2588 static constexpr uint8_t ESTIMATED_SIZE = 48;
2589#ifdef HAS_PROTO_MESSAGE_DUMP
2590 const char *message_name() const override { return "list_entities_alarm_control_panel_response"; }
2591#endif
2593 bool requires_code{false};
2595 void encode(ProtoWriteBuffer &buffer) const;
2596 uint32_t calculate_size() const;
2597#ifdef HAS_PROTO_MESSAGE_DUMP
2598 const char *dump_to(DumpBuffer &out) const override;
2599#endif
2600
2601 protected:
2602};
2604 public:
2605 static constexpr uint8_t MESSAGE_TYPE = 95;
2606 static constexpr uint8_t ESTIMATED_SIZE = 11;
2607#ifdef HAS_PROTO_MESSAGE_DUMP
2608 const char *message_name() const override { return "alarm_control_panel_state_response"; }
2609#endif
2611 void encode(ProtoWriteBuffer &buffer) const;
2612 uint32_t calculate_size() const;
2613#ifdef HAS_PROTO_MESSAGE_DUMP
2614 const char *dump_to(DumpBuffer &out) const override;
2615#endif
2616
2617 protected:
2618};
2620 public:
2621 static constexpr uint8_t MESSAGE_TYPE = 96;
2622 static constexpr uint8_t ESTIMATED_SIZE = 20;
2623#ifdef HAS_PROTO_MESSAGE_DUMP
2624 const char *message_name() const override { return "alarm_control_panel_command_request"; }
2625#endif
2628#ifdef HAS_PROTO_MESSAGE_DUMP
2629 const char *dump_to(DumpBuffer &out) const override;
2630#endif
2631
2632 protected:
2633 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2634 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2635 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2636};
2637#endif
2638#ifdef USE_TEXT
2640 public:
2641 static constexpr uint8_t MESSAGE_TYPE = 97;
2642 static constexpr uint8_t ESTIMATED_SIZE = 59;
2643#ifdef HAS_PROTO_MESSAGE_DUMP
2644 const char *message_name() const override { return "list_entities_text_response"; }
2645#endif
2650 void encode(ProtoWriteBuffer &buffer) const;
2651 uint32_t calculate_size() const;
2652#ifdef HAS_PROTO_MESSAGE_DUMP
2653 const char *dump_to(DumpBuffer &out) const override;
2654#endif
2655
2656 protected:
2657};
2659 public:
2660 static constexpr uint8_t MESSAGE_TYPE = 98;
2661 static constexpr uint8_t ESTIMATED_SIZE = 20;
2662#ifdef HAS_PROTO_MESSAGE_DUMP
2663 const char *message_name() const override { return "text_state_response"; }
2664#endif
2666 bool missing_state{false};
2667 void encode(ProtoWriteBuffer &buffer) const;
2668 uint32_t calculate_size() const;
2669#ifdef HAS_PROTO_MESSAGE_DUMP
2670 const char *dump_to(DumpBuffer &out) const override;
2671#endif
2672
2673 protected:
2674};
2676 public:
2677 static constexpr uint8_t MESSAGE_TYPE = 99;
2678 static constexpr uint8_t ESTIMATED_SIZE = 18;
2679#ifdef HAS_PROTO_MESSAGE_DUMP
2680 const char *message_name() const override { return "text_command_request"; }
2681#endif
2683#ifdef HAS_PROTO_MESSAGE_DUMP
2684 const char *dump_to(DumpBuffer &out) const override;
2685#endif
2686
2687 protected:
2688 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2689 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
2690 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2691};
2692#endif
2693#ifdef USE_DATETIME_DATE
2695 public:
2696 static constexpr uint8_t MESSAGE_TYPE = 100;
2697 static constexpr uint8_t ESTIMATED_SIZE = 40;
2698#ifdef HAS_PROTO_MESSAGE_DUMP
2699 const char *message_name() const override { return "list_entities_date_response"; }
2700#endif
2701 void encode(ProtoWriteBuffer &buffer) const;
2702 uint32_t calculate_size() const;
2703#ifdef HAS_PROTO_MESSAGE_DUMP
2704 const char *dump_to(DumpBuffer &out) const override;
2705#endif
2706
2707 protected:
2708};
2710 public:
2711 static constexpr uint8_t MESSAGE_TYPE = 101;
2712 static constexpr uint8_t ESTIMATED_SIZE = 23;
2713#ifdef HAS_PROTO_MESSAGE_DUMP
2714 const char *message_name() const override { return "date_state_response"; }
2715#endif
2716 bool missing_state{false};
2720 void encode(ProtoWriteBuffer &buffer) const;
2721 uint32_t calculate_size() const;
2722#ifdef HAS_PROTO_MESSAGE_DUMP
2723 const char *dump_to(DumpBuffer &out) const override;
2724#endif
2725
2726 protected:
2727};
2729 public:
2730 static constexpr uint8_t MESSAGE_TYPE = 102;
2731 static constexpr uint8_t ESTIMATED_SIZE = 21;
2732#ifdef HAS_PROTO_MESSAGE_DUMP
2733 const char *message_name() const override { return "date_command_request"; }
2734#endif
2738#ifdef HAS_PROTO_MESSAGE_DUMP
2739 const char *dump_to(DumpBuffer &out) const override;
2740#endif
2741
2742 protected:
2743 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2744 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2745};
2746#endif
2747#ifdef USE_DATETIME_TIME
2749 public:
2750 static constexpr uint8_t MESSAGE_TYPE = 103;
2751 static constexpr uint8_t ESTIMATED_SIZE = 40;
2752#ifdef HAS_PROTO_MESSAGE_DUMP
2753 const char *message_name() const override { return "list_entities_time_response"; }
2754#endif
2755 void encode(ProtoWriteBuffer &buffer) const;
2756 uint32_t calculate_size() const;
2757#ifdef HAS_PROTO_MESSAGE_DUMP
2758 const char *dump_to(DumpBuffer &out) const override;
2759#endif
2760
2761 protected:
2762};
2764 public:
2765 static constexpr uint8_t MESSAGE_TYPE = 104;
2766 static constexpr uint8_t ESTIMATED_SIZE = 23;
2767#ifdef HAS_PROTO_MESSAGE_DUMP
2768 const char *message_name() const override { return "time_state_response"; }
2769#endif
2770 bool missing_state{false};
2774 void encode(ProtoWriteBuffer &buffer) const;
2775 uint32_t calculate_size() const;
2776#ifdef HAS_PROTO_MESSAGE_DUMP
2777 const char *dump_to(DumpBuffer &out) const override;
2778#endif
2779
2780 protected:
2781};
2783 public:
2784 static constexpr uint8_t MESSAGE_TYPE = 105;
2785 static constexpr uint8_t ESTIMATED_SIZE = 21;
2786#ifdef HAS_PROTO_MESSAGE_DUMP
2787 const char *message_name() const override { return "time_command_request"; }
2788#endif
2792#ifdef HAS_PROTO_MESSAGE_DUMP
2793 const char *dump_to(DumpBuffer &out) const override;
2794#endif
2795
2796 protected:
2797 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2798 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2799};
2800#endif
2801#ifdef USE_EVENT
2803 public:
2804 static constexpr uint8_t MESSAGE_TYPE = 107;
2805 static constexpr uint8_t ESTIMATED_SIZE = 67;
2806#ifdef HAS_PROTO_MESSAGE_DUMP
2807 const char *message_name() const override { return "list_entities_event_response"; }
2808#endif
2811 void encode(ProtoWriteBuffer &buffer) const;
2812 uint32_t calculate_size() const;
2813#ifdef HAS_PROTO_MESSAGE_DUMP
2814 const char *dump_to(DumpBuffer &out) const override;
2815#endif
2816
2817 protected:
2818};
2820 public:
2821 static constexpr uint8_t MESSAGE_TYPE = 108;
2822 static constexpr uint8_t ESTIMATED_SIZE = 18;
2823#ifdef HAS_PROTO_MESSAGE_DUMP
2824 const char *message_name() const override { return "event_response"; }
2825#endif
2827 void encode(ProtoWriteBuffer &buffer) const;
2828 uint32_t calculate_size() const;
2829#ifdef HAS_PROTO_MESSAGE_DUMP
2830 const char *dump_to(DumpBuffer &out) const override;
2831#endif
2832
2833 protected:
2834};
2835#endif
2836#ifdef USE_VALVE
2838 public:
2839 static constexpr uint8_t MESSAGE_TYPE = 109;
2840 static constexpr uint8_t ESTIMATED_SIZE = 55;
2841#ifdef HAS_PROTO_MESSAGE_DUMP
2842 const char *message_name() const override { return "list_entities_valve_response"; }
2843#endif
2845 bool assumed_state{false};
2847 bool supports_stop{false};
2848 void encode(ProtoWriteBuffer &buffer) const;
2849 uint32_t calculate_size() const;
2850#ifdef HAS_PROTO_MESSAGE_DUMP
2851 const char *dump_to(DumpBuffer &out) const override;
2852#endif
2853
2854 protected:
2855};
2857 public:
2858 static constexpr uint8_t MESSAGE_TYPE = 110;
2859 static constexpr uint8_t ESTIMATED_SIZE = 16;
2860#ifdef HAS_PROTO_MESSAGE_DUMP
2861 const char *message_name() const override { return "valve_state_response"; }
2862#endif
2863 float position{0.0f};
2865 void encode(ProtoWriteBuffer &buffer) const;
2866 uint32_t calculate_size() const;
2867#ifdef HAS_PROTO_MESSAGE_DUMP
2868 const char *dump_to(DumpBuffer &out) const override;
2869#endif
2870
2871 protected:
2872};
2874 public:
2875 static constexpr uint8_t MESSAGE_TYPE = 111;
2876 static constexpr uint8_t ESTIMATED_SIZE = 18;
2877#ifdef HAS_PROTO_MESSAGE_DUMP
2878 const char *message_name() const override { return "valve_command_request"; }
2879#endif
2880 bool has_position{false};
2881 float position{0.0f};
2882 bool stop{false};
2883#ifdef HAS_PROTO_MESSAGE_DUMP
2884 const char *dump_to(DumpBuffer &out) const override;
2885#endif
2886
2887 protected:
2888 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2889 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2890};
2891#endif
2892#ifdef USE_DATETIME_DATETIME
2894 public:
2895 static constexpr uint8_t MESSAGE_TYPE = 112;
2896 static constexpr uint8_t ESTIMATED_SIZE = 40;
2897#ifdef HAS_PROTO_MESSAGE_DUMP
2898 const char *message_name() const override { return "list_entities_date_time_response"; }
2899#endif
2900 void encode(ProtoWriteBuffer &buffer) const;
2901 uint32_t calculate_size() const;
2902#ifdef HAS_PROTO_MESSAGE_DUMP
2903 const char *dump_to(DumpBuffer &out) const override;
2904#endif
2905
2906 protected:
2907};
2909 public:
2910 static constexpr uint8_t MESSAGE_TYPE = 113;
2911 static constexpr uint8_t ESTIMATED_SIZE = 16;
2912#ifdef HAS_PROTO_MESSAGE_DUMP
2913 const char *message_name() const override { return "date_time_state_response"; }
2914#endif
2915 bool missing_state{false};
2917 void encode(ProtoWriteBuffer &buffer) const;
2918 uint32_t calculate_size() const;
2919#ifdef HAS_PROTO_MESSAGE_DUMP
2920 const char *dump_to(DumpBuffer &out) const override;
2921#endif
2922
2923 protected:
2924};
2926 public:
2927 static constexpr uint8_t MESSAGE_TYPE = 114;
2928 static constexpr uint8_t ESTIMATED_SIZE = 14;
2929#ifdef HAS_PROTO_MESSAGE_DUMP
2930 const char *message_name() const override { return "date_time_command_request"; }
2931#endif
2933#ifdef HAS_PROTO_MESSAGE_DUMP
2934 const char *dump_to(DumpBuffer &out) const override;
2935#endif
2936
2937 protected:
2938 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2939 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2940};
2941#endif
2942#ifdef USE_UPDATE
2944 public:
2945 static constexpr uint8_t MESSAGE_TYPE = 116;
2946 static constexpr uint8_t ESTIMATED_SIZE = 49;
2947#ifdef HAS_PROTO_MESSAGE_DUMP
2948 const char *message_name() const override { return "list_entities_update_response"; }
2949#endif
2951 void encode(ProtoWriteBuffer &buffer) const;
2952 uint32_t calculate_size() const;
2953#ifdef HAS_PROTO_MESSAGE_DUMP
2954 const char *dump_to(DumpBuffer &out) const override;
2955#endif
2956
2957 protected:
2958};
2960 public:
2961 static constexpr uint8_t MESSAGE_TYPE = 117;
2962 static constexpr uint8_t ESTIMATED_SIZE = 65;
2963#ifdef HAS_PROTO_MESSAGE_DUMP
2964 const char *message_name() const override { return "update_state_response"; }
2965#endif
2966 bool missing_state{false};
2967 bool in_progress{false};
2968 bool has_progress{false};
2969 float progress{0.0f};
2975 void encode(ProtoWriteBuffer &buffer) const;
2976 uint32_t calculate_size() const;
2977#ifdef HAS_PROTO_MESSAGE_DUMP
2978 const char *dump_to(DumpBuffer &out) const override;
2979#endif
2980
2981 protected:
2982};
2984 public:
2985 static constexpr uint8_t MESSAGE_TYPE = 118;
2986 static constexpr uint8_t ESTIMATED_SIZE = 11;
2987#ifdef HAS_PROTO_MESSAGE_DUMP
2988 const char *message_name() const override { return "update_command_request"; }
2989#endif
2991#ifdef HAS_PROTO_MESSAGE_DUMP
2992 const char *dump_to(DumpBuffer &out) const override;
2993#endif
2994
2995 protected:
2996 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
2997 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
2998};
2999#endif
3000#ifdef USE_ZWAVE_PROXY
3002 public:
3003 static constexpr uint8_t MESSAGE_TYPE = 128;
3004 static constexpr uint8_t ESTIMATED_SIZE = 19;
3005#ifdef HAS_PROTO_MESSAGE_DUMP
3006 const char *message_name() const override { return "z_wave_proxy_frame"; }
3007#endif
3008 const uint8_t *data{nullptr};
3009 uint16_t data_len{0};
3010 void encode(ProtoWriteBuffer &buffer) const;
3011 uint32_t calculate_size() const;
3012#ifdef HAS_PROTO_MESSAGE_DUMP
3013 const char *dump_to(DumpBuffer &out) const override;
3014#endif
3015
3016 protected:
3017 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3018};
3020 public:
3021 static constexpr uint8_t MESSAGE_TYPE = 129;
3022 static constexpr uint8_t ESTIMATED_SIZE = 21;
3023#ifdef HAS_PROTO_MESSAGE_DUMP
3024 const char *message_name() const override { return "z_wave_proxy_request"; }
3025#endif
3027 const uint8_t *data{nullptr};
3028 uint16_t data_len{0};
3029 void encode(ProtoWriteBuffer &buffer) const;
3030 uint32_t calculate_size() const;
3031#ifdef HAS_PROTO_MESSAGE_DUMP
3032 const char *dump_to(DumpBuffer &out) const override;
3033#endif
3034
3035 protected:
3036 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3037 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3038};
3039#endif
3040#ifdef USE_INFRARED
3042 public:
3043 static constexpr uint8_t MESSAGE_TYPE = 135;
3044 static constexpr uint8_t ESTIMATED_SIZE = 44;
3045#ifdef HAS_PROTO_MESSAGE_DUMP
3046 const char *message_name() const override { return "list_entities_infrared_response"; }
3047#endif
3049 void encode(ProtoWriteBuffer &buffer) const;
3050 uint32_t calculate_size() const;
3051#ifdef HAS_PROTO_MESSAGE_DUMP
3052 const char *dump_to(DumpBuffer &out) const override;
3053#endif
3054
3055 protected:
3056};
3057#endif
3058#ifdef USE_IR_RF
3060 public:
3061 static constexpr uint8_t MESSAGE_TYPE = 136;
3062 static constexpr uint8_t ESTIMATED_SIZE = 220;
3063#ifdef HAS_PROTO_MESSAGE_DUMP
3064 const char *message_name() const override { return "infrared_rf_transmit_raw_timings_request"; }
3065#endif
3066#ifdef USE_DEVICES
3068#endif
3072 const uint8_t *timings_data_{nullptr};
3073 uint16_t timings_length_{0};
3074 uint16_t timings_count_{0};
3075#ifdef HAS_PROTO_MESSAGE_DUMP
3076 const char *dump_to(DumpBuffer &out) const override;
3077#endif
3078
3079 protected:
3080 bool decode_32bit(uint32_t field_id, Proto32Bit value) override;
3081 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3082 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3083};
3085 public:
3086 static constexpr uint8_t MESSAGE_TYPE = 137;
3087 static constexpr uint8_t ESTIMATED_SIZE = 17;
3088#ifdef HAS_PROTO_MESSAGE_DUMP
3089 const char *message_name() const override { return "infrared_rf_receive_event"; }
3090#endif
3091#ifdef USE_DEVICES
3093#endif
3095 const std::vector<int32_t> *timings{};
3096 void encode(ProtoWriteBuffer &buffer) const;
3097 uint32_t calculate_size() const;
3098#ifdef HAS_PROTO_MESSAGE_DUMP
3099 const char *dump_to(DumpBuffer &out) const override;
3100#endif
3101
3102 protected:
3103};
3104#endif
3105#ifdef USE_SERIAL_PROXY
3107 public:
3108 static constexpr uint8_t MESSAGE_TYPE = 138;
3109 static constexpr uint8_t ESTIMATED_SIZE = 20;
3110#ifdef HAS_PROTO_MESSAGE_DUMP
3111 const char *message_name() const override { return "serial_proxy_configure_request"; }
3112#endif
3115 bool flow_control{false};
3119#ifdef HAS_PROTO_MESSAGE_DUMP
3120 const char *dump_to(DumpBuffer &out) const override;
3121#endif
3122
3123 protected:
3124 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3125};
3127 public:
3128 static constexpr uint8_t MESSAGE_TYPE = 139;
3129 static constexpr uint8_t ESTIMATED_SIZE = 23;
3130#ifdef HAS_PROTO_MESSAGE_DUMP
3131 const char *message_name() const override { return "serial_proxy_data_received"; }
3132#endif
3134 const uint8_t *data_ptr_{nullptr};
3135 size_t data_len_{0};
3136 void set_data(const uint8_t *data, size_t len) {
3137 this->data_ptr_ = data;
3138 this->data_len_ = len;
3139 }
3140 void encode(ProtoWriteBuffer &buffer) const;
3141 uint32_t calculate_size() const;
3142#ifdef HAS_PROTO_MESSAGE_DUMP
3143 const char *dump_to(DumpBuffer &out) const override;
3144#endif
3145
3146 protected:
3147};
3149 public:
3150 static constexpr uint8_t MESSAGE_TYPE = 140;
3151 static constexpr uint8_t ESTIMATED_SIZE = 23;
3152#ifdef HAS_PROTO_MESSAGE_DUMP
3153 const char *message_name() const override { return "serial_proxy_write_request"; }
3154#endif
3156 const uint8_t *data{nullptr};
3157 uint16_t data_len{0};
3158#ifdef HAS_PROTO_MESSAGE_DUMP
3159 const char *dump_to(DumpBuffer &out) const override;
3160#endif
3161
3162 protected:
3163 bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override;
3164 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3165};
3167 public:
3168 static constexpr uint8_t MESSAGE_TYPE = 141;
3169 static constexpr uint8_t ESTIMATED_SIZE = 8;
3170#ifdef HAS_PROTO_MESSAGE_DUMP
3171 const char *message_name() const override { return "serial_proxy_set_modem_pins_request"; }
3172#endif
3175#ifdef HAS_PROTO_MESSAGE_DUMP
3176 const char *dump_to(DumpBuffer &out) const override;
3177#endif
3178
3179 protected:
3180 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3181};
3183 public:
3184 static constexpr uint8_t MESSAGE_TYPE = 142;
3185 static constexpr uint8_t ESTIMATED_SIZE = 4;
3186#ifdef HAS_PROTO_MESSAGE_DUMP
3187 const char *message_name() const override { return "serial_proxy_get_modem_pins_request"; }
3188#endif
3190#ifdef HAS_PROTO_MESSAGE_DUMP
3191 const char *dump_to(DumpBuffer &out) const override;
3192#endif
3193
3194 protected:
3195 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3196};
3198 public:
3199 static constexpr uint8_t MESSAGE_TYPE = 143;
3200 static constexpr uint8_t ESTIMATED_SIZE = 8;
3201#ifdef HAS_PROTO_MESSAGE_DUMP
3202 const char *message_name() const override { return "serial_proxy_get_modem_pins_response"; }
3203#endif
3206 void encode(ProtoWriteBuffer &buffer) const;
3207 uint32_t calculate_size() const;
3208#ifdef HAS_PROTO_MESSAGE_DUMP
3209 const char *dump_to(DumpBuffer &out) const override;
3210#endif
3211
3212 protected:
3213};
3215 public:
3216 static constexpr uint8_t MESSAGE_TYPE = 144;
3217 static constexpr uint8_t ESTIMATED_SIZE = 6;
3218#ifdef HAS_PROTO_MESSAGE_DUMP
3219 const char *message_name() const override { return "serial_proxy_request"; }
3220#endif
3223#ifdef HAS_PROTO_MESSAGE_DUMP
3224 const char *dump_to(DumpBuffer &out) const override;
3225#endif
3226
3227 protected:
3228 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3229};
3231 public:
3232 static constexpr uint8_t MESSAGE_TYPE = 147;
3233 static constexpr uint8_t ESTIMATED_SIZE = 17;
3234#ifdef HAS_PROTO_MESSAGE_DUMP
3235 const char *message_name() const override { return "serial_proxy_request_response"; }
3236#endif
3241 void encode(ProtoWriteBuffer &buffer) const;
3242 uint32_t calculate_size() const;
3243#ifdef HAS_PROTO_MESSAGE_DUMP
3244 const char *dump_to(DumpBuffer &out) const override;
3245#endif
3246
3247 protected:
3248};
3249#endif
3250#ifdef USE_BLUETOOTH_PROXY
3252 public:
3253 static constexpr uint8_t MESSAGE_TYPE = 145;
3254 static constexpr uint8_t ESTIMATED_SIZE = 20;
3255#ifdef HAS_PROTO_MESSAGE_DUMP
3256 const char *message_name() const override { return "bluetooth_set_connection_params_request"; }
3257#endif
3258 uint64_t address{0};
3263#ifdef HAS_PROTO_MESSAGE_DUMP
3264 const char *dump_to(DumpBuffer &out) const override;
3265#endif
3266
3267 protected:
3268 bool decode_varint(uint32_t field_id, proto_varint_value_t value) override;
3269};
3271 public:
3272 static constexpr uint8_t MESSAGE_TYPE = 146;
3273 static constexpr uint8_t ESTIMATED_SIZE = 8;
3274#ifdef HAS_PROTO_MESSAGE_DUMP
3275 const char *message_name() const override { return "bluetooth_set_connection_params_response"; }
3276#endif
3277 uint64_t address{0};
3278 int32_t error{0};
3279 void encode(ProtoWriteBuffer &buffer) const;
3280 uint32_t calculate_size() const;
3281#ifdef HAS_PROTO_MESSAGE_DUMP
3282 const char *dump_to(DumpBuffer &out) const override;
3283#endif
3284
3285 protected:
3286};
3287#endif
3288
3289} // namespace esphome::api
Fixed-capacity vector - allocates once at runtime, never reallocates This avoids std::vector template...
Definition helpers.h:374
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:3019
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:2993
const char * message_name() const override
Definition api_pb2.h:2624
enums::AlarmControlPanelStateCommand command
Definition api_pb2.h:2626
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3008
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2622
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2606
const char * dump_to(DumpBuffer &out) const override
enums::AlarmControlPanelState state
Definition api_pb2.h:2610
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2977
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2605
const char * message_name() const override
Definition api_pb2.h:2608
const char * dump_to(DumpBuffer &out) const override
uint32_t calculate_size() const
Definition api_pb2.cpp:53
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:49
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:241
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:618
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:619
const char * message_name() const override
Definition api_pb2.h:621
std::array< uint64_t, BLUETOOTH_PROXY_MAX_CONNECTIONS > allocated
Definition api_pb2.h:2186
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2535
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2182
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2611
const char * message_name() const override
Definition api_pb2.h:2288
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1939
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2296
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2250
const char * message_name() const override
Definition api_pb2.h:2252
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2249
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2587
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1918
enums::BluetoothDeviceRequestType request_type
Definition api_pb2.h:1924
const char * message_name() const override
Definition api_pb2.h:1921
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1919
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:2277
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2599
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2270
FixedVector< BluetoothGATTDescriptor > descriptors
Definition api_pb2.h:1986
const char * dump_to(DumpBuffer &out) const override
std::array< uint64_t, 2 > uuid
Definition api_pb2.h:1983
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2338
std::array< uint64_t, 2 > uuid
Definition api_pb2.h:1970
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2320
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2555
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2198
const char * message_name() const override
Definition api_pb2.h:2200
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2197
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2408
const char * message_name() const override
Definition api_pb2.h:2032
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1958
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1956
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:2310
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2015
std::vector< BluetoothGATTService > services
Definition api_pb2.h:2018
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2392
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2523
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:2165
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2157
const char * message_name() const override
Definition api_pb2.h:2159
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2140
const char * message_name() const override
Definition api_pb2.h:2142
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2139
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:2507
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2232
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2577
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2233
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2235
const char * message_name() const override
Definition api_pb2.h:2107
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:2469
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2045
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:2416
const char * 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
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2061
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:2070
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2062
const char * message_name() const override
Definition api_pb2.h:2064
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2429
FixedVector< BluetoothGATTCharacteristic > characteristics
Definition api_pb2.h:2000
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2366
const char * dump_to(DumpBuffer &out) const override
std::array< uint64_t, 2 > uuid
Definition api_pb2.h:1998
const char * message_name() const override
Definition api_pb2.h:2123
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2482
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2495
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2457
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2085
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2441
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2087
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2084
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2567
const char * message_name() const override
Definition api_pb2.h:2218
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2216
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2215
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2251
std::array< BluetoothLERawAdvertisement, BLUETOOTH_PROXY_ADVERTISEMENT_BATCH_SIZE > advertisements
Definition api_pb2.h:1906
const char * message_name() const override
Definition api_pb2.h:1904
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2265
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2324
enums::BluetoothScannerMode mode
Definition api_pb2.h:2326
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2321
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2322
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2635
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2623
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2304
enums::BluetoothScannerMode mode
Definition api_pb2.h:2309
enums::BluetoothScannerState state
Definition api_pb2.h:2308
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2303
enums::BluetoothScannerMode configured_mode
Definition api_pb2.h:2310
const char * message_name() const override
Definition api_pb2.h:2306
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:3859
const char * message_name() const override
Definition api_pb2.h:3256
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3881
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:3275
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2085
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1777
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1780
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2097
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1778
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1316
const char * message_name() const override
Definition api_pb2.h:1359
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1357
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1356
const char * dump_to(DumpBuffer &out) const override
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:1341
const char * message_name() const override
Definition api_pb2.h:1337
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1335
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1334
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1298
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1540
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1435
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1436
const char * dump_to(DumpBuffer &out) const override
enums::ClimateSwingMode swing_mode
Definition api_pb2.h:1451
const char * message_name() const override
Definition api_pb2.h:1438
enums::ClimateFanMode fan_mode
Definition api_pb2.h:1449
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1471
enums::ClimatePreset preset
Definition api_pb2.h:1455
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1525
enums::ClimateFanMode fan_mode
Definition api_pb2.h:1418
enums::ClimateSwingMode swing_mode
Definition api_pb2.h:1419
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1407
const char * message_name() const override
Definition api_pb2.h:1410
const char * dump_to(DumpBuffer &out) const override
enums::ClimateAction action
Definition api_pb2.h:1417
enums::ClimatePreset preset
Definition api_pb2.h:1421
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1408
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1431
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:340
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:675
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:676
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:319
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:678
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:658
const char * message_name() const override
Definition api_pb2.h:660
enums::CoverOperation current_operation
Definition api_pb2.h:664
uint32_t calculate_size() const
Definition api_pb2.cpp:308
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:299
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:657
enums::DSTRuleType type
Definition api_pb2.h:1170
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1039
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3191
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2730
const char * message_name() const override
Definition api_pb2.h:2733
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:3170
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2731
uint32_t calculate_size() const
Definition api_pb2.cpp:3158
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3148
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2711
const char * message_name() const override
Definition api_pb2.h:2714
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2712
const char * message_name() const override
Definition api_pb2.h:2930
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2928
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2927
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:3475
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3487
const char * message_name() const override
Definition api_pb2.h:2913
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2910
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2911
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3457
uint32_t calculate_size() const
Definition api_pb2.cpp:66
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:61
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:520
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:86
static constexpr uint16_t ESTIMATED_SIZE
Definition api_pb2.h:521
uint32_t calculate_size() const
Definition api_pb2.cpp:146
std::array< AreaInfo, ESPHOME_AREA_COUNT > areas
Definition api_pb2.h:563
const char * message_name() const override
Definition api_pb2.h:523
std::array< SerialProxyInfo, SERIAL_PROXY_COUNT > serial_proxies
Definition api_pb2.h:575
std::array< DeviceInfo, ESPHOME_DEVICE_COUNT > devices
Definition api_pb2.h:560
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:425
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:426
const char * message_name() const override
Definition api_pb2.h:428
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:438
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:439
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:441
Fixed-size buffer for message dumps - avoids heap allocation.
Definition proto.h:366
uint32_t calculate_size() const
Definition api_pb2.cpp:3331
const char * message_name() const override
Definition api_pb2.h:2824
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2821
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3324
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2822
const char * dump_to(DumpBuffer &out) const override
void decode(const uint8_t *buffer, size_t length) override
Definition api_pb2.cpp:1194
FixedVector< float > float_array
Definition api_pb2.h:1254
FixedVector< std::string > string_array
Definition api_pb2.h:1255
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1145
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1167
FixedVector< int32_t > int_array
Definition api_pb2.h:1253
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1181
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1268
FixedVector< ExecuteServiceArgument > args
Definition api_pb2.h:1274
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1269
void decode(const uint8_t *buffer, size_t length) override
Definition api_pb2.cpp:1243
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1205
const char * message_name() const override
Definition api_pb2.h:1271
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1233
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1222
const char * message_name() const override
Definition api_pb2.h:1298
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1250
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1296
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1295
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:737
const char * message_name() const override
Definition api_pb2.h:740
const char * dump_to(DumpBuffer &out) const override
enums::FanDirection direction
Definition api_pb2.h:747
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:465
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:738
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:426
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:476
enums::FanDirection direction
Definition api_pb2.h:724
uint32_t calculate_size() const
Definition api_pb2.cpp:413
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:718
const char * message_name() const override
Definition api_pb2.h:720
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:402
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:717
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1155
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1158
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1156
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1200
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1104
ParsedTimezone parsed_timezone
Definition api_pb2.h:1204
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1090
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1198
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1197
const char * message_name() const override
Definition api_pb2.h:391
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:389
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:388
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
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:34
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:406
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:407
const char * message_name() const override
Definition api_pb2.h:409
uint32_t calculate_size() const
Definition api_pb2.cpp:40
const char * message_name() const override
Definition api_pb2.h:1140
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1137
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1138
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1019
FixedVector< HomeassistantServiceMap > variables
Definition api_pb2.h:1072
FixedVector< HomeassistantServiceMap > data
Definition api_pb2.h:1070
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:920
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1065
FixedVector< HomeassistantServiceMap > data_template
Definition api_pb2.h:1071
const char * message_name() const override
Definition api_pb2.h:1067
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1064
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:987
const char * message_name() const override
Definition api_pb2.h:1098
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:974
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1096
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1095
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:910
const char * dump_to(DumpBuffer &out) const override
enums::EntityCategory entity_category
Definition api_pb2.h:356
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3087
const char * message_name() const override
Definition api_pb2.h:3089
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3716
const std::vector< int32_t > * timings
Definition api_pb2.h:3095
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3086
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3706
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:3064
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3675
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3693
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:634
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:645
const char * message_name() const override
Definition api_pb2.h:814
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:811
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:574
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:812
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:785
uint32_t calculate_size() const
Definition api_pb2.cpp:554
enums::ColorMode color_mode
Definition api_pb2.h:791
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:784
const char * message_name() const override
Definition api_pb2.h:787
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:536
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2943
const char * message_name() const override
Definition api_pb2.h:2590
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:209
const char * message_name() const override
Definition api_pb2.h:604
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:602
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1762
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1761
const char * message_name() const override
Definition api_pb2.h:1764
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2055
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1322
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1319
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1320
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1270
const std::vector< const char * > * supported_custom_presets
Definition api_pb2.h:1390
const climate::ClimateSwingModeMask * supported_swing_modes
Definition api_pb2.h:1387
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1375
const std::vector< const char * > * supported_custom_fan_modes
Definition api_pb2.h:1388
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1374
const climate::ClimatePresetMask * supported_presets
Definition api_pb2.h:1389
const climate::ClimateFanModeMask * supported_fan_modes
Definition api_pb2.h:1386
const char * dump_to(DumpBuffer &out) const override
const climate::ClimateModeMask * supported_modes
Definition api_pb2.h:1381
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1331
const char * message_name() const override
Definition api_pb2.h:1377
const char * message_name() const override
Definition api_pb2.h:640
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:638
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:261
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:637
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2697
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3120
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2696
const char * message_name() const override
Definition api_pb2.h:2699
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2895
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2896
const char * message_name() const override
Definition api_pb2.h:2898
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3429
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:587
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:588
const char * message_name() const override
Definition api_pb2.h:590
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3286
const FixedVector< const char * > * event_types
Definition api_pb2.h:2810
const char * message_name() const override
Definition api_pb2.h:2807
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2805
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2804
const char * message_name() const override
Definition api_pb2.h:700
const std::vector< const char * > * supported_preset_modes
Definition api_pb2.h:706
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:698
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:697
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:358
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3643
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3043
const char * message_name() const override
Definition api_pb2.h:3046
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3044
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:766
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:488
const char * message_name() const override
Definition api_pb2.h:768
const char * dump_to(DumpBuffer &out) const override
const FixedVector< const char * > * effects
Definition api_pb2.h:773
const light::ColorModeMask * supported_color_modes
Definition api_pb2.h:770
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:765
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1705
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1962
const char * message_name() const override
Definition api_pb2.h:1708
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1706
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1810
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2125
const char * message_name() const override
Definition api_pb2.h:1812
const char * dump_to(DumpBuffer &out) const override
std::vector< MediaPlayerSupportedFormat > supported_formats
Definition api_pb2.h:1815
const char * message_name() const override
Definition api_pb2.h:1540
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1538
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1537
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1676
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1593
const char * message_name() const override
Definition api_pb2.h:1596
const FixedVector< const char * > * options
Definition api_pb2.h:1598
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1594
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1761
const char * message_name() const override
Definition api_pb2.h:858
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:684
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:856
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:855
enums::SensorStateClass state_class
Definition api_pb2.h:864
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1115
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1231
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1228
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1229
enums::SupportsResponseType supports_response
Definition api_pb2.h:1236
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1125
FixedVector< ListEntitiesServicesArgument > args
Definition api_pb2.h:1235
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1648
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1645
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1850
const FixedVector< const char * > * tones
Definition api_pb2.h:1650
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1646
const char * message_name() const override
Definition api_pb2.h:897
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:742
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:895
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:894
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2641
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3031
const char * message_name() const override
Definition api_pb2.h:2644
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2642
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:945
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:946
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:948
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:817
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3203
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2751
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2753
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2750
const char * message_name() const override
Definition api_pb2.h:2948
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2945
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2946
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3502
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3342
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2839
const char * message_name() const override
Definition api_pb2.h:2842
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2840
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1564
const water_heater::WaterHeaterModeMask * supported_modes
Definition api_pb2.h:1481
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1474
const char * message_name() const override
Definition api_pb2.h:1476
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:2014
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1740
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1743
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2043
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1741
enums::LockCommand command
Definition api_pb2.h:1745
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2032
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1725
const char * message_name() const override
Definition api_pb2.h:1727
uint32_t calculate_size() const
Definition api_pb2.cpp:2005
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1724
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1998
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1846
const char * dump_to(DumpBuffer &out) const override
enums::MediaPlayerCommand command
Definition api_pb2.h:1851
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:2226
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2215
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2185
const char * message_name() const override
Definition api_pb2.h:1848
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1845
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1827
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2165
enums::MediaPlayerState state
Definition api_pb2.h:1832
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1830
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1828
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2109
enums::MediaPlayerFormatPurpose purpose
Definition api_pb2.h:1797
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1018
const char * message_name() const override
Definition api_pb2.h:1021
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:890
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1019
const char * message_name() const override
Definition api_pb2.h:1037
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1035
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:902
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1034
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1575
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1746
const char * message_name() const override
Definition api_pb2.h:1578
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1576
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1734
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1716
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1561
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1559
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1558
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1077
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1064
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:454
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:451
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:452
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:464
const char * message_name() const override
Definition api_pb2.h:467
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:465
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1827
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1627
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1815
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1626
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1838
const char * message_name() const override
Definition api_pb2.h:1629
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1797
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1610
const char * message_name() const override
Definition api_pb2.h:1612
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1609
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:722
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:876
const char * message_name() const override
Definition api_pb2.h:878
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:875
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3108
enums::SerialProxyParity parity
Definition api_pb2.h:3116
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3109
const char * message_name() const override
Definition api_pb2.h:3111
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3740
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3128
void set_data(const uint8_t *data, size_t len)
Definition api_pb2.h:3136
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3765
const char * message_name() const override
Definition api_pb2.h:3131
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3129
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3184
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3810
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:3187
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3185
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3200
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3820
const char * message_name() const override
Definition api_pb2.h:3202
uint32_t calculate_size() const
Definition api_pb2.cpp:79
enums::SerialProxyPortType port_type
Definition api_pb2.h:508
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:75
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3830
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3216
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3217
const char * message_name() const override
Definition api_pb2.h:3219
enums::SerialProxyRequestType type
Definition api_pb2.h:3222
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3233
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:3235
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3232
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3843
enums::SerialProxyRequestType type
Definition api_pb2.h:3238
enums::SerialProxyStatus status
Definition api_pb2.h:3239
const char * message_name() const override
Definition api_pb2.h:3171
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:3797
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3168
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3169
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3150
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3785
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3151
const char * message_name() const override
Definition api_pb2.h:3153
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:3775
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1906
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:1936
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1680
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1947
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1679
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:1682
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1664
const char * message_name() const override
Definition api_pb2.h:1666
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1663
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1890
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:2241
const char * message_name() const override
Definition api_pb2.h:1122
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1007
const char * message_name() const override
Definition api_pb2.h:982
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:980
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:979
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:866
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:879
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:995
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:996
void set_message(const uint8_t *data, size_t len)
Definition api_pb2.h:1003
const char * message_name() const override
Definition api_pb2.h:998
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:2647
const char * message_name() const override
Definition api_pb2.h:2341
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2338
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2339
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:805
const char * message_name() const override
Definition api_pb2.h:930
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:927
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:928
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:790
const char * message_name() const override
Definition api_pb2.h:914
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:774
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:912
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:911
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3097
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3085
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2678
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3108
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2680
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2677
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:847
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:961
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:962
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:964
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2661
uint32_t calculate_size() const
Definition api_pb2.cpp:3075
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2660
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3067
const char * message_name() const override
Definition api_pb2.h:2663
const char * dump_to(DumpBuffer &out) const override
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3274
const char * message_name() const override
Definition api_pb2.h:2787
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2784
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3253
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2785
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2765
uint32_t calculate_size() const
Definition api_pb2.cpp:3241
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2766
const char * message_name() const override
Definition api_pb2.h:2768
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3231
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2986
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3579
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3564
enums::UpdateCommand command
Definition api_pb2.h:2990
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2988
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2985
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2962
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2964
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3532
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2961
const char * message_name() const override
Definition api_pb2.h:2878
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2875
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3396
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2876
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:3414
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2859
const char * message_name() const override
Definition api_pb2.h:2861
enums::ValveOperation current_operation
Definition api_pb2.h:2864
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2858
const char * dump_to(DumpBuffer &out) const override
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3378
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2492
const char * message_name() const override
Definition api_pb2.h:2494
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2491
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2832
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2813
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2473
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2803
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2472
const char * message_name() const override
Definition api_pb2.h:2475
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:2737
const char * message_name() const override
Definition api_pb2.h:2434
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2747
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2432
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2431
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2759
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2660
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2540
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2896
const char * dump_to(DumpBuffer &out) const override
std::vector< VoiceAssistantExternalWakeWord > external_wake_words
Definition api_pb2.h:2542
std::vector< VoiceAssistantWakeWord > available_wake_words
Definition api_pb2.h:2557
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2907
const char * message_name() const override
Definition api_pb2.h:2555
const std::vector< std::string > * active_wake_words
Definition api_pb2.h:2558
const char * dump_to(DumpBuffer &out) const override
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2701
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2726
const char * message_name() const override
Definition api_pb2.h:2417
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2415
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2414
const char * dump_to(DumpBuffer &out) const override
enums::VoiceAssistantEvent event_type
Definition api_pb2.h:2419
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2716
std::vector< VoiceAssistantEventData > data
Definition api_pb2.h:2420
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2866
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:2856
std::vector< std::string > trained_languages
Definition api_pb2.h:2522
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2370
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2367
VoiceAssistantAudioSettings audio_settings
Definition api_pb2.h:2375
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2368
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2672
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2390
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2688
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2388
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2387
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:2571
std::vector< std::string > active_wake_words
Definition api_pb2.h:2575
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:2570
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2931
const char * dump_to(DumpBuffer &out) const override
const char * message_name() const override
Definition api_pb2.h:2573
enums::VoiceAssistantTimerEvent event_type
Definition api_pb2.h:2456
const char * dump_to(DumpBuffer &out) const override
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:2788
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:2769
const char * message_name() const override
Definition api_pb2.h:2454
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:2838
const char * dump_to(DumpBuffer &out) const override
std::vector< std::string > trained_languages
Definition api_pb2.h:2509
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:1634
bool decode_32bit(uint32_t field_id, Proto32Bit value) override
Definition api_pb2.cpp:1655
const char * message_name() const override
Definition api_pb2.h:1517
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1515
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1514
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:1493
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:1494
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:1608
const char * message_name() const override
Definition api_pb2.h:1496
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3004
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3603
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3591
uint32_t calculate_size() const
Definition api_pb2.cpp:3604
const char * dump_to(DumpBuffer &out) const override
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3003
const char * message_name() const override
Definition api_pb2.h:3006
static constexpr uint8_t ESTIMATED_SIZE
Definition api_pb2.h:3022
void encode(ProtoWriteBuffer &buffer) const
Definition api_pb2.cpp:3631
bool decode_length(uint32_t field_id, ProtoLengthDelimited value) override
Definition api_pb2.cpp:3619
static constexpr uint8_t MESSAGE_TYPE
Definition api_pb2.h:3021
bool decode_varint(uint32_t field_id, proto_varint_value_t value) override
Definition api_pb2.cpp:3609
const char * message_name() const override
Definition api_pb2.h:3024
uint32_t calculate_size() const
Definition api_pb2.cpp:3635
enums::ZWaveProxyRequestType type
Definition api_pb2.h:3026
const char * dump_to(DumpBuffer &out) const override
@ MEDIA_PLAYER_STATE_ANNOUNCING
Definition api_pb2.h:192
@ ALARM_STATE_ARMED_CUSTOM_BYPASS
Definition api_pb2.h:282
@ SERVICE_ARG_TYPE_BOOL_ARRAY
Definition api_pb2.h:83
@ SERVICE_ARG_TYPE_STRING_ARRAY
Definition api_pb2.h:86
@ SERVICE_ARG_TYPE_FLOAT_ARRAY
Definition api_pb2.h:85
@ SERIAL_PROXY_PORT_TYPE_RS232
Definition api_pb2.h:16
@ SERIAL_PROXY_PORT_TYPE_RS485
Definition api_pb2.h:17
@ VOICE_ASSISTANT_REQUEST_USE_WAKE_WORD
Definition api_pb2.h:247
@ VOICE_ASSISTANT_REQUEST_USE_VAD
Definition api_pb2.h:246
@ WATER_HEATER_MODE_PERFORMANCE
Definition api_pb2.h:148
@ WATER_HEATER_MODE_HIGH_DEMAND
Definition api_pb2.h:149
@ SERIAL_PROXY_REQUEST_TYPE_UNSUBSCRIBE
Definition api_pb2.h:333
@ SERIAL_PROXY_REQUEST_TYPE_FLUSH
Definition api_pb2.h:334
@ SERIAL_PROXY_REQUEST_TYPE_SUBSCRIBE
Definition api_pb2.h:332
@ MEDIA_PLAYER_FORMAT_PURPOSE_ANNOUNCEMENT
Definition api_pb2.h:214
@ MEDIA_PLAYER_FORMAT_PURPOSE_DEFAULT
Definition api_pb2.h:213
@ COLOR_MODE_LEGACY_BRIGHTNESS
Definition api_pb2.h:41
@ COLOR_MODE_RGB_COLOR_TEMPERATURE
Definition api_pb2.h:48
@ COLOR_MODE_COLOR_TEMPERATURE
Definition api_pb2.h:44
@ COLOR_MODE_RGB_COLD_WARM_WHITE
Definition api_pb2.h:49
@ VOICE_ASSISTANT_TIMER_UPDATED
Definition api_pb2.h:270
@ VOICE_ASSISTANT_TIMER_STARTED
Definition api_pb2.h:269
@ VOICE_ASSISTANT_TIMER_FINISHED
Definition api_pb2.h:272
@ VOICE_ASSISTANT_TIMER_CANCELLED
Definition api_pb2.h:271
@ MEDIA_PLAYER_COMMAND_REPEAT_ONE
Definition api_pb2.h:206
@ MEDIA_PLAYER_COMMAND_REPEAT_OFF
Definition api_pb2.h:207
@ MEDIA_PLAYER_COMMAND_VOLUME_DOWN
Definition api_pb2.h:204
@ MEDIA_PLAYER_COMMAND_VOLUME_UP
Definition api_pb2.h:203
@ MEDIA_PLAYER_COMMAND_TURN_OFF
Definition api_pb2.h:210
@ MEDIA_PLAYER_COMMAND_CLEAR_PLAYLIST
Definition api_pb2.h:208
@ VOICE_ASSISTANT_WAKE_WORD_START
Definition api_pb2.h:260
@ VOICE_ASSISTANT_TTS_STREAM_END
Definition api_pb2.h:265
@ VOICE_ASSISTANT_STT_VAD_START
Definition api_pb2.h:262
@ VOICE_ASSISTANT_INTENT_PROGRESS
Definition api_pb2.h:266
@ VOICE_ASSISTANT_TTS_STREAM_START
Definition api_pb2.h:264
@ VOICE_ASSISTANT_WAKE_WORD_END
Definition api_pb2.h:261
@ SERIAL_PROXY_STATUS_ASSUMED_SUCCESS
Definition api_pb2.h:338
@ SERIAL_PROXY_STATUS_NOT_SUPPORTED
Definition api_pb2.h:341
@ BLUETOOTH_DEVICE_REQUEST_TYPE_UNPAIR
Definition api_pb2.h:222
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE
Definition api_pb2.h:223
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT
Definition api_pb2.h:219
@ BLUETOOTH_DEVICE_REQUEST_TYPE_PAIR
Definition api_pb2.h:221
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE
Definition api_pb2.h:224
@ BLUETOOTH_DEVICE_REQUEST_TYPE_CLEAR_CACHE
Definition api_pb2.h:225
@ BLUETOOTH_DEVICE_REQUEST_TYPE_DISCONNECT
Definition api_pb2.h:220
@ BLUETOOTH_SCANNER_MODE_PASSIVE
Definition api_pb2.h:236
@ BLUETOOTH_SCANNER_MODE_ACTIVE
Definition api_pb2.h:237
@ BLUETOOTH_SCANNER_STATE_STOPPED
Definition api_pb2.h:233
@ BLUETOOTH_SCANNER_STATE_STARTING
Definition api_pb2.h:229
@ BLUETOOTH_SCANNER_STATE_STOPPING
Definition api_pb2.h:232
@ BLUETOOTH_SCANNER_STATE_RUNNING
Definition api_pb2.h:230
@ BLUETOOTH_SCANNER_STATE_FAILED
Definition api_pb2.h:231
@ DST_RULE_TYPE_MONTH_WEEK_DAY
Definition api_pb2.h:73
@ DST_RULE_TYPE_JULIAN_NO_LEAP
Definition api_pb2.h:74
@ WATER_HEATER_COMMAND_HAS_ON_STATE
Definition api_pb2.h:161
@ WATER_HEATER_COMMAND_HAS_NONE
Definition api_pb2.h:155
@ WATER_HEATER_COMMAND_HAS_STATE
Definition api_pb2.h:158
@ WATER_HEATER_COMMAND_HAS_AWAY_STATE
Definition api_pb2.h:162
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_LOW
Definition api_pb2.h:159
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE
Definition api_pb2.h:157
@ WATER_HEATER_COMMAND_HAS_MODE
Definition api_pb2.h:156
@ WATER_HEATER_COMMAND_HAS_TARGET_TEMPERATURE_HIGH
Definition api_pb2.h:160
@ ZWAVE_PROXY_REQUEST_TYPE_SUBSCRIBE
Definition api_pb2.h:320
@ ZWAVE_PROXY_REQUEST_TYPE_UNSUBSCRIBE
Definition api_pb2.h:321
@ ZWAVE_PROXY_REQUEST_TYPE_HOME_ID_CHANGE
Definition api_pb2.h:322
@ ALARM_CONTROL_PANEL_ARM_NIGHT
Definition api_pb2.h:292
@ ALARM_CONTROL_PANEL_ARM_CUSTOM_BYPASS
Definition api_pb2.h:294
@ ALARM_CONTROL_PANEL_ARM_VACATION
Definition api_pb2.h:293
@ VOICE_ASSISTANT_SUBSCRIBE_API_AUDIO
Definition api_pb2.h:242
@ VOICE_ASSISTANT_SUBSCRIBE_NONE
Definition api_pb2.h:241
@ STATE_CLASS_TOTAL_INCREASING
Definition api_pb2.h:56
@ STATE_CLASS_MEASUREMENT_ANGLE
Definition api_pb2.h:58
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:104
std::string size_t len
Definition helpers.h:892
static void uint32_t
uint16_t length
Definition tt21100.cpp:0