Support for additional NR metrics
[ric-app/mc.git] / mc-core / mc / local_datasource / rrc_general_message_types.pb-c.h
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: rrc_general_message_types.proto */
3
4 #ifndef PROTOBUF_C_rrc_5fgeneral_5fmessage_5ftypes_2eproto__INCLUDED
5 #define PROTOBUF_C_rrc_5fgeneral_5fmessage_5ftypes_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 "rrc_measurement_report.pb-c.h"
18 #include "rrc_failure_information.pb-c.h"
19
20 typedef struct _StreamingProtobufs__RRCContainer StreamingProtobufs__RRCContainer;
21 typedef struct _StreamingProtobufs__ULDCCHMessageType StreamingProtobufs__ULDCCHMessageType;
22
23
24 /* --- enums --- */
25
26
27 /* --- messages --- */
28
29 struct  _StreamingProtobufs__RRCContainer
30 {
31   ProtobufCMessage base;
32   /*
33    *oneof id_RRCContainer {
34    *UL_DCCH_MessageType UL_DCCH_message = 1;
35    *UL_DCCH_MessageType_36331 UL_DCCH_message_36331 = 2;
36    *DL_DCCH_MessageType_36331 DL_DCCH_message_36331 = 3;
37    *}
38    */
39   StreamingProtobufs__ULDCCHMessageType *ul_dcch_message;
40 };
41 #define STREAMING_PROTOBUFS__RRCCONTAINER__INIT \
42  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__rrccontainer__descriptor) \
43     , NULL }
44
45
46 typedef enum {
47   STREAMING_PROTOBUFS__UL__DCCH__MESSAGE_TYPE__C1__NOT_SET = 0,
48   STREAMING_PROTOBUFS__UL__DCCH__MESSAGE_TYPE__C1_MEASUREMENT_REPORT = 1,
49   STREAMING_PROTOBUFS__UL__DCCH__MESSAGE_TYPE__C1_FAILURE_INFORMATION = 2
50     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__UL__DCCH__MESSAGE_TYPE__C1)
51 } StreamingProtobufs__ULDCCHMessageType__C1Case;
52
53 struct  _StreamingProtobufs__ULDCCHMessageType
54 {
55   ProtobufCMessage base;
56   StreamingProtobufs__ULDCCHMessageType__C1Case c1_case;
57   union {
58     StreamingProtobufs__MeasurementReport *measurementreport;
59     StreamingProtobufs__FailureInformation *failureinformation;
60   };
61 };
62 #define STREAMING_PROTOBUFS__UL__DCCH__MESSAGE_TYPE__INIT \
63  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__ul__dcch__message_type__descriptor) \
64     , STREAMING_PROTOBUFS__UL__DCCH__MESSAGE_TYPE__C1__NOT_SET, {0} }
65
66
67 /* StreamingProtobufs__RRCContainer methods */
68 void   streaming_protobufs__rrccontainer__init
69                      (StreamingProtobufs__RRCContainer         *message);
70 size_t streaming_protobufs__rrccontainer__get_packed_size
71                      (const StreamingProtobufs__RRCContainer   *message);
72 size_t streaming_protobufs__rrccontainer__pack
73                      (const StreamingProtobufs__RRCContainer   *message,
74                       uint8_t             *out);
75 size_t streaming_protobufs__rrccontainer__pack_to_buffer
76                      (const StreamingProtobufs__RRCContainer   *message,
77                       ProtobufCBuffer     *buffer);
78 StreamingProtobufs__RRCContainer *
79        streaming_protobufs__rrccontainer__unpack
80                      (ProtobufCAllocator  *allocator,
81                       size_t               len,
82                       const uint8_t       *data);
83 void   streaming_protobufs__rrccontainer__free_unpacked
84                      (StreamingProtobufs__RRCContainer *message,
85                       ProtobufCAllocator *allocator);
86 /* StreamingProtobufs__ULDCCHMessageType methods */
87 void   streaming_protobufs__ul__dcch__message_type__init
88                      (StreamingProtobufs__ULDCCHMessageType         *message);
89 size_t streaming_protobufs__ul__dcch__message_type__get_packed_size
90                      (const StreamingProtobufs__ULDCCHMessageType   *message);
91 size_t streaming_protobufs__ul__dcch__message_type__pack
92                      (const StreamingProtobufs__ULDCCHMessageType   *message,
93                       uint8_t             *out);
94 size_t streaming_protobufs__ul__dcch__message_type__pack_to_buffer
95                      (const StreamingProtobufs__ULDCCHMessageType   *message,
96                       ProtobufCBuffer     *buffer);
97 StreamingProtobufs__ULDCCHMessageType *
98        streaming_protobufs__ul__dcch__message_type__unpack
99                      (ProtobufCAllocator  *allocator,
100                       size_t               len,
101                       const uint8_t       *data);
102 void   streaming_protobufs__ul__dcch__message_type__free_unpacked
103                      (StreamingProtobufs__ULDCCHMessageType *message,
104                       ProtobufCAllocator *allocator);
105 /* --- per-message closures --- */
106
107 typedef void (*StreamingProtobufs__RRCContainer_Closure)
108                  (const StreamingProtobufs__RRCContainer *message,
109                   void *closure_data);
110 typedef void (*StreamingProtobufs__ULDCCHMessageType_Closure)
111                  (const StreamingProtobufs__ULDCCHMessageType *message,
112                   void *closure_data);
113
114 /* --- services --- */
115
116
117 /* --- descriptors --- */
118
119 extern const ProtobufCMessageDescriptor streaming_protobufs__rrccontainer__descriptor;
120 extern const ProtobufCMessageDescriptor streaming_protobufs__ul__dcch__message_type__descriptor;
121
122 PROTOBUF_C__END_DECLS
123
124
125 #endif  /* PROTOBUF_C_rrc_5fgeneral_5fmessage_5ftypes_2eproto__INCLUDED */