1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: gnb_status_indication.proto */
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
9 #include "gnb_status_indication.pb-c.h"
10 void streaming_protobufs__gnbstatus_indication__init
11 (StreamingProtobufs__GNBStatusIndication *message)
13 static const StreamingProtobufs__GNBStatusIndication init_value = STREAMING_PROTOBUFS__GNBSTATUS_INDICATION__INIT;
14 *message = init_value;
16 size_t streaming_protobufs__gnbstatus_indication__get_packed_size
17 (const StreamingProtobufs__GNBStatusIndication *message)
19 assert(message->base.descriptor == &streaming_protobufs__gnbstatus_indication__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
22 size_t streaming_protobufs__gnbstatus_indication__pack
23 (const StreamingProtobufs__GNBStatusIndication *message,
26 assert(message->base.descriptor == &streaming_protobufs__gnbstatus_indication__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
29 size_t streaming_protobufs__gnbstatus_indication__pack_to_buffer
30 (const StreamingProtobufs__GNBStatusIndication *message,
31 ProtobufCBuffer *buffer)
33 assert(message->base.descriptor == &streaming_protobufs__gnbstatus_indication__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
36 StreamingProtobufs__GNBStatusIndication *
37 streaming_protobufs__gnbstatus_indication__unpack
38 (ProtobufCAllocator *allocator,
42 return (StreamingProtobufs__GNBStatusIndication *)
43 protobuf_c_message_unpack (&streaming_protobufs__gnbstatus_indication__descriptor,
44 allocator, len, data);
46 void streaming_protobufs__gnbstatus_indication__free_unpacked
47 (StreamingProtobufs__GNBStatusIndication *message,
48 ProtobufCAllocator *allocator)
52 assert(message->base.descriptor == &streaming_protobufs__gnbstatus_indication__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
55 void streaming_protobufs__gnbstatus_indication_ies__init
56 (StreamingProtobufs__GNBStatusIndicationIEs *message)
58 static const StreamingProtobufs__GNBStatusIndicationIEs init_value = STREAMING_PROTOBUFS__GNBSTATUS_INDICATION_IES__INIT;
59 *message = init_value;
61 size_t streaming_protobufs__gnbstatus_indication_ies__get_packed_size
62 (const StreamingProtobufs__GNBStatusIndicationIEs *message)
64 assert(message->base.descriptor == &streaming_protobufs__gnbstatus_indication_ies__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
67 size_t streaming_protobufs__gnbstatus_indication_ies__pack
68 (const StreamingProtobufs__GNBStatusIndicationIEs *message,
71 assert(message->base.descriptor == &streaming_protobufs__gnbstatus_indication_ies__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
74 size_t streaming_protobufs__gnbstatus_indication_ies__pack_to_buffer
75 (const StreamingProtobufs__GNBStatusIndicationIEs *message,
76 ProtobufCBuffer *buffer)
78 assert(message->base.descriptor == &streaming_protobufs__gnbstatus_indication_ies__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
81 StreamingProtobufs__GNBStatusIndicationIEs *
82 streaming_protobufs__gnbstatus_indication_ies__unpack
83 (ProtobufCAllocator *allocator,
87 return (StreamingProtobufs__GNBStatusIndicationIEs *)
88 protobuf_c_message_unpack (&streaming_protobufs__gnbstatus_indication_ies__descriptor,
89 allocator, len, data);
91 void streaming_protobufs__gnbstatus_indication_ies__free_unpacked
92 (StreamingProtobufs__GNBStatusIndicationIEs *message,
93 ProtobufCAllocator *allocator)
97 assert(message->base.descriptor == &streaming_protobufs__gnbstatus_indication_ies__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
100 static const ProtobufCFieldDescriptor streaming_protobufs__gnbstatus_indication__field_descriptors[1] =
105 PROTOBUF_C_LABEL_NONE,
106 PROTOBUF_C_TYPE_MESSAGE,
107 0, /* quantifier_offset */
108 offsetof(StreamingProtobufs__GNBStatusIndication, protocolies),
109 &streaming_protobufs__gnbstatus_indication_ies__descriptor,
112 0,NULL,NULL /* reserved1,reserved2, etc */
115 static const unsigned streaming_protobufs__gnbstatus_indication__field_indices_by_name[] = {
116 0, /* field[0] = protocolIEs */
118 static const ProtobufCIntRange streaming_protobufs__gnbstatus_indication__number_ranges[1 + 1] =
123 const ProtobufCMessageDescriptor streaming_protobufs__gnbstatus_indication__descriptor =
125 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
126 "streaming_protobufs.GNBStatusIndication",
127 "GNBStatusIndication",
128 "StreamingProtobufs__GNBStatusIndication",
129 "streaming_protobufs",
130 sizeof(StreamingProtobufs__GNBStatusIndication),
132 streaming_protobufs__gnbstatus_indication__field_descriptors,
133 streaming_protobufs__gnbstatus_indication__field_indices_by_name,
134 1, streaming_protobufs__gnbstatus_indication__number_ranges,
135 (ProtobufCMessageInit) streaming_protobufs__gnbstatus_indication__init,
136 NULL,NULL,NULL /* reserved[123] */
138 static const ProtobufCFieldDescriptor streaming_protobufs__gnbstatus_indication_ies__field_descriptors[1] =
141 "id_GNBOverloadInformation",
143 PROTOBUF_C_LABEL_NONE,
144 PROTOBUF_C_TYPE_MESSAGE,
145 0, /* quantifier_offset */
146 offsetof(StreamingProtobufs__GNBStatusIndicationIEs, id_gnboverloadinformation),
147 &streaming_protobufs__gnboverload_information__descriptor,
150 0,NULL,NULL /* reserved1,reserved2, etc */
153 static const unsigned streaming_protobufs__gnbstatus_indication_ies__field_indices_by_name[] = {
154 0, /* field[0] = id_GNBOverloadInformation */
156 static const ProtobufCIntRange streaming_protobufs__gnbstatus_indication_ies__number_ranges[1 + 1] =
161 const ProtobufCMessageDescriptor streaming_protobufs__gnbstatus_indication_ies__descriptor =
163 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
164 "streaming_protobufs.GNBStatusIndicationIEs",
165 "GNBStatusIndicationIEs",
166 "StreamingProtobufs__GNBStatusIndicationIEs",
167 "streaming_protobufs",
168 sizeof(StreamingProtobufs__GNBStatusIndicationIEs),
170 streaming_protobufs__gnbstatus_indication_ies__field_descriptors,
171 streaming_protobufs__gnbstatus_indication_ies__field_indices_by_name,
172 1, streaming_protobufs__gnbstatus_indication_ies__number_ranges,
173 (ProtobufCMessageInit) streaming_protobufs__gnbstatus_indication_ies__init,
174 NULL,NULL,NULL /* reserved[123] */