Support for additional NR metrics
[ric-app/mc.git] / mc-core / mc / local_datasource / error_cause.pb-c.h
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: error_cause.proto */
3
4 #ifndef PROTOBUF_C_error_5fcause_2eproto__INCLUDED
5 #define PROTOBUF_C_error_5fcause_2eproto__INCLUDED
6
7 #include <protobuf-c/protobuf-c.h>
8
9 PROTOBUF_C__BEGIN_DECLS
10
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.
15 #endif
16
17
18 typedef struct _StreamingProtobufs__Cause StreamingProtobufs__Cause;
19 typedef struct _StreamingProtobufs__CauseRadioNetwork StreamingProtobufs__CauseRadioNetwork;
20 typedef struct _StreamingProtobufs__CauseTransport StreamingProtobufs__CauseTransport;
21 typedef struct _StreamingProtobufs__CauseProtocol StreamingProtobufs__CauseProtocol;
22 typedef struct _StreamingProtobufs__CauseMisc StreamingProtobufs__CauseMisc;
23
24
25 /* --- enums --- */
26
27 typedef enum _StreamingProtobufs__CauseRadioNetwork__Value {
28   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__protobuf_unspecified = 0,
29   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__handover_desirable_for_radio_reasons = 1,
30   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__time_critical_handover = 2,
31   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__resource_optimisation_handover = 3,
32   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__reduce_load_in_serving_cell = 4,
33   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__partial_handover = 5,
34   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__unknown_new_eNB_UE_X2AP_ID = 6,
35   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__unknown_old_eNB_UE_X2AP_ID = 7,
36   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__unknown_pair_of_UE_X2AP_ID = 8,
37   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__ho_target_not_allowed = 9,
38   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__tx2relocoverall_expiry = 10,
39   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__trelocprep_expiry = 11,
40   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__cell_not_available = 12,
41   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__no_radio_resources_available_in_target_cell = 13,
42   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__invalid_MME_GroupID = 14,
43   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__unknown_MME_Code = 15,
44   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__encryption_and_or_integrity_protection_algorithms_not_supported = 16,
45   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__reportCharacteristicsEmpty = 17,
46   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__noReportPeriodicity = 18,
47   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__existingMeasurementID = 19,
48   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__unknown_eNB_Measurement_ID = 20,
49   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__measurement_temporarily_not_available = 21,
50   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__unspecified = 22,
51   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__load_balancing = 23,
52   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__handover_optimisation = 24,
53   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__value_out_of_allowed_range = 25,
54   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__multiple_E_RAB_ID_instances = 26,
55   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__switch_off_ongoing = 27,
56   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__not_supported_QCI_value = 28,
57   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__measurement_not_supported_for_the_object = 29,
58   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__tDCoverall_expiry = 30,
59   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__tDCprep_expiry = 31,
60   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__action_desirable_for_radio_reasons = 32,
61   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__reduce_load = 33,
62   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__resource_optimisation = 34,
63   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__time_critical_action = 35,
64   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__target_not_allowed = 36,
65   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__no_radio_resources_available = 37,
66   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__invalid_QoS_combination = 38,
67   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__encryption_algorithms_not_aupported = 39,
68   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__procedure_cancelled = 40,
69   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__rRM_purpose = 41,
70   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__improve_user_bit_rate = 42,
71   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__user_inactivity = 43,
72   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__radio_connection_with_UE_lost = 44,
73   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__failure_in_the_radio_interface_procedure = 45,
74   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__bearer_option_not_supported = 46,
75   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__mCG_Mobility = 47,
76   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__sCG_Mobility = 48,
77   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__count_reaches_max_value = 49,
78   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__unknown_old_en_gNB_UE_X2AP_ID = 50,
79   STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__pDCP_Overload = 51
80     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE)
81 } StreamingProtobufs__CauseRadioNetwork__Value;
82 typedef enum _StreamingProtobufs__CauseTransport__Value {
83   STREAMING_PROTOBUFS__CAUSE_TRANSPORT__VALUE__protobuf_unspecified = 0,
84   STREAMING_PROTOBUFS__CAUSE_TRANSPORT__VALUE__transport_resource_unavailable = 1,
85   STREAMING_PROTOBUFS__CAUSE_TRANSPORT__VALUE__unspecified = 2
86     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__CAUSE_TRANSPORT__VALUE)
87 } StreamingProtobufs__CauseTransport__Value;
88 typedef enum _StreamingProtobufs__CauseProtocol__Value {
89   STREAMING_PROTOBUFS__CAUSE_PROTOCOL__VALUE__protobuf_unspecified = 0,
90   STREAMING_PROTOBUFS__CAUSE_PROTOCOL__VALUE__transfer_syntax_error = 1,
91   STREAMING_PROTOBUFS__CAUSE_PROTOCOL__VALUE__abstract_syntax_error_reject = 2,
92   STREAMING_PROTOBUFS__CAUSE_PROTOCOL__VALUE__abstract_syntax_error_ignore_and_notify = 3,
93   STREAMING_PROTOBUFS__CAUSE_PROTOCOL__VALUE__message_not_compatible_with_receiver_state = 4,
94   STREAMING_PROTOBUFS__CAUSE_PROTOCOL__VALUE__semantic_error = 5,
95   STREAMING_PROTOBUFS__CAUSE_PROTOCOL__VALUE__unspecified = 6,
96   STREAMING_PROTOBUFS__CAUSE_PROTOCOL__VALUE__abstract_syntax_error_falsely_constructed_message = 7
97     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__CAUSE_PROTOCOL__VALUE)
98 } StreamingProtobufs__CauseProtocol__Value;
99 typedef enum _StreamingProtobufs__CauseMisc__Value {
100   STREAMING_PROTOBUFS__CAUSE_MISC__VALUE__protobuf_unspecified = 0,
101   STREAMING_PROTOBUFS__CAUSE_MISC__VALUE__control_processing_overload = 1,
102   STREAMING_PROTOBUFS__CAUSE_MISC__VALUE__hardware_failure = 2,
103   STREAMING_PROTOBUFS__CAUSE_MISC__VALUE__om_intervention = 3,
104   STREAMING_PROTOBUFS__CAUSE_MISC__VALUE__not_enough_user_plane_processing_resources = 4,
105   STREAMING_PROTOBUFS__CAUSE_MISC__VALUE__unspecified = 5
106     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__CAUSE_MISC__VALUE)
107 } StreamingProtobufs__CauseMisc__Value;
108
109 /* --- messages --- */
110
111 typedef enum {
112   STREAMING_PROTOBUFS__CAUSE__VALUE__NOT_SET = 0,
113   STREAMING_PROTOBUFS__CAUSE__VALUE_RADIO_NETWORK = 1,
114   STREAMING_PROTOBUFS__CAUSE__VALUE_TRANSPORT = 2,
115   STREAMING_PROTOBUFS__CAUSE__VALUE_PROTOCOL = 3,
116   STREAMING_PROTOBUFS__CAUSE__VALUE_MISC = 4
117     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__CAUSE__VALUE)
118 } StreamingProtobufs__Cause__ValueCase;
119
120 struct  _StreamingProtobufs__Cause
121 {
122   ProtobufCMessage base;
123   StreamingProtobufs__Cause__ValueCase value_case;
124   union {
125     StreamingProtobufs__CauseRadioNetwork *radionetwork;
126     StreamingProtobufs__CauseTransport *transport;
127     StreamingProtobufs__CauseProtocol *protocol;
128     StreamingProtobufs__CauseMisc *misc;
129   };
130 };
131 #define STREAMING_PROTOBUFS__CAUSE__INIT \
132  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__cause__descriptor) \
133     , STREAMING_PROTOBUFS__CAUSE__VALUE__NOT_SET, {0} }
134
135
136 struct  _StreamingProtobufs__CauseRadioNetwork
137 {
138   ProtobufCMessage base;
139   StreamingProtobufs__CauseRadioNetwork__Value value;
140 };
141 #define STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__INIT \
142  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__cause_radio_network__descriptor) \
143     , STREAMING_PROTOBUFS__CAUSE_RADIO_NETWORK__VALUE__protobuf_unspecified }
144
145
146 struct  _StreamingProtobufs__CauseTransport
147 {
148   ProtobufCMessage base;
149   StreamingProtobufs__CauseTransport__Value value;
150 };
151 #define STREAMING_PROTOBUFS__CAUSE_TRANSPORT__INIT \
152  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__cause_transport__descriptor) \
153     , STREAMING_PROTOBUFS__CAUSE_TRANSPORT__VALUE__protobuf_unspecified }
154
155
156 struct  _StreamingProtobufs__CauseProtocol
157 {
158   ProtobufCMessage base;
159   StreamingProtobufs__CauseProtocol__Value value;
160 };
161 #define STREAMING_PROTOBUFS__CAUSE_PROTOCOL__INIT \
162  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__cause_protocol__descriptor) \
163     , STREAMING_PROTOBUFS__CAUSE_PROTOCOL__VALUE__protobuf_unspecified }
164
165
166 struct  _StreamingProtobufs__CauseMisc
167 {
168   ProtobufCMessage base;
169   StreamingProtobufs__CauseMisc__Value value;
170 };
171 #define STREAMING_PROTOBUFS__CAUSE_MISC__INIT \
172  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__cause_misc__descriptor) \
173     , STREAMING_PROTOBUFS__CAUSE_MISC__VALUE__protobuf_unspecified }
174
175
176 /* StreamingProtobufs__Cause methods */
177 void   streaming_protobufs__cause__init
178                      (StreamingProtobufs__Cause         *message);
179 size_t streaming_protobufs__cause__get_packed_size
180                      (const StreamingProtobufs__Cause   *message);
181 size_t streaming_protobufs__cause__pack
182                      (const StreamingProtobufs__Cause   *message,
183                       uint8_t             *out);
184 size_t streaming_protobufs__cause__pack_to_buffer
185                      (const StreamingProtobufs__Cause   *message,
186                       ProtobufCBuffer     *buffer);
187 StreamingProtobufs__Cause *
188        streaming_protobufs__cause__unpack
189                      (ProtobufCAllocator  *allocator,
190                       size_t               len,
191                       const uint8_t       *data);
192 void   streaming_protobufs__cause__free_unpacked
193                      (StreamingProtobufs__Cause *message,
194                       ProtobufCAllocator *allocator);
195 /* StreamingProtobufs__CauseRadioNetwork methods */
196 void   streaming_protobufs__cause_radio_network__init
197                      (StreamingProtobufs__CauseRadioNetwork         *message);
198 size_t streaming_protobufs__cause_radio_network__get_packed_size
199                      (const StreamingProtobufs__CauseRadioNetwork   *message);
200 size_t streaming_protobufs__cause_radio_network__pack
201                      (const StreamingProtobufs__CauseRadioNetwork   *message,
202                       uint8_t             *out);
203 size_t streaming_protobufs__cause_radio_network__pack_to_buffer
204                      (const StreamingProtobufs__CauseRadioNetwork   *message,
205                       ProtobufCBuffer     *buffer);
206 StreamingProtobufs__CauseRadioNetwork *
207        streaming_protobufs__cause_radio_network__unpack
208                      (ProtobufCAllocator  *allocator,
209                       size_t               len,
210                       const uint8_t       *data);
211 void   streaming_protobufs__cause_radio_network__free_unpacked
212                      (StreamingProtobufs__CauseRadioNetwork *message,
213                       ProtobufCAllocator *allocator);
214 /* StreamingProtobufs__CauseTransport methods */
215 void   streaming_protobufs__cause_transport__init
216                      (StreamingProtobufs__CauseTransport         *message);
217 size_t streaming_protobufs__cause_transport__get_packed_size
218                      (const StreamingProtobufs__CauseTransport   *message);
219 size_t streaming_protobufs__cause_transport__pack
220                      (const StreamingProtobufs__CauseTransport   *message,
221                       uint8_t             *out);
222 size_t streaming_protobufs__cause_transport__pack_to_buffer
223                      (const StreamingProtobufs__CauseTransport   *message,
224                       ProtobufCBuffer     *buffer);
225 StreamingProtobufs__CauseTransport *
226        streaming_protobufs__cause_transport__unpack
227                      (ProtobufCAllocator  *allocator,
228                       size_t               len,
229                       const uint8_t       *data);
230 void   streaming_protobufs__cause_transport__free_unpacked
231                      (StreamingProtobufs__CauseTransport *message,
232                       ProtobufCAllocator *allocator);
233 /* StreamingProtobufs__CauseProtocol methods */
234 void   streaming_protobufs__cause_protocol__init
235                      (StreamingProtobufs__CauseProtocol         *message);
236 size_t streaming_protobufs__cause_protocol__get_packed_size
237                      (const StreamingProtobufs__CauseProtocol   *message);
238 size_t streaming_protobufs__cause_protocol__pack
239                      (const StreamingProtobufs__CauseProtocol   *message,
240                       uint8_t             *out);
241 size_t streaming_protobufs__cause_protocol__pack_to_buffer
242                      (const StreamingProtobufs__CauseProtocol   *message,
243                       ProtobufCBuffer     *buffer);
244 StreamingProtobufs__CauseProtocol *
245        streaming_protobufs__cause_protocol__unpack
246                      (ProtobufCAllocator  *allocator,
247                       size_t               len,
248                       const uint8_t       *data);
249 void   streaming_protobufs__cause_protocol__free_unpacked
250                      (StreamingProtobufs__CauseProtocol *message,
251                       ProtobufCAllocator *allocator);
252 /* StreamingProtobufs__CauseMisc methods */
253 void   streaming_protobufs__cause_misc__init
254                      (StreamingProtobufs__CauseMisc         *message);
255 size_t streaming_protobufs__cause_misc__get_packed_size
256                      (const StreamingProtobufs__CauseMisc   *message);
257 size_t streaming_protobufs__cause_misc__pack
258                      (const StreamingProtobufs__CauseMisc   *message,
259                       uint8_t             *out);
260 size_t streaming_protobufs__cause_misc__pack_to_buffer
261                      (const StreamingProtobufs__CauseMisc   *message,
262                       ProtobufCBuffer     *buffer);
263 StreamingProtobufs__CauseMisc *
264        streaming_protobufs__cause_misc__unpack
265                      (ProtobufCAllocator  *allocator,
266                       size_t               len,
267                       const uint8_t       *data);
268 void   streaming_protobufs__cause_misc__free_unpacked
269                      (StreamingProtobufs__CauseMisc *message,
270                       ProtobufCAllocator *allocator);
271 /* --- per-message closures --- */
272
273 typedef void (*StreamingProtobufs__Cause_Closure)
274                  (const StreamingProtobufs__Cause *message,
275                   void *closure_data);
276 typedef void (*StreamingProtobufs__CauseRadioNetwork_Closure)
277                  (const StreamingProtobufs__CauseRadioNetwork *message,
278                   void *closure_data);
279 typedef void (*StreamingProtobufs__CauseTransport_Closure)
280                  (const StreamingProtobufs__CauseTransport *message,
281                   void *closure_data);
282 typedef void (*StreamingProtobufs__CauseProtocol_Closure)
283                  (const StreamingProtobufs__CauseProtocol *message,
284                   void *closure_data);
285 typedef void (*StreamingProtobufs__CauseMisc_Closure)
286                  (const StreamingProtobufs__CauseMisc *message,
287                   void *closure_data);
288
289 /* --- services --- */
290
291
292 /* --- descriptors --- */
293
294 extern const ProtobufCMessageDescriptor streaming_protobufs__cause__descriptor;
295 extern const ProtobufCMessageDescriptor streaming_protobufs__cause_radio_network__descriptor;
296 extern const ProtobufCEnumDescriptor    streaming_protobufs__cause_radio_network__value__descriptor;
297 extern const ProtobufCMessageDescriptor streaming_protobufs__cause_transport__descriptor;
298 extern const ProtobufCEnumDescriptor    streaming_protobufs__cause_transport__value__descriptor;
299 extern const ProtobufCMessageDescriptor streaming_protobufs__cause_protocol__descriptor;
300 extern const ProtobufCEnumDescriptor    streaming_protobufs__cause_protocol__value__descriptor;
301 extern const ProtobufCMessageDescriptor streaming_protobufs__cause_misc__descriptor;
302 extern const ProtobufCEnumDescriptor    streaming_protobufs__cause_misc__value__descriptor;
303
304 PROTOBUF_C__END_DECLS
305
306
307 #endif  /* PROTOBUF_C_error_5fcause_2eproto__INCLUDED */