1
2
3
4
5
6
7
8
9
10
11
16
17
22
23
24
29
30
31
36
37
38
39
40
46
47
48
55
56
61
62
67
68
69
74
75
76
81
82
83
84
85
91
92
93
100
101
106
107
112
113
114
119
120
121
126
127
128
129
130
136
137
138
145
146
151
152
157
158
159
164
165
166
171
172
173
174
175
181
182
183
190
191
196
197
202
203
204
209
210
211
216
217
218
219
220
226
227
228
235
236
241
242
247
248
249
254
255
256
261
262
263
264
265
271
272
273
280
281
286
287
292
293
294
299
300
301
306
307
308
309
310
316
317
318
325
326
331
332
337
338
339
344
345
346
351
352
353
354
355
361
362
363
370
371
376
377
382
383
384
389
390
391
396
397
398
399
400
406
407
408
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
464
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
554
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
592
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
643
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
694
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
732
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
770
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
#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
}{...};
static const ProtobufCFieldDescriptor resp_get_property_count__field_descriptors[2] =
{
{
"status",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_ENUM,
0,
offsetof(RespGetPropertyCount, status),
&status__descriptor,
NULL,
0,
0,NULL,NULL
}{...},
{
"count",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0,
offsetof(RespGetPropertyCount, count),
NULL,
NULL,
0,
0,NULL,NULL
}{...},
}{...};
static const unsigned resp_get_property_count__field_indices_by_name[] = {
1,
0,
}{...};
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
}{...};
static const ProtobufCFieldDescriptor property_info__field_descriptors[5] =
{
{
"status",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_ENUM,
0,
offsetof(PropertyInfo, status),
&status__descriptor,
NULL,
0,
0,NULL,NULL
}{...},
{
"name",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_STRING,
0,
offsetof(PropertyInfo, name),
NULL,
&protobuf_c_empty_string,
0,
0,NULL,NULL
}{...},
{
"type",
3,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0,
offsetof(PropertyInfo, type),
NULL,
NULL,
0,
0,NULL,NULL
}{...},
{
"flags",
4,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0,
offsetof(PropertyInfo, flags),
NULL,
NULL,
0,
0,NULL,NULL
}{...},
{
"value",
5,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0,
offsetof(PropertyInfo, value),
NULL,
NULL,
0,
0,NULL,NULL
}{...},
}{...};
static const unsigned property_info__field_indices_by_name[] = {
3,
1,
0,
2,
4,
}{...};
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
}{...};
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 | PROTOBUF_C_FIELD_FLAG_PACKED,
0,NULL,NULL
}{...},
}{...};
static const unsigned cmd_get_property_values__field_indices_by_name[] = {
0,
}{...};
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
}{...};
static const ProtobufCFieldDescriptor resp_get_property_values__field_descriptors[2] =
{
{
"status",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_ENUM,
0,
offsetof(RespGetPropertyValues, status),
&status__descriptor,
NULL,
0,
0,NULL,NULL
}{...},
{
"props",
2,
PROTOBUF_C_LABEL_REPEATED,
PROTOBUF_C_TYPE_MESSAGE,
offsetof(RespGetPropertyValues, n_props),
offsetof(RespGetPropertyValues, props),
&property_info__descriptor,
NULL,
0,
0,NULL,NULL
}{...},
}{...};
static const unsigned resp_get_property_values__field_indices_by_name[] = {
1,
0,
}{...};
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
}{...};
static const ProtobufCFieldDescriptor property_value__field_descriptors[2] =
{
{
"index",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_UINT32,
0,
offsetof(PropertyValue, index),
NULL,
NULL,
0,
0,NULL,NULL
}{...},
{
"value",
2,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_BYTES,
0,
offsetof(PropertyValue, value),
NULL,
NULL,
0,
0,NULL,NULL
}{...},
}{...};
static const unsigned property_value__field_indices_by_name[] = {
0,
1,
}{...};
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
}{...};
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,
0,NULL,NULL
}{...},
}{...};
static const unsigned cmd_set_property_values__field_indices_by_name[] = {
0,
}{...};
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
}{...};
static const ProtobufCFieldDescriptor resp_set_property_values__field_descriptors[1] =
{
{
"status",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_ENUM,
0,
offsetof(RespSetPropertyValues, status),
&status__descriptor,
NULL,
0,
0,NULL,NULL
}{...},
}{...};
static const unsigned resp_set_property_values__field_indices_by_name[] = {
0,
}{...};
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
}{...};
static const ProtobufCFieldDescriptor local_ctrl_message__field_descriptors[7] =
{
{
"msg",
1,
PROTOBUF_C_LABEL_NONE,
PROTOBUF_C_TYPE_ENUM,
0,
offsetof(LocalCtrlMessage, msg),
&local_ctrl_msg_type__descriptor,
NULL,
0,
0,NULL,NULL
}{...},
{
"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,
0,NULL,NULL
}{...},
{
"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,
0,NULL,NULL
}{...},
{
"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,
0,NULL,NULL
}{...},
{
"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,
0,NULL,NULL
}{...},
{
"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,
0,NULL,NULL
}{...},
{
"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,
0,NULL,NULL
}{...},
}{...};
static const unsigned local_ctrl_message__field_indices_by_name[] = {
1,
3,
5,
0,
2,
4,
6,
}{...};
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
}{...};
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
}{...};