1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: x2ap_streaming.proto */
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
9 #include "x2ap_streaming.pb-c.h"
10 void uenibstreamprotobuf__x2_apstreaming__init
11 (Uenibstreamprotobuf__X2APStreaming *message)
13 static const Uenibstreamprotobuf__X2APStreaming init_value = UENIBSTREAMPROTOBUF__X2_APSTREAMING__INIT;
14 *message = init_value;
16 size_t uenibstreamprotobuf__x2_apstreaming__get_packed_size
17 (const Uenibstreamprotobuf__X2APStreaming *message)
19 assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
22 size_t uenibstreamprotobuf__x2_apstreaming__pack
23 (const Uenibstreamprotobuf__X2APStreaming *message,
26 assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
29 size_t uenibstreamprotobuf__x2_apstreaming__pack_to_buffer
30 (const Uenibstreamprotobuf__X2APStreaming *message,
31 ProtobufCBuffer *buffer)
33 assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
36 Uenibstreamprotobuf__X2APStreaming *
37 uenibstreamprotobuf__x2_apstreaming__unpack
38 (ProtobufCAllocator *allocator,
42 return (Uenibstreamprotobuf__X2APStreaming *)
43 protobuf_c_message_unpack (&uenibstreamprotobuf__x2_apstreaming__descriptor,
44 allocator, len, data);
46 void uenibstreamprotobuf__x2_apstreaming__free_unpacked
47 (Uenibstreamprotobuf__X2APStreaming *message,
48 ProtobufCAllocator *allocator)
52 assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
55 void uenibstreamprotobuf__x2_apstreaming_header__init
56 (Uenibstreamprotobuf__X2APStreamingHeader *message)
58 static const Uenibstreamprotobuf__X2APStreamingHeader init_value = UENIBSTREAMPROTOBUF__X2_APSTREAMING_HEADER__INIT;
59 *message = init_value;
61 size_t uenibstreamprotobuf__x2_apstreaming_header__get_packed_size
62 (const Uenibstreamprotobuf__X2APStreamingHeader *message)
64 assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming_header__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
67 size_t uenibstreamprotobuf__x2_apstreaming_header__pack
68 (const Uenibstreamprotobuf__X2APStreamingHeader *message,
71 assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming_header__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
74 size_t uenibstreamprotobuf__x2_apstreaming_header__pack_to_buffer
75 (const Uenibstreamprotobuf__X2APStreamingHeader *message,
76 ProtobufCBuffer *buffer)
78 assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming_header__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
81 Uenibstreamprotobuf__X2APStreamingHeader *
82 uenibstreamprotobuf__x2_apstreaming_header__unpack
83 (ProtobufCAllocator *allocator,
87 return (Uenibstreamprotobuf__X2APStreamingHeader *)
88 protobuf_c_message_unpack (&uenibstreamprotobuf__x2_apstreaming_header__descriptor,
89 allocator, len, data);
91 void uenibstreamprotobuf__x2_apstreaming_header__free_unpacked
92 (Uenibstreamprotobuf__X2APStreamingHeader *message,
93 ProtobufCAllocator *allocator)
97 assert(message->base.descriptor == &uenibstreamprotobuf__x2_apstreaming_header__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
100 static const ProtobufCFieldDescriptor uenibstreamprotobuf__x2_apstreaming__field_descriptors[19] =
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,
112 0,NULL,NULL /* reserved1,reserved2, etc */
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,
123 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
124 0,NULL,NULL /* reserved1,reserved2, etc */
127 "sgNBAdditionRequest",
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,
135 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
136 0,NULL,NULL /* reserved1,reserved2, etc */
139 "sgNBAdditionRequestAcknowledge",
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,
147 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
148 0,NULL,NULL /* reserved1,reserved2, etc */
151 "sgNBAdditionRequestReject",
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,
159 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
160 0,NULL,NULL /* reserved1,reserved2, etc */
163 "sgNBModificationRequest",
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,
171 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
172 0,NULL,NULL /* reserved1,reserved2, etc */
175 "sgNBModificationRequestAcknowledge",
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,
183 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
184 0,NULL,NULL /* reserved1,reserved2, etc */
187 "sgNBModificationRequestReject",
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,
195 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
196 0,NULL,NULL /* reserved1,reserved2, etc */
199 "sgNBModificationRequired",
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,
207 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
208 0,NULL,NULL /* reserved1,reserved2, etc */
211 "sgNBModificationConfirm",
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,
219 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
220 0,NULL,NULL /* reserved1,reserved2, etc */
223 "sgNBModificationRefuse",
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,
231 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
232 0,NULL,NULL /* reserved1,reserved2, etc */
235 "sgNBReconfigurationComplete",
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,
243 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
244 0,NULL,NULL /* reserved1,reserved2, etc */
247 "sgNbReleaseRequest",
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,
255 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
256 0,NULL,NULL /* reserved1,reserved2, etc */
259 "sgNbReleaseRequestAcknowledge",
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,
267 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
268 0,NULL,NULL /* reserved1,reserved2, etc */
271 "sgNbReleaseRequired",
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,
279 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
280 0,NULL,NULL /* reserved1,reserved2, etc */
283 "sgNbReleaseConfirm",
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,
291 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
292 0,NULL,NULL /* reserved1,reserved2, etc */
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,
303 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
304 0,NULL,NULL /* reserved1,reserved2, etc */
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,
315 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
316 0,NULL,NULL /* reserved1,reserved2, etc */
319 "secondaryRATDataUsageReport",
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,
327 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
328 0,NULL,NULL /* reserved1,reserved2, etc */
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 */
352 static const ProtobufCIntRange uenibstreamprotobuf__x2_apstreaming__number_ranges[1 + 1] =
357 const ProtobufCMessageDescriptor uenibstreamprotobuf__x2_apstreaming__descriptor =
359 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
360 "uenibstreamprotobuf.X2APStreaming",
362 "Uenibstreamprotobuf__X2APStreaming",
363 "uenibstreamprotobuf",
364 sizeof(Uenibstreamprotobuf__X2APStreaming),
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] */
372 static const ProtobufCFieldDescriptor uenibstreamprotobuf__x2_apstreaming_header__field_descriptors[3] =
377 PROTOBUF_C_LABEL_NONE,
378 PROTOBUF_C_TYPE_STRING,
379 0, /* quantifier_offset */
380 offsetof(Uenibstreamprotobuf__X2APStreamingHeader, protobuf_revision),
382 &protobuf_c_empty_string,
384 0,NULL,NULL /* reserved1,reserved2, etc */
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,
396 0,NULL,NULL /* reserved1,reserved2, etc */
401 PROTOBUF_C_LABEL_NONE,
402 PROTOBUF_C_TYPE_UINT64,
403 0, /* quantifier_offset */
404 offsetof(Uenibstreamprotobuf__X2APStreamingHeader, timestamp),
408 0,NULL,NULL /* reserved1,reserved2, etc */
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 */
416 static const ProtobufCIntRange uenibstreamprotobuf__x2_apstreaming_header__number_ranges[1 + 1] =
421 const ProtobufCMessageDescriptor uenibstreamprotobuf__x2_apstreaming_header__descriptor =
423 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
424 "uenibstreamprotobuf.X2APStreamingHeader",
425 "X2APStreamingHeader",
426 "Uenibstreamprotobuf__X2APStreamingHeader",
427 "uenibstreamprotobuf",
428 sizeof(Uenibstreamprotobuf__X2APStreamingHeader),
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] */