1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: esp_local_ctrl.proto */
3
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
7 #endif
8
9 #include "esp_local_ctrl.pb-c.h"
cmd_get_property_count__init(CmdGetPropertyCount * message)10 void cmd_get_property_count__init
11 (CmdGetPropertyCount *message)
12 {
13 static const CmdGetPropertyCount init_value = CMD_GET_PROPERTY_COUNT__INIT;
14 *message = init_value;
15 }
cmd_get_property_count__get_packed_size(const CmdGetPropertyCount * message)16 size_t cmd_get_property_count__get_packed_size
17 (const CmdGetPropertyCount *message)
18 {
19 assert(message->base.descriptor == &cmd_get_property_count__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
21 }
cmd_get_property_count__pack(const CmdGetPropertyCount * message,uint8_t * out)22 size_t cmd_get_property_count__pack
23 (const CmdGetPropertyCount *message,
24 uint8_t *out)
25 {
26 assert(message->base.descriptor == &cmd_get_property_count__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
28 }
cmd_get_property_count__pack_to_buffer(const CmdGetPropertyCount * message,ProtobufCBuffer * buffer)29 size_t cmd_get_property_count__pack_to_buffer
30 (const CmdGetPropertyCount *message,
31 ProtobufCBuffer *buffer)
32 {
33 assert(message->base.descriptor == &cmd_get_property_count__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
35 }
36 CmdGetPropertyCount *
cmd_get_property_count__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)37 cmd_get_property_count__unpack
38 (ProtobufCAllocator *allocator,
39 size_t len,
40 const uint8_t *data)
41 {
42 return (CmdGetPropertyCount *)
43 protobuf_c_message_unpack (&cmd_get_property_count__descriptor,
44 allocator, len, data);
45 }
cmd_get_property_count__free_unpacked(CmdGetPropertyCount * message,ProtobufCAllocator * allocator)46 void cmd_get_property_count__free_unpacked
47 (CmdGetPropertyCount *message,
48 ProtobufCAllocator *allocator)
49 {
50 if(!message)
51 return;
52 assert(message->base.descriptor == &cmd_get_property_count__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
54 }
resp_get_property_count__init(RespGetPropertyCount * message)55 void resp_get_property_count__init
56 (RespGetPropertyCount *message)
57 {
58 static const RespGetPropertyCount init_value = RESP_GET_PROPERTY_COUNT__INIT;
59 *message = init_value;
60 }
resp_get_property_count__get_packed_size(const RespGetPropertyCount * message)61 size_t resp_get_property_count__get_packed_size
62 (const RespGetPropertyCount *message)
63 {
64 assert(message->base.descriptor == &resp_get_property_count__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
66 }
resp_get_property_count__pack(const RespGetPropertyCount * message,uint8_t * out)67 size_t resp_get_property_count__pack
68 (const RespGetPropertyCount *message,
69 uint8_t *out)
70 {
71 assert(message->base.descriptor == &resp_get_property_count__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
73 }
resp_get_property_count__pack_to_buffer(const RespGetPropertyCount * message,ProtobufCBuffer * buffer)74 size_t resp_get_property_count__pack_to_buffer
75 (const RespGetPropertyCount *message,
76 ProtobufCBuffer *buffer)
77 {
78 assert(message->base.descriptor == &resp_get_property_count__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
80 }
81 RespGetPropertyCount *
resp_get_property_count__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)82 resp_get_property_count__unpack
83 (ProtobufCAllocator *allocator,
84 size_t len,
85 const uint8_t *data)
86 {
87 return (RespGetPropertyCount *)
88 protobuf_c_message_unpack (&resp_get_property_count__descriptor,
89 allocator, len, data);
90 }
resp_get_property_count__free_unpacked(RespGetPropertyCount * message,ProtobufCAllocator * allocator)91 void resp_get_property_count__free_unpacked
92 (RespGetPropertyCount *message,
93 ProtobufCAllocator *allocator)
94 {
95 if(!message)
96 return;
97 assert(message->base.descriptor == &resp_get_property_count__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
99 }
property_info__init(PropertyInfo * message)100 void property_info__init
101 (PropertyInfo *message)
102 {
103 static const PropertyInfo init_value = PROPERTY_INFO__INIT;
104 *message = init_value;
105 }
property_info__get_packed_size(const PropertyInfo * message)106 size_t property_info__get_packed_size
107 (const PropertyInfo *message)
108 {
109 assert(message->base.descriptor == &property_info__descriptor);
110 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
111 }
property_info__pack(const PropertyInfo * message,uint8_t * out)112 size_t property_info__pack
113 (const PropertyInfo *message,
114 uint8_t *out)
115 {
116 assert(message->base.descriptor == &property_info__descriptor);
117 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
118 }
property_info__pack_to_buffer(const PropertyInfo * message,ProtobufCBuffer * buffer)119 size_t property_info__pack_to_buffer
120 (const PropertyInfo *message,
121 ProtobufCBuffer *buffer)
122 {
123 assert(message->base.descriptor == &property_info__descriptor);
124 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
125 }
126 PropertyInfo *
property_info__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)127 property_info__unpack
128 (ProtobufCAllocator *allocator,
129 size_t len,
130 const uint8_t *data)
131 {
132 return (PropertyInfo *)
133 protobuf_c_message_unpack (&property_info__descriptor,
134 allocator, len, data);
135 }
property_info__free_unpacked(PropertyInfo * message,ProtobufCAllocator * allocator)136 void property_info__free_unpacked
137 (PropertyInfo *message,
138 ProtobufCAllocator *allocator)
139 {
140 if(!message)
141 return;
142 assert(message->base.descriptor == &property_info__descriptor);
143 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
144 }
cmd_get_property_values__init(CmdGetPropertyValues * message)145 void cmd_get_property_values__init
146 (CmdGetPropertyValues *message)
147 {
148 static const CmdGetPropertyValues init_value = CMD_GET_PROPERTY_VALUES__INIT;
149 *message = init_value;
150 }
cmd_get_property_values__get_packed_size(const CmdGetPropertyValues * message)151 size_t cmd_get_property_values__get_packed_size
152 (const CmdGetPropertyValues *message)
153 {
154 assert(message->base.descriptor == &cmd_get_property_values__descriptor);
155 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
156 }
cmd_get_property_values__pack(const CmdGetPropertyValues * message,uint8_t * out)157 size_t cmd_get_property_values__pack
158 (const CmdGetPropertyValues *message,
159 uint8_t *out)
160 {
161 assert(message->base.descriptor == &cmd_get_property_values__descriptor);
162 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
163 }
cmd_get_property_values__pack_to_buffer(const CmdGetPropertyValues * message,ProtobufCBuffer * buffer)164 size_t cmd_get_property_values__pack_to_buffer
165 (const CmdGetPropertyValues *message,
166 ProtobufCBuffer *buffer)
167 {
168 assert(message->base.descriptor == &cmd_get_property_values__descriptor);
169 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
170 }
171 CmdGetPropertyValues *
cmd_get_property_values__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)172 cmd_get_property_values__unpack
173 (ProtobufCAllocator *allocator,
174 size_t len,
175 const uint8_t *data)
176 {
177 return (CmdGetPropertyValues *)
178 protobuf_c_message_unpack (&cmd_get_property_values__descriptor,
179 allocator, len, data);
180 }
cmd_get_property_values__free_unpacked(CmdGetPropertyValues * message,ProtobufCAllocator * allocator)181 void cmd_get_property_values__free_unpacked
182 (CmdGetPropertyValues *message,
183 ProtobufCAllocator *allocator)
184 {
185 if(!message)
186 return;
187 assert(message->base.descriptor == &cmd_get_property_values__descriptor);
188 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
189 }
resp_get_property_values__init(RespGetPropertyValues * message)190 void resp_get_property_values__init
191 (RespGetPropertyValues *message)
192 {
193 static const RespGetPropertyValues init_value = RESP_GET_PROPERTY_VALUES__INIT;
194 *message = init_value;
195 }
resp_get_property_values__get_packed_size(const RespGetPropertyValues * message)196 size_t resp_get_property_values__get_packed_size
197 (const RespGetPropertyValues *message)
198 {
199 assert(message->base.descriptor == &resp_get_property_values__descriptor);
200 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
201 }
resp_get_property_values__pack(const RespGetPropertyValues * message,uint8_t * out)202 size_t resp_get_property_values__pack
203 (const RespGetPropertyValues *message,
204 uint8_t *out)
205 {
206 assert(message->base.descriptor == &resp_get_property_values__descriptor);
207 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
208 }
resp_get_property_values__pack_to_buffer(const RespGetPropertyValues * message,ProtobufCBuffer * buffer)209 size_t resp_get_property_values__pack_to_buffer
210 (const RespGetPropertyValues *message,
211 ProtobufCBuffer *buffer)
212 {
213 assert(message->base.descriptor == &resp_get_property_values__descriptor);
214 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
215 }
216 RespGetPropertyValues *
resp_get_property_values__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)217 resp_get_property_values__unpack
218 (ProtobufCAllocator *allocator,
219 size_t len,
220 const uint8_t *data)
221 {
222 return (RespGetPropertyValues *)
223 protobuf_c_message_unpack (&resp_get_property_values__descriptor,
224 allocator, len, data);
225 }
resp_get_property_values__free_unpacked(RespGetPropertyValues * message,ProtobufCAllocator * allocator)226 void resp_get_property_values__free_unpacked
227 (RespGetPropertyValues *message,
228 ProtobufCAllocator *allocator)
229 {
230 if(!message)
231 return;
232 assert(message->base.descriptor == &resp_get_property_values__descriptor);
233 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
234 }
property_value__init(PropertyValue * message)235 void property_value__init
236 (PropertyValue *message)
237 {
238 static const PropertyValue init_value = PROPERTY_VALUE__INIT;
239 *message = init_value;
240 }
property_value__get_packed_size(const PropertyValue * message)241 size_t property_value__get_packed_size
242 (const PropertyValue *message)
243 {
244 assert(message->base.descriptor == &property_value__descriptor);
245 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
246 }
property_value__pack(const PropertyValue * message,uint8_t * out)247 size_t property_value__pack
248 (const PropertyValue *message,
249 uint8_t *out)
250 {
251 assert(message->base.descriptor == &property_value__descriptor);
252 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
253 }
property_value__pack_to_buffer(const PropertyValue * message,ProtobufCBuffer * buffer)254 size_t property_value__pack_to_buffer
255 (const PropertyValue *message,
256 ProtobufCBuffer *buffer)
257 {
258 assert(message->base.descriptor == &property_value__descriptor);
259 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
260 }
261 PropertyValue *
property_value__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)262 property_value__unpack
263 (ProtobufCAllocator *allocator,
264 size_t len,
265 const uint8_t *data)
266 {
267 return (PropertyValue *)
268 protobuf_c_message_unpack (&property_value__descriptor,
269 allocator, len, data);
270 }
property_value__free_unpacked(PropertyValue * message,ProtobufCAllocator * allocator)271 void property_value__free_unpacked
272 (PropertyValue *message,
273 ProtobufCAllocator *allocator)
274 {
275 if(!message)
276 return;
277 assert(message->base.descriptor == &property_value__descriptor);
278 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
279 }
cmd_set_property_values__init(CmdSetPropertyValues * message)280 void cmd_set_property_values__init
281 (CmdSetPropertyValues *message)
282 {
283 static const CmdSetPropertyValues init_value = CMD_SET_PROPERTY_VALUES__INIT;
284 *message = init_value;
285 }
cmd_set_property_values__get_packed_size(const CmdSetPropertyValues * message)286 size_t cmd_set_property_values__get_packed_size
287 (const CmdSetPropertyValues *message)
288 {
289 assert(message->base.descriptor == &cmd_set_property_values__descriptor);
290 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
291 }
cmd_set_property_values__pack(const CmdSetPropertyValues * message,uint8_t * out)292 size_t cmd_set_property_values__pack
293 (const CmdSetPropertyValues *message,
294 uint8_t *out)
295 {
296 assert(message->base.descriptor == &cmd_set_property_values__descriptor);
297 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
298 }
cmd_set_property_values__pack_to_buffer(const CmdSetPropertyValues * message,ProtobufCBuffer * buffer)299 size_t cmd_set_property_values__pack_to_buffer
300 (const CmdSetPropertyValues *message,
301 ProtobufCBuffer *buffer)
302 {
303 assert(message->base.descriptor == &cmd_set_property_values__descriptor);
304 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
305 }
306 CmdSetPropertyValues *
cmd_set_property_values__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)307 cmd_set_property_values__unpack
308 (ProtobufCAllocator *allocator,
309 size_t len,
310 const uint8_t *data)
311 {
312 return (CmdSetPropertyValues *)
313 protobuf_c_message_unpack (&cmd_set_property_values__descriptor,
314 allocator, len, data);
315 }
cmd_set_property_values__free_unpacked(CmdSetPropertyValues * message,ProtobufCAllocator * allocator)316 void cmd_set_property_values__free_unpacked
317 (CmdSetPropertyValues *message,
318 ProtobufCAllocator *allocator)
319 {
320 if(!message)
321 return;
322 assert(message->base.descriptor == &cmd_set_property_values__descriptor);
323 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
324 }
resp_set_property_values__init(RespSetPropertyValues * message)325 void resp_set_property_values__init
326 (RespSetPropertyValues *message)
327 {
328 static const RespSetPropertyValues init_value = RESP_SET_PROPERTY_VALUES__INIT;
329 *message = init_value;
330 }
resp_set_property_values__get_packed_size(const RespSetPropertyValues * message)331 size_t resp_set_property_values__get_packed_size
332 (const RespSetPropertyValues *message)
333 {
334 assert(message->base.descriptor == &resp_set_property_values__descriptor);
335 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
336 }
resp_set_property_values__pack(const RespSetPropertyValues * message,uint8_t * out)337 size_t resp_set_property_values__pack
338 (const RespSetPropertyValues *message,
339 uint8_t *out)
340 {
341 assert(message->base.descriptor == &resp_set_property_values__descriptor);
342 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
343 }
resp_set_property_values__pack_to_buffer(const RespSetPropertyValues * message,ProtobufCBuffer * buffer)344 size_t resp_set_property_values__pack_to_buffer
345 (const RespSetPropertyValues *message,
346 ProtobufCBuffer *buffer)
347 {
348 assert(message->base.descriptor == &resp_set_property_values__descriptor);
349 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
350 }
351 RespSetPropertyValues *
resp_set_property_values__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)352 resp_set_property_values__unpack
353 (ProtobufCAllocator *allocator,
354 size_t len,
355 const uint8_t *data)
356 {
357 return (RespSetPropertyValues *)
358 protobuf_c_message_unpack (&resp_set_property_values__descriptor,
359 allocator, len, data);
360 }
resp_set_property_values__free_unpacked(RespSetPropertyValues * message,ProtobufCAllocator * allocator)361 void resp_set_property_values__free_unpacked
362 (RespSetPropertyValues *message,
363 ProtobufCAllocator *allocator)
364 {
365 if(!message)
366 return;
367 assert(message->base.descriptor == &resp_set_property_values__descriptor);
368 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
369 }
local_ctrl_message__init(LocalCtrlMessage * message)370 void local_ctrl_message__init
371 (LocalCtrlMessage *message)
372 {
373 static const LocalCtrlMessage init_value = LOCAL_CTRL_MESSAGE__INIT;
374 *message = init_value;
375 }
local_ctrl_message__get_packed_size(const LocalCtrlMessage * message)376 size_t local_ctrl_message__get_packed_size
377 (const LocalCtrlMessage *message)
378 {
379 assert(message->base.descriptor == &local_ctrl_message__descriptor);
380 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
381 }
local_ctrl_message__pack(const LocalCtrlMessage * message,uint8_t * out)382 size_t local_ctrl_message__pack
383 (const LocalCtrlMessage *message,
384 uint8_t *out)
385 {
386 assert(message->base.descriptor == &local_ctrl_message__descriptor);
387 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
388 }
local_ctrl_message__pack_to_buffer(const LocalCtrlMessage * message,ProtobufCBuffer * buffer)389 size_t local_ctrl_message__pack_to_buffer
390 (const LocalCtrlMessage *message,
391 ProtobufCBuffer *buffer)
392 {
393 assert(message->base.descriptor == &local_ctrl_message__descriptor);
394 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
395 }
396 LocalCtrlMessage *
local_ctrl_message__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)397 local_ctrl_message__unpack
398 (ProtobufCAllocator *allocator,
399 size_t len,
400 const uint8_t *data)
401 {
402 return (LocalCtrlMessage *)
403 protobuf_c_message_unpack (&local_ctrl_message__descriptor,
404 allocator, len, data);
405 }
local_ctrl_message__free_unpacked(LocalCtrlMessage * message,ProtobufCAllocator * allocator)406 void local_ctrl_message__free_unpacked
407 (LocalCtrlMessage *message,
408 ProtobufCAllocator *allocator)
409 {
410 if(!message)
411 return;
412 assert(message->base.descriptor == &local_ctrl_message__descriptor);
413 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
414 }
415 #define cmd_get_property_count__field_descriptors NULL
416 #define cmd_get_property_count__field_indices_by_name NULL
417 #define cmd_get_property_count__number_ranges NULL
418 const ProtobufCMessageDescriptor cmd_get_property_count__descriptor =
419 {
420 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
421 "CmdGetPropertyCount",
422 "CmdGetPropertyCount",
423 "CmdGetPropertyCount",
424 "",
425 sizeof(CmdGetPropertyCount),
426 0,
427 cmd_get_property_count__field_descriptors,
428 cmd_get_property_count__field_indices_by_name,
429 0, cmd_get_property_count__number_ranges,
430 (ProtobufCMessageInit) cmd_get_property_count__init,
431 NULL,NULL,NULL /* reserved[123] */
432 };
433 static const ProtobufCFieldDescriptor resp_get_property_count__field_descriptors[2] =
434 {
435 {
436 "status",
437 1,
438 PROTOBUF_C_LABEL_NONE,
439 PROTOBUF_C_TYPE_ENUM,
440 0, /* quantifier_offset */
441 offsetof(RespGetPropertyCount, status),
442 &status__descriptor,
443 NULL,
444 0, /* flags */
445 0,NULL,NULL /* reserved1,reserved2, etc */
446 },
447 {
448 "count",
449 2,
450 PROTOBUF_C_LABEL_NONE,
451 PROTOBUF_C_TYPE_UINT32,
452 0, /* quantifier_offset */
453 offsetof(RespGetPropertyCount, count),
454 NULL,
455 NULL,
456 0, /* flags */
457 0,NULL,NULL /* reserved1,reserved2, etc */
458 },
459 };
460 static const unsigned resp_get_property_count__field_indices_by_name[] = {
461 1, /* field[1] = count */
462 0, /* field[0] = status */
463 };
464 static const ProtobufCIntRange resp_get_property_count__number_ranges[1 + 1] =
465 {
466 { 1, 0 },
467 { 0, 2 }
468 };
469 const ProtobufCMessageDescriptor resp_get_property_count__descriptor =
470 {
471 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
472 "RespGetPropertyCount",
473 "RespGetPropertyCount",
474 "RespGetPropertyCount",
475 "",
476 sizeof(RespGetPropertyCount),
477 2,
478 resp_get_property_count__field_descriptors,
479 resp_get_property_count__field_indices_by_name,
480 1, resp_get_property_count__number_ranges,
481 (ProtobufCMessageInit) resp_get_property_count__init,
482 NULL,NULL,NULL /* reserved[123] */
483 };
484 static const ProtobufCFieldDescriptor property_info__field_descriptors[5] =
485 {
486 {
487 "status",
488 1,
489 PROTOBUF_C_LABEL_NONE,
490 PROTOBUF_C_TYPE_ENUM,
491 0, /* quantifier_offset */
492 offsetof(PropertyInfo, status),
493 &status__descriptor,
494 NULL,
495 0, /* flags */
496 0,NULL,NULL /* reserved1,reserved2, etc */
497 },
498 {
499 "name",
500 2,
501 PROTOBUF_C_LABEL_NONE,
502 PROTOBUF_C_TYPE_STRING,
503 0, /* quantifier_offset */
504 offsetof(PropertyInfo, name),
505 NULL,
506 &protobuf_c_empty_string,
507 0, /* flags */
508 0,NULL,NULL /* reserved1,reserved2, etc */
509 },
510 {
511 "type",
512 3,
513 PROTOBUF_C_LABEL_NONE,
514 PROTOBUF_C_TYPE_UINT32,
515 0, /* quantifier_offset */
516 offsetof(PropertyInfo, type),
517 NULL,
518 NULL,
519 0, /* flags */
520 0,NULL,NULL /* reserved1,reserved2, etc */
521 },
522 {
523 "flags",
524 4,
525 PROTOBUF_C_LABEL_NONE,
526 PROTOBUF_C_TYPE_UINT32,
527 0, /* quantifier_offset */
528 offsetof(PropertyInfo, flags),
529 NULL,
530 NULL,
531 0, /* flags */
532 0,NULL,NULL /* reserved1,reserved2, etc */
533 },
534 {
535 "value",
536 5,
537 PROTOBUF_C_LABEL_NONE,
538 PROTOBUF_C_TYPE_BYTES,
539 0, /* quantifier_offset */
540 offsetof(PropertyInfo, value),
541 NULL,
542 NULL,
543 0, /* flags */
544 0,NULL,NULL /* reserved1,reserved2, etc */
545 },
546 };
547 static const unsigned property_info__field_indices_by_name[] = {
548 3, /* field[3] = flags */
549 1, /* field[1] = name */
550 0, /* field[0] = status */
551 2, /* field[2] = type */
552 4, /* field[4] = value */
553 };
554 static const ProtobufCIntRange property_info__number_ranges[1 + 1] =
555 {
556 { 1, 0 },
557 { 0, 5 }
558 };
559 const ProtobufCMessageDescriptor property_info__descriptor =
560 {
561 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
562 "PropertyInfo",
563 "PropertyInfo",
564 "PropertyInfo",
565 "",
566 sizeof(PropertyInfo),
567 5,
568 property_info__field_descriptors,
569 property_info__field_indices_by_name,
570 1, property_info__number_ranges,
571 (ProtobufCMessageInit) property_info__init,
572 NULL,NULL,NULL /* reserved[123] */
573 };
574 static const ProtobufCFieldDescriptor cmd_get_property_values__field_descriptors[1] =
575 {
576 {
577 "indices",
578 1,
579 PROTOBUF_C_LABEL_REPEATED,
580 PROTOBUF_C_TYPE_UINT32,
581 offsetof(CmdGetPropertyValues, n_indices),
582 offsetof(CmdGetPropertyValues, indices),
583 NULL,
584 NULL,
585 0, /* flags */
586 0,NULL,NULL /* reserved1,reserved2, etc */
587 },
588 };
589 static const unsigned cmd_get_property_values__field_indices_by_name[] = {
590 0, /* field[0] = indices */
591 };
592 static const ProtobufCIntRange cmd_get_property_values__number_ranges[1 + 1] =
593 {
594 { 1, 0 },
595 { 0, 1 }
596 };
597 const ProtobufCMessageDescriptor cmd_get_property_values__descriptor =
598 {
599 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
600 "CmdGetPropertyValues",
601 "CmdGetPropertyValues",
602 "CmdGetPropertyValues",
603 "",
604 sizeof(CmdGetPropertyValues),
605 1,
606 cmd_get_property_values__field_descriptors,
607 cmd_get_property_values__field_indices_by_name,
608 1, cmd_get_property_values__number_ranges,
609 (ProtobufCMessageInit) cmd_get_property_values__init,
610 NULL,NULL,NULL /* reserved[123] */
611 };
612 static const ProtobufCFieldDescriptor resp_get_property_values__field_descriptors[2] =
613 {
614 {
615 "status",
616 1,
617 PROTOBUF_C_LABEL_NONE,
618 PROTOBUF_C_TYPE_ENUM,
619 0, /* quantifier_offset */
620 offsetof(RespGetPropertyValues, status),
621 &status__descriptor,
622 NULL,
623 0, /* flags */
624 0,NULL,NULL /* reserved1,reserved2, etc */
625 },
626 {
627 "props",
628 2,
629 PROTOBUF_C_LABEL_REPEATED,
630 PROTOBUF_C_TYPE_MESSAGE,
631 offsetof(RespGetPropertyValues, n_props),
632 offsetof(RespGetPropertyValues, props),
633 &property_info__descriptor,
634 NULL,
635 0, /* flags */
636 0,NULL,NULL /* reserved1,reserved2, etc */
637 },
638 };
639 static const unsigned resp_get_property_values__field_indices_by_name[] = {
640 1, /* field[1] = props */
641 0, /* field[0] = status */
642 };
643 static const ProtobufCIntRange resp_get_property_values__number_ranges[1 + 1] =
644 {
645 { 1, 0 },
646 { 0, 2 }
647 };
648 const ProtobufCMessageDescriptor resp_get_property_values__descriptor =
649 {
650 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
651 "RespGetPropertyValues",
652 "RespGetPropertyValues",
653 "RespGetPropertyValues",
654 "",
655 sizeof(RespGetPropertyValues),
656 2,
657 resp_get_property_values__field_descriptors,
658 resp_get_property_values__field_indices_by_name,
659 1, resp_get_property_values__number_ranges,
660 (ProtobufCMessageInit) resp_get_property_values__init,
661 NULL,NULL,NULL /* reserved[123] */
662 };
663 static const ProtobufCFieldDescriptor property_value__field_descriptors[2] =
664 {
665 {
666 "index",
667 1,
668 PROTOBUF_C_LABEL_NONE,
669 PROTOBUF_C_TYPE_UINT32,
670 0, /* quantifier_offset */
671 offsetof(PropertyValue, index),
672 NULL,
673 NULL,
674 0, /* flags */
675 0,NULL,NULL /* reserved1,reserved2, etc */
676 },
677 {
678 "value",
679 2,
680 PROTOBUF_C_LABEL_NONE,
681 PROTOBUF_C_TYPE_BYTES,
682 0, /* quantifier_offset */
683 offsetof(PropertyValue, value),
684 NULL,
685 NULL,
686 0, /* flags */
687 0,NULL,NULL /* reserved1,reserved2, etc */
688 },
689 };
690 static const unsigned property_value__field_indices_by_name[] = {
691 0, /* field[0] = index */
692 1, /* field[1] = value */
693 };
694 static const ProtobufCIntRange property_value__number_ranges[1 + 1] =
695 {
696 { 1, 0 },
697 { 0, 2 }
698 };
699 const ProtobufCMessageDescriptor property_value__descriptor =
700 {
701 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
702 "PropertyValue",
703 "PropertyValue",
704 "PropertyValue",
705 "",
706 sizeof(PropertyValue),
707 2,
708 property_value__field_descriptors,
709 property_value__field_indices_by_name,
710 1, property_value__number_ranges,
711 (ProtobufCMessageInit) property_value__init,
712 NULL,NULL,NULL /* reserved[123] */
713 };
714 static const ProtobufCFieldDescriptor cmd_set_property_values__field_descriptors[1] =
715 {
716 {
717 "props",
718 1,
719 PROTOBUF_C_LABEL_REPEATED,
720 PROTOBUF_C_TYPE_MESSAGE,
721 offsetof(CmdSetPropertyValues, n_props),
722 offsetof(CmdSetPropertyValues, props),
723 &property_value__descriptor,
724 NULL,
725 0, /* flags */
726 0,NULL,NULL /* reserved1,reserved2, etc */
727 },
728 };
729 static const unsigned cmd_set_property_values__field_indices_by_name[] = {
730 0, /* field[0] = props */
731 };
732 static const ProtobufCIntRange cmd_set_property_values__number_ranges[1 + 1] =
733 {
734 { 1, 0 },
735 { 0, 1 }
736 };
737 const ProtobufCMessageDescriptor cmd_set_property_values__descriptor =
738 {
739 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
740 "CmdSetPropertyValues",
741 "CmdSetPropertyValues",
742 "CmdSetPropertyValues",
743 "",
744 sizeof(CmdSetPropertyValues),
745 1,
746 cmd_set_property_values__field_descriptors,
747 cmd_set_property_values__field_indices_by_name,
748 1, cmd_set_property_values__number_ranges,
749 (ProtobufCMessageInit) cmd_set_property_values__init,
750 NULL,NULL,NULL /* reserved[123] */
751 };
752 static const ProtobufCFieldDescriptor resp_set_property_values__field_descriptors[1] =
753 {
754 {
755 "status",
756 1,
757 PROTOBUF_C_LABEL_NONE,
758 PROTOBUF_C_TYPE_ENUM,
759 0, /* quantifier_offset */
760 offsetof(RespSetPropertyValues, status),
761 &status__descriptor,
762 NULL,
763 0, /* flags */
764 0,NULL,NULL /* reserved1,reserved2, etc */
765 },
766 };
767 static const unsigned resp_set_property_values__field_indices_by_name[] = {
768 0, /* field[0] = status */
769 };
770 static const ProtobufCIntRange resp_set_property_values__number_ranges[1 + 1] =
771 {
772 { 1, 0 },
773 { 0, 1 }
774 };
775 const ProtobufCMessageDescriptor resp_set_property_values__descriptor =
776 {
777 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
778 "RespSetPropertyValues",
779 "RespSetPropertyValues",
780 "RespSetPropertyValues",
781 "",
782 sizeof(RespSetPropertyValues),
783 1,
784 resp_set_property_values__field_descriptors,
785 resp_set_property_values__field_indices_by_name,
786 1, resp_set_property_values__number_ranges,
787 (ProtobufCMessageInit) resp_set_property_values__init,
788 NULL,NULL,NULL /* reserved[123] */
789 };
790 static const ProtobufCFieldDescriptor local_ctrl_message__field_descriptors[7] =
791 {
792 {
793 "msg",
794 1,
795 PROTOBUF_C_LABEL_NONE,
796 PROTOBUF_C_TYPE_ENUM,
797 0, /* quantifier_offset */
798 offsetof(LocalCtrlMessage, msg),
799 &local_ctrl_msg_type__descriptor,
800 NULL,
801 0, /* flags */
802 0,NULL,NULL /* reserved1,reserved2, etc */
803 },
804 {
805 "cmd_get_prop_count",
806 10,
807 PROTOBUF_C_LABEL_NONE,
808 PROTOBUF_C_TYPE_MESSAGE,
809 offsetof(LocalCtrlMessage, payload_case),
810 offsetof(LocalCtrlMessage, cmd_get_prop_count),
811 &cmd_get_property_count__descriptor,
812 NULL,
813 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
814 0,NULL,NULL /* reserved1,reserved2, etc */
815 },
816 {
817 "resp_get_prop_count",
818 11,
819 PROTOBUF_C_LABEL_NONE,
820 PROTOBUF_C_TYPE_MESSAGE,
821 offsetof(LocalCtrlMessage, payload_case),
822 offsetof(LocalCtrlMessage, resp_get_prop_count),
823 &resp_get_property_count__descriptor,
824 NULL,
825 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
826 0,NULL,NULL /* reserved1,reserved2, etc */
827 },
828 {
829 "cmd_get_prop_vals",
830 12,
831 PROTOBUF_C_LABEL_NONE,
832 PROTOBUF_C_TYPE_MESSAGE,
833 offsetof(LocalCtrlMessage, payload_case),
834 offsetof(LocalCtrlMessage, cmd_get_prop_vals),
835 &cmd_get_property_values__descriptor,
836 NULL,
837 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
838 0,NULL,NULL /* reserved1,reserved2, etc */
839 },
840 {
841 "resp_get_prop_vals",
842 13,
843 PROTOBUF_C_LABEL_NONE,
844 PROTOBUF_C_TYPE_MESSAGE,
845 offsetof(LocalCtrlMessage, payload_case),
846 offsetof(LocalCtrlMessage, resp_get_prop_vals),
847 &resp_get_property_values__descriptor,
848 NULL,
849 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
850 0,NULL,NULL /* reserved1,reserved2, etc */
851 },
852 {
853 "cmd_set_prop_vals",
854 14,
855 PROTOBUF_C_LABEL_NONE,
856 PROTOBUF_C_TYPE_MESSAGE,
857 offsetof(LocalCtrlMessage, payload_case),
858 offsetof(LocalCtrlMessage, cmd_set_prop_vals),
859 &cmd_set_property_values__descriptor,
860 NULL,
861 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
862 0,NULL,NULL /* reserved1,reserved2, etc */
863 },
864 {
865 "resp_set_prop_vals",
866 15,
867 PROTOBUF_C_LABEL_NONE,
868 PROTOBUF_C_TYPE_MESSAGE,
869 offsetof(LocalCtrlMessage, payload_case),
870 offsetof(LocalCtrlMessage, resp_set_prop_vals),
871 &resp_set_property_values__descriptor,
872 NULL,
873 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
874 0,NULL,NULL /* reserved1,reserved2, etc */
875 },
876 };
877 static const unsigned local_ctrl_message__field_indices_by_name[] = {
878 1, /* field[1] = cmd_get_prop_count */
879 3, /* field[3] = cmd_get_prop_vals */
880 5, /* field[5] = cmd_set_prop_vals */
881 0, /* field[0] = msg */
882 2, /* field[2] = resp_get_prop_count */
883 4, /* field[4] = resp_get_prop_vals */
884 6, /* field[6] = resp_set_prop_vals */
885 };
886 static const ProtobufCIntRange local_ctrl_message__number_ranges[2 + 1] =
887 {
888 { 1, 0 },
889 { 10, 1 },
890 { 0, 7 }
891 };
892 const ProtobufCMessageDescriptor local_ctrl_message__descriptor =
893 {
894 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
895 "LocalCtrlMessage",
896 "LocalCtrlMessage",
897 "LocalCtrlMessage",
898 "",
899 sizeof(LocalCtrlMessage),
900 7,
901 local_ctrl_message__field_descriptors,
902 local_ctrl_message__field_indices_by_name,
903 2, local_ctrl_message__number_ranges,
904 (ProtobufCMessageInit) local_ctrl_message__init,
905 NULL,NULL,NULL /* reserved[123] */
906 };
907 static const ProtobufCEnumValue local_ctrl_msg_type__enum_values_by_number[6] =
908 {
909 { "TypeCmdGetPropertyCount", "LOCAL_CTRL_MSG_TYPE__TypeCmdGetPropertyCount", 0 },
910 { "TypeRespGetPropertyCount", "LOCAL_CTRL_MSG_TYPE__TypeRespGetPropertyCount", 1 },
911 { "TypeCmdGetPropertyValues", "LOCAL_CTRL_MSG_TYPE__TypeCmdGetPropertyValues", 4 },
912 { "TypeRespGetPropertyValues", "LOCAL_CTRL_MSG_TYPE__TypeRespGetPropertyValues", 5 },
913 { "TypeCmdSetPropertyValues", "LOCAL_CTRL_MSG_TYPE__TypeCmdSetPropertyValues", 6 },
914 { "TypeRespSetPropertyValues", "LOCAL_CTRL_MSG_TYPE__TypeRespSetPropertyValues", 7 },
915 };
916 static const ProtobufCIntRange local_ctrl_msg_type__value_ranges[] = {
917 {0, 0},{4, 2},{0, 6}
918 };
919 static const ProtobufCEnumValueIndex local_ctrl_msg_type__enum_values_by_name[6] =
920 {
921 { "TypeCmdGetPropertyCount", 0 },
922 { "TypeCmdGetPropertyValues", 2 },
923 { "TypeCmdSetPropertyValues", 4 },
924 { "TypeRespGetPropertyCount", 1 },
925 { "TypeRespGetPropertyValues", 3 },
926 { "TypeRespSetPropertyValues", 5 },
927 };
928 const ProtobufCEnumDescriptor local_ctrl_msg_type__descriptor =
929 {
930 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
931 "LocalCtrlMsgType",
932 "LocalCtrlMsgType",
933 "LocalCtrlMsgType",
934 "",
935 6,
936 local_ctrl_msg_type__enum_values_by_number,
937 6,
938 local_ctrl_msg_type__enum_values_by_name,
939 2,
940 local_ctrl_msg_type__value_ranges,
941 NULL,NULL,NULL,NULL /* reserved[1234] */
942 };
943