| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942 |
- /* Generated by the protocol buffer compiler. DO NOT EDIT! */
- /* Generated from: esp_local_ctrl.proto */
- /* Do not generate deprecated warnings for self */
- #ifndef PROTOBUF_C__NO_DEPRECATED
- #define PROTOBUF_C__NO_DEPRECATED
- #endif
- #include "esp_local_ctrl.pb-c.h"
- void cmd_get_property_count__init
- (CmdGetPropertyCount *message)
- {
- static const CmdGetPropertyCount init_value = CMD_GET_PROPERTY_COUNT__INIT;
- *message = init_value;
- }
- size_t cmd_get_property_count__get_packed_size
- (const CmdGetPropertyCount *message)
- {
- assert(message->base.descriptor == &cmd_get_property_count__descriptor);
- return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
- }
- size_t cmd_get_property_count__pack
- (const CmdGetPropertyCount *message,
- uint8_t *out)
- {
- assert(message->base.descriptor == &cmd_get_property_count__descriptor);
- return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
- }
- size_t cmd_get_property_count__pack_to_buffer
- (const CmdGetPropertyCount *message,
- ProtobufCBuffer *buffer)
- {
- assert(message->base.descriptor == &cmd_get_property_count__descriptor);
- return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
- }
- CmdGetPropertyCount *
- cmd_get_property_count__unpack
- (ProtobufCAllocator *allocator,
- size_t len,
- const uint8_t *data)
- {
- return (CmdGetPropertyCount *)
- protobuf_c_message_unpack (&cmd_get_property_count__descriptor,
- allocator, len, data);
- }
- void cmd_get_property_count__free_unpacked
- (CmdGetPropertyCount *message,
- ProtobufCAllocator *allocator)
- {
- if(!message)
- return;
- assert(message->base.descriptor == &cmd_get_property_count__descriptor);
- protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
- }
- void resp_get_property_count__init
- (RespGetPropertyCount *message)
- {
- static const RespGetPropertyCount init_value = RESP_GET_PROPERTY_COUNT__INIT;
- *message = init_value;
- }
- size_t resp_get_property_count__get_packed_size
- (const RespGetPropertyCount *message)
- {
- assert(message->base.descriptor == &resp_get_property_count__descriptor);
- return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
- }
- size_t resp_get_property_count__pack
- (const RespGetPropertyCount *message,
- uint8_t *out)
- {
- assert(message->base.descriptor == &resp_get_property_count__descriptor);
- return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
- }
- size_t resp_get_property_count__pack_to_buffer
- (const RespGetPropertyCount *message,
- ProtobufCBuffer *buffer)
- {
- assert(message->base.descriptor == &resp_get_property_count__descriptor);
- return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
- }
- RespGetPropertyCount *
- resp_get_property_count__unpack
- (ProtobufCAllocator *allocator,
- size_t len,
- const uint8_t *data)
- {
- return (RespGetPropertyCount *)
- protobuf_c_message_unpack (&resp_get_property_count__descriptor,
- allocator, len, data);
- }
- void resp_get_property_count__free_unpacked
- (RespGetPropertyCount *message,
- ProtobufCAllocator *allocator)
- {
- if(!message)
- return;
- assert(message->base.descriptor == &resp_get_property_count__descriptor);
- protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
- }
- void property_info__init
- (PropertyInfo *message)
- {
- static const PropertyInfo init_value = PROPERTY_INFO__INIT;
- *message = init_value;
- }
- size_t property_info__get_packed_size
- (const PropertyInfo *message)
- {
- assert(message->base.descriptor == &property_info__descriptor);
- return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
- }
- size_t property_info__pack
- (const PropertyInfo *message,
- uint8_t *out)
- {
- assert(message->base.descriptor == &property_info__descriptor);
- return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
- }
- size_t property_info__pack_to_buffer
- (const PropertyInfo *message,
- ProtobufCBuffer *buffer)
- {
- assert(message->base.descriptor == &property_info__descriptor);
- return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
- }
- PropertyInfo *
- property_info__unpack
- (ProtobufCAllocator *allocator,
- size_t len,
- const uint8_t *data)
- {
- return (PropertyInfo *)
- protobuf_c_message_unpack (&property_info__descriptor,
- allocator, len, data);
- }
- void property_info__free_unpacked
- (PropertyInfo *message,
- ProtobufCAllocator *allocator)
- {
- if(!message)
- return;
- assert(message->base.descriptor == &property_info__descriptor);
- protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
- }
- void cmd_get_property_values__init
- (CmdGetPropertyValues *message)
- {
- static const CmdGetPropertyValues init_value = CMD_GET_PROPERTY_VALUES__INIT;
- *message = init_value;
- }
- size_t cmd_get_property_values__get_packed_size
- (const CmdGetPropertyValues *message)
- {
- assert(message->base.descriptor == &cmd_get_property_values__descriptor);
- return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
- }
- size_t cmd_get_property_values__pack
- (const CmdGetPropertyValues *message,
- uint8_t *out)
- {
- assert(message->base.descriptor == &cmd_get_property_values__descriptor);
- return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
- }
- size_t cmd_get_property_values__pack_to_buffer
- (const CmdGetPropertyValues *message,
- ProtobufCBuffer *buffer)
- {
- assert(message->base.descriptor == &cmd_get_property_values__descriptor);
- return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
- }
- CmdGetPropertyValues *
- cmd_get_property_values__unpack
- (ProtobufCAllocator *allocator,
- size_t len,
- const uint8_t *data)
- {
- return (CmdGetPropertyValues *)
- protobuf_c_message_unpack (&cmd_get_property_values__descriptor,
- allocator, len, data);
- }
- void cmd_get_property_values__free_unpacked
- (CmdGetPropertyValues *message,
- ProtobufCAllocator *allocator)
- {
- if(!message)
- return;
- assert(message->base.descriptor == &cmd_get_property_values__descriptor);
- protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
- }
- void resp_get_property_values__init
- (RespGetPropertyValues *message)
- {
- static const RespGetPropertyValues init_value = RESP_GET_PROPERTY_VALUES__INIT;
- *message = init_value;
- }
- size_t resp_get_property_values__get_packed_size
- (const RespGetPropertyValues *message)
- {
- assert(message->base.descriptor == &resp_get_property_values__descriptor);
- return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
- }
- size_t resp_get_property_values__pack
- (const RespGetPropertyValues *message,
- uint8_t *out)
- {
- assert(message->base.descriptor == &resp_get_property_values__descriptor);
- return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
- }
- size_t resp_get_property_values__pack_to_buffer
- (const RespGetPropertyValues *message,
- ProtobufCBuffer *buffer)
- {
- assert(message->base.descriptor == &resp_get_property_values__descriptor);
- return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
- }
- RespGetPropertyValues *
- resp_get_property_values__unpack
- (ProtobufCAllocator *allocator,
- size_t len,
- const uint8_t *data)
- {
- return (RespGetPropertyValues *)
- protobuf_c_message_unpack (&resp_get_property_values__descriptor,
- allocator, len, data);
- }
- void resp_get_property_values__free_unpacked
- (RespGetPropertyValues *message,
- ProtobufCAllocator *allocator)
- {
- if(!message)
- return;
- assert(message->base.descriptor == &resp_get_property_values__descriptor);
- protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
- }
- void property_value__init
- (PropertyValue *message)
- {
- static const PropertyValue init_value = PROPERTY_VALUE__INIT;
- *message = init_value;
- }
- size_t property_value__get_packed_size
- (const PropertyValue *message)
- {
- assert(message->base.descriptor == &property_value__descriptor);
- return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
- }
- size_t property_value__pack
- (const PropertyValue *message,
- uint8_t *out)
- {
- assert(message->base.descriptor == &property_value__descriptor);
- return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
- }
- size_t property_value__pack_to_buffer
- (const PropertyValue *message,
- ProtobufCBuffer *buffer)
- {
- assert(message->base.descriptor == &property_value__descriptor);
- return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
- }
- PropertyValue *
- property_value__unpack
- (ProtobufCAllocator *allocator,
- size_t len,
- const uint8_t *data)
- {
- return (PropertyValue *)
- protobuf_c_message_unpack (&property_value__descriptor,
- allocator, len, data);
- }
- void property_value__free_unpacked
- (PropertyValue *message,
- ProtobufCAllocator *allocator)
- {
- if(!message)
- return;
- assert(message->base.descriptor == &property_value__descriptor);
- protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
- }
- void cmd_set_property_values__init
- (CmdSetPropertyValues *message)
- {
- static const CmdSetPropertyValues init_value = CMD_SET_PROPERTY_VALUES__INIT;
- *message = init_value;
- }
- size_t cmd_set_property_values__get_packed_size
- (const CmdSetPropertyValues *message)
- {
- assert(message->base.descriptor == &cmd_set_property_values__descriptor);
- return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
- }
- size_t cmd_set_property_values__pack
- (const CmdSetPropertyValues *message,
- uint8_t *out)
- {
- assert(message->base.descriptor == &cmd_set_property_values__descriptor);
- return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
- }
- size_t cmd_set_property_values__pack_to_buffer
- (const CmdSetPropertyValues *message,
- ProtobufCBuffer *buffer)
- {
- assert(message->base.descriptor == &cmd_set_property_values__descriptor);
- return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
- }
- CmdSetPropertyValues *
- cmd_set_property_values__unpack
- (ProtobufCAllocator *allocator,
- size_t len,
- const uint8_t *data)
- {
- return (CmdSetPropertyValues *)
- protobuf_c_message_unpack (&cmd_set_property_values__descriptor,
- allocator, len, data);
- }
- void cmd_set_property_values__free_unpacked
- (CmdSetPropertyValues *message,
- ProtobufCAllocator *allocator)
- {
- if(!message)
- return;
- assert(message->base.descriptor == &cmd_set_property_values__descriptor);
- protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
- }
- void resp_set_property_values__init
- (RespSetPropertyValues *message)
- {
- static const RespSetPropertyValues init_value = RESP_SET_PROPERTY_VALUES__INIT;
- *message = init_value;
- }
- size_t resp_set_property_values__get_packed_size
- (const RespSetPropertyValues *message)
- {
- assert(message->base.descriptor == &resp_set_property_values__descriptor);
- return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
- }
- size_t resp_set_property_values__pack
- (const RespSetPropertyValues *message,
- uint8_t *out)
- {
- assert(message->base.descriptor == &resp_set_property_values__descriptor);
- return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
- }
- size_t resp_set_property_values__pack_to_buffer
- (const RespSetPropertyValues *message,
- ProtobufCBuffer *buffer)
- {
- assert(message->base.descriptor == &resp_set_property_values__descriptor);
- return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
- }
- RespSetPropertyValues *
- resp_set_property_values__unpack
- (ProtobufCAllocator *allocator,
- size_t len,
- const uint8_t *data)
- {
- return (RespSetPropertyValues *)
- protobuf_c_message_unpack (&resp_set_property_values__descriptor,
- allocator, len, data);
- }
- void resp_set_property_values__free_unpacked
- (RespSetPropertyValues *message,
- ProtobufCAllocator *allocator)
- {
- if(!message)
- return;
- assert(message->base.descriptor == &resp_set_property_values__descriptor);
- protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
- }
- void local_ctrl_message__init
- (LocalCtrlMessage *message)
- {
- static const LocalCtrlMessage init_value = LOCAL_CTRL_MESSAGE__INIT;
- *message = init_value;
- }
- size_t local_ctrl_message__get_packed_size
- (const LocalCtrlMessage *message)
- {
- assert(message->base.descriptor == &local_ctrl_message__descriptor);
- return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
- }
- size_t local_ctrl_message__pack
- (const LocalCtrlMessage *message,
- uint8_t *out)
- {
- assert(message->base.descriptor == &local_ctrl_message__descriptor);
- return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
- }
- size_t local_ctrl_message__pack_to_buffer
- (const LocalCtrlMessage *message,
- ProtobufCBuffer *buffer)
- {
- assert(message->base.descriptor == &local_ctrl_message__descriptor);
- return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
- }
- LocalCtrlMessage *
- local_ctrl_message__unpack
- (ProtobufCAllocator *allocator,
- size_t len,
- const uint8_t *data)
- {
- return (LocalCtrlMessage *)
- protobuf_c_message_unpack (&local_ctrl_message__descriptor,
- allocator, len, data);
- }
- void local_ctrl_message__free_unpacked
- (LocalCtrlMessage *message,
- ProtobufCAllocator *allocator)
- {
- if(!message)
- return;
- assert(message->base.descriptor == &local_ctrl_message__descriptor);
- protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
- }
- #define cmd_get_property_count__field_descriptors NULL
- #define cmd_get_property_count__field_indices_by_name NULL
- #define cmd_get_property_count__number_ranges NULL
- const ProtobufCMessageDescriptor cmd_get_property_count__descriptor =
- {
- PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
- "CmdGetPropertyCount",
- "CmdGetPropertyCount",
- "CmdGetPropertyCount",
- "",
- sizeof(CmdGetPropertyCount),
- 0,
- cmd_get_property_count__field_descriptors,
- cmd_get_property_count__field_indices_by_name,
- 0, cmd_get_property_count__number_ranges,
- (ProtobufCMessageInit) cmd_get_property_count__init,
- NULL,NULL,NULL /* reserved[123] */
- };
- static const ProtobufCFieldDescriptor resp_get_property_count__field_descriptors[2] =
- {
- {
- "status",
- 1,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_ENUM,
- 0, /* quantifier_offset */
- offsetof(RespGetPropertyCount, status),
- &status__descriptor,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "count",
- 2,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_UINT32,
- 0, /* quantifier_offset */
- offsetof(RespGetPropertyCount, count),
- NULL,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- };
- static const unsigned resp_get_property_count__field_indices_by_name[] = {
- 1, /* field[1] = count */
- 0, /* field[0] = status */
- };
- static const ProtobufCIntRange resp_get_property_count__number_ranges[1 + 1] =
- {
- { 1, 0 },
- { 0, 2 }
- };
- const ProtobufCMessageDescriptor resp_get_property_count__descriptor =
- {
- PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
- "RespGetPropertyCount",
- "RespGetPropertyCount",
- "RespGetPropertyCount",
- "",
- sizeof(RespGetPropertyCount),
- 2,
- resp_get_property_count__field_descriptors,
- resp_get_property_count__field_indices_by_name,
- 1, resp_get_property_count__number_ranges,
- (ProtobufCMessageInit) resp_get_property_count__init,
- NULL,NULL,NULL /* reserved[123] */
- };
- static const ProtobufCFieldDescriptor property_info__field_descriptors[5] =
- {
- {
- "status",
- 1,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_ENUM,
- 0, /* quantifier_offset */
- offsetof(PropertyInfo, status),
- &status__descriptor,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "name",
- 2,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_STRING,
- 0, /* quantifier_offset */
- offsetof(PropertyInfo, name),
- NULL,
- &protobuf_c_empty_string,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "type",
- 3,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_UINT32,
- 0, /* quantifier_offset */
- offsetof(PropertyInfo, type),
- NULL,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "flags",
- 4,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_UINT32,
- 0, /* quantifier_offset */
- offsetof(PropertyInfo, flags),
- NULL,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "value",
- 5,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_BYTES,
- 0, /* quantifier_offset */
- offsetof(PropertyInfo, value),
- NULL,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- };
- static const unsigned property_info__field_indices_by_name[] = {
- 3, /* field[3] = flags */
- 1, /* field[1] = name */
- 0, /* field[0] = status */
- 2, /* field[2] = type */
- 4, /* field[4] = value */
- };
- static const ProtobufCIntRange property_info__number_ranges[1 + 1] =
- {
- { 1, 0 },
- { 0, 5 }
- };
- const ProtobufCMessageDescriptor property_info__descriptor =
- {
- PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
- "PropertyInfo",
- "PropertyInfo",
- "PropertyInfo",
- "",
- sizeof(PropertyInfo),
- 5,
- property_info__field_descriptors,
- property_info__field_indices_by_name,
- 1, property_info__number_ranges,
- (ProtobufCMessageInit) property_info__init,
- NULL,NULL,NULL /* reserved[123] */
- };
- static const ProtobufCFieldDescriptor cmd_get_property_values__field_descriptors[1] =
- {
- {
- "indices",
- 1,
- PROTOBUF_C_LABEL_REPEATED,
- PROTOBUF_C_TYPE_UINT32,
- offsetof(CmdGetPropertyValues, n_indices),
- offsetof(CmdGetPropertyValues, indices),
- NULL,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- };
- static const unsigned cmd_get_property_values__field_indices_by_name[] = {
- 0, /* field[0] = indices */
- };
- static const ProtobufCIntRange cmd_get_property_values__number_ranges[1 + 1] =
- {
- { 1, 0 },
- { 0, 1 }
- };
- const ProtobufCMessageDescriptor cmd_get_property_values__descriptor =
- {
- PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
- "CmdGetPropertyValues",
- "CmdGetPropertyValues",
- "CmdGetPropertyValues",
- "",
- sizeof(CmdGetPropertyValues),
- 1,
- cmd_get_property_values__field_descriptors,
- cmd_get_property_values__field_indices_by_name,
- 1, cmd_get_property_values__number_ranges,
- (ProtobufCMessageInit) cmd_get_property_values__init,
- NULL,NULL,NULL /* reserved[123] */
- };
- static const ProtobufCFieldDescriptor resp_get_property_values__field_descriptors[2] =
- {
- {
- "status",
- 1,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_ENUM,
- 0, /* quantifier_offset */
- offsetof(RespGetPropertyValues, status),
- &status__descriptor,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "props",
- 2,
- PROTOBUF_C_LABEL_REPEATED,
- PROTOBUF_C_TYPE_MESSAGE,
- offsetof(RespGetPropertyValues, n_props),
- offsetof(RespGetPropertyValues, props),
- &property_info__descriptor,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- };
- static const unsigned resp_get_property_values__field_indices_by_name[] = {
- 1, /* field[1] = props */
- 0, /* field[0] = status */
- };
- static const ProtobufCIntRange resp_get_property_values__number_ranges[1 + 1] =
- {
- { 1, 0 },
- { 0, 2 }
- };
- const ProtobufCMessageDescriptor resp_get_property_values__descriptor =
- {
- PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
- "RespGetPropertyValues",
- "RespGetPropertyValues",
- "RespGetPropertyValues",
- "",
- sizeof(RespGetPropertyValues),
- 2,
- resp_get_property_values__field_descriptors,
- resp_get_property_values__field_indices_by_name,
- 1, resp_get_property_values__number_ranges,
- (ProtobufCMessageInit) resp_get_property_values__init,
- NULL,NULL,NULL /* reserved[123] */
- };
- static const ProtobufCFieldDescriptor property_value__field_descriptors[2] =
- {
- {
- "index",
- 1,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_UINT32,
- 0, /* quantifier_offset */
- offsetof(PropertyValue, index),
- NULL,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "value",
- 2,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_BYTES,
- 0, /* quantifier_offset */
- offsetof(PropertyValue, value),
- NULL,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- };
- static const unsigned property_value__field_indices_by_name[] = {
- 0, /* field[0] = index */
- 1, /* field[1] = value */
- };
- static const ProtobufCIntRange property_value__number_ranges[1 + 1] =
- {
- { 1, 0 },
- { 0, 2 }
- };
- const ProtobufCMessageDescriptor property_value__descriptor =
- {
- PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
- "PropertyValue",
- "PropertyValue",
- "PropertyValue",
- "",
- sizeof(PropertyValue),
- 2,
- property_value__field_descriptors,
- property_value__field_indices_by_name,
- 1, property_value__number_ranges,
- (ProtobufCMessageInit) property_value__init,
- NULL,NULL,NULL /* reserved[123] */
- };
- static const ProtobufCFieldDescriptor cmd_set_property_values__field_descriptors[1] =
- {
- {
- "props",
- 1,
- PROTOBUF_C_LABEL_REPEATED,
- PROTOBUF_C_TYPE_MESSAGE,
- offsetof(CmdSetPropertyValues, n_props),
- offsetof(CmdSetPropertyValues, props),
- &property_value__descriptor,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- };
- static const unsigned cmd_set_property_values__field_indices_by_name[] = {
- 0, /* field[0] = props */
- };
- static const ProtobufCIntRange cmd_set_property_values__number_ranges[1 + 1] =
- {
- { 1, 0 },
- { 0, 1 }
- };
- const ProtobufCMessageDescriptor cmd_set_property_values__descriptor =
- {
- PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
- "CmdSetPropertyValues",
- "CmdSetPropertyValues",
- "CmdSetPropertyValues",
- "",
- sizeof(CmdSetPropertyValues),
- 1,
- cmd_set_property_values__field_descriptors,
- cmd_set_property_values__field_indices_by_name,
- 1, cmd_set_property_values__number_ranges,
- (ProtobufCMessageInit) cmd_set_property_values__init,
- NULL,NULL,NULL /* reserved[123] */
- };
- static const ProtobufCFieldDescriptor resp_set_property_values__field_descriptors[1] =
- {
- {
- "status",
- 1,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_ENUM,
- 0, /* quantifier_offset */
- offsetof(RespSetPropertyValues, status),
- &status__descriptor,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- };
- static const unsigned resp_set_property_values__field_indices_by_name[] = {
- 0, /* field[0] = status */
- };
- static const ProtobufCIntRange resp_set_property_values__number_ranges[1 + 1] =
- {
- { 1, 0 },
- { 0, 1 }
- };
- const ProtobufCMessageDescriptor resp_set_property_values__descriptor =
- {
- PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
- "RespSetPropertyValues",
- "RespSetPropertyValues",
- "RespSetPropertyValues",
- "",
- sizeof(RespSetPropertyValues),
- 1,
- resp_set_property_values__field_descriptors,
- resp_set_property_values__field_indices_by_name,
- 1, resp_set_property_values__number_ranges,
- (ProtobufCMessageInit) resp_set_property_values__init,
- NULL,NULL,NULL /* reserved[123] */
- };
- static const ProtobufCFieldDescriptor local_ctrl_message__field_descriptors[7] =
- {
- {
- "msg",
- 1,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_ENUM,
- 0, /* quantifier_offset */
- offsetof(LocalCtrlMessage, msg),
- &local_ctrl_msg_type__descriptor,
- NULL,
- 0, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "cmd_get_prop_count",
- 10,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_MESSAGE,
- offsetof(LocalCtrlMessage, payload_case),
- offsetof(LocalCtrlMessage, cmd_get_prop_count),
- &cmd_get_property_count__descriptor,
- NULL,
- 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "resp_get_prop_count",
- 11,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_MESSAGE,
- offsetof(LocalCtrlMessage, payload_case),
- offsetof(LocalCtrlMessage, resp_get_prop_count),
- &resp_get_property_count__descriptor,
- NULL,
- 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "cmd_get_prop_vals",
- 12,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_MESSAGE,
- offsetof(LocalCtrlMessage, payload_case),
- offsetof(LocalCtrlMessage, cmd_get_prop_vals),
- &cmd_get_property_values__descriptor,
- NULL,
- 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "resp_get_prop_vals",
- 13,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_MESSAGE,
- offsetof(LocalCtrlMessage, payload_case),
- offsetof(LocalCtrlMessage, resp_get_prop_vals),
- &resp_get_property_values__descriptor,
- NULL,
- 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "cmd_set_prop_vals",
- 14,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_MESSAGE,
- offsetof(LocalCtrlMessage, payload_case),
- offsetof(LocalCtrlMessage, cmd_set_prop_vals),
- &cmd_set_property_values__descriptor,
- NULL,
- 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- {
- "resp_set_prop_vals",
- 15,
- PROTOBUF_C_LABEL_NONE,
- PROTOBUF_C_TYPE_MESSAGE,
- offsetof(LocalCtrlMessage, payload_case),
- offsetof(LocalCtrlMessage, resp_set_prop_vals),
- &resp_set_property_values__descriptor,
- NULL,
- 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
- 0,NULL,NULL /* reserved1,reserved2, etc */
- },
- };
- static const unsigned local_ctrl_message__field_indices_by_name[] = {
- 1, /* field[1] = cmd_get_prop_count */
- 3, /* field[3] = cmd_get_prop_vals */
- 5, /* field[5] = cmd_set_prop_vals */
- 0, /* field[0] = msg */
- 2, /* field[2] = resp_get_prop_count */
- 4, /* field[4] = resp_get_prop_vals */
- 6, /* field[6] = resp_set_prop_vals */
- };
- static const ProtobufCIntRange local_ctrl_message__number_ranges[2 + 1] =
- {
- { 1, 0 },
- { 10, 1 },
- { 0, 7 }
- };
- const ProtobufCMessageDescriptor local_ctrl_message__descriptor =
- {
- PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
- "LocalCtrlMessage",
- "LocalCtrlMessage",
- "LocalCtrlMessage",
- "",
- sizeof(LocalCtrlMessage),
- 7,
- local_ctrl_message__field_descriptors,
- local_ctrl_message__field_indices_by_name,
- 2, local_ctrl_message__number_ranges,
- (ProtobufCMessageInit) local_ctrl_message__init,
- NULL,NULL,NULL /* reserved[123] */
- };
- static const ProtobufCEnumValue local_ctrl_msg_type__enum_values_by_number[6] =
- {
- { "TypeCmdGetPropertyCount", "LOCAL_CTRL_MSG_TYPE__TypeCmdGetPropertyCount", 0 },
- { "TypeRespGetPropertyCount", "LOCAL_CTRL_MSG_TYPE__TypeRespGetPropertyCount", 1 },
- { "TypeCmdGetPropertyValues", "LOCAL_CTRL_MSG_TYPE__TypeCmdGetPropertyValues", 4 },
- { "TypeRespGetPropertyValues", "LOCAL_CTRL_MSG_TYPE__TypeRespGetPropertyValues", 5 },
- { "TypeCmdSetPropertyValues", "LOCAL_CTRL_MSG_TYPE__TypeCmdSetPropertyValues", 6 },
- { "TypeRespSetPropertyValues", "LOCAL_CTRL_MSG_TYPE__TypeRespSetPropertyValues", 7 },
- };
- static const ProtobufCIntRange local_ctrl_msg_type__value_ranges[] = {
- {0, 0},{4, 2},{0, 6}
- };
- static const ProtobufCEnumValueIndex local_ctrl_msg_type__enum_values_by_name[6] =
- {
- { "TypeCmdGetPropertyCount", 0 },
- { "TypeCmdGetPropertyValues", 2 },
- { "TypeCmdSetPropertyValues", 4 },
- { "TypeRespGetPropertyCount", 1 },
- { "TypeRespGetPropertyValues", 3 },
- { "TypeRespSetPropertyValues", 5 },
- };
- const ProtobufCEnumDescriptor local_ctrl_msg_type__descriptor =
- {
- PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
- "LocalCtrlMsgType",
- "LocalCtrlMsgType",
- "LocalCtrlMsgType",
- "",
- 6,
- local_ctrl_msg_type__enum_values_by_number,
- 6,
- local_ctrl_msg_type__enum_values_by_name,
- 2,
- local_ctrl_msg_type__value_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
- };
|