Adding additional KPIs, adding required documentation
[ric-app/mc.git] / mc-core / mc / local_datasource / secondary_rat_data_usage_report.pb-c.h
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: secondary_rat_data_usage_report.proto */
3
4 #ifndef PROTOBUF_C_secondary_5frat_5fdata_5fusage_5freport_2eproto__INCLUDED
5 #define PROTOBUF_C_secondary_5frat_5fdata_5fusage_5freport_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 #include "google/protobuf/wrappers.pb-c.h"
18
19 typedef struct _Uenibstreamprotobuf__SecondaryRATDataUsageReport Uenibstreamprotobuf__SecondaryRATDataUsageReport;
20 typedef struct _Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs;
21 typedef struct _Uenibstreamprotobuf__SecondaryRATUsageReportList Uenibstreamprotobuf__SecondaryRATUsageReportList;
22 typedef struct _Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs;
23 typedef struct _Uenibstreamprotobuf__SecondaryRATUsageReportItem Uenibstreamprotobuf__SecondaryRATUsageReportItem;
24 typedef struct _Uenibstreamprotobuf__ERABUsageReportList Uenibstreamprotobuf__ERABUsageReportList;
25 typedef struct _Uenibstreamprotobuf__ERABUsageReportItemIEs Uenibstreamprotobuf__ERABUsageReportItemIEs;
26 typedef struct _Uenibstreamprotobuf__ERABUsageReportItem Uenibstreamprotobuf__ERABUsageReportItem;
27
28
29 /* --- enums --- */
30
31 typedef enum _Uenibstreamprotobuf__SecondaryRATUsageReportItem__SecondaryRATType {
32   UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM__SECONDARY_RATTYPE__protobuf_unspecified = 0,
33   UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM__SECONDARY_RATTYPE__nr = 1
34     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM__SECONDARY_RATTYPE)
35 } Uenibstreamprotobuf__SecondaryRATUsageReportItem__SecondaryRATType;
36
37 /* --- messages --- */
38
39 struct  _Uenibstreamprotobuf__SecondaryRATDataUsageReport
40 {
41   ProtobufCMessage base;
42   Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *protocolies;
43 };
44 #define UENIBSTREAMPROTOBUF__SECONDARY_RATDATA_USAGE_REPORT__INIT \
45  { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__secondary_ratdata_usage_report__descriptor) \
46     , NULL }
47
48
49 struct  _Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs
50 {
51   ProtobufCMessage base;
52   uint32_t id_menb_ue_x2ap_id;
53   uint32_t id_sgnb_ue_x2ap_id;
54   Uenibstreamprotobuf__SecondaryRATUsageReportList *id_secondaryratusagereportlist;
55   Google__Protobuf__UInt32Value *id_menb_ue_x2ap_id_extension;
56 };
57 #define UENIBSTREAMPROTOBUF__SECONDARY_RATDATA_USAGE_REPORT__IES__INIT \
58  { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__secondary_ratdata_usage_report__ies__descriptor) \
59     , 0, 0, NULL, NULL }
60
61
62 struct  _Uenibstreamprotobuf__SecondaryRATUsageReportList
63 {
64   ProtobufCMessage base;
65   size_t n_items;
66   Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs **items;
67 };
68 #define UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT_LIST__INIT \
69  { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__secondary_ratusage_report_list__descriptor) \
70     , 0,NULL }
71
72
73 struct  _Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs
74 {
75   ProtobufCMessage base;
76   Uenibstreamprotobuf__SecondaryRATUsageReportItem *id_secondaryratusagereport_item;
77 };
78 #define UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM_IES__INIT \
79  { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__secondary_ratusage_report__item_ies__descriptor) \
80     , NULL }
81
82
83 struct  _Uenibstreamprotobuf__SecondaryRATUsageReportItem
84 {
85   ProtobufCMessage base;
86   uint32_t e_rab_id;
87   Uenibstreamprotobuf__SecondaryRATUsageReportItem__SecondaryRATType secondaryrattype;
88   Uenibstreamprotobuf__ERABUsageReportList *e_rabusagereportlist;
89 };
90 #define UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM__INIT \
91  { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__secondary_ratusage_report__item__descriptor) \
92     , 0, UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM__SECONDARY_RATTYPE__protobuf_unspecified, NULL }
93
94
95 struct  _Uenibstreamprotobuf__ERABUsageReportList
96 {
97   ProtobufCMessage base;
98   size_t n_items;
99   Uenibstreamprotobuf__ERABUsageReportItemIEs **items;
100 };
101 #define UENIBSTREAMPROTOBUF__E__RABUSAGE_REPORT_LIST__INIT \
102  { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__e__rabusage_report_list__descriptor) \
103     , 0,NULL }
104
105
106 struct  _Uenibstreamprotobuf__ERABUsageReportItemIEs
107 {
108   ProtobufCMessage base;
109   Uenibstreamprotobuf__ERABUsageReportItem *id_e_rabusagereport_item;
110 };
111 #define UENIBSTREAMPROTOBUF__E__RABUSAGE_REPORT__ITEM_IES__INIT \
112  { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__e__rabusage_report__item_ies__descriptor) \
113     , NULL }
114
115
116 struct  _Uenibstreamprotobuf__ERABUsageReportItem
117 {
118   ProtobufCMessage base;
119   uint64_t starttimestamp;
120   uint64_t endtimestamp;
121   uint64_t usagecountul;
122   uint64_t usagecountdl;
123 };
124 #define UENIBSTREAMPROTOBUF__E__RABUSAGE_REPORT__ITEM__INIT \
125  { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__e__rabusage_report__item__descriptor) \
126     , 0, 0, 0, 0 }
127
128
129 /* Uenibstreamprotobuf__SecondaryRATDataUsageReport methods */
130 void   uenibstreamprotobuf__secondary_ratdata_usage_report__init
131                      (Uenibstreamprotobuf__SecondaryRATDataUsageReport         *message);
132 size_t uenibstreamprotobuf__secondary_ratdata_usage_report__get_packed_size
133                      (const Uenibstreamprotobuf__SecondaryRATDataUsageReport   *message);
134 size_t uenibstreamprotobuf__secondary_ratdata_usage_report__pack
135                      (const Uenibstreamprotobuf__SecondaryRATDataUsageReport   *message,
136                       uint8_t             *out);
137 size_t uenibstreamprotobuf__secondary_ratdata_usage_report__pack_to_buffer
138                      (const Uenibstreamprotobuf__SecondaryRATDataUsageReport   *message,
139                       ProtobufCBuffer     *buffer);
140 Uenibstreamprotobuf__SecondaryRATDataUsageReport *
141        uenibstreamprotobuf__secondary_ratdata_usage_report__unpack
142                      (ProtobufCAllocator  *allocator,
143                       size_t               len,
144                       const uint8_t       *data);
145 void   uenibstreamprotobuf__secondary_ratdata_usage_report__free_unpacked
146                      (Uenibstreamprotobuf__SecondaryRATDataUsageReport *message,
147                       ProtobufCAllocator *allocator);
148 /* Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs methods */
149 void   uenibstreamprotobuf__secondary_ratdata_usage_report__ies__init
150                      (Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs         *message);
151 size_t uenibstreamprotobuf__secondary_ratdata_usage_report__ies__get_packed_size
152                      (const Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs   *message);
153 size_t uenibstreamprotobuf__secondary_ratdata_usage_report__ies__pack
154                      (const Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs   *message,
155                       uint8_t             *out);
156 size_t uenibstreamprotobuf__secondary_ratdata_usage_report__ies__pack_to_buffer
157                      (const Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs   *message,
158                       ProtobufCBuffer     *buffer);
159 Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *
160        uenibstreamprotobuf__secondary_ratdata_usage_report__ies__unpack
161                      (ProtobufCAllocator  *allocator,
162                       size_t               len,
163                       const uint8_t       *data);
164 void   uenibstreamprotobuf__secondary_ratdata_usage_report__ies__free_unpacked
165                      (Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *message,
166                       ProtobufCAllocator *allocator);
167 /* Uenibstreamprotobuf__SecondaryRATUsageReportList methods */
168 void   uenibstreamprotobuf__secondary_ratusage_report_list__init
169                      (Uenibstreamprotobuf__SecondaryRATUsageReportList         *message);
170 size_t uenibstreamprotobuf__secondary_ratusage_report_list__get_packed_size
171                      (const Uenibstreamprotobuf__SecondaryRATUsageReportList   *message);
172 size_t uenibstreamprotobuf__secondary_ratusage_report_list__pack
173                      (const Uenibstreamprotobuf__SecondaryRATUsageReportList   *message,
174                       uint8_t             *out);
175 size_t uenibstreamprotobuf__secondary_ratusage_report_list__pack_to_buffer
176                      (const Uenibstreamprotobuf__SecondaryRATUsageReportList   *message,
177                       ProtobufCBuffer     *buffer);
178 Uenibstreamprotobuf__SecondaryRATUsageReportList *
179        uenibstreamprotobuf__secondary_ratusage_report_list__unpack
180                      (ProtobufCAllocator  *allocator,
181                       size_t               len,
182                       const uint8_t       *data);
183 void   uenibstreamprotobuf__secondary_ratusage_report_list__free_unpacked
184                      (Uenibstreamprotobuf__SecondaryRATUsageReportList *message,
185                       ProtobufCAllocator *allocator);
186 /* Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs methods */
187 void   uenibstreamprotobuf__secondary_ratusage_report__item_ies__init
188                      (Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs         *message);
189 size_t uenibstreamprotobuf__secondary_ratusage_report__item_ies__get_packed_size
190                      (const Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs   *message);
191 size_t uenibstreamprotobuf__secondary_ratusage_report__item_ies__pack
192                      (const Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs   *message,
193                       uint8_t             *out);
194 size_t uenibstreamprotobuf__secondary_ratusage_report__item_ies__pack_to_buffer
195                      (const Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs   *message,
196                       ProtobufCBuffer     *buffer);
197 Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs *
198        uenibstreamprotobuf__secondary_ratusage_report__item_ies__unpack
199                      (ProtobufCAllocator  *allocator,
200                       size_t               len,
201                       const uint8_t       *data);
202 void   uenibstreamprotobuf__secondary_ratusage_report__item_ies__free_unpacked
203                      (Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs *message,
204                       ProtobufCAllocator *allocator);
205 /* Uenibstreamprotobuf__SecondaryRATUsageReportItem methods */
206 void   uenibstreamprotobuf__secondary_ratusage_report__item__init
207                      (Uenibstreamprotobuf__SecondaryRATUsageReportItem         *message);
208 size_t uenibstreamprotobuf__secondary_ratusage_report__item__get_packed_size
209                      (const Uenibstreamprotobuf__SecondaryRATUsageReportItem   *message);
210 size_t uenibstreamprotobuf__secondary_ratusage_report__item__pack
211                      (const Uenibstreamprotobuf__SecondaryRATUsageReportItem   *message,
212                       uint8_t             *out);
213 size_t uenibstreamprotobuf__secondary_ratusage_report__item__pack_to_buffer
214                      (const Uenibstreamprotobuf__SecondaryRATUsageReportItem   *message,
215                       ProtobufCBuffer     *buffer);
216 Uenibstreamprotobuf__SecondaryRATUsageReportItem *
217        uenibstreamprotobuf__secondary_ratusage_report__item__unpack
218                      (ProtobufCAllocator  *allocator,
219                       size_t               len,
220                       const uint8_t       *data);
221 void   uenibstreamprotobuf__secondary_ratusage_report__item__free_unpacked
222                      (Uenibstreamprotobuf__SecondaryRATUsageReportItem *message,
223                       ProtobufCAllocator *allocator);
224 /* Uenibstreamprotobuf__ERABUsageReportList methods */
225 void   uenibstreamprotobuf__e__rabusage_report_list__init
226                      (Uenibstreamprotobuf__ERABUsageReportList         *message);
227 size_t uenibstreamprotobuf__e__rabusage_report_list__get_packed_size
228                      (const Uenibstreamprotobuf__ERABUsageReportList   *message);
229 size_t uenibstreamprotobuf__e__rabusage_report_list__pack
230                      (const Uenibstreamprotobuf__ERABUsageReportList   *message,
231                       uint8_t             *out);
232 size_t uenibstreamprotobuf__e__rabusage_report_list__pack_to_buffer
233                      (const Uenibstreamprotobuf__ERABUsageReportList   *message,
234                       ProtobufCBuffer     *buffer);
235 Uenibstreamprotobuf__ERABUsageReportList *
236        uenibstreamprotobuf__e__rabusage_report_list__unpack
237                      (ProtobufCAllocator  *allocator,
238                       size_t               len,
239                       const uint8_t       *data);
240 void   uenibstreamprotobuf__e__rabusage_report_list__free_unpacked
241                      (Uenibstreamprotobuf__ERABUsageReportList *message,
242                       ProtobufCAllocator *allocator);
243 /* Uenibstreamprotobuf__ERABUsageReportItemIEs methods */
244 void   uenibstreamprotobuf__e__rabusage_report__item_ies__init
245                      (Uenibstreamprotobuf__ERABUsageReportItemIEs         *message);
246 size_t uenibstreamprotobuf__e__rabusage_report__item_ies__get_packed_size
247                      (const Uenibstreamprotobuf__ERABUsageReportItemIEs   *message);
248 size_t uenibstreamprotobuf__e__rabusage_report__item_ies__pack
249                      (const Uenibstreamprotobuf__ERABUsageReportItemIEs   *message,
250                       uint8_t             *out);
251 size_t uenibstreamprotobuf__e__rabusage_report__item_ies__pack_to_buffer
252                      (const Uenibstreamprotobuf__ERABUsageReportItemIEs   *message,
253                       ProtobufCBuffer     *buffer);
254 Uenibstreamprotobuf__ERABUsageReportItemIEs *
255        uenibstreamprotobuf__e__rabusage_report__item_ies__unpack
256                      (ProtobufCAllocator  *allocator,
257                       size_t               len,
258                       const uint8_t       *data);
259 void   uenibstreamprotobuf__e__rabusage_report__item_ies__free_unpacked
260                      (Uenibstreamprotobuf__ERABUsageReportItemIEs *message,
261                       ProtobufCAllocator *allocator);
262 /* Uenibstreamprotobuf__ERABUsageReportItem methods */
263 void   uenibstreamprotobuf__e__rabusage_report__item__init
264                      (Uenibstreamprotobuf__ERABUsageReportItem         *message);
265 size_t uenibstreamprotobuf__e__rabusage_report__item__get_packed_size
266                      (const Uenibstreamprotobuf__ERABUsageReportItem   *message);
267 size_t uenibstreamprotobuf__e__rabusage_report__item__pack
268                      (const Uenibstreamprotobuf__ERABUsageReportItem   *message,
269                       uint8_t             *out);
270 size_t uenibstreamprotobuf__e__rabusage_report__item__pack_to_buffer
271                      (const Uenibstreamprotobuf__ERABUsageReportItem   *message,
272                       ProtobufCBuffer     *buffer);
273 Uenibstreamprotobuf__ERABUsageReportItem *
274        uenibstreamprotobuf__e__rabusage_report__item__unpack
275                      (ProtobufCAllocator  *allocator,
276                       size_t               len,
277                       const uint8_t       *data);
278 void   uenibstreamprotobuf__e__rabusage_report__item__free_unpacked
279                      (Uenibstreamprotobuf__ERABUsageReportItem *message,
280                       ProtobufCAllocator *allocator);
281 /* --- per-message closures --- */
282
283 typedef void (*Uenibstreamprotobuf__SecondaryRATDataUsageReport_Closure)
284                  (const Uenibstreamprotobuf__SecondaryRATDataUsageReport *message,
285                   void *closure_data);
286 typedef void (*Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs_Closure)
287                  (const Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *message,
288                   void *closure_data);
289 typedef void (*Uenibstreamprotobuf__SecondaryRATUsageReportList_Closure)
290                  (const Uenibstreamprotobuf__SecondaryRATUsageReportList *message,
291                   void *closure_data);
292 typedef void (*Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs_Closure)
293                  (const Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs *message,
294                   void *closure_data);
295 typedef void (*Uenibstreamprotobuf__SecondaryRATUsageReportItem_Closure)
296                  (const Uenibstreamprotobuf__SecondaryRATUsageReportItem *message,
297                   void *closure_data);
298 typedef void (*Uenibstreamprotobuf__ERABUsageReportList_Closure)
299                  (const Uenibstreamprotobuf__ERABUsageReportList *message,
300                   void *closure_data);
301 typedef void (*Uenibstreamprotobuf__ERABUsageReportItemIEs_Closure)
302                  (const Uenibstreamprotobuf__ERABUsageReportItemIEs *message,
303                   void *closure_data);
304 typedef void (*Uenibstreamprotobuf__ERABUsageReportItem_Closure)
305                  (const Uenibstreamprotobuf__ERABUsageReportItem *message,
306                   void *closure_data);
307
308 /* --- services --- */
309
310
311 /* --- descriptors --- */
312
313 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__secondary_ratdata_usage_report__descriptor;
314 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__secondary_ratdata_usage_report__ies__descriptor;
315 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__secondary_ratusage_report_list__descriptor;
316 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__secondary_ratusage_report__item_ies__descriptor;
317 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__secondary_ratusage_report__item__descriptor;
318 extern const ProtobufCEnumDescriptor    uenibstreamprotobuf__secondary_ratusage_report__item__secondary_rattype__descriptor;
319 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__e__rabusage_report_list__descriptor;
320 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__e__rabusage_report__item_ies__descriptor;
321 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__e__rabusage_report__item__descriptor;
322
323 PROTOBUF_C__END_DECLS
324
325
326 #endif  /* PROTOBUF_C_secondary_5frat_5fdata_5fusage_5freport_2eproto__INCLUDED */