Initial commit of mc-core part of mc xApp codebase
[ric-app/mc.git] / mc-core / mc / local_datasource / x2ap_streaming.pb-c.c
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: x2ap_streaming.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 "x2ap_streaming.pb-c.h"
10 void   uenibstreamprotobuf__x2_apstreaming__init
11                      (Uenibstreamprotobuf__X2APStreaming         *message)
12 {
13   static const Uenibstreamprotobuf__X2APStreaming init_value = UENIBSTREAMPROTOBUF__X2_APSTREAMING__INIT;
14   *message = init_value;
15 }
16 size_t uenibstreamprotobuf__x2_apstreaming__get_packed_size
17                      (const Uenibstreamprotobuf__X2APStreaming *message)
18 {
19   assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming__descriptor);
20   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
21 }
22 size_t uenibstreamprotobuf__x2_apstreaming__pack
23                      (const Uenibstreamprotobuf__X2APStreaming *message,
24                       uint8_t       *out)
25 {
26   assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming__descriptor);
27   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
28 }
29 size_t uenibstreamprotobuf__x2_apstreaming__pack_to_buffer
30                      (const Uenibstreamprotobuf__X2APStreaming *message,
31                       ProtobufCBuffer *buffer)
32 {
33   assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming__descriptor);
34   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
35 }
36 Uenibstreamprotobuf__X2APStreaming *
37        uenibstreamprotobuf__x2_apstreaming__unpack
38                      (ProtobufCAllocator  *allocator,
39                       size_t               len,
40                       const uint8_t       *data)
41 {
42   return (Uenibstreamprotobuf__X2APStreaming *)
43      protobuf_c_message_unpack (&uenibstreamprotobuf__x2_apstreaming__descriptor,
44                                 allocator, len, data);
45 }
46 void   uenibstreamprotobuf__x2_apstreaming__free_unpacked
47                      (Uenibstreamprotobuf__X2APStreaming *message,
48                       ProtobufCAllocator *allocator)
49 {
50   if(!message)
51     return;
52   assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming__descriptor);
53   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
54 }
55 void   uenibstreamprotobuf__x2_apstreaming_header__init
56                      (Uenibstreamprotobuf__X2APStreamingHeader         *message)
57 {
58   static const Uenibstreamprotobuf__X2APStreamingHeader init_value = UENIBSTREAMPROTOBUF__X2_APSTREAMING_HEADER__INIT;
59   *message = init_value;
60 }
61 size_t uenibstreamprotobuf__x2_apstreaming_header__get_packed_size
62                      (const Uenibstreamprotobuf__X2APStreamingHeader *message)
63 {
64   assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming_header__descriptor);
65   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
66 }
67 size_t uenibstreamprotobuf__x2_apstreaming_header__pack
68                      (const Uenibstreamprotobuf__X2APStreamingHeader *message,
69                       uint8_t       *out)
70 {
71   assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming_header__descriptor);
72   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
73 }
74 size_t uenibstreamprotobuf__x2_apstreaming_header__pack_to_buffer
75                      (const Uenibstreamprotobuf__X2APStreamingHeader *message,
76                       ProtobufCBuffer *buffer)
77 {
78   assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming_header__descriptor);
79   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
80 }
81 Uenibstreamprotobuf__X2APStreamingHeader *
82        uenibstreamprotobuf__x2_apstreaming_header__unpack
83                      (ProtobufCAllocator  *allocator,
84                       size_t               len,
85                       const uint8_t       *data)
86 {
87   return (Uenibstreamprotobuf__X2APStreamingHeader *)
88      protobuf_c_message_unpack (&uenibstreamprotobuf__x2_apstreaming_header__descriptor,
89                                 allocator, len, data);
90 }
91 void   uenibstreamprotobuf__x2_apstreaming_header__free_unpacked
92                      (Uenibstreamprotobuf__X2APStreamingHeader *message,
93                       ProtobufCAllocator *allocator)
94 {
95   if(!message)
96     return;
97   assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming_header__descriptor);
98   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
99 }
100 static const ProtobufCFieldDescriptor uenibstreamprotobuf__x2_apstreaming__field_descriptors[19] =
101 {
102   {
103     "header",
104     1,
105     PROTOBUF_C_LABEL_NONE,
106     PROTOBUF_C_TYPE_MESSAGE,
107     0,   /* quantifier_offset */
108     offsetof(Uenibstreamprotobuf__X2APStreaming, header),
109     &uenibstreamprotobuf__x2_apstreaming_header__descriptor,
110     NULL,
111     0,             /* flags */
112     0,NULL,NULL    /* reserved1,reserved2, etc */
113   },
114   {
115     "rrcTransfer",
116     2,
117     PROTOBUF_C_LABEL_NONE,
118     PROTOBUF_C_TYPE_MESSAGE,
119     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
120     offsetof(Uenibstreamprotobuf__X2APStreaming, rrctransfer),
121     &uenibstreamprotobuf__rrctransfer__descriptor,
122     NULL,
123     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
124     0,NULL,NULL    /* reserved1,reserved2, etc */
125   },
126   {
127     "sgNBAdditionRequest",
128     3,
129     PROTOBUF_C_LABEL_NONE,
130     PROTOBUF_C_TYPE_MESSAGE,
131     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
132     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbadditionrequest),
133     &uenibstreamprotobuf__sg_nbaddition_request__descriptor,
134     NULL,
135     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
136     0,NULL,NULL    /* reserved1,reserved2, etc */
137   },
138   {
139     "sgNBAdditionRequestAcknowledge",
140     4,
141     PROTOBUF_C_LABEL_NONE,
142     PROTOBUF_C_TYPE_MESSAGE,
143     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
144     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbadditionrequestacknowledge),
145     &uenibstreamprotobuf__sg_nbaddition_request_acknowledge__descriptor,
146     NULL,
147     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
148     0,NULL,NULL    /* reserved1,reserved2, etc */
149   },
150   {
151     "sgNBAdditionRequestReject",
152     5,
153     PROTOBUF_C_LABEL_NONE,
154     PROTOBUF_C_TYPE_MESSAGE,
155     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
156     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbadditionrequestreject),
157     &uenibstreamprotobuf__sg_nbaddition_request_reject__descriptor,
158     NULL,
159     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
160     0,NULL,NULL    /* reserved1,reserved2, etc */
161   },
162   {
163     "sgNBModificationRequest",
164     6,
165     PROTOBUF_C_LABEL_NONE,
166     PROTOBUF_C_TYPE_MESSAGE,
167     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
168     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbmodificationrequest),
169     &uenibstreamprotobuf__sg_nbmodification_request__descriptor,
170     NULL,
171     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
172     0,NULL,NULL    /* reserved1,reserved2, etc */
173   },
174   {
175     "sgNBModificationRequestAcknowledge",
176     7,
177     PROTOBUF_C_LABEL_NONE,
178     PROTOBUF_C_TYPE_MESSAGE,
179     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
180     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbmodificationrequestacknowledge),
181     &uenibstreamprotobuf__sg_nbmodification_request_acknowledge__descriptor,
182     NULL,
183     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
184     0,NULL,NULL    /* reserved1,reserved2, etc */
185   },
186   {
187     "sgNBModificationRequestReject",
188     8,
189     PROTOBUF_C_LABEL_NONE,
190     PROTOBUF_C_TYPE_MESSAGE,
191     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
192     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbmodificationrequestreject),
193     &uenibstreamprotobuf__sg_nbmodification_request_reject__descriptor,
194     NULL,
195     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
196     0,NULL,NULL    /* reserved1,reserved2, etc */
197   },
198   {
199     "sgNBModificationRequired",
200     9,
201     PROTOBUF_C_LABEL_NONE,
202     PROTOBUF_C_TYPE_MESSAGE,
203     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
204     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbmodificationrequired),
205     &uenibstreamprotobuf__sg_nbmodification_required__descriptor,
206     NULL,
207     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
208     0,NULL,NULL    /* reserved1,reserved2, etc */
209   },
210   {
211     "sgNBModificationConfirm",
212     10,
213     PROTOBUF_C_LABEL_NONE,
214     PROTOBUF_C_TYPE_MESSAGE,
215     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
216     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbmodificationconfirm),
217     &uenibstreamprotobuf__sg_nbmodification_confirm__descriptor,
218     NULL,
219     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
220     0,NULL,NULL    /* reserved1,reserved2, etc */
221   },
222   {
223     "sgNBModificationRefuse",
224     11,
225     PROTOBUF_C_LABEL_NONE,
226     PROTOBUF_C_TYPE_MESSAGE,
227     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
228     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbmodificationrefuse),
229     &uenibstreamprotobuf__sg_nbmodification_refuse__descriptor,
230     NULL,
231     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
232     0,NULL,NULL    /* reserved1,reserved2, etc */
233   },
234   {
235     "sgNBReconfigurationComplete",
236     12,
237     PROTOBUF_C_LABEL_NONE,
238     PROTOBUF_C_TYPE_MESSAGE,
239     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
240     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbreconfigurationcomplete),
241     &uenibstreamprotobuf__sg_nbreconfiguration_complete__descriptor,
242     NULL,
243     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
244     0,NULL,NULL    /* reserved1,reserved2, etc */
245   },
246   {
247     "sgNbReleaseRequest",
248     13,
249     PROTOBUF_C_LABEL_NONE,
250     PROTOBUF_C_TYPE_MESSAGE,
251     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
252     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbreleaserequest),
253     &uenibstreamprotobuf__sg_nbrelease_request__descriptor,
254     NULL,
255     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
256     0,NULL,NULL    /* reserved1,reserved2, etc */
257   },
258   {
259     "sgNbReleaseRequestAcknowledge",
260     14,
261     PROTOBUF_C_LABEL_NONE,
262     PROTOBUF_C_TYPE_MESSAGE,
263     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
264     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbreleaserequestacknowledge),
265     &uenibstreamprotobuf__sg_nbrelease_request_acknowledge__descriptor,
266     NULL,
267     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
268     0,NULL,NULL    /* reserved1,reserved2, etc */
269   },
270   {
271     "sgNbReleaseRequired",
272     15,
273     PROTOBUF_C_LABEL_NONE,
274     PROTOBUF_C_TYPE_MESSAGE,
275     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
276     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbreleaserequired),
277     &uenibstreamprotobuf__sg_nbrelease_required__descriptor,
278     NULL,
279     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
280     0,NULL,NULL    /* reserved1,reserved2, etc */
281   },
282   {
283     "sgNbReleaseConfirm",
284     16,
285     PROTOBUF_C_LABEL_NONE,
286     PROTOBUF_C_TYPE_MESSAGE,
287     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
288     offsetof(Uenibstreamprotobuf__X2APStreaming, sgnbreleaseconfirm),
289     &uenibstreamprotobuf__sg_nbrelease_confirm__descriptor,
290     NULL,
291     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
292     0,NULL,NULL    /* reserved1,reserved2, etc */
293   },
294   {
295     "snStatusTransfer",
296     17,
297     PROTOBUF_C_LABEL_NONE,
298     PROTOBUF_C_TYPE_MESSAGE,
299     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
300     offsetof(Uenibstreamprotobuf__X2APStreaming, snstatustransfer),
301     &uenibstreamprotobuf__snstatus_transfer__descriptor,
302     NULL,
303     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
304     0,NULL,NULL    /* reserved1,reserved2, etc */
305   },
306   {
307     "ueContextRelease",
308     18,
309     PROTOBUF_C_LABEL_NONE,
310     PROTOBUF_C_TYPE_MESSAGE,
311     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
312     offsetof(Uenibstreamprotobuf__X2APStreaming, uecontextrelease),
313     &uenibstreamprotobuf__uecontext_release__descriptor,
314     NULL,
315     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
316     0,NULL,NULL    /* reserved1,reserved2, etc */
317   },
318   {
319     "secondaryRATDataUsageReport",
320     19,
321     PROTOBUF_C_LABEL_NONE,
322     PROTOBUF_C_TYPE_MESSAGE,
323     offsetof(Uenibstreamprotobuf__X2APStreaming, x2ap_message_case),
324     offsetof(Uenibstreamprotobuf__X2APStreaming, secondaryratdatausagereport),
325     &uenibstreamprotobuf__secondary_ratdata_usage_report__descriptor,
326     NULL,
327     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
328     0,NULL,NULL    /* reserved1,reserved2, etc */
329   },
330 };
331 static const unsigned uenibstreamprotobuf__x2_apstreaming__field_indices_by_name[] = {
332   0,   /* field[0] = header */
333   1,   /* field[1] = rrcTransfer */
334   18,   /* field[18] = secondaryRATDataUsageReport */
335   2,   /* field[2] = sgNBAdditionRequest */
336   3,   /* field[3] = sgNBAdditionRequestAcknowledge */
337   4,   /* field[4] = sgNBAdditionRequestReject */
338   9,   /* field[9] = sgNBModificationConfirm */
339   10,   /* field[10] = sgNBModificationRefuse */
340   5,   /* field[5] = sgNBModificationRequest */
341   6,   /* field[6] = sgNBModificationRequestAcknowledge */
342   7,   /* field[7] = sgNBModificationRequestReject */
343   8,   /* field[8] = sgNBModificationRequired */
344   11,   /* field[11] = sgNBReconfigurationComplete */
345   15,   /* field[15] = sgNbReleaseConfirm */
346   12,   /* field[12] = sgNbReleaseRequest */
347   13,   /* field[13] = sgNbReleaseRequestAcknowledge */
348   14,   /* field[14] = sgNbReleaseRequired */
349   16,   /* field[16] = snStatusTransfer */
350   17,   /* field[17] = ueContextRelease */
351 };
352 static const ProtobufCIntRange uenibstreamprotobuf__x2_apstreaming__number_ranges[1 + 1] =
353 {
354   { 1, 0 },
355   { 0, 19 }
356 };
357 const ProtobufCMessageDescriptor uenibstreamprotobuf__x2_apstreaming__descriptor =
358 {
359   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
360   "uenibstreamprotobuf.X2APStreaming",
361   "X2APStreaming",
362   "Uenibstreamprotobuf__X2APStreaming",
363   "uenibstreamprotobuf",
364   sizeof(Uenibstreamprotobuf__X2APStreaming),
365   19,
366   uenibstreamprotobuf__x2_apstreaming__field_descriptors,
367   uenibstreamprotobuf__x2_apstreaming__field_indices_by_name,
368   1,  uenibstreamprotobuf__x2_apstreaming__number_ranges,
369   (ProtobufCMessageInit) uenibstreamprotobuf__x2_apstreaming__init,
370   NULL,NULL,NULL    /* reserved[123] */
371 };
372 static const ProtobufCFieldDescriptor uenibstreamprotobuf__x2_apstreaming_header__field_descriptors[3] =
373 {
374   {
375     "protobuf_revision",
376     1,
377     PROTOBUF_C_LABEL_NONE,
378     PROTOBUF_C_TYPE_STRING,
379     0,   /* quantifier_offset */
380     offsetof(Uenibstreamprotobuf__X2APStreamingHeader, protobuf_revision),
381     NULL,
382     &protobuf_c_empty_string,
383     0,             /* flags */
384     0,NULL,NULL    /* reserved1,reserved2, etc */
385   },
386   {
387     "gNbID",
388     2,
389     PROTOBUF_C_LABEL_NONE,
390     PROTOBUF_C_TYPE_MESSAGE,
391     0,   /* quantifier_offset */
392     offsetof(Uenibstreamprotobuf__X2APStreamingHeader, gnbid),
393     &google__protobuf__string_value__descriptor,
394     NULL,
395     0,             /* flags */
396     0,NULL,NULL    /* reserved1,reserved2, etc */
397   },
398   {
399     "timestamp",
400     3,
401     PROTOBUF_C_LABEL_NONE,
402     PROTOBUF_C_TYPE_UINT64,
403     0,   /* quantifier_offset */
404     offsetof(Uenibstreamprotobuf__X2APStreamingHeader, timestamp),
405     NULL,
406     NULL,
407     0,             /* flags */
408     0,NULL,NULL    /* reserved1,reserved2, etc */
409   },
410 };
411 static const unsigned uenibstreamprotobuf__x2_apstreaming_header__field_indices_by_name[] = {
412   1,   /* field[1] = gNbID */
413   0,   /* field[0] = protobuf_revision */
414   2,   /* field[2] = timestamp */
415 };
416 static const ProtobufCIntRange uenibstreamprotobuf__x2_apstreaming_header__number_ranges[1 + 1] =
417 {
418   { 1, 0 },
419   { 0, 3 }
420 };
421 const ProtobufCMessageDescriptor uenibstreamprotobuf__x2_apstreaming_header__descriptor =
422 {
423   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
424   "uenibstreamprotobuf.X2APStreamingHeader",
425   "X2APStreamingHeader",
426   "Uenibstreamprotobuf__X2APStreamingHeader",
427   "uenibstreamprotobuf",
428   sizeof(Uenibstreamprotobuf__X2APStreamingHeader),
429   3,
430   uenibstreamprotobuf__x2_apstreaming_header__field_descriptors,
431   uenibstreamprotobuf__x2_apstreaming_header__field_indices_by_name,
432   1,  uenibstreamprotobuf__x2_apstreaming_header__number_ranges,
433   (ProtobufCMessageInit) uenibstreamprotobuf__x2_apstreaming_header__init,
434   NULL,NULL,NULL    /* reserved[123] */
435 };