1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: ue_context_release.proto */
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
9 #include "ue_context_release.pb-c.h"
10 void streaming_protobufs__uecontext_release__init
11 (StreamingProtobufs__UEContextRelease *message)
13 static const StreamingProtobufs__UEContextRelease init_value = STREAMING_PROTOBUFS__UECONTEXT_RELEASE__INIT;
14 *message = init_value;
16 size_t streaming_protobufs__uecontext_release__get_packed_size
17 (const StreamingProtobufs__UEContextRelease *message)
19 assert(message->base.descriptor == &streaming_protobufs__uecontext_release__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
22 size_t streaming_protobufs__uecontext_release__pack
23 (const StreamingProtobufs__UEContextRelease *message,
26 assert(message->base.descriptor == &streaming_protobufs__uecontext_release__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
29 size_t streaming_protobufs__uecontext_release__pack_to_buffer
30 (const StreamingProtobufs__UEContextRelease *message,
31 ProtobufCBuffer *buffer)
33 assert(message->base.descriptor == &streaming_protobufs__uecontext_release__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
36 StreamingProtobufs__UEContextRelease *
37 streaming_protobufs__uecontext_release__unpack
38 (ProtobufCAllocator *allocator,
42 return (StreamingProtobufs__UEContextRelease *)
43 protobuf_c_message_unpack (&streaming_protobufs__uecontext_release__descriptor,
44 allocator, len, data);
46 void streaming_protobufs__uecontext_release__free_unpacked
47 (StreamingProtobufs__UEContextRelease *message,
48 ProtobufCAllocator *allocator)
52 assert(message->base.descriptor == &streaming_protobufs__uecontext_release__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
55 static const ProtobufCFieldDescriptor streaming_protobufs__uecontext_release__field_descriptors[6] =
58 "id_Old_eNB_UE_X2AP_ID",
60 PROTOBUF_C_LABEL_NONE,
61 PROTOBUF_C_TYPE_UINT32,
62 0, /* quantifier_offset */
63 offsetof(StreamingProtobufs__UEContextRelease, id_old_enb_ue_x2ap_id),
67 0,NULL,NULL /* reserved1,reserved2, etc */
70 "id_New_eNB_UE_X2AP_ID",
72 PROTOBUF_C_LABEL_NONE,
73 PROTOBUF_C_TYPE_UINT32,
74 0, /* quantifier_offset */
75 offsetof(StreamingProtobufs__UEContextRelease, id_new_enb_ue_x2ap_id),
79 0,NULL,NULL /* reserved1,reserved2, etc */
82 "id_Old_eNB_UE_X2AP_ID_Extension",
84 PROTOBUF_C_LABEL_NONE,
85 PROTOBUF_C_TYPE_MESSAGE,
86 0, /* quantifier_offset */
87 offsetof(StreamingProtobufs__UEContextRelease, id_old_enb_ue_x2ap_id_extension),
88 &google__protobuf__uint32_value__descriptor,
91 0,NULL,NULL /* reserved1,reserved2, etc */
94 "id_New_eNB_UE_X2AP_ID_Extension",
96 PROTOBUF_C_LABEL_NONE,
97 PROTOBUF_C_TYPE_MESSAGE,
98 0, /* quantifier_offset */
99 offsetof(StreamingProtobufs__UEContextRelease, id_new_enb_ue_x2ap_id_extension),
100 &google__protobuf__uint32_value__descriptor,
103 0,NULL,NULL /* reserved1,reserved2, etc */
106 "id_SIPTO_BearerDeactivationIndication",
108 PROTOBUF_C_LABEL_NONE,
109 PROTOBUF_C_TYPE_MESSAGE,
110 0, /* quantifier_offset */
111 offsetof(StreamingProtobufs__UEContextRelease, id_sipto_bearerdeactivationindication),
112 &streaming_protobufs__true_opt__descriptor,
115 0,NULL,NULL /* reserved1,reserved2, etc */
118 "id_SgNB_UE_X2AP_ID",
120 PROTOBUF_C_LABEL_NONE,
121 PROTOBUF_C_TYPE_MESSAGE,
122 0, /* quantifier_offset */
123 offsetof(StreamingProtobufs__UEContextRelease, id_sgnb_ue_x2ap_id),
124 &google__protobuf__uint32_value__descriptor,
127 0,NULL,NULL /* reserved1,reserved2, etc */
130 static const unsigned streaming_protobufs__uecontext_release__field_indices_by_name[] = {
131 1, /* field[1] = id_New_eNB_UE_X2AP_ID */
132 3, /* field[3] = id_New_eNB_UE_X2AP_ID_Extension */
133 0, /* field[0] = id_Old_eNB_UE_X2AP_ID */
134 2, /* field[2] = id_Old_eNB_UE_X2AP_ID_Extension */
135 4, /* field[4] = id_SIPTO_BearerDeactivationIndication */
136 5, /* field[5] = id_SgNB_UE_X2AP_ID */
138 static const ProtobufCIntRange streaming_protobufs__uecontext_release__number_ranges[1 + 1] =
143 const ProtobufCMessageDescriptor streaming_protobufs__uecontext_release__descriptor =
145 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
146 "streaming_protobufs.UEContextRelease",
148 "StreamingProtobufs__UEContextRelease",
149 "streaming_protobufs",
150 sizeof(StreamingProtobufs__UEContextRelease),
152 streaming_protobufs__uecontext_release__field_descriptors,
153 streaming_protobufs__uecontext_release__field_indices_by_name,
154 1, streaming_protobufs__uecontext_release__number_ranges,
155 (ProtobufCMessageInit) streaming_protobufs__uecontext_release__init,
156 NULL,NULL,NULL /* reserved[123] */