Support for additional NR metrics
[ric-app/mc.git] / mc-core / mc / local_datasource / rrc_system_information.pb-c.c
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: rrc_system_information.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 "rrc_system_information.pb-c.h"
10 void   streaming_protobufs__system_information__init
11                      (StreamingProtobufs__SystemInformation         *message)
12 {
13   static const StreamingProtobufs__SystemInformation init_value = STREAMING_PROTOBUFS__SYSTEM_INFORMATION__INIT;
14   *message = init_value;
15 }
16 size_t streaming_protobufs__system_information__get_packed_size
17                      (const StreamingProtobufs__SystemInformation *message)
18 {
19   assert(message->base.descriptor == &streaming_protobufs__system_information__descriptor);
20   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
21 }
22 size_t streaming_protobufs__system_information__pack
23                      (const StreamingProtobufs__SystemInformation *message,
24                       uint8_t       *out)
25 {
26   assert(message->base.descriptor == &streaming_protobufs__system_information__descriptor);
27   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
28 }
29 size_t streaming_protobufs__system_information__pack_to_buffer
30                      (const StreamingProtobufs__SystemInformation *message,
31                       ProtobufCBuffer *buffer)
32 {
33   assert(message->base.descriptor == &streaming_protobufs__system_information__descriptor);
34   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
35 }
36 StreamingProtobufs__SystemInformation *
37        streaming_protobufs__system_information__unpack
38                      (ProtobufCAllocator  *allocator,
39                       size_t               len,
40                       const uint8_t       *data)
41 {
42   return (StreamingProtobufs__SystemInformation *)
43      protobuf_c_message_unpack (&streaming_protobufs__system_information__descriptor,
44                                 allocator, len, data);
45 }
46 void   streaming_protobufs__system_information__free_unpacked
47                      (StreamingProtobufs__SystemInformation *message,
48                       ProtobufCAllocator *allocator)
49 {
50   if(!message)
51     return;
52   assert(message->base.descriptor == &streaming_protobufs__system_information__descriptor);
53   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
54 }
55 void   streaming_protobufs__system_information__ies__init
56                      (StreamingProtobufs__SystemInformationIEs         *message)
57 {
58   static const StreamingProtobufs__SystemInformationIEs init_value = STREAMING_PROTOBUFS__SYSTEM_INFORMATION__IES__INIT;
59   *message = init_value;
60 }
61 size_t streaming_protobufs__system_information__ies__get_packed_size
62                      (const StreamingProtobufs__SystemInformationIEs *message)
63 {
64   assert(message->base.descriptor == &streaming_protobufs__system_information__ies__descriptor);
65   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
66 }
67 size_t streaming_protobufs__system_information__ies__pack
68                      (const StreamingProtobufs__SystemInformationIEs *message,
69                       uint8_t       *out)
70 {
71   assert(message->base.descriptor == &streaming_protobufs__system_information__ies__descriptor);
72   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
73 }
74 size_t streaming_protobufs__system_information__ies__pack_to_buffer
75                      (const StreamingProtobufs__SystemInformationIEs *message,
76                       ProtobufCBuffer *buffer)
77 {
78   assert(message->base.descriptor == &streaming_protobufs__system_information__ies__descriptor);
79   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
80 }
81 StreamingProtobufs__SystemInformationIEs *
82        streaming_protobufs__system_information__ies__unpack
83                      (ProtobufCAllocator  *allocator,
84                       size_t               len,
85                       const uint8_t       *data)
86 {
87   return (StreamingProtobufs__SystemInformationIEs *)
88      protobuf_c_message_unpack (&streaming_protobufs__system_information__ies__descriptor,
89                                 allocator, len, data);
90 }
91 void   streaming_protobufs__system_information__ies__free_unpacked
92                      (StreamingProtobufs__SystemInformationIEs *message,
93                       ProtobufCAllocator *allocator)
94 {
95   if(!message)
96     return;
97   assert(message->base.descriptor == &streaming_protobufs__system_information__ies__descriptor);
98   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
99 }
100 void   streaming_protobufs__sib__type_and_info__init
101                      (StreamingProtobufs__SIBTypeAndInfo         *message)
102 {
103   static const StreamingProtobufs__SIBTypeAndInfo init_value = STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__INIT;
104   *message = init_value;
105 }
106 size_t streaming_protobufs__sib__type_and_info__get_packed_size
107                      (const StreamingProtobufs__SIBTypeAndInfo *message)
108 {
109   assert(message->base.descriptor == &streaming_protobufs__sib__type_and_info__descriptor);
110   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
111 }
112 size_t streaming_protobufs__sib__type_and_info__pack
113                      (const StreamingProtobufs__SIBTypeAndInfo *message,
114                       uint8_t       *out)
115 {
116   assert(message->base.descriptor == &streaming_protobufs__sib__type_and_info__descriptor);
117   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
118 }
119 size_t streaming_protobufs__sib__type_and_info__pack_to_buffer
120                      (const StreamingProtobufs__SIBTypeAndInfo *message,
121                       ProtobufCBuffer *buffer)
122 {
123   assert(message->base.descriptor == &streaming_protobufs__sib__type_and_info__descriptor);
124   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
125 }
126 StreamingProtobufs__SIBTypeAndInfo *
127        streaming_protobufs__sib__type_and_info__unpack
128                      (ProtobufCAllocator  *allocator,
129                       size_t               len,
130                       const uint8_t       *data)
131 {
132   return (StreamingProtobufs__SIBTypeAndInfo *)
133      protobuf_c_message_unpack (&streaming_protobufs__sib__type_and_info__descriptor,
134                                 allocator, len, data);
135 }
136 void   streaming_protobufs__sib__type_and_info__free_unpacked
137                      (StreamingProtobufs__SIBTypeAndInfo *message,
138                       ProtobufCAllocator *allocator)
139 {
140   if(!message)
141     return;
142   assert(message->base.descriptor == &streaming_protobufs__sib__type_and_info__descriptor);
143   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
144 }
145 static const ProtobufCFieldDescriptor streaming_protobufs__system_information__field_descriptors[1] =
146 {
147   {
148     "systemInformation_r15",
149     1,
150     PROTOBUF_C_LABEL_NONE,
151     PROTOBUF_C_TYPE_MESSAGE,
152     offsetof(StreamingProtobufs__SystemInformation, critical_extensions_case),
153     offsetof(StreamingProtobufs__SystemInformation, systeminformation_r15),
154     &streaming_protobufs__system_information__ies__descriptor,
155     NULL,
156     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
157     0,NULL,NULL    /* reserved1,reserved2, etc */
158   },
159 };
160 static const unsigned streaming_protobufs__system_information__field_indices_by_name[] = {
161   0,   /* field[0] = systemInformation_r15 */
162 };
163 static const ProtobufCIntRange streaming_protobufs__system_information__number_ranges[1 + 1] =
164 {
165   { 1, 0 },
166   { 0, 1 }
167 };
168 const ProtobufCMessageDescriptor streaming_protobufs__system_information__descriptor =
169 {
170   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
171   "streaming_protobufs.SystemInformation",
172   "SystemInformation",
173   "StreamingProtobufs__SystemInformation",
174   "streaming_protobufs",
175   sizeof(StreamingProtobufs__SystemInformation),
176   1,
177   streaming_protobufs__system_information__field_descriptors,
178   streaming_protobufs__system_information__field_indices_by_name,
179   1,  streaming_protobufs__system_information__number_ranges,
180   (ProtobufCMessageInit) streaming_protobufs__system_information__init,
181   NULL,NULL,NULL    /* reserved[123] */
182 };
183 static const ProtobufCFieldDescriptor streaming_protobufs__system_information__ies__field_descriptors[2] =
184 {
185   {
186     "sib_TypeAndInfo",
187     1,
188     PROTOBUF_C_LABEL_REPEATED,
189     PROTOBUF_C_TYPE_MESSAGE,
190     offsetof(StreamingProtobufs__SystemInformationIEs, n_sib_typeandinfo),
191     offsetof(StreamingProtobufs__SystemInformationIEs, sib_typeandinfo),
192     &streaming_protobufs__sib__type_and_info__descriptor,
193     NULL,
194     0,             /* flags */
195     0,NULL,NULL    /* reserved1,reserved2, etc */
196   },
197   {
198     "lateNonCriticalExtension",
199     2,
200     PROTOBUF_C_LABEL_NONE,
201     PROTOBUF_C_TYPE_MESSAGE,
202     0,   /* quantifier_offset */
203     offsetof(StreamingProtobufs__SystemInformationIEs, latenoncriticalextension),
204     &google__protobuf__bytes_value__descriptor,
205     NULL,
206     0,             /* flags */
207     0,NULL,NULL    /* reserved1,reserved2, etc */
208   },
209 };
210 static const unsigned streaming_protobufs__system_information__ies__field_indices_by_name[] = {
211   1,   /* field[1] = lateNonCriticalExtension */
212   0,   /* field[0] = sib_TypeAndInfo */
213 };
214 static const ProtobufCIntRange streaming_protobufs__system_information__ies__number_ranges[1 + 1] =
215 {
216   { 1, 0 },
217   { 0, 2 }
218 };
219 const ProtobufCMessageDescriptor streaming_protobufs__system_information__ies__descriptor =
220 {
221   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
222   "streaming_protobufs.SystemInformation_IEs",
223   "SystemInformationIEs",
224   "StreamingProtobufs__SystemInformationIEs",
225   "streaming_protobufs",
226   sizeof(StreamingProtobufs__SystemInformationIEs),
227   2,
228   streaming_protobufs__system_information__ies__field_descriptors,
229   streaming_protobufs__system_information__ies__field_indices_by_name,
230   1,  streaming_protobufs__system_information__ies__number_ranges,
231   (ProtobufCMessageInit) streaming_protobufs__system_information__ies__init,
232   NULL,NULL,NULL    /* reserved[123] */
233 };
234 static const ProtobufCFieldDescriptor streaming_protobufs__sib__type_and_info__field_descriptors[8] =
235 {
236   {
237     "sib2",
238     1,
239     PROTOBUF_C_LABEL_NONE,
240     PROTOBUF_C_TYPE_MESSAGE,
241     offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
242     offsetof(StreamingProtobufs__SIBTypeAndInfo, sib2),
243     &streaming_protobufs__sib2__descriptor,
244     NULL,
245     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
246     0,NULL,NULL    /* reserved1,reserved2, etc */
247   },
248   {
249     "sib3",
250     2,
251     PROTOBUF_C_LABEL_NONE,
252     PROTOBUF_C_TYPE_MESSAGE,
253     offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
254     offsetof(StreamingProtobufs__SIBTypeAndInfo, sib3),
255     &streaming_protobufs__sib3__descriptor,
256     NULL,
257     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
258     0,NULL,NULL    /* reserved1,reserved2, etc */
259   },
260   {
261     "sib4",
262     3,
263     PROTOBUF_C_LABEL_NONE,
264     PROTOBUF_C_TYPE_MESSAGE,
265     offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
266     offsetof(StreamingProtobufs__SIBTypeAndInfo, sib4),
267     &streaming_protobufs__sib4__descriptor,
268     NULL,
269     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
270     0,NULL,NULL    /* reserved1,reserved2, etc */
271   },
272   {
273     "sib5",
274     4,
275     PROTOBUF_C_LABEL_NONE,
276     PROTOBUF_C_TYPE_MESSAGE,
277     offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
278     offsetof(StreamingProtobufs__SIBTypeAndInfo, sib5),
279     &streaming_protobufs__sib5__descriptor,
280     NULL,
281     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
282     0,NULL,NULL    /* reserved1,reserved2, etc */
283   },
284   {
285     "sib6",
286     5,
287     PROTOBUF_C_LABEL_NONE,
288     PROTOBUF_C_TYPE_MESSAGE,
289     offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
290     offsetof(StreamingProtobufs__SIBTypeAndInfo, sib6),
291     &streaming_protobufs__sib6__descriptor,
292     NULL,
293     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
294     0,NULL,NULL    /* reserved1,reserved2, etc */
295   },
296   {
297     "sib7",
298     6,
299     PROTOBUF_C_LABEL_NONE,
300     PROTOBUF_C_TYPE_MESSAGE,
301     offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
302     offsetof(StreamingProtobufs__SIBTypeAndInfo, sib7),
303     &streaming_protobufs__sib7__descriptor,
304     NULL,
305     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
306     0,NULL,NULL    /* reserved1,reserved2, etc */
307   },
308   {
309     "sib8",
310     7,
311     PROTOBUF_C_LABEL_NONE,
312     PROTOBUF_C_TYPE_MESSAGE,
313     offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
314     offsetof(StreamingProtobufs__SIBTypeAndInfo, sib8),
315     &streaming_protobufs__sib8__descriptor,
316     NULL,
317     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
318     0,NULL,NULL    /* reserved1,reserved2, etc */
319   },
320   {
321     "sib9",
322     8,
323     PROTOBUF_C_LABEL_NONE,
324     PROTOBUF_C_TYPE_MESSAGE,
325     offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
326     offsetof(StreamingProtobufs__SIBTypeAndInfo, sib9),
327     &streaming_protobufs__sib9__descriptor,
328     NULL,
329     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
330     0,NULL,NULL    /* reserved1,reserved2, etc */
331   },
332 };
333 static const unsigned streaming_protobufs__sib__type_and_info__field_indices_by_name[] = {
334   0,   /* field[0] = sib2 */
335   1,   /* field[1] = sib3 */
336   2,   /* field[2] = sib4 */
337   3,   /* field[3] = sib5 */
338   4,   /* field[4] = sib6 */
339   5,   /* field[5] = sib7 */
340   6,   /* field[6] = sib8 */
341   7,   /* field[7] = sib9 */
342 };
343 static const ProtobufCIntRange streaming_protobufs__sib__type_and_info__number_ranges[1 + 1] =
344 {
345   { 1, 0 },
346   { 0, 8 }
347 };
348 const ProtobufCMessageDescriptor streaming_protobufs__sib__type_and_info__descriptor =
349 {
350   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
351   "streaming_protobufs.SIB_TypeAndInfo",
352   "SIBTypeAndInfo",
353   "StreamingProtobufs__SIBTypeAndInfo",
354   "streaming_protobufs",
355   sizeof(StreamingProtobufs__SIBTypeAndInfo),
356   8,
357   streaming_protobufs__sib__type_and_info__field_descriptors,
358   streaming_protobufs__sib__type_and_info__field_indices_by_name,
359   1,  streaming_protobufs__sib__type_and_info__number_ranges,
360   (ProtobufCMessageInit) streaming_protobufs__sib__type_and_info__init,
361   NULL,NULL,NULL    /* reserved[123] */
362 };