1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: error_cause.proto */
4 #ifndef PROTOBUF_C_error_5fcause_2eproto__INCLUDED
5 #define PROTOBUF_C_error_5fcause_2eproto__INCLUDED
7 #include <protobuf-c/protobuf-c.h>
9 PROTOBUF_C__BEGIN_DECLS
11 #if PROTOBUF_C_VERSION_NUMBER < 1003000
12 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
13 #elif 1003002 < PROTOBUF_C_MIN_COMPILER_VERSION
14 # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
18 typedef struct _Uenibstreamprotobuf__Cause Uenibstreamprotobuf__Cause;
19 typedef struct _Uenibstreamprotobuf__CauseRadioNetwork Uenibstreamprotobuf__CauseRadioNetwork;
20 typedef struct _Uenibstreamprotobuf__CauseTransport Uenibstreamprotobuf__CauseTransport;
21 typedef struct _Uenibstreamprotobuf__CauseProtocol Uenibstreamprotobuf__CauseProtocol;
22 typedef struct _Uenibstreamprotobuf__CauseMisc Uenibstreamprotobuf__CauseMisc;
27 typedef enum _Uenibstreamprotobuf__CauseRadioNetwork__Value {
28 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__protobuf_unspecified = 0,
29 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__handover_desirable_for_radio_reasons = 1,
30 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__time_critical_handover = 2,
31 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__resource_optimisation_handover = 3,
32 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__reduce_load_in_serving_cell = 4,
33 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__partial_handover = 5,
34 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__unknown_new_eNB_UE_X2AP_ID = 6,
35 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__unknown_old_eNB_UE_X2AP_ID = 7,
36 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__unknown_pair_of_UE_X2AP_ID = 8,
37 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__ho_target_not_allowed = 9,
38 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__tx2relocoverall_expiry = 10,
39 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__trelocprep_expiry = 11,
40 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__cell_not_available = 12,
41 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__no_radio_resources_available_in_target_cell = 13,
42 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__invalid_MME_GroupID = 14,
43 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__unknown_MME_Code = 15,
44 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__encryption_and_or_integrity_protection_algorithms_not_supported = 16,
45 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__reportCharacteristicsEmpty = 17,
46 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__noReportPeriodicity = 18,
47 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__existingMeasurementID = 19,
48 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__unknown_eNB_Measurement_ID = 20,
49 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__measurement_temporarily_not_available = 21,
50 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__unspecified = 22,
51 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__load_balancing = 23,
52 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__handover_optimisation = 24,
53 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__value_out_of_allowed_range = 25,
54 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__multiple_E_RAB_ID_instances = 26,
55 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__switch_off_ongoing = 27,
56 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__not_supported_QCI_value = 28,
57 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__measurement_not_supported_for_the_object = 29,
58 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__tDCoverall_expiry = 30,
59 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__tDCprep_expiry = 31,
60 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__action_desirable_for_radio_reasons = 32,
61 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__reduce_load = 33,
62 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__resource_optimisation = 34,
63 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__time_critical_action = 35,
64 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__target_not_allowed = 36,
65 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__no_radio_resources_available = 37,
66 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__invalid_QoS_combination = 38,
67 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__encryption_algorithms_not_aupported = 39,
68 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__procedure_cancelled = 40,
69 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__rRM_purpose = 41,
70 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__improve_user_bit_rate = 42,
71 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__user_inactivity = 43,
72 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__radio_connection_with_UE_lost = 44,
73 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__failure_in_the_radio_interface_procedure = 45,
74 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__bearer_option_not_supported = 46,
75 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__mCG_Mobility = 47,
76 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__sCG_Mobility = 48,
77 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__count_reaches_max_value = 49,
78 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__unknown_old_en_gNB_UE_X2AP_ID = 50,
79 UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__pDCP_Overload = 51
80 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE)
81 } Uenibstreamprotobuf__CauseRadioNetwork__Value;
82 typedef enum _Uenibstreamprotobuf__CauseTransport__Value {
83 UENIBSTREAMPROTOBUF__CAUSE_TRANSPORT__VALUE__protobuf_unspecified = 0,
84 UENIBSTREAMPROTOBUF__CAUSE_TRANSPORT__VALUE__transport_resource_unavailable = 1,
85 UENIBSTREAMPROTOBUF__CAUSE_TRANSPORT__VALUE__unspecified = 2
86 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__CAUSE_TRANSPORT__VALUE)
87 } Uenibstreamprotobuf__CauseTransport__Value;
88 typedef enum _Uenibstreamprotobuf__CauseProtocol__Value {
89 UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__VALUE__protobuf_unspecified = 0,
90 UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__VALUE__transfer_syntax_error = 1,
91 UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__VALUE__abstract_syntax_error_reject = 2,
92 UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__VALUE__abstract_syntax_error_ignore_and_notify = 3,
93 UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__VALUE__message_not_compatible_with_receiver_state = 4,
94 UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__VALUE__semantic_error = 5,
95 UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__VALUE__unspecified = 6,
96 UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__VALUE__abstract_syntax_error_falsely_constructed_message = 7
97 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__VALUE)
98 } Uenibstreamprotobuf__CauseProtocol__Value;
99 typedef enum _Uenibstreamprotobuf__CauseMisc__Value {
100 UENIBSTREAMPROTOBUF__CAUSE_MISC__VALUE__protobuf_unspecified = 0,
101 UENIBSTREAMPROTOBUF__CAUSE_MISC__VALUE__control_processing_overload = 1,
102 UENIBSTREAMPROTOBUF__CAUSE_MISC__VALUE__hardware_failure = 2,
103 UENIBSTREAMPROTOBUF__CAUSE_MISC__VALUE__om_intervention = 3,
104 UENIBSTREAMPROTOBUF__CAUSE_MISC__VALUE__not_enough_user_plane_processing_resources = 4,
105 UENIBSTREAMPROTOBUF__CAUSE_MISC__VALUE__unspecified = 5
106 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__CAUSE_MISC__VALUE)
107 } Uenibstreamprotobuf__CauseMisc__Value;
109 /* --- messages --- */
112 UENIBSTREAMPROTOBUF__CAUSE__VALUE__NOT_SET = 0,
113 UENIBSTREAMPROTOBUF__CAUSE__VALUE_RADIO_NETWORK = 1,
114 UENIBSTREAMPROTOBUF__CAUSE__VALUE_TRANSPORT = 2,
115 UENIBSTREAMPROTOBUF__CAUSE__VALUE_PROTOCOL = 3,
116 UENIBSTREAMPROTOBUF__CAUSE__VALUE_MISC = 4
117 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__CAUSE__VALUE)
118 } Uenibstreamprotobuf__Cause__ValueCase;
120 struct _Uenibstreamprotobuf__Cause
122 ProtobufCMessage base;
123 Uenibstreamprotobuf__Cause__ValueCase value_case;
125 Uenibstreamprotobuf__CauseRadioNetwork *radionetwork;
126 Uenibstreamprotobuf__CauseTransport *transport;
127 Uenibstreamprotobuf__CauseProtocol *protocol;
128 Uenibstreamprotobuf__CauseMisc *misc;
131 #define UENIBSTREAMPROTOBUF__CAUSE__INIT \
132 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__cause__descriptor) \
133 , UENIBSTREAMPROTOBUF__CAUSE__VALUE__NOT_SET, {0} }
136 struct _Uenibstreamprotobuf__CauseRadioNetwork
138 ProtobufCMessage base;
139 Uenibstreamprotobuf__CauseRadioNetwork__Value value;
141 #define UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__INIT \
142 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__cause_radio_network__descriptor) \
143 , UENIBSTREAMPROTOBUF__CAUSE_RADIO_NETWORK__VALUE__protobuf_unspecified }
146 struct _Uenibstreamprotobuf__CauseTransport
148 ProtobufCMessage base;
149 Uenibstreamprotobuf__CauseTransport__Value value;
151 #define UENIBSTREAMPROTOBUF__CAUSE_TRANSPORT__INIT \
152 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__cause_transport__descriptor) \
153 , UENIBSTREAMPROTOBUF__CAUSE_TRANSPORT__VALUE__protobuf_unspecified }
156 struct _Uenibstreamprotobuf__CauseProtocol
158 ProtobufCMessage base;
159 Uenibstreamprotobuf__CauseProtocol__Value value;
161 #define UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__INIT \
162 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__cause_protocol__descriptor) \
163 , UENIBSTREAMPROTOBUF__CAUSE_PROTOCOL__VALUE__protobuf_unspecified }
166 struct _Uenibstreamprotobuf__CauseMisc
168 ProtobufCMessage base;
169 Uenibstreamprotobuf__CauseMisc__Value value;
171 #define UENIBSTREAMPROTOBUF__CAUSE_MISC__INIT \
172 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__cause_misc__descriptor) \
173 , UENIBSTREAMPROTOBUF__CAUSE_MISC__VALUE__protobuf_unspecified }
176 /* Uenibstreamprotobuf__Cause methods */
177 void uenibstreamprotobuf__cause__init
178 (Uenibstreamprotobuf__Cause *message);
179 size_t uenibstreamprotobuf__cause__get_packed_size
180 (const Uenibstreamprotobuf__Cause *message);
181 size_t uenibstreamprotobuf__cause__pack
182 (const Uenibstreamprotobuf__Cause *message,
184 size_t uenibstreamprotobuf__cause__pack_to_buffer
185 (const Uenibstreamprotobuf__Cause *message,
186 ProtobufCBuffer *buffer);
187 Uenibstreamprotobuf__Cause *
188 uenibstreamprotobuf__cause__unpack
189 (ProtobufCAllocator *allocator,
191 const uint8_t *data);
192 void uenibstreamprotobuf__cause__free_unpacked
193 (Uenibstreamprotobuf__Cause *message,
194 ProtobufCAllocator *allocator);
195 /* Uenibstreamprotobuf__CauseRadioNetwork methods */
196 void uenibstreamprotobuf__cause_radio_network__init
197 (Uenibstreamprotobuf__CauseRadioNetwork *message);
198 size_t uenibstreamprotobuf__cause_radio_network__get_packed_size
199 (const Uenibstreamprotobuf__CauseRadioNetwork *message);
200 size_t uenibstreamprotobuf__cause_radio_network__pack
201 (const Uenibstreamprotobuf__CauseRadioNetwork *message,
203 size_t uenibstreamprotobuf__cause_radio_network__pack_to_buffer
204 (const Uenibstreamprotobuf__CauseRadioNetwork *message,
205 ProtobufCBuffer *buffer);
206 Uenibstreamprotobuf__CauseRadioNetwork *
207 uenibstreamprotobuf__cause_radio_network__unpack
208 (ProtobufCAllocator *allocator,
210 const uint8_t *data);
211 void uenibstreamprotobuf__cause_radio_network__free_unpacked
212 (Uenibstreamprotobuf__CauseRadioNetwork *message,
213 ProtobufCAllocator *allocator);
214 /* Uenibstreamprotobuf__CauseTransport methods */
215 void uenibstreamprotobuf__cause_transport__init
216 (Uenibstreamprotobuf__CauseTransport *message);
217 size_t uenibstreamprotobuf__cause_transport__get_packed_size
218 (const Uenibstreamprotobuf__CauseTransport *message);
219 size_t uenibstreamprotobuf__cause_transport__pack
220 (const Uenibstreamprotobuf__CauseTransport *message,
222 size_t uenibstreamprotobuf__cause_transport__pack_to_buffer
223 (const Uenibstreamprotobuf__CauseTransport *message,
224 ProtobufCBuffer *buffer);
225 Uenibstreamprotobuf__CauseTransport *
226 uenibstreamprotobuf__cause_transport__unpack
227 (ProtobufCAllocator *allocator,
229 const uint8_t *data);
230 void uenibstreamprotobuf__cause_transport__free_unpacked
231 (Uenibstreamprotobuf__CauseTransport *message,
232 ProtobufCAllocator *allocator);
233 /* Uenibstreamprotobuf__CauseProtocol methods */
234 void uenibstreamprotobuf__cause_protocol__init
235 (Uenibstreamprotobuf__CauseProtocol *message);
236 size_t uenibstreamprotobuf__cause_protocol__get_packed_size
237 (const Uenibstreamprotobuf__CauseProtocol *message);
238 size_t uenibstreamprotobuf__cause_protocol__pack
239 (const Uenibstreamprotobuf__CauseProtocol *message,
241 size_t uenibstreamprotobuf__cause_protocol__pack_to_buffer
242 (const Uenibstreamprotobuf__CauseProtocol *message,
243 ProtobufCBuffer *buffer);
244 Uenibstreamprotobuf__CauseProtocol *
245 uenibstreamprotobuf__cause_protocol__unpack
246 (ProtobufCAllocator *allocator,
248 const uint8_t *data);
249 void uenibstreamprotobuf__cause_protocol__free_unpacked
250 (Uenibstreamprotobuf__CauseProtocol *message,
251 ProtobufCAllocator *allocator);
252 /* Uenibstreamprotobuf__CauseMisc methods */
253 void uenibstreamprotobuf__cause_misc__init
254 (Uenibstreamprotobuf__CauseMisc *message);
255 size_t uenibstreamprotobuf__cause_misc__get_packed_size
256 (const Uenibstreamprotobuf__CauseMisc *message);
257 size_t uenibstreamprotobuf__cause_misc__pack
258 (const Uenibstreamprotobuf__CauseMisc *message,
260 size_t uenibstreamprotobuf__cause_misc__pack_to_buffer
261 (const Uenibstreamprotobuf__CauseMisc *message,
262 ProtobufCBuffer *buffer);
263 Uenibstreamprotobuf__CauseMisc *
264 uenibstreamprotobuf__cause_misc__unpack
265 (ProtobufCAllocator *allocator,
267 const uint8_t *data);
268 void uenibstreamprotobuf__cause_misc__free_unpacked
269 (Uenibstreamprotobuf__CauseMisc *message,
270 ProtobufCAllocator *allocator);
271 /* --- per-message closures --- */
273 typedef void (*Uenibstreamprotobuf__Cause_Closure)
274 (const Uenibstreamprotobuf__Cause *message,
276 typedef void (*Uenibstreamprotobuf__CauseRadioNetwork_Closure)
277 (const Uenibstreamprotobuf__CauseRadioNetwork *message,
279 typedef void (*Uenibstreamprotobuf__CauseTransport_Closure)
280 (const Uenibstreamprotobuf__CauseTransport *message,
282 typedef void (*Uenibstreamprotobuf__CauseProtocol_Closure)
283 (const Uenibstreamprotobuf__CauseProtocol *message,
285 typedef void (*Uenibstreamprotobuf__CauseMisc_Closure)
286 (const Uenibstreamprotobuf__CauseMisc *message,
289 /* --- services --- */
292 /* --- descriptors --- */
294 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__cause__descriptor;
295 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__cause_radio_network__descriptor;
296 extern const ProtobufCEnumDescriptor uenibstreamprotobuf__cause_radio_network__value__descriptor;
297 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__cause_transport__descriptor;
298 extern const ProtobufCEnumDescriptor uenibstreamprotobuf__cause_transport__value__descriptor;
299 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__cause_protocol__descriptor;
300 extern const ProtobufCEnumDescriptor uenibstreamprotobuf__cause_protocol__value__descriptor;
301 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__cause_misc__descriptor;
302 extern const ProtobufCEnumDescriptor uenibstreamprotobuf__cause_misc__value__descriptor;
304 PROTOBUF_C__END_DECLS
307 #endif /* PROTOBUF_C_error_5fcause_2eproto__INCLUDED */