Support for additional NR metrics
[ric-app/mc.git] / mc-core / mc / local_datasource / rrc_failure_information.pb-c.c
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: rrc_failure_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_failure_information.pb-c.h"
10 void   streaming_protobufs__failure_information__init
11                      (StreamingProtobufs__FailureInformation         *message)
12 {
13   static const StreamingProtobufs__FailureInformation init_value = STREAMING_PROTOBUFS__FAILURE_INFORMATION__INIT;
14   *message = init_value;
15 }
16 size_t streaming_protobufs__failure_information__get_packed_size
17                      (const StreamingProtobufs__FailureInformation *message)
18 {
19   assert(message->base.descriptor == &streaming_protobufs__failure_information__descriptor);
20   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
21 }
22 size_t streaming_protobufs__failure_information__pack
23                      (const StreamingProtobufs__FailureInformation *message,
24                       uint8_t       *out)
25 {
26   assert(message->base.descriptor == &streaming_protobufs__failure_information__descriptor);
27   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
28 }
29 size_t streaming_protobufs__failure_information__pack_to_buffer
30                      (const StreamingProtobufs__FailureInformation *message,
31                       ProtobufCBuffer *buffer)
32 {
33   assert(message->base.descriptor == &streaming_protobufs__failure_information__descriptor);
34   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
35 }
36 StreamingProtobufs__FailureInformation *
37        streaming_protobufs__failure_information__unpack
38                      (ProtobufCAllocator  *allocator,
39                       size_t               len,
40                       const uint8_t       *data)
41 {
42   return (StreamingProtobufs__FailureInformation *)
43      protobuf_c_message_unpack (&streaming_protobufs__failure_information__descriptor,
44                                 allocator, len, data);
45 }
46 void   streaming_protobufs__failure_information__free_unpacked
47                      (StreamingProtobufs__FailureInformation *message,
48                       ProtobufCAllocator *allocator)
49 {
50   if(!message)
51     return;
52   assert(message->base.descriptor == &streaming_protobufs__failure_information__descriptor);
53   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
54 }
55 void   streaming_protobufs__failure_information__ies__init
56                      (StreamingProtobufs__FailureInformationIEs         *message)
57 {
58   static const StreamingProtobufs__FailureInformationIEs init_value = STREAMING_PROTOBUFS__FAILURE_INFORMATION__IES__INIT;
59   *message = init_value;
60 }
61 size_t streaming_protobufs__failure_information__ies__get_packed_size
62                      (const StreamingProtobufs__FailureInformationIEs *message)
63 {
64   assert(message->base.descriptor == &streaming_protobufs__failure_information__ies__descriptor);
65   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
66 }
67 size_t streaming_protobufs__failure_information__ies__pack
68                      (const StreamingProtobufs__FailureInformationIEs *message,
69                       uint8_t       *out)
70 {
71   assert(message->base.descriptor == &streaming_protobufs__failure_information__ies__descriptor);
72   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
73 }
74 size_t streaming_protobufs__failure_information__ies__pack_to_buffer
75                      (const StreamingProtobufs__FailureInformationIEs *message,
76                       ProtobufCBuffer *buffer)
77 {
78   assert(message->base.descriptor == &streaming_protobufs__failure_information__ies__descriptor);
79   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
80 }
81 StreamingProtobufs__FailureInformationIEs *
82        streaming_protobufs__failure_information__ies__unpack
83                      (ProtobufCAllocator  *allocator,
84                       size_t               len,
85                       const uint8_t       *data)
86 {
87   return (StreamingProtobufs__FailureInformationIEs *)
88      protobuf_c_message_unpack (&streaming_protobufs__failure_information__ies__descriptor,
89                                 allocator, len, data);
90 }
91 void   streaming_protobufs__failure_information__ies__free_unpacked
92                      (StreamingProtobufs__FailureInformationIEs *message,
93                       ProtobufCAllocator *allocator)
94 {
95   if(!message)
96     return;
97   assert(message->base.descriptor == &streaming_protobufs__failure_information__ies__descriptor);
98   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
99 }
100 void   streaming_protobufs__failure_info_rlc__bearer__init
101                      (StreamingProtobufs__FailureInfoRLCBearer         *message)
102 {
103   static const StreamingProtobufs__FailureInfoRLCBearer init_value = STREAMING_PROTOBUFS__FAILURE_INFO_RLC__BEARER__INIT;
104   *message = init_value;
105 }
106 size_t streaming_protobufs__failure_info_rlc__bearer__get_packed_size
107                      (const StreamingProtobufs__FailureInfoRLCBearer *message)
108 {
109   assert(message->base.descriptor == &streaming_protobufs__failure_info_rlc__bearer__descriptor);
110   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
111 }
112 size_t streaming_protobufs__failure_info_rlc__bearer__pack
113                      (const StreamingProtobufs__FailureInfoRLCBearer *message,
114                       uint8_t       *out)
115 {
116   assert(message->base.descriptor == &streaming_protobufs__failure_info_rlc__bearer__descriptor);
117   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
118 }
119 size_t streaming_protobufs__failure_info_rlc__bearer__pack_to_buffer
120                      (const StreamingProtobufs__FailureInfoRLCBearer *message,
121                       ProtobufCBuffer *buffer)
122 {
123   assert(message->base.descriptor == &streaming_protobufs__failure_info_rlc__bearer__descriptor);
124   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
125 }
126 StreamingProtobufs__FailureInfoRLCBearer *
127        streaming_protobufs__failure_info_rlc__bearer__unpack
128                      (ProtobufCAllocator  *allocator,
129                       size_t               len,
130                       const uint8_t       *data)
131 {
132   return (StreamingProtobufs__FailureInfoRLCBearer *)
133      protobuf_c_message_unpack (&streaming_protobufs__failure_info_rlc__bearer__descriptor,
134                                 allocator, len, data);
135 }
136 void   streaming_protobufs__failure_info_rlc__bearer__free_unpacked
137                      (StreamingProtobufs__FailureInfoRLCBearer *message,
138                       ProtobufCAllocator *allocator)
139 {
140   if(!message)
141     return;
142   assert(message->base.descriptor == &streaming_protobufs__failure_info_rlc__bearer__descriptor);
143   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
144 }
145 static const ProtobufCFieldDescriptor streaming_protobufs__failure_information__field_descriptors[1] =
146 {
147   {
148     "failureInformation",
149     1,
150     PROTOBUF_C_LABEL_NONE,
151     PROTOBUF_C_TYPE_MESSAGE,
152     0,   /* quantifier_offset */
153     offsetof(StreamingProtobufs__FailureInformation, failureinformation),
154     &streaming_protobufs__failure_information__ies__descriptor,
155     NULL,
156     0,             /* flags */
157     0,NULL,NULL    /* reserved1,reserved2, etc */
158   },
159 };
160 static const unsigned streaming_protobufs__failure_information__field_indices_by_name[] = {
161   0,   /* field[0] = failureInformation */
162 };
163 static const ProtobufCIntRange streaming_protobufs__failure_information__number_ranges[1 + 1] =
164 {
165   { 1, 0 },
166   { 0, 1 }
167 };
168 const ProtobufCMessageDescriptor streaming_protobufs__failure_information__descriptor =
169 {
170   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
171   "streaming_protobufs.FailureInformation",
172   "FailureInformation",
173   "StreamingProtobufs__FailureInformation",
174   "streaming_protobufs",
175   sizeof(StreamingProtobufs__FailureInformation),
176   1,
177   streaming_protobufs__failure_information__field_descriptors,
178   streaming_protobufs__failure_information__field_indices_by_name,
179   1,  streaming_protobufs__failure_information__number_ranges,
180   (ProtobufCMessageInit) streaming_protobufs__failure_information__init,
181   NULL,NULL,NULL    /* reserved[123] */
182 };
183 static const ProtobufCFieldDescriptor streaming_protobufs__failure_information__ies__field_descriptors[2] =
184 {
185   {
186     "failureInfoRLC_Bearer",
187     1,
188     PROTOBUF_C_LABEL_NONE,
189     PROTOBUF_C_TYPE_MESSAGE,
190     0,   /* quantifier_offset */
191     offsetof(StreamingProtobufs__FailureInformationIEs, failureinforlc_bearer),
192     &streaming_protobufs__failure_info_rlc__bearer__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__FailureInformationIEs, 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__failure_information__ies__field_indices_by_name[] = {
211   0,   /* field[0] = failureInfoRLC_Bearer */
212   1,   /* field[1] = lateNonCriticalExtension */
213 };
214 static const ProtobufCIntRange streaming_protobufs__failure_information__ies__number_ranges[1 + 1] =
215 {
216   { 1, 0 },
217   { 0, 2 }
218 };
219 const ProtobufCMessageDescriptor streaming_protobufs__failure_information__ies__descriptor =
220 {
221   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
222   "streaming_protobufs.FailureInformation_IEs",
223   "FailureInformationIEs",
224   "StreamingProtobufs__FailureInformationIEs",
225   "streaming_protobufs",
226   sizeof(StreamingProtobufs__FailureInformationIEs),
227   2,
228   streaming_protobufs__failure_information__ies__field_descriptors,
229   streaming_protobufs__failure_information__ies__field_indices_by_name,
230   1,  streaming_protobufs__failure_information__ies__number_ranges,
231   (ProtobufCMessageInit) streaming_protobufs__failure_information__ies__init,
232   NULL,NULL,NULL    /* reserved[123] */
233 };
234 static const ProtobufCEnumValue streaming_protobufs__failure_info_rlc__bearer__failure_type__enum_values_by_number[2] =
235 {
236   { "protobuf_unspecified", "STREAMING_PROTOBUFS__FAILURE_INFO_RLC__BEARER__FAILURE_TYPE__protobuf_unspecified", 0 },
237   { "duplication", "STREAMING_PROTOBUFS__FAILURE_INFO_RLC__BEARER__FAILURE_TYPE__duplication", 1 },
238 };
239 static const ProtobufCIntRange streaming_protobufs__failure_info_rlc__bearer__failure_type__value_ranges[] = {
240 {0, 0},{0, 2}
241 };
242 static const ProtobufCEnumValueIndex streaming_protobufs__failure_info_rlc__bearer__failure_type__enum_values_by_name[2] =
243 {
244   { "duplication", 1 },
245   { "protobuf_unspecified", 0 },
246 };
247 const ProtobufCEnumDescriptor streaming_protobufs__failure_info_rlc__bearer__failure_type__descriptor =
248 {
249   PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
250   "streaming_protobufs.FailureInfoRLC_Bearer.FailureType",
251   "FailureType",
252   "StreamingProtobufs__FailureInfoRLCBearer__FailureType",
253   "streaming_protobufs",
254   2,
255   streaming_protobufs__failure_info_rlc__bearer__failure_type__enum_values_by_number,
256   2,
257   streaming_protobufs__failure_info_rlc__bearer__failure_type__enum_values_by_name,
258   1,
259   streaming_protobufs__failure_info_rlc__bearer__failure_type__value_ranges,
260   NULL,NULL,NULL,NULL   /* reserved[1234] */
261 };
262 static const ProtobufCFieldDescriptor streaming_protobufs__failure_info_rlc__bearer__field_descriptors[3] =
263 {
264   {
265     "cellGroupId",
266     1,
267     PROTOBUF_C_LABEL_NONE,
268     PROTOBUF_C_TYPE_UINT32,
269     0,   /* quantifier_offset */
270     offsetof(StreamingProtobufs__FailureInfoRLCBearer, cellgroupid),
271     NULL,
272     NULL,
273     0,             /* flags */
274     0,NULL,NULL    /* reserved1,reserved2, etc */
275   },
276   {
277     "logicalChannelIdentity",
278     2,
279     PROTOBUF_C_LABEL_NONE,
280     PROTOBUF_C_TYPE_UINT32,
281     0,   /* quantifier_offset */
282     offsetof(StreamingProtobufs__FailureInfoRLCBearer, logicalchannelidentity),
283     NULL,
284     NULL,
285     0,             /* flags */
286     0,NULL,NULL    /* reserved1,reserved2, etc */
287   },
288   {
289     "failureType",
290     3,
291     PROTOBUF_C_LABEL_NONE,
292     PROTOBUF_C_TYPE_ENUM,
293     0,   /* quantifier_offset */
294     offsetof(StreamingProtobufs__FailureInfoRLCBearer, failuretype),
295     &streaming_protobufs__failure_info_rlc__bearer__failure_type__descriptor,
296     NULL,
297     0,             /* flags */
298     0,NULL,NULL    /* reserved1,reserved2, etc */
299   },
300 };
301 static const unsigned streaming_protobufs__failure_info_rlc__bearer__field_indices_by_name[] = {
302   0,   /* field[0] = cellGroupId */
303   2,   /* field[2] = failureType */
304   1,   /* field[1] = logicalChannelIdentity */
305 };
306 static const ProtobufCIntRange streaming_protobufs__failure_info_rlc__bearer__number_ranges[1 + 1] =
307 {
308   { 1, 0 },
309   { 0, 3 }
310 };
311 const ProtobufCMessageDescriptor streaming_protobufs__failure_info_rlc__bearer__descriptor =
312 {
313   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
314   "streaming_protobufs.FailureInfoRLC_Bearer",
315   "FailureInfoRLCBearer",
316   "StreamingProtobufs__FailureInfoRLCBearer",
317   "streaming_protobufs",
318   sizeof(StreamingProtobufs__FailureInfoRLCBearer),
319   3,
320   streaming_protobufs__failure_info_rlc__bearer__field_descriptors,
321   streaming_protobufs__failure_info_rlc__bearer__field_indices_by_name,
322   1,  streaming_protobufs__failure_info_rlc__bearer__number_ranges,
323   (ProtobufCMessageInit) streaming_protobufs__failure_info_rlc__bearer__init,
324   NULL,NULL,NULL    /* reserved[123] */
325 };