Change RMR version to 4.0.5, start listener in background mode at container startup
[ric-app/mc.git] / mc-core / mc / local_datasource / sgnb_modification_refuse.pb-c.c
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: sgnb_modification_refuse.proto */
3
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
7 #endif
8
9 #include "sgnb_modification_refuse.pb-c.h"
10 void   streaming_protobufs__sg_nbmodification_refuse__init
11                      (StreamingProtobufs__SgNBModificationRefuse         *message)
12 {
13   static const StreamingProtobufs__SgNBModificationRefuse init_value = STREAMING_PROTOBUFS__SG_NBMODIFICATION_REFUSE__INIT;
14   *message = init_value;
15 }
16 size_t streaming_protobufs__sg_nbmodification_refuse__get_packed_size
17                      (const StreamingProtobufs__SgNBModificationRefuse *message)
18 {
19   assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_refuse__descriptor);
20   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
21 }
22 size_t streaming_protobufs__sg_nbmodification_refuse__pack
23                      (const StreamingProtobufs__SgNBModificationRefuse *message,
24                       uint8_t       *out)
25 {
26   assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_refuse__descriptor);
27   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
28 }
29 size_t streaming_protobufs__sg_nbmodification_refuse__pack_to_buffer
30                      (const StreamingProtobufs__SgNBModificationRefuse *message,
31                       ProtobufCBuffer *buffer)
32 {
33   assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_refuse__descriptor);
34   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
35 }
36 StreamingProtobufs__SgNBModificationRefuse *
37        streaming_protobufs__sg_nbmodification_refuse__unpack
38                      (ProtobufCAllocator  *allocator,
39                       size_t               len,
40                       const uint8_t       *data)
41 {
42   return (StreamingProtobufs__SgNBModificationRefuse *)
43      protobuf_c_message_unpack (&streaming_protobufs__sg_nbmodification_refuse__descriptor,
44                                 allocator, len, data);
45 }
46 void   streaming_protobufs__sg_nbmodification_refuse__free_unpacked
47                      (StreamingProtobufs__SgNBModificationRefuse *message,
48                       ProtobufCAllocator *allocator)
49 {
50   if(!message)
51     return;
52   assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_refuse__descriptor);
53   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
54 }
55 void   streaming_protobufs__sg_nbmodification_refuse__ies__init
56                      (StreamingProtobufs__SgNBModificationRefuseIEs         *message)
57 {
58   static const StreamingProtobufs__SgNBModificationRefuseIEs init_value = STREAMING_PROTOBUFS__SG_NBMODIFICATION_REFUSE__IES__INIT;
59   *message = init_value;
60 }
61 size_t streaming_protobufs__sg_nbmodification_refuse__ies__get_packed_size
62                      (const StreamingProtobufs__SgNBModificationRefuseIEs *message)
63 {
64   assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_refuse__ies__descriptor);
65   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
66 }
67 size_t streaming_protobufs__sg_nbmodification_refuse__ies__pack
68                      (const StreamingProtobufs__SgNBModificationRefuseIEs *message,
69                       uint8_t       *out)
70 {
71   assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_refuse__ies__descriptor);
72   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
73 }
74 size_t streaming_protobufs__sg_nbmodification_refuse__ies__pack_to_buffer
75                      (const StreamingProtobufs__SgNBModificationRefuseIEs *message,
76                       ProtobufCBuffer *buffer)
77 {
78   assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_refuse__ies__descriptor);
79   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
80 }
81 StreamingProtobufs__SgNBModificationRefuseIEs *
82        streaming_protobufs__sg_nbmodification_refuse__ies__unpack
83                      (ProtobufCAllocator  *allocator,
84                       size_t               len,
85                       const uint8_t       *data)
86 {
87   return (StreamingProtobufs__SgNBModificationRefuseIEs *)
88      protobuf_c_message_unpack (&streaming_protobufs__sg_nbmodification_refuse__ies__descriptor,
89                                 allocator, len, data);
90 }
91 void   streaming_protobufs__sg_nbmodification_refuse__ies__free_unpacked
92                      (StreamingProtobufs__SgNBModificationRefuseIEs *message,
93                       ProtobufCAllocator *allocator)
94 {
95   if(!message)
96     return;
97   assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_refuse__ies__descriptor);
98   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
99 }
100 static const ProtobufCFieldDescriptor streaming_protobufs__sg_nbmodification_refuse__field_descriptors[1] =
101 {
102   {
103     "protocolIEs",
104     1,
105     PROTOBUF_C_LABEL_NONE,
106     PROTOBUF_C_TYPE_MESSAGE,
107     0,   /* quantifier_offset */
108     offsetof(StreamingProtobufs__SgNBModificationRefuse, protocolies),
109     &streaming_protobufs__sg_nbmodification_refuse__ies__descriptor,
110     NULL,
111     0,             /* flags */
112     0,NULL,NULL    /* reserved1,reserved2, etc */
113   },
114 };
115 static const unsigned streaming_protobufs__sg_nbmodification_refuse__field_indices_by_name[] = {
116   0,   /* field[0] = protocolIEs */
117 };
118 static const ProtobufCIntRange streaming_protobufs__sg_nbmodification_refuse__number_ranges[1 + 1] =
119 {
120   { 1, 0 },
121   { 0, 1 }
122 };
123 const ProtobufCMessageDescriptor streaming_protobufs__sg_nbmodification_refuse__descriptor =
124 {
125   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
126   "streaming_protobufs.SgNBModificationRefuse",
127   "SgNBModificationRefuse",
128   "StreamingProtobufs__SgNBModificationRefuse",
129   "streaming_protobufs",
130   sizeof(StreamingProtobufs__SgNBModificationRefuse),
131   1,
132   streaming_protobufs__sg_nbmodification_refuse__field_descriptors,
133   streaming_protobufs__sg_nbmodification_refuse__field_indices_by_name,
134   1,  streaming_protobufs__sg_nbmodification_refuse__number_ranges,
135   (ProtobufCMessageInit) streaming_protobufs__sg_nbmodification_refuse__init,
136   NULL,NULL,NULL    /* reserved[123] */
137 };
138 static const ProtobufCFieldDescriptor streaming_protobufs__sg_nbmodification_refuse__ies__field_descriptors[6] =
139 {
140   {
141     "id_MeNB_UE_X2AP_ID",
142     1,
143     PROTOBUF_C_LABEL_NONE,
144     PROTOBUF_C_TYPE_UINT32,
145     0,   /* quantifier_offset */
146     offsetof(StreamingProtobufs__SgNBModificationRefuseIEs, id_menb_ue_x2ap_id),
147     NULL,
148     NULL,
149     0,             /* flags */
150     0,NULL,NULL    /* reserved1,reserved2, etc */
151   },
152   {
153     "id_SgNB_UE_X2AP_ID",
154     2,
155     PROTOBUF_C_LABEL_NONE,
156     PROTOBUF_C_TYPE_UINT32,
157     0,   /* quantifier_offset */
158     offsetof(StreamingProtobufs__SgNBModificationRefuseIEs, id_sgnb_ue_x2ap_id),
159     NULL,
160     NULL,
161     0,             /* flags */
162     0,NULL,NULL    /* reserved1,reserved2, etc */
163   },
164   {
165     "id_Cause",
166     3,
167     PROTOBUF_C_LABEL_NONE,
168     PROTOBUF_C_TYPE_MESSAGE,
169     0,   /* quantifier_offset */
170     offsetof(StreamingProtobufs__SgNBModificationRefuseIEs, id_cause),
171     &streaming_protobufs__cause__descriptor,
172     NULL,
173     0,             /* flags */
174     0,NULL,NULL    /* reserved1,reserved2, etc */
175   },
176   {
177     "id_MeNBtoSgNBContainer",
178     4,
179     PROTOBUF_C_LABEL_NONE,
180     PROTOBUF_C_TYPE_MESSAGE,
181     0,   /* quantifier_offset */
182     offsetof(StreamingProtobufs__SgNBModificationRefuseIEs, id_menbtosgnbcontainer),
183     &streaming_protobufs__cg__config_info__descriptor,
184     NULL,
185     0,             /* flags */
186     0,NULL,NULL    /* reserved1,reserved2, etc */
187   },
188   {
189     "id_CriticalityDiagnostics",
190     5,
191     PROTOBUF_C_LABEL_NONE,
192     PROTOBUF_C_TYPE_MESSAGE,
193     0,   /* quantifier_offset */
194     offsetof(StreamingProtobufs__SgNBModificationRefuseIEs, id_criticalitydiagnostics),
195     &streaming_protobufs__criticality_diagnostics__descriptor,
196     NULL,
197     0,             /* flags */
198     0,NULL,NULL    /* reserved1,reserved2, etc */
199   },
200   {
201     "id_MeNB_UE_X2AP_ID_Extension",
202     6,
203     PROTOBUF_C_LABEL_NONE,
204     PROTOBUF_C_TYPE_MESSAGE,
205     0,   /* quantifier_offset */
206     offsetof(StreamingProtobufs__SgNBModificationRefuseIEs, id_menb_ue_x2ap_id_extension),
207     &google__protobuf__uint32_value__descriptor,
208     NULL,
209     0,             /* flags */
210     0,NULL,NULL    /* reserved1,reserved2, etc */
211   },
212 };
213 static const unsigned streaming_protobufs__sg_nbmodification_refuse__ies__field_indices_by_name[] = {
214   2,   /* field[2] = id_Cause */
215   4,   /* field[4] = id_CriticalityDiagnostics */
216   0,   /* field[0] = id_MeNB_UE_X2AP_ID */
217   5,   /* field[5] = id_MeNB_UE_X2AP_ID_Extension */
218   3,   /* field[3] = id_MeNBtoSgNBContainer */
219   1,   /* field[1] = id_SgNB_UE_X2AP_ID */
220 };
221 static const ProtobufCIntRange streaming_protobufs__sg_nbmodification_refuse__ies__number_ranges[1 + 1] =
222 {
223   { 1, 0 },
224   { 0, 6 }
225 };
226 const ProtobufCMessageDescriptor streaming_protobufs__sg_nbmodification_refuse__ies__descriptor =
227 {
228   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
229   "streaming_protobufs.SgNBModificationRefuse_IEs",
230   "SgNBModificationRefuseIEs",
231   "StreamingProtobufs__SgNBModificationRefuseIEs",
232   "streaming_protobufs",
233   sizeof(StreamingProtobufs__SgNBModificationRefuseIEs),
234   6,
235   streaming_protobufs__sg_nbmodification_refuse__ies__field_descriptors,
236   streaming_protobufs__sg_nbmodification_refuse__ies__field_indices_by_name,
237   1,  streaming_protobufs__sg_nbmodification_refuse__ies__number_ranges,
238   (ProtobufCMessageInit) streaming_protobufs__sg_nbmodification_refuse__ies__init,
239   NULL,NULL,NULL    /* reserved[123] */
240 };