1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: sgnb_modification_refuse.proto */
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
9 #include "sgnb_modification_refuse.pb-c.h"
10 void uenibstreamprotobuf__sg_nbmodification_refuse__init
11 (Uenibstreamprotobuf__SgNBModificationRefuse *message)
13 static const Uenibstreamprotobuf__SgNBModificationRefuse init_value = UENIBSTREAMPROTOBUF__SG_NBMODIFICATION_REFUSE__INIT;
14 *message = init_value;
16 size_t uenibstreamprotobuf__sg_nbmodification_refuse__get_packed_size
17 (const Uenibstreamprotobuf__SgNBModificationRefuse *message)
19 assert(message->base.descriptor == &uenibstreamprotobuf__sg_nbmodification_refuse__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
22 size_t uenibstreamprotobuf__sg_nbmodification_refuse__pack
23 (const Uenibstreamprotobuf__SgNBModificationRefuse *message,
26 assert(message->base.descriptor == &uenibstreamprotobuf__sg_nbmodification_refuse__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
29 size_t uenibstreamprotobuf__sg_nbmodification_refuse__pack_to_buffer
30 (const Uenibstreamprotobuf__SgNBModificationRefuse *message,
31 ProtobufCBuffer *buffer)
33 assert(message->base.descriptor == &uenibstreamprotobuf__sg_nbmodification_refuse__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
36 Uenibstreamprotobuf__SgNBModificationRefuse *
37 uenibstreamprotobuf__sg_nbmodification_refuse__unpack
38 (ProtobufCAllocator *allocator,
42 return (Uenibstreamprotobuf__SgNBModificationRefuse *)
43 protobuf_c_message_unpack (&uenibstreamprotobuf__sg_nbmodification_refuse__descriptor,
44 allocator, len, data);
46 void uenibstreamprotobuf__sg_nbmodification_refuse__free_unpacked
47 (Uenibstreamprotobuf__SgNBModificationRefuse *message,
48 ProtobufCAllocator *allocator)
52 assert(message->base.descriptor == &uenibstreamprotobuf__sg_nbmodification_refuse__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
55 void uenibstreamprotobuf__sg_nbmodification_refuse__ies__init
56 (Uenibstreamprotobuf__SgNBModificationRefuseIEs *message)
58 static const Uenibstreamprotobuf__SgNBModificationRefuseIEs init_value = UENIBSTREAMPROTOBUF__SG_NBMODIFICATION_REFUSE__IES__INIT;
59 *message = init_value;
61 size_t uenibstreamprotobuf__sg_nbmodification_refuse__ies__get_packed_size
62 (const Uenibstreamprotobuf__SgNBModificationRefuseIEs *message)
64 assert(message->base.descriptor == &uenibstreamprotobuf__sg_nbmodification_refuse__ies__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
67 size_t uenibstreamprotobuf__sg_nbmodification_refuse__ies__pack
68 (const Uenibstreamprotobuf__SgNBModificationRefuseIEs *message,
71 assert(message->base.descriptor == &uenibstreamprotobuf__sg_nbmodification_refuse__ies__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
74 size_t uenibstreamprotobuf__sg_nbmodification_refuse__ies__pack_to_buffer
75 (const Uenibstreamprotobuf__SgNBModificationRefuseIEs *message,
76 ProtobufCBuffer *buffer)
78 assert(message->base.descriptor == &uenibstreamprotobuf__sg_nbmodification_refuse__ies__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
81 Uenibstreamprotobuf__SgNBModificationRefuseIEs *
82 uenibstreamprotobuf__sg_nbmodification_refuse__ies__unpack
83 (ProtobufCAllocator *allocator,
87 return (Uenibstreamprotobuf__SgNBModificationRefuseIEs *)
88 protobuf_c_message_unpack (&uenibstreamprotobuf__sg_nbmodification_refuse__ies__descriptor,
89 allocator, len, data);
91 void uenibstreamprotobuf__sg_nbmodification_refuse__ies__free_unpacked
92 (Uenibstreamprotobuf__SgNBModificationRefuseIEs *message,
93 ProtobufCAllocator *allocator)
97 assert(message->base.descriptor == &uenibstreamprotobuf__sg_nbmodification_refuse__ies__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
100 static const ProtobufCFieldDescriptor uenibstreamprotobuf__sg_nbmodification_refuse__field_descriptors[1] =
105 PROTOBUF_C_LABEL_NONE,
106 PROTOBUF_C_TYPE_MESSAGE,
107 0, /* quantifier_offset */
108 offsetof(Uenibstreamprotobuf__SgNBModificationRefuse, protocolies),
109 &uenibstreamprotobuf__sg_nbmodification_refuse__ies__descriptor,
112 0,NULL,NULL /* reserved1,reserved2, etc */
115 static const unsigned uenibstreamprotobuf__sg_nbmodification_refuse__field_indices_by_name[] = {
116 0, /* field[0] = protocolIEs */
118 static const ProtobufCIntRange uenibstreamprotobuf__sg_nbmodification_refuse__number_ranges[1 + 1] =
123 const ProtobufCMessageDescriptor uenibstreamprotobuf__sg_nbmodification_refuse__descriptor =
125 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
126 "uenibstreamprotobuf.SgNBModificationRefuse",
127 "SgNBModificationRefuse",
128 "Uenibstreamprotobuf__SgNBModificationRefuse",
129 "uenibstreamprotobuf",
130 sizeof(Uenibstreamprotobuf__SgNBModificationRefuse),
132 uenibstreamprotobuf__sg_nbmodification_refuse__field_descriptors,
133 uenibstreamprotobuf__sg_nbmodification_refuse__field_indices_by_name,
134 1, uenibstreamprotobuf__sg_nbmodification_refuse__number_ranges,
135 (ProtobufCMessageInit) uenibstreamprotobuf__sg_nbmodification_refuse__init,
136 NULL,NULL,NULL /* reserved[123] */
138 static const ProtobufCFieldDescriptor uenibstreamprotobuf__sg_nbmodification_refuse__ies__field_descriptors[6] =
141 "id_MeNB_UE_X2AP_ID",
143 PROTOBUF_C_LABEL_NONE,
144 PROTOBUF_C_TYPE_UINT32,
145 0, /* quantifier_offset */
146 offsetof(Uenibstreamprotobuf__SgNBModificationRefuseIEs, id_menb_ue_x2ap_id),
150 0,NULL,NULL /* reserved1,reserved2, etc */
153 "id_SgNB_UE_X2AP_ID",
155 PROTOBUF_C_LABEL_NONE,
156 PROTOBUF_C_TYPE_UINT32,
157 0, /* quantifier_offset */
158 offsetof(Uenibstreamprotobuf__SgNBModificationRefuseIEs, id_sgnb_ue_x2ap_id),
162 0,NULL,NULL /* reserved1,reserved2, etc */
167 PROTOBUF_C_LABEL_NONE,
168 PROTOBUF_C_TYPE_MESSAGE,
169 0, /* quantifier_offset */
170 offsetof(Uenibstreamprotobuf__SgNBModificationRefuseIEs, id_cause),
171 &uenibstreamprotobuf__cause__descriptor,
174 0,NULL,NULL /* reserved1,reserved2, etc */
177 "id_MeNBtoSgNBContainer",
179 PROTOBUF_C_LABEL_NONE,
180 PROTOBUF_C_TYPE_MESSAGE,
181 0, /* quantifier_offset */
182 offsetof(Uenibstreamprotobuf__SgNBModificationRefuseIEs, id_menbtosgnbcontainer),
183 &uenibstreamprotobuf__cg__config_info__descriptor,
186 0,NULL,NULL /* reserved1,reserved2, etc */
189 "id_CriticalityDiagnostics",
191 PROTOBUF_C_LABEL_NONE,
192 PROTOBUF_C_TYPE_MESSAGE,
193 0, /* quantifier_offset */
194 offsetof(Uenibstreamprotobuf__SgNBModificationRefuseIEs, id_criticalitydiagnostics),
195 &uenibstreamprotobuf__criticality_diagnostics__descriptor,
198 0,NULL,NULL /* reserved1,reserved2, etc */
201 "id_MeNB_UE_X2AP_ID_Extension",
203 PROTOBUF_C_LABEL_NONE,
204 PROTOBUF_C_TYPE_MESSAGE,
205 0, /* quantifier_offset */
206 offsetof(Uenibstreamprotobuf__SgNBModificationRefuseIEs, id_menb_ue_x2ap_id_extension),
207 &google__protobuf__uint32_value__descriptor,
210 0,NULL,NULL /* reserved1,reserved2, etc */
213 static const unsigned uenibstreamprotobuf__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 */
221 static const ProtobufCIntRange uenibstreamprotobuf__sg_nbmodification_refuse__ies__number_ranges[1 + 1] =
226 const ProtobufCMessageDescriptor uenibstreamprotobuf__sg_nbmodification_refuse__ies__descriptor =
228 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
229 "uenibstreamprotobuf.SgNBModificationRefuse_IEs",
230 "SgNBModificationRefuseIEs",
231 "Uenibstreamprotobuf__SgNBModificationRefuseIEs",
232 "uenibstreamprotobuf",
233 sizeof(Uenibstreamprotobuf__SgNBModificationRefuseIEs),
235 uenibstreamprotobuf__sg_nbmodification_refuse__ies__field_descriptors,
236 uenibstreamprotobuf__sg_nbmodification_refuse__ies__field_indices_by_name,
237 1, uenibstreamprotobuf__sg_nbmodification_refuse__ies__number_ranges,
238 (ProtobufCMessageInit) uenibstreamprotobuf__sg_nbmodification_refuse__ies__init,
239 NULL,NULL,NULL /* reserved[123] */