/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: ue_context_release.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "ue_context_release.pb-c.h" void uenibstreamprotobuf__uecontext_release__init (Uenibstreamprotobuf__UEContextRelease *message) { static const Uenibstreamprotobuf__UEContextRelease init_value = UENIBSTREAMPROTOBUF__UECONTEXT_RELEASE__INIT; *message = init_value; } size_t uenibstreamprotobuf__uecontext_release__get_packed_size (const Uenibstreamprotobuf__UEContextRelease *message) { assert(message->base.descriptor == &uenibstreamprotobuf__uecontext_release__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t uenibstreamprotobuf__uecontext_release__pack (const Uenibstreamprotobuf__UEContextRelease *message, uint8_t *out) { assert(message->base.descriptor == &uenibstreamprotobuf__uecontext_release__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t uenibstreamprotobuf__uecontext_release__pack_to_buffer (const Uenibstreamprotobuf__UEContextRelease *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &uenibstreamprotobuf__uecontext_release__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } Uenibstreamprotobuf__UEContextRelease * uenibstreamprotobuf__uecontext_release__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (Uenibstreamprotobuf__UEContextRelease *) protobuf_c_message_unpack (&uenibstreamprotobuf__uecontext_release__descriptor, allocator, len, data); } void uenibstreamprotobuf__uecontext_release__free_unpacked (Uenibstreamprotobuf__UEContextRelease *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &uenibstreamprotobuf__uecontext_release__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } static const ProtobufCFieldDescriptor uenibstreamprotobuf__uecontext_release__field_descriptors[6] = { { "id_Old_eNB_UE_X2AP_ID", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ offsetof(Uenibstreamprotobuf__UEContextRelease, id_old_enb_ue_x2ap_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "id_New_eNB_UE_X2AP_ID", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ offsetof(Uenibstreamprotobuf__UEContextRelease, id_new_enb_ue_x2ap_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "id_Old_eNB_UE_X2AP_ID_Extension", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(Uenibstreamprotobuf__UEContextRelease, id_old_enb_ue_x2ap_id_extension), &google__protobuf__uint32_value__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "id_New_eNB_UE_X2AP_ID_Extension", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(Uenibstreamprotobuf__UEContextRelease, id_new_enb_ue_x2ap_id_extension), &google__protobuf__uint32_value__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "id_SIPTO_BearerDeactivationIndication", 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(Uenibstreamprotobuf__UEContextRelease, id_sipto_bearerdeactivationindication), &uenibstreamprotobuf__true_opt__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "id_SgNB_UE_X2AP_ID", 6, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(Uenibstreamprotobuf__UEContextRelease, id_sgnb_ue_x2ap_id), &google__protobuf__uint32_value__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned uenibstreamprotobuf__uecontext_release__field_indices_by_name[] = { 1, /* field[1] = id_New_eNB_UE_X2AP_ID */ 3, /* field[3] = id_New_eNB_UE_X2AP_ID_Extension */ 0, /* field[0] = id_Old_eNB_UE_X2AP_ID */ 2, /* field[2] = id_Old_eNB_UE_X2AP_ID_Extension */ 4, /* field[4] = id_SIPTO_BearerDeactivationIndication */ 5, /* field[5] = id_SgNB_UE_X2AP_ID */ }; static const ProtobufCIntRange uenibstreamprotobuf__uecontext_release__number_ranges[1 + 1] = { { 1, 0 }, { 0, 6 } }; const ProtobufCMessageDescriptor uenibstreamprotobuf__uecontext_release__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "uenibstreamprotobuf.UEContextRelease", "UEContextRelease", "Uenibstreamprotobuf__UEContextRelease", "uenibstreamprotobuf", sizeof(Uenibstreamprotobuf__UEContextRelease), 6, uenibstreamprotobuf__uecontext_release__field_descriptors, uenibstreamprotobuf__uecontext_release__field_indices_by_name, 1, uenibstreamprotobuf__uecontext_release__number_ranges, (ProtobufCMessageInit) uenibstreamprotobuf__uecontext_release__init, NULL,NULL,NULL /* reserved[123] */ };