1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: sgnb_modification_request_reject.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_request_reject.pb-c.h"
10 void streaming_protobufs__sg_nbmodification_request_reject__init
11 (StreamingProtobufs__SgNBModificationRequestReject *message)
13 static const StreamingProtobufs__SgNBModificationRequestReject init_value = STREAMING_PROTOBUFS__SG_NBMODIFICATION_REQUEST_REJECT__INIT;
14 *message = init_value;
16 size_t streaming_protobufs__sg_nbmodification_request_reject__get_packed_size
17 (const StreamingProtobufs__SgNBModificationRequestReject *message)
19 assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_request_reject__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
22 size_t streaming_protobufs__sg_nbmodification_request_reject__pack
23 (const StreamingProtobufs__SgNBModificationRequestReject *message,
26 assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_request_reject__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
29 size_t streaming_protobufs__sg_nbmodification_request_reject__pack_to_buffer
30 (const StreamingProtobufs__SgNBModificationRequestReject *message,
31 ProtobufCBuffer *buffer)
33 assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_request_reject__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
36 StreamingProtobufs__SgNBModificationRequestReject *
37 streaming_protobufs__sg_nbmodification_request_reject__unpack
38 (ProtobufCAllocator *allocator,
42 return (StreamingProtobufs__SgNBModificationRequestReject *)
43 protobuf_c_message_unpack (&streaming_protobufs__sg_nbmodification_request_reject__descriptor,
44 allocator, len, data);
46 void streaming_protobufs__sg_nbmodification_request_reject__free_unpacked
47 (StreamingProtobufs__SgNBModificationRequestReject *message,
48 ProtobufCAllocator *allocator)
52 assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_request_reject__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
55 void streaming_protobufs__sg_nbmodification_request_reject__ies__init
56 (StreamingProtobufs__SgNBModificationRequestRejectIEs *message)
58 static const StreamingProtobufs__SgNBModificationRequestRejectIEs init_value = STREAMING_PROTOBUFS__SG_NBMODIFICATION_REQUEST_REJECT__IES__INIT;
59 *message = init_value;
61 size_t streaming_protobufs__sg_nbmodification_request_reject__ies__get_packed_size
62 (const StreamingProtobufs__SgNBModificationRequestRejectIEs *message)
64 assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_request_reject__ies__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
67 size_t streaming_protobufs__sg_nbmodification_request_reject__ies__pack
68 (const StreamingProtobufs__SgNBModificationRequestRejectIEs *message,
71 assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_request_reject__ies__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
74 size_t streaming_protobufs__sg_nbmodification_request_reject__ies__pack_to_buffer
75 (const StreamingProtobufs__SgNBModificationRequestRejectIEs *message,
76 ProtobufCBuffer *buffer)
78 assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_request_reject__ies__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
81 StreamingProtobufs__SgNBModificationRequestRejectIEs *
82 streaming_protobufs__sg_nbmodification_request_reject__ies__unpack
83 (ProtobufCAllocator *allocator,
87 return (StreamingProtobufs__SgNBModificationRequestRejectIEs *)
88 protobuf_c_message_unpack (&streaming_protobufs__sg_nbmodification_request_reject__ies__descriptor,
89 allocator, len, data);
91 void streaming_protobufs__sg_nbmodification_request_reject__ies__free_unpacked
92 (StreamingProtobufs__SgNBModificationRequestRejectIEs *message,
93 ProtobufCAllocator *allocator)
97 assert(message->base.descriptor == &streaming_protobufs__sg_nbmodification_request_reject__ies__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
100 static const ProtobufCFieldDescriptor streaming_protobufs__sg_nbmodification_request_reject__field_descriptors[1] =
105 PROTOBUF_C_LABEL_NONE,
106 PROTOBUF_C_TYPE_MESSAGE,
107 0, /* quantifier_offset */
108 offsetof(StreamingProtobufs__SgNBModificationRequestReject, protocolies),
109 &streaming_protobufs__sg_nbmodification_request_reject__ies__descriptor,
112 0,NULL,NULL /* reserved1,reserved2, etc */
115 static const unsigned streaming_protobufs__sg_nbmodification_request_reject__field_indices_by_name[] = {
116 0, /* field[0] = protocolIEs */
118 static const ProtobufCIntRange streaming_protobufs__sg_nbmodification_request_reject__number_ranges[1 + 1] =
123 const ProtobufCMessageDescriptor streaming_protobufs__sg_nbmodification_request_reject__descriptor =
125 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
126 "streaming_protobufs.SgNBModificationRequestReject",
127 "SgNBModificationRequestReject",
128 "StreamingProtobufs__SgNBModificationRequestReject",
129 "streaming_protobufs",
130 sizeof(StreamingProtobufs__SgNBModificationRequestReject),
132 streaming_protobufs__sg_nbmodification_request_reject__field_descriptors,
133 streaming_protobufs__sg_nbmodification_request_reject__field_indices_by_name,
134 1, streaming_protobufs__sg_nbmodification_request_reject__number_ranges,
135 (ProtobufCMessageInit) streaming_protobufs__sg_nbmodification_request_reject__init,
136 NULL,NULL,NULL /* reserved[123] */
138 static const ProtobufCFieldDescriptor streaming_protobufs__sg_nbmodification_request_reject__ies__field_descriptors[5] =
141 "id_MeNB_UE_X2AP_ID",
143 PROTOBUF_C_LABEL_NONE,
144 PROTOBUF_C_TYPE_UINT32,
145 0, /* quantifier_offset */
146 offsetof(StreamingProtobufs__SgNBModificationRequestRejectIEs, 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(StreamingProtobufs__SgNBModificationRequestRejectIEs, 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(StreamingProtobufs__SgNBModificationRequestRejectIEs, id_cause),
171 &streaming_protobufs__cause__descriptor,
174 0,NULL,NULL /* reserved1,reserved2, etc */
177 "id_CriticalityDiagnostics",
179 PROTOBUF_C_LABEL_NONE,
180 PROTOBUF_C_TYPE_MESSAGE,
181 0, /* quantifier_offset */
182 offsetof(StreamingProtobufs__SgNBModificationRequestRejectIEs, id_criticalitydiagnostics),
183 &streaming_protobufs__criticality_diagnostics__descriptor,
186 0,NULL,NULL /* reserved1,reserved2, etc */
189 "id_MeNB_UE_X2AP_ID_Extension",
191 PROTOBUF_C_LABEL_NONE,
192 PROTOBUF_C_TYPE_MESSAGE,
193 0, /* quantifier_offset */
194 offsetof(StreamingProtobufs__SgNBModificationRequestRejectIEs, id_menb_ue_x2ap_id_extension),
195 &google__protobuf__uint32_value__descriptor,
198 0,NULL,NULL /* reserved1,reserved2, etc */
201 static const unsigned streaming_protobufs__sg_nbmodification_request_reject__ies__field_indices_by_name[] = {
202 2, /* field[2] = id_Cause */
203 3, /* field[3] = id_CriticalityDiagnostics */
204 0, /* field[0] = id_MeNB_UE_X2AP_ID */
205 4, /* field[4] = id_MeNB_UE_X2AP_ID_Extension */
206 1, /* field[1] = id_SgNB_UE_X2AP_ID */
208 static const ProtobufCIntRange streaming_protobufs__sg_nbmodification_request_reject__ies__number_ranges[1 + 1] =
213 const ProtobufCMessageDescriptor streaming_protobufs__sg_nbmodification_request_reject__ies__descriptor =
215 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
216 "streaming_protobufs.SgNBModificationRequestReject_IEs",
217 "SgNBModificationRequestRejectIEs",
218 "StreamingProtobufs__SgNBModificationRequestRejectIEs",
219 "streaming_protobufs",
220 sizeof(StreamingProtobufs__SgNBModificationRequestRejectIEs),
222 streaming_protobufs__sg_nbmodification_request_reject__ies__field_descriptors,
223 streaming_protobufs__sg_nbmodification_request_reject__ies__field_indices_by_name,
224 1, streaming_protobufs__sg_nbmodification_request_reject__ies__number_ranges,
225 (ProtobufCMessageInit) streaming_protobufs__sg_nbmodification_request_reject__ies__init,
226 NULL,NULL,NULL /* reserved[123] */