1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: rrc_general_message_types.proto */
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
9 #include "rrc_general_message_types.pb-c.h"
10 void uenibstreamprotobuf__rrccontainer__init
11 (Uenibstreamprotobuf__RRCContainer *message)
13 static const Uenibstreamprotobuf__RRCContainer init_value = UENIBSTREAMPROTOBUF__RRCCONTAINER__INIT;
14 *message = init_value;
16 size_t uenibstreamprotobuf__rrccontainer__get_packed_size
17 (const Uenibstreamprotobuf__RRCContainer *message)
19 assert(message->base.descriptor == &uenibstreamprotobuf__rrccontainer__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
22 size_t uenibstreamprotobuf__rrccontainer__pack
23 (const Uenibstreamprotobuf__RRCContainer *message,
26 assert(message->base.descriptor == &uenibstreamprotobuf__rrccontainer__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
29 size_t uenibstreamprotobuf__rrccontainer__pack_to_buffer
30 (const Uenibstreamprotobuf__RRCContainer *message,
31 ProtobufCBuffer *buffer)
33 assert(message->base.descriptor == &uenibstreamprotobuf__rrccontainer__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
36 Uenibstreamprotobuf__RRCContainer *
37 uenibstreamprotobuf__rrccontainer__unpack
38 (ProtobufCAllocator *allocator,
42 return (Uenibstreamprotobuf__RRCContainer *)
43 protobuf_c_message_unpack (&uenibstreamprotobuf__rrccontainer__descriptor,
44 allocator, len, data);
46 void uenibstreamprotobuf__rrccontainer__free_unpacked
47 (Uenibstreamprotobuf__RRCContainer *message,
48 ProtobufCAllocator *allocator)
52 assert(message->base.descriptor == &uenibstreamprotobuf__rrccontainer__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
55 void uenibstreamprotobuf__ul__dcch__message_type__init
56 (Uenibstreamprotobuf__ULDCCHMessageType *message)
58 static const Uenibstreamprotobuf__ULDCCHMessageType init_value = UENIBSTREAMPROTOBUF__UL__DCCH__MESSAGE_TYPE__INIT;
59 *message = init_value;
61 size_t uenibstreamprotobuf__ul__dcch__message_type__get_packed_size
62 (const Uenibstreamprotobuf__ULDCCHMessageType *message)
64 assert(message->base.descriptor == &uenibstreamprotobuf__ul__dcch__message_type__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
67 size_t uenibstreamprotobuf__ul__dcch__message_type__pack
68 (const Uenibstreamprotobuf__ULDCCHMessageType *message,
71 assert(message->base.descriptor == &uenibstreamprotobuf__ul__dcch__message_type__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
74 size_t uenibstreamprotobuf__ul__dcch__message_type__pack_to_buffer
75 (const Uenibstreamprotobuf__ULDCCHMessageType *message,
76 ProtobufCBuffer *buffer)
78 assert(message->base.descriptor == &uenibstreamprotobuf__ul__dcch__message_type__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
81 Uenibstreamprotobuf__ULDCCHMessageType *
82 uenibstreamprotobuf__ul__dcch__message_type__unpack
83 (ProtobufCAllocator *allocator,
87 return (Uenibstreamprotobuf__ULDCCHMessageType *)
88 protobuf_c_message_unpack (&uenibstreamprotobuf__ul__dcch__message_type__descriptor,
89 allocator, len, data);
91 void uenibstreamprotobuf__ul__dcch__message_type__free_unpacked
92 (Uenibstreamprotobuf__ULDCCHMessageType *message,
93 ProtobufCAllocator *allocator)
97 assert(message->base.descriptor == &uenibstreamprotobuf__ul__dcch__message_type__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
100 static const ProtobufCFieldDescriptor uenibstreamprotobuf__rrccontainer__field_descriptors[1] =
105 PROTOBUF_C_LABEL_NONE,
106 PROTOBUF_C_TYPE_MESSAGE,
107 0, /* quantifier_offset */
108 offsetof(Uenibstreamprotobuf__RRCContainer, ul_dcch_message),
109 &uenibstreamprotobuf__ul__dcch__message_type__descriptor,
112 0,NULL,NULL /* reserved1,reserved2, etc */
115 static const unsigned uenibstreamprotobuf__rrccontainer__field_indices_by_name[] = {
116 0, /* field[0] = UL_DCCH_message */
118 static const ProtobufCIntRange uenibstreamprotobuf__rrccontainer__number_ranges[1 + 1] =
123 const ProtobufCMessageDescriptor uenibstreamprotobuf__rrccontainer__descriptor =
125 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
126 "uenibstreamprotobuf.RRCContainer",
128 "Uenibstreamprotobuf__RRCContainer",
129 "uenibstreamprotobuf",
130 sizeof(Uenibstreamprotobuf__RRCContainer),
132 uenibstreamprotobuf__rrccontainer__field_descriptors,
133 uenibstreamprotobuf__rrccontainer__field_indices_by_name,
134 1, uenibstreamprotobuf__rrccontainer__number_ranges,
135 (ProtobufCMessageInit) uenibstreamprotobuf__rrccontainer__init,
136 NULL,NULL,NULL /* reserved[123] */
138 static const ProtobufCFieldDescriptor uenibstreamprotobuf__ul__dcch__message_type__field_descriptors[2] =
143 PROTOBUF_C_LABEL_NONE,
144 PROTOBUF_C_TYPE_MESSAGE,
145 offsetof(Uenibstreamprotobuf__ULDCCHMessageType, c1_case),
146 offsetof(Uenibstreamprotobuf__ULDCCHMessageType, measurementreport),
147 &uenibstreamprotobuf__measurement_report__descriptor,
149 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
150 0,NULL,NULL /* reserved1,reserved2, etc */
153 "failureInformation",
155 PROTOBUF_C_LABEL_NONE,
156 PROTOBUF_C_TYPE_MESSAGE,
157 offsetof(Uenibstreamprotobuf__ULDCCHMessageType, c1_case),
158 offsetof(Uenibstreamprotobuf__ULDCCHMessageType, failureinformation),
159 &uenibstreamprotobuf__failure_information__descriptor,
161 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
162 0,NULL,NULL /* reserved1,reserved2, etc */
165 static const unsigned uenibstreamprotobuf__ul__dcch__message_type__field_indices_by_name[] = {
166 1, /* field[1] = failureInformation */
167 0, /* field[0] = measurementReport */
169 static const ProtobufCIntRange uenibstreamprotobuf__ul__dcch__message_type__number_ranges[1 + 1] =
174 const ProtobufCMessageDescriptor uenibstreamprotobuf__ul__dcch__message_type__descriptor =
176 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
177 "uenibstreamprotobuf.UL_DCCH_MessageType",
179 "Uenibstreamprotobuf__ULDCCHMessageType",
180 "uenibstreamprotobuf",
181 sizeof(Uenibstreamprotobuf__ULDCCHMessageType),
183 uenibstreamprotobuf__ul__dcch__message_type__field_descriptors,
184 uenibstreamprotobuf__ul__dcch__message_type__field_indices_by_name,
185 1, uenibstreamprotobuf__ul__dcch__message_type__number_ranges,
186 (ProtobufCMessageInit) uenibstreamprotobuf__ul__dcch__message_type__init,
187 NULL,NULL,NULL /* reserved[123] */