Adding MC-NIB support
[ric-app/mc.git] / mc-core / mc / local_datasource / ue_context_release.pb-c.c
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: ue_context_release.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 "ue_context_release.pb-c.h"
10 void   uenibstreamprotobuf__uecontext_release__init
11                      (Uenibstreamprotobuf__UEContextRelease         *message)
12 {
13   static const Uenibstreamprotobuf__UEContextRelease init_value = UENIBSTREAMPROTOBUF__UECONTEXT_RELEASE__INIT;
14   *message = init_value;
15 }
16 size_t uenibstreamprotobuf__uecontext_release__get_packed_size
17                      (const Uenibstreamprotobuf__UEContextRelease *message)
18 {
19   assert(message->base.descriptor == &uenibstreamprotobuf__uecontext_release__descriptor);
20   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
21 }
22 size_t uenibstreamprotobuf__uecontext_release__pack
23                      (const Uenibstreamprotobuf__UEContextRelease *message,
24                       uint8_t       *out)
25 {
26   assert(message->base.descriptor == &uenibstreamprotobuf__uecontext_release__descriptor);
27   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
28 }
29 size_t uenibstreamprotobuf__uecontext_release__pack_to_buffer
30                      (const Uenibstreamprotobuf__UEContextRelease *message,
31                       ProtobufCBuffer *buffer)
32 {
33   assert(message->base.descriptor == &uenibstreamprotobuf__uecontext_release__descriptor);
34   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
35 }
36 Uenibstreamprotobuf__UEContextRelease *
37        uenibstreamprotobuf__uecontext_release__unpack
38                      (ProtobufCAllocator  *allocator,
39                       size_t               len,
40                       const uint8_t       *data)
41 {
42   return (Uenibstreamprotobuf__UEContextRelease *)
43      protobuf_c_message_unpack (&uenibstreamprotobuf__uecontext_release__descriptor,
44                                 allocator, len, data);
45 }
46 void   uenibstreamprotobuf__uecontext_release__free_unpacked
47                      (Uenibstreamprotobuf__UEContextRelease *message,
48                       ProtobufCAllocator *allocator)
49 {
50   if(!message)
51     return;
52   assert(message->base.descriptor == &uenibstreamprotobuf__uecontext_release__descriptor);
53   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
54 }
55 static const ProtobufCFieldDescriptor uenibstreamprotobuf__uecontext_release__field_descriptors[6] =
56 {
57   {
58     "id_Old_eNB_UE_X2AP_ID",
59     1,
60     PROTOBUF_C_LABEL_NONE,
61     PROTOBUF_C_TYPE_UINT32,
62     0,   /* quantifier_offset */
63     offsetof(Uenibstreamprotobuf__UEContextRelease, id_old_enb_ue_x2ap_id),
64     NULL,
65     NULL,
66     0,             /* flags */
67     0,NULL,NULL    /* reserved1,reserved2, etc */
68   },
69   {
70     "id_New_eNB_UE_X2AP_ID",
71     2,
72     PROTOBUF_C_LABEL_NONE,
73     PROTOBUF_C_TYPE_UINT32,
74     0,   /* quantifier_offset */
75     offsetof(Uenibstreamprotobuf__UEContextRelease, id_new_enb_ue_x2ap_id),
76     NULL,
77     NULL,
78     0,             /* flags */
79     0,NULL,NULL    /* reserved1,reserved2, etc */
80   },
81   {
82     "id_Old_eNB_UE_X2AP_ID_Extension",
83     3,
84     PROTOBUF_C_LABEL_NONE,
85     PROTOBUF_C_TYPE_MESSAGE,
86     0,   /* quantifier_offset */
87     offsetof(Uenibstreamprotobuf__UEContextRelease, id_old_enb_ue_x2ap_id_extension),
88     &google__protobuf__uint32_value__descriptor,
89     NULL,
90     0,             /* flags */
91     0,NULL,NULL    /* reserved1,reserved2, etc */
92   },
93   {
94     "id_New_eNB_UE_X2AP_ID_Extension",
95     4,
96     PROTOBUF_C_LABEL_NONE,
97     PROTOBUF_C_TYPE_MESSAGE,
98     0,   /* quantifier_offset */
99     offsetof(Uenibstreamprotobuf__UEContextRelease, id_new_enb_ue_x2ap_id_extension),
100     &google__protobuf__uint32_value__descriptor,
101     NULL,
102     0,             /* flags */
103     0,NULL,NULL    /* reserved1,reserved2, etc */
104   },
105   {
106     "id_SIPTO_BearerDeactivationIndication",
107     5,
108     PROTOBUF_C_LABEL_NONE,
109     PROTOBUF_C_TYPE_MESSAGE,
110     0,   /* quantifier_offset */
111     offsetof(Uenibstreamprotobuf__UEContextRelease, id_sipto_bearerdeactivationindication),
112     &uenibstreamprotobuf__true_opt__descriptor,
113     NULL,
114     0,             /* flags */
115     0,NULL,NULL    /* reserved1,reserved2, etc */
116   },
117   {
118     "id_SgNB_UE_X2AP_ID",
119     6,
120     PROTOBUF_C_LABEL_NONE,
121     PROTOBUF_C_TYPE_MESSAGE,
122     0,   /* quantifier_offset */
123     offsetof(Uenibstreamprotobuf__UEContextRelease, id_sgnb_ue_x2ap_id),
124     &google__protobuf__uint32_value__descriptor,
125     NULL,
126     0,             /* flags */
127     0,NULL,NULL    /* reserved1,reserved2, etc */
128   },
129 };
130 static const unsigned uenibstreamprotobuf__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 */
137 };
138 static const ProtobufCIntRange uenibstreamprotobuf__uecontext_release__number_ranges[1 + 1] =
139 {
140   { 1, 0 },
141   { 0, 6 }
142 };
143 const ProtobufCMessageDescriptor uenibstreamprotobuf__uecontext_release__descriptor =
144 {
145   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
146   "uenibstreamprotobuf.UEContextRelease",
147   "UEContextRelease",
148   "Uenibstreamprotobuf__UEContextRelease",
149   "uenibstreamprotobuf",
150   sizeof(Uenibstreamprotobuf__UEContextRelease),
151   6,
152   uenibstreamprotobuf__uecontext_release__field_descriptors,
153   uenibstreamprotobuf__uecontext_release__field_indices_by_name,
154   1,  uenibstreamprotobuf__uecontext_release__number_ranges,
155   (ProtobufCMessageInit) uenibstreamprotobuf__uecontext_release__init,
156   NULL,NULL,NULL    /* reserved[123] */
157 };