Line | Count | Source |
1 | | #include "config.h" |
2 | | /* Generated by the protocol buffer compiler. DO NOT EDIT! */ |
3 | | /* Generated from: lib/mgmt.proto */ |
4 | | |
5 | | /* Do not generate deprecated warnings for self */ |
6 | | #ifndef PROTOBUF_C__NO_DEPRECATED |
7 | | #define PROTOBUF_C__NO_DEPRECATED |
8 | | #endif |
9 | | |
10 | | #include "lib/mgmt.pb-c.h" |
11 | | void mgmtd__yang_data_xpath__init |
12 | | (Mgmtd__YangDataXPath *message) |
13 | 0 | { |
14 | 0 | static const Mgmtd__YangDataXPath init_value = MGMTD__YANG_DATA_XPATH__INIT; |
15 | 0 | *message = init_value; |
16 | 0 | } |
17 | | size_t mgmtd__yang_data_xpath__get_packed_size |
18 | | (const Mgmtd__YangDataXPath *message) |
19 | 0 | { |
20 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_xpath__descriptor); |
21 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
22 | 0 | } |
23 | | size_t mgmtd__yang_data_xpath__pack |
24 | | (const Mgmtd__YangDataXPath *message, |
25 | | uint8_t *out) |
26 | 0 | { |
27 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_xpath__descriptor); |
28 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
29 | 0 | } |
30 | | size_t mgmtd__yang_data_xpath__pack_to_buffer |
31 | | (const Mgmtd__YangDataXPath *message, |
32 | | ProtobufCBuffer *buffer) |
33 | 0 | { |
34 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_xpath__descriptor); |
35 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
36 | 0 | } |
37 | | Mgmtd__YangDataXPath * |
38 | | mgmtd__yang_data_xpath__unpack |
39 | | (ProtobufCAllocator *allocator, |
40 | | size_t len, |
41 | | const uint8_t *data) |
42 | 0 | { |
43 | 0 | return (Mgmtd__YangDataXPath *) |
44 | 0 | protobuf_c_message_unpack (&mgmtd__yang_data_xpath__descriptor, |
45 | 0 | allocator, len, data); |
46 | 0 | } |
47 | | void mgmtd__yang_data_xpath__free_unpacked |
48 | | (Mgmtd__YangDataXPath *message, |
49 | | ProtobufCAllocator *allocator) |
50 | 0 | { |
51 | 0 | if(!message) |
52 | 0 | return; |
53 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_xpath__descriptor); |
54 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
55 | 0 | } |
56 | | void mgmtd__yang_data_value__init |
57 | | (Mgmtd__YangDataValue *message) |
58 | 0 | { |
59 | 0 | static const Mgmtd__YangDataValue init_value = MGMTD__YANG_DATA_VALUE__INIT; |
60 | 0 | *message = init_value; |
61 | 0 | } |
62 | | size_t mgmtd__yang_data_value__get_packed_size |
63 | | (const Mgmtd__YangDataValue *message) |
64 | 0 | { |
65 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_value__descriptor); |
66 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
67 | 0 | } |
68 | | size_t mgmtd__yang_data_value__pack |
69 | | (const Mgmtd__YangDataValue *message, |
70 | | uint8_t *out) |
71 | 0 | { |
72 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_value__descriptor); |
73 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
74 | 0 | } |
75 | | size_t mgmtd__yang_data_value__pack_to_buffer |
76 | | (const Mgmtd__YangDataValue *message, |
77 | | ProtobufCBuffer *buffer) |
78 | 0 | { |
79 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_value__descriptor); |
80 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
81 | 0 | } |
82 | | Mgmtd__YangDataValue * |
83 | | mgmtd__yang_data_value__unpack |
84 | | (ProtobufCAllocator *allocator, |
85 | | size_t len, |
86 | | const uint8_t *data) |
87 | 0 | { |
88 | 0 | return (Mgmtd__YangDataValue *) |
89 | 0 | protobuf_c_message_unpack (&mgmtd__yang_data_value__descriptor, |
90 | 0 | allocator, len, data); |
91 | 0 | } |
92 | | void mgmtd__yang_data_value__free_unpacked |
93 | | (Mgmtd__YangDataValue *message, |
94 | | ProtobufCAllocator *allocator) |
95 | 0 | { |
96 | 0 | if(!message) |
97 | 0 | return; |
98 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_value__descriptor); |
99 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
100 | 0 | } |
101 | | void mgmtd__yang_data__init |
102 | | (Mgmtd__YangData *message) |
103 | 0 | { |
104 | 0 | static const Mgmtd__YangData init_value = MGMTD__YANG_DATA__INIT; |
105 | 0 | *message = init_value; |
106 | 0 | } |
107 | | size_t mgmtd__yang_data__get_packed_size |
108 | | (const Mgmtd__YangData *message) |
109 | 0 | { |
110 | 0 | assert(message->base.descriptor == &mgmtd__yang_data__descriptor); |
111 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
112 | 0 | } |
113 | | size_t mgmtd__yang_data__pack |
114 | | (const Mgmtd__YangData *message, |
115 | | uint8_t *out) |
116 | 0 | { |
117 | 0 | assert(message->base.descriptor == &mgmtd__yang_data__descriptor); |
118 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
119 | 0 | } |
120 | | size_t mgmtd__yang_data__pack_to_buffer |
121 | | (const Mgmtd__YangData *message, |
122 | | ProtobufCBuffer *buffer) |
123 | 0 | { |
124 | 0 | assert(message->base.descriptor == &mgmtd__yang_data__descriptor); |
125 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
126 | 0 | } |
127 | | Mgmtd__YangData * |
128 | | mgmtd__yang_data__unpack |
129 | | (ProtobufCAllocator *allocator, |
130 | | size_t len, |
131 | | const uint8_t *data) |
132 | 0 | { |
133 | 0 | return (Mgmtd__YangData *) |
134 | 0 | protobuf_c_message_unpack (&mgmtd__yang_data__descriptor, |
135 | 0 | allocator, len, data); |
136 | 0 | } |
137 | | void mgmtd__yang_data__free_unpacked |
138 | | (Mgmtd__YangData *message, |
139 | | ProtobufCAllocator *allocator) |
140 | 0 | { |
141 | 0 | if(!message) |
142 | 0 | return; |
143 | 0 | assert(message->base.descriptor == &mgmtd__yang_data__descriptor); |
144 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
145 | 0 | } |
146 | | void mgmtd__yang_cfg_data_req__init |
147 | | (Mgmtd__YangCfgDataReq *message) |
148 | 0 | { |
149 | 0 | static const Mgmtd__YangCfgDataReq init_value = MGMTD__YANG_CFG_DATA_REQ__INIT; |
150 | 0 | *message = init_value; |
151 | 0 | } |
152 | | size_t mgmtd__yang_cfg_data_req__get_packed_size |
153 | | (const Mgmtd__YangCfgDataReq *message) |
154 | 0 | { |
155 | 0 | assert(message->base.descriptor == &mgmtd__yang_cfg_data_req__descriptor); |
156 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
157 | 0 | } |
158 | | size_t mgmtd__yang_cfg_data_req__pack |
159 | | (const Mgmtd__YangCfgDataReq *message, |
160 | | uint8_t *out) |
161 | 0 | { |
162 | 0 | assert(message->base.descriptor == &mgmtd__yang_cfg_data_req__descriptor); |
163 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
164 | 0 | } |
165 | | size_t mgmtd__yang_cfg_data_req__pack_to_buffer |
166 | | (const Mgmtd__YangCfgDataReq *message, |
167 | | ProtobufCBuffer *buffer) |
168 | 0 | { |
169 | 0 | assert(message->base.descriptor == &mgmtd__yang_cfg_data_req__descriptor); |
170 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
171 | 0 | } |
172 | | Mgmtd__YangCfgDataReq * |
173 | | mgmtd__yang_cfg_data_req__unpack |
174 | | (ProtobufCAllocator *allocator, |
175 | | size_t len, |
176 | | const uint8_t *data) |
177 | 0 | { |
178 | 0 | return (Mgmtd__YangCfgDataReq *) |
179 | 0 | protobuf_c_message_unpack (&mgmtd__yang_cfg_data_req__descriptor, |
180 | 0 | allocator, len, data); |
181 | 0 | } |
182 | | void mgmtd__yang_cfg_data_req__free_unpacked |
183 | | (Mgmtd__YangCfgDataReq *message, |
184 | | ProtobufCAllocator *allocator) |
185 | 0 | { |
186 | 0 | if(!message) |
187 | 0 | return; |
188 | 0 | assert(message->base.descriptor == &mgmtd__yang_cfg_data_req__descriptor); |
189 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
190 | 0 | } |
191 | | void mgmtd__yang_get_data_req__init |
192 | | (Mgmtd__YangGetDataReq *message) |
193 | 0 | { |
194 | 0 | static const Mgmtd__YangGetDataReq init_value = MGMTD__YANG_GET_DATA_REQ__INIT; |
195 | 0 | *message = init_value; |
196 | 0 | } |
197 | | size_t mgmtd__yang_get_data_req__get_packed_size |
198 | | (const Mgmtd__YangGetDataReq *message) |
199 | 0 | { |
200 | 0 | assert(message->base.descriptor == &mgmtd__yang_get_data_req__descriptor); |
201 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
202 | 0 | } |
203 | | size_t mgmtd__yang_get_data_req__pack |
204 | | (const Mgmtd__YangGetDataReq *message, |
205 | | uint8_t *out) |
206 | 0 | { |
207 | 0 | assert(message->base.descriptor == &mgmtd__yang_get_data_req__descriptor); |
208 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
209 | 0 | } |
210 | | size_t mgmtd__yang_get_data_req__pack_to_buffer |
211 | | (const Mgmtd__YangGetDataReq *message, |
212 | | ProtobufCBuffer *buffer) |
213 | 0 | { |
214 | 0 | assert(message->base.descriptor == &mgmtd__yang_get_data_req__descriptor); |
215 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
216 | 0 | } |
217 | | Mgmtd__YangGetDataReq * |
218 | | mgmtd__yang_get_data_req__unpack |
219 | | (ProtobufCAllocator *allocator, |
220 | | size_t len, |
221 | | const uint8_t *data) |
222 | 0 | { |
223 | 0 | return (Mgmtd__YangGetDataReq *) |
224 | 0 | protobuf_c_message_unpack (&mgmtd__yang_get_data_req__descriptor, |
225 | 0 | allocator, len, data); |
226 | 0 | } |
227 | | void mgmtd__yang_get_data_req__free_unpacked |
228 | | (Mgmtd__YangGetDataReq *message, |
229 | | ProtobufCAllocator *allocator) |
230 | 0 | { |
231 | 0 | if(!message) |
232 | 0 | return; |
233 | 0 | assert(message->base.descriptor == &mgmtd__yang_get_data_req__descriptor); |
234 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
235 | 0 | } |
236 | | void mgmtd__be_subscribe_req__init |
237 | | (Mgmtd__BeSubscribeReq *message) |
238 | 0 | { |
239 | 0 | static const Mgmtd__BeSubscribeReq init_value = MGMTD__BE_SUBSCRIBE_REQ__INIT; |
240 | 0 | *message = init_value; |
241 | 0 | } |
242 | | size_t mgmtd__be_subscribe_req__get_packed_size |
243 | | (const Mgmtd__BeSubscribeReq *message) |
244 | 0 | { |
245 | 0 | assert(message->base.descriptor == &mgmtd__be_subscribe_req__descriptor); |
246 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
247 | 0 | } |
248 | | size_t mgmtd__be_subscribe_req__pack |
249 | | (const Mgmtd__BeSubscribeReq *message, |
250 | | uint8_t *out) |
251 | 0 | { |
252 | 0 | assert(message->base.descriptor == &mgmtd__be_subscribe_req__descriptor); |
253 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
254 | 0 | } |
255 | | size_t mgmtd__be_subscribe_req__pack_to_buffer |
256 | | (const Mgmtd__BeSubscribeReq *message, |
257 | | ProtobufCBuffer *buffer) |
258 | 0 | { |
259 | 0 | assert(message->base.descriptor == &mgmtd__be_subscribe_req__descriptor); |
260 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
261 | 0 | } |
262 | | Mgmtd__BeSubscribeReq * |
263 | | mgmtd__be_subscribe_req__unpack |
264 | | (ProtobufCAllocator *allocator, |
265 | | size_t len, |
266 | | const uint8_t *data) |
267 | 0 | { |
268 | 0 | return (Mgmtd__BeSubscribeReq *) |
269 | 0 | protobuf_c_message_unpack (&mgmtd__be_subscribe_req__descriptor, |
270 | 0 | allocator, len, data); |
271 | 0 | } |
272 | | void mgmtd__be_subscribe_req__free_unpacked |
273 | | (Mgmtd__BeSubscribeReq *message, |
274 | | ProtobufCAllocator *allocator) |
275 | 0 | { |
276 | 0 | if(!message) |
277 | 0 | return; |
278 | 0 | assert(message->base.descriptor == &mgmtd__be_subscribe_req__descriptor); |
279 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
280 | 0 | } |
281 | | void mgmtd__be_subscribe_reply__init |
282 | | (Mgmtd__BeSubscribeReply *message) |
283 | 0 | { |
284 | 0 | static const Mgmtd__BeSubscribeReply init_value = MGMTD__BE_SUBSCRIBE_REPLY__INIT; |
285 | 0 | *message = init_value; |
286 | 0 | } |
287 | | size_t mgmtd__be_subscribe_reply__get_packed_size |
288 | | (const Mgmtd__BeSubscribeReply *message) |
289 | 0 | { |
290 | 0 | assert(message->base.descriptor == &mgmtd__be_subscribe_reply__descriptor); |
291 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
292 | 0 | } |
293 | | size_t mgmtd__be_subscribe_reply__pack |
294 | | (const Mgmtd__BeSubscribeReply *message, |
295 | | uint8_t *out) |
296 | 0 | { |
297 | 0 | assert(message->base.descriptor == &mgmtd__be_subscribe_reply__descriptor); |
298 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
299 | 0 | } |
300 | | size_t mgmtd__be_subscribe_reply__pack_to_buffer |
301 | | (const Mgmtd__BeSubscribeReply *message, |
302 | | ProtobufCBuffer *buffer) |
303 | 0 | { |
304 | 0 | assert(message->base.descriptor == &mgmtd__be_subscribe_reply__descriptor); |
305 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
306 | 0 | } |
307 | | Mgmtd__BeSubscribeReply * |
308 | | mgmtd__be_subscribe_reply__unpack |
309 | | (ProtobufCAllocator *allocator, |
310 | | size_t len, |
311 | | const uint8_t *data) |
312 | 0 | { |
313 | 0 | return (Mgmtd__BeSubscribeReply *) |
314 | 0 | protobuf_c_message_unpack (&mgmtd__be_subscribe_reply__descriptor, |
315 | 0 | allocator, len, data); |
316 | 0 | } |
317 | | void mgmtd__be_subscribe_reply__free_unpacked |
318 | | (Mgmtd__BeSubscribeReply *message, |
319 | | ProtobufCAllocator *allocator) |
320 | 0 | { |
321 | 0 | if(!message) |
322 | 0 | return; |
323 | 0 | assert(message->base.descriptor == &mgmtd__be_subscribe_reply__descriptor); |
324 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
325 | 0 | } |
326 | | void mgmtd__be_txn_req__init |
327 | | (Mgmtd__BeTxnReq *message) |
328 | 0 | { |
329 | 0 | static const Mgmtd__BeTxnReq init_value = MGMTD__BE_TXN_REQ__INIT; |
330 | 0 | *message = init_value; |
331 | 0 | } |
332 | | size_t mgmtd__be_txn_req__get_packed_size |
333 | | (const Mgmtd__BeTxnReq *message) |
334 | 0 | { |
335 | 0 | assert(message->base.descriptor == &mgmtd__be_txn_req__descriptor); |
336 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
337 | 0 | } |
338 | | size_t mgmtd__be_txn_req__pack |
339 | | (const Mgmtd__BeTxnReq *message, |
340 | | uint8_t *out) |
341 | 0 | { |
342 | 0 | assert(message->base.descriptor == &mgmtd__be_txn_req__descriptor); |
343 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
344 | 0 | } |
345 | | size_t mgmtd__be_txn_req__pack_to_buffer |
346 | | (const Mgmtd__BeTxnReq *message, |
347 | | ProtobufCBuffer *buffer) |
348 | 0 | { |
349 | 0 | assert(message->base.descriptor == &mgmtd__be_txn_req__descriptor); |
350 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
351 | 0 | } |
352 | | Mgmtd__BeTxnReq * |
353 | | mgmtd__be_txn_req__unpack |
354 | | (ProtobufCAllocator *allocator, |
355 | | size_t len, |
356 | | const uint8_t *data) |
357 | 0 | { |
358 | 0 | return (Mgmtd__BeTxnReq *) |
359 | 0 | protobuf_c_message_unpack (&mgmtd__be_txn_req__descriptor, |
360 | 0 | allocator, len, data); |
361 | 0 | } |
362 | | void mgmtd__be_txn_req__free_unpacked |
363 | | (Mgmtd__BeTxnReq *message, |
364 | | ProtobufCAllocator *allocator) |
365 | 0 | { |
366 | 0 | if(!message) |
367 | 0 | return; |
368 | 0 | assert(message->base.descriptor == &mgmtd__be_txn_req__descriptor); |
369 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
370 | 0 | } |
371 | | void mgmtd__be_txn_reply__init |
372 | | (Mgmtd__BeTxnReply *message) |
373 | 0 | { |
374 | 0 | static const Mgmtd__BeTxnReply init_value = MGMTD__BE_TXN_REPLY__INIT; |
375 | 0 | *message = init_value; |
376 | 0 | } |
377 | | size_t mgmtd__be_txn_reply__get_packed_size |
378 | | (const Mgmtd__BeTxnReply *message) |
379 | 0 | { |
380 | 0 | assert(message->base.descriptor == &mgmtd__be_txn_reply__descriptor); |
381 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
382 | 0 | } |
383 | | size_t mgmtd__be_txn_reply__pack |
384 | | (const Mgmtd__BeTxnReply *message, |
385 | | uint8_t *out) |
386 | 0 | { |
387 | 0 | assert(message->base.descriptor == &mgmtd__be_txn_reply__descriptor); |
388 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
389 | 0 | } |
390 | | size_t mgmtd__be_txn_reply__pack_to_buffer |
391 | | (const Mgmtd__BeTxnReply *message, |
392 | | ProtobufCBuffer *buffer) |
393 | 0 | { |
394 | 0 | assert(message->base.descriptor == &mgmtd__be_txn_reply__descriptor); |
395 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
396 | 0 | } |
397 | | Mgmtd__BeTxnReply * |
398 | | mgmtd__be_txn_reply__unpack |
399 | | (ProtobufCAllocator *allocator, |
400 | | size_t len, |
401 | | const uint8_t *data) |
402 | 0 | { |
403 | 0 | return (Mgmtd__BeTxnReply *) |
404 | 0 | protobuf_c_message_unpack (&mgmtd__be_txn_reply__descriptor, |
405 | 0 | allocator, len, data); |
406 | 0 | } |
407 | | void mgmtd__be_txn_reply__free_unpacked |
408 | | (Mgmtd__BeTxnReply *message, |
409 | | ProtobufCAllocator *allocator) |
410 | 0 | { |
411 | 0 | if(!message) |
412 | 0 | return; |
413 | 0 | assert(message->base.descriptor == &mgmtd__be_txn_reply__descriptor); |
414 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
415 | 0 | } |
416 | | void mgmtd__be_cfg_data_create_req__init |
417 | | (Mgmtd__BeCfgDataCreateReq *message) |
418 | 0 | { |
419 | 0 | static const Mgmtd__BeCfgDataCreateReq init_value = MGMTD__BE_CFG_DATA_CREATE_REQ__INIT; |
420 | 0 | *message = init_value; |
421 | 0 | } |
422 | | size_t mgmtd__be_cfg_data_create_req__get_packed_size |
423 | | (const Mgmtd__BeCfgDataCreateReq *message) |
424 | 0 | { |
425 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_create_req__descriptor); |
426 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
427 | 0 | } |
428 | | size_t mgmtd__be_cfg_data_create_req__pack |
429 | | (const Mgmtd__BeCfgDataCreateReq *message, |
430 | | uint8_t *out) |
431 | 0 | { |
432 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_create_req__descriptor); |
433 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
434 | 0 | } |
435 | | size_t mgmtd__be_cfg_data_create_req__pack_to_buffer |
436 | | (const Mgmtd__BeCfgDataCreateReq *message, |
437 | | ProtobufCBuffer *buffer) |
438 | 0 | { |
439 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_create_req__descriptor); |
440 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
441 | 0 | } |
442 | | Mgmtd__BeCfgDataCreateReq * |
443 | | mgmtd__be_cfg_data_create_req__unpack |
444 | | (ProtobufCAllocator *allocator, |
445 | | size_t len, |
446 | | const uint8_t *data) |
447 | 0 | { |
448 | 0 | return (Mgmtd__BeCfgDataCreateReq *) |
449 | 0 | protobuf_c_message_unpack (&mgmtd__be_cfg_data_create_req__descriptor, |
450 | 0 | allocator, len, data); |
451 | 0 | } |
452 | | void mgmtd__be_cfg_data_create_req__free_unpacked |
453 | | (Mgmtd__BeCfgDataCreateReq *message, |
454 | | ProtobufCAllocator *allocator) |
455 | 0 | { |
456 | 0 | if(!message) |
457 | 0 | return; |
458 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_create_req__descriptor); |
459 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
460 | 0 | } |
461 | | void mgmtd__be_cfg_data_create_reply__init |
462 | | (Mgmtd__BeCfgDataCreateReply *message) |
463 | 0 | { |
464 | 0 | static const Mgmtd__BeCfgDataCreateReply init_value = MGMTD__BE_CFG_DATA_CREATE_REPLY__INIT; |
465 | 0 | *message = init_value; |
466 | 0 | } |
467 | | size_t mgmtd__be_cfg_data_create_reply__get_packed_size |
468 | | (const Mgmtd__BeCfgDataCreateReply *message) |
469 | 0 | { |
470 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_create_reply__descriptor); |
471 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
472 | 0 | } |
473 | | size_t mgmtd__be_cfg_data_create_reply__pack |
474 | | (const Mgmtd__BeCfgDataCreateReply *message, |
475 | | uint8_t *out) |
476 | 0 | { |
477 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_create_reply__descriptor); |
478 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
479 | 0 | } |
480 | | size_t mgmtd__be_cfg_data_create_reply__pack_to_buffer |
481 | | (const Mgmtd__BeCfgDataCreateReply *message, |
482 | | ProtobufCBuffer *buffer) |
483 | 0 | { |
484 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_create_reply__descriptor); |
485 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
486 | 0 | } |
487 | | Mgmtd__BeCfgDataCreateReply * |
488 | | mgmtd__be_cfg_data_create_reply__unpack |
489 | | (ProtobufCAllocator *allocator, |
490 | | size_t len, |
491 | | const uint8_t *data) |
492 | 0 | { |
493 | 0 | return (Mgmtd__BeCfgDataCreateReply *) |
494 | 0 | protobuf_c_message_unpack (&mgmtd__be_cfg_data_create_reply__descriptor, |
495 | 0 | allocator, len, data); |
496 | 0 | } |
497 | | void mgmtd__be_cfg_data_create_reply__free_unpacked |
498 | | (Mgmtd__BeCfgDataCreateReply *message, |
499 | | ProtobufCAllocator *allocator) |
500 | 0 | { |
501 | 0 | if(!message) |
502 | 0 | return; |
503 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_create_reply__descriptor); |
504 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
505 | 0 | } |
506 | | void mgmtd__be_cfg_data_apply_req__init |
507 | | (Mgmtd__BeCfgDataApplyReq *message) |
508 | 0 | { |
509 | 0 | static const Mgmtd__BeCfgDataApplyReq init_value = MGMTD__BE_CFG_DATA_APPLY_REQ__INIT; |
510 | 0 | *message = init_value; |
511 | 0 | } |
512 | | size_t mgmtd__be_cfg_data_apply_req__get_packed_size |
513 | | (const Mgmtd__BeCfgDataApplyReq *message) |
514 | 0 | { |
515 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_apply_req__descriptor); |
516 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
517 | 0 | } |
518 | | size_t mgmtd__be_cfg_data_apply_req__pack |
519 | | (const Mgmtd__BeCfgDataApplyReq *message, |
520 | | uint8_t *out) |
521 | 0 | { |
522 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_apply_req__descriptor); |
523 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
524 | 0 | } |
525 | | size_t mgmtd__be_cfg_data_apply_req__pack_to_buffer |
526 | | (const Mgmtd__BeCfgDataApplyReq *message, |
527 | | ProtobufCBuffer *buffer) |
528 | 0 | { |
529 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_apply_req__descriptor); |
530 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
531 | 0 | } |
532 | | Mgmtd__BeCfgDataApplyReq * |
533 | | mgmtd__be_cfg_data_apply_req__unpack |
534 | | (ProtobufCAllocator *allocator, |
535 | | size_t len, |
536 | | const uint8_t *data) |
537 | 0 | { |
538 | 0 | return (Mgmtd__BeCfgDataApplyReq *) |
539 | 0 | protobuf_c_message_unpack (&mgmtd__be_cfg_data_apply_req__descriptor, |
540 | 0 | allocator, len, data); |
541 | 0 | } |
542 | | void mgmtd__be_cfg_data_apply_req__free_unpacked |
543 | | (Mgmtd__BeCfgDataApplyReq *message, |
544 | | ProtobufCAllocator *allocator) |
545 | 0 | { |
546 | 0 | if(!message) |
547 | 0 | return; |
548 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_apply_req__descriptor); |
549 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
550 | 0 | } |
551 | | void mgmtd__be_cfg_data_apply_reply__init |
552 | | (Mgmtd__BeCfgDataApplyReply *message) |
553 | 0 | { |
554 | 0 | static const Mgmtd__BeCfgDataApplyReply init_value = MGMTD__BE_CFG_DATA_APPLY_REPLY__INIT; |
555 | 0 | *message = init_value; |
556 | 0 | } |
557 | | size_t mgmtd__be_cfg_data_apply_reply__get_packed_size |
558 | | (const Mgmtd__BeCfgDataApplyReply *message) |
559 | 0 | { |
560 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_apply_reply__descriptor); |
561 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
562 | 0 | } |
563 | | size_t mgmtd__be_cfg_data_apply_reply__pack |
564 | | (const Mgmtd__BeCfgDataApplyReply *message, |
565 | | uint8_t *out) |
566 | 0 | { |
567 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_apply_reply__descriptor); |
568 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
569 | 0 | } |
570 | | size_t mgmtd__be_cfg_data_apply_reply__pack_to_buffer |
571 | | (const Mgmtd__BeCfgDataApplyReply *message, |
572 | | ProtobufCBuffer *buffer) |
573 | 0 | { |
574 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_apply_reply__descriptor); |
575 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
576 | 0 | } |
577 | | Mgmtd__BeCfgDataApplyReply * |
578 | | mgmtd__be_cfg_data_apply_reply__unpack |
579 | | (ProtobufCAllocator *allocator, |
580 | | size_t len, |
581 | | const uint8_t *data) |
582 | 0 | { |
583 | 0 | return (Mgmtd__BeCfgDataApplyReply *) |
584 | 0 | protobuf_c_message_unpack (&mgmtd__be_cfg_data_apply_reply__descriptor, |
585 | 0 | allocator, len, data); |
586 | 0 | } |
587 | | void mgmtd__be_cfg_data_apply_reply__free_unpacked |
588 | | (Mgmtd__BeCfgDataApplyReply *message, |
589 | | ProtobufCAllocator *allocator) |
590 | 0 | { |
591 | 0 | if(!message) |
592 | 0 | return; |
593 | 0 | assert(message->base.descriptor == &mgmtd__be_cfg_data_apply_reply__descriptor); |
594 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
595 | 0 | } |
596 | | void mgmtd__be_oper_data_get_req__init |
597 | | (Mgmtd__BeOperDataGetReq *message) |
598 | 0 | { |
599 | 0 | static const Mgmtd__BeOperDataGetReq init_value = MGMTD__BE_OPER_DATA_GET_REQ__INIT; |
600 | 0 | *message = init_value; |
601 | 0 | } |
602 | | size_t mgmtd__be_oper_data_get_req__get_packed_size |
603 | | (const Mgmtd__BeOperDataGetReq *message) |
604 | 0 | { |
605 | 0 | assert(message->base.descriptor == &mgmtd__be_oper_data_get_req__descriptor); |
606 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
607 | 0 | } |
608 | | size_t mgmtd__be_oper_data_get_req__pack |
609 | | (const Mgmtd__BeOperDataGetReq *message, |
610 | | uint8_t *out) |
611 | 0 | { |
612 | 0 | assert(message->base.descriptor == &mgmtd__be_oper_data_get_req__descriptor); |
613 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
614 | 0 | } |
615 | | size_t mgmtd__be_oper_data_get_req__pack_to_buffer |
616 | | (const Mgmtd__BeOperDataGetReq *message, |
617 | | ProtobufCBuffer *buffer) |
618 | 0 | { |
619 | 0 | assert(message->base.descriptor == &mgmtd__be_oper_data_get_req__descriptor); |
620 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
621 | 0 | } |
622 | | Mgmtd__BeOperDataGetReq * |
623 | | mgmtd__be_oper_data_get_req__unpack |
624 | | (ProtobufCAllocator *allocator, |
625 | | size_t len, |
626 | | const uint8_t *data) |
627 | 0 | { |
628 | 0 | return (Mgmtd__BeOperDataGetReq *) |
629 | 0 | protobuf_c_message_unpack (&mgmtd__be_oper_data_get_req__descriptor, |
630 | 0 | allocator, len, data); |
631 | 0 | } |
632 | | void mgmtd__be_oper_data_get_req__free_unpacked |
633 | | (Mgmtd__BeOperDataGetReq *message, |
634 | | ProtobufCAllocator *allocator) |
635 | 0 | { |
636 | 0 | if(!message) |
637 | 0 | return; |
638 | 0 | assert(message->base.descriptor == &mgmtd__be_oper_data_get_req__descriptor); |
639 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
640 | 0 | } |
641 | | void mgmtd__yang_data_reply__init |
642 | | (Mgmtd__YangDataReply *message) |
643 | 0 | { |
644 | 0 | static const Mgmtd__YangDataReply init_value = MGMTD__YANG_DATA_REPLY__INIT; |
645 | 0 | *message = init_value; |
646 | 0 | } |
647 | | size_t mgmtd__yang_data_reply__get_packed_size |
648 | | (const Mgmtd__YangDataReply *message) |
649 | 0 | { |
650 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_reply__descriptor); |
651 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
652 | 0 | } |
653 | | size_t mgmtd__yang_data_reply__pack |
654 | | (const Mgmtd__YangDataReply *message, |
655 | | uint8_t *out) |
656 | 0 | { |
657 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_reply__descriptor); |
658 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
659 | 0 | } |
660 | | size_t mgmtd__yang_data_reply__pack_to_buffer |
661 | | (const Mgmtd__YangDataReply *message, |
662 | | ProtobufCBuffer *buffer) |
663 | 0 | { |
664 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_reply__descriptor); |
665 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
666 | 0 | } |
667 | | Mgmtd__YangDataReply * |
668 | | mgmtd__yang_data_reply__unpack |
669 | | (ProtobufCAllocator *allocator, |
670 | | size_t len, |
671 | | const uint8_t *data) |
672 | 0 | { |
673 | 0 | return (Mgmtd__YangDataReply *) |
674 | 0 | protobuf_c_message_unpack (&mgmtd__yang_data_reply__descriptor, |
675 | 0 | allocator, len, data); |
676 | 0 | } |
677 | | void mgmtd__yang_data_reply__free_unpacked |
678 | | (Mgmtd__YangDataReply *message, |
679 | | ProtobufCAllocator *allocator) |
680 | 0 | { |
681 | 0 | if(!message) |
682 | 0 | return; |
683 | 0 | assert(message->base.descriptor == &mgmtd__yang_data_reply__descriptor); |
684 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
685 | 0 | } |
686 | | void mgmtd__be_oper_data_get_reply__init |
687 | | (Mgmtd__BeOperDataGetReply *message) |
688 | 0 | { |
689 | 0 | static const Mgmtd__BeOperDataGetReply init_value = MGMTD__BE_OPER_DATA_GET_REPLY__INIT; |
690 | 0 | *message = init_value; |
691 | 0 | } |
692 | | size_t mgmtd__be_oper_data_get_reply__get_packed_size |
693 | | (const Mgmtd__BeOperDataGetReply *message) |
694 | 0 | { |
695 | 0 | assert(message->base.descriptor == &mgmtd__be_oper_data_get_reply__descriptor); |
696 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
697 | 0 | } |
698 | | size_t mgmtd__be_oper_data_get_reply__pack |
699 | | (const Mgmtd__BeOperDataGetReply *message, |
700 | | uint8_t *out) |
701 | 0 | { |
702 | 0 | assert(message->base.descriptor == &mgmtd__be_oper_data_get_reply__descriptor); |
703 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
704 | 0 | } |
705 | | size_t mgmtd__be_oper_data_get_reply__pack_to_buffer |
706 | | (const Mgmtd__BeOperDataGetReply *message, |
707 | | ProtobufCBuffer *buffer) |
708 | 0 | { |
709 | 0 | assert(message->base.descriptor == &mgmtd__be_oper_data_get_reply__descriptor); |
710 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
711 | 0 | } |
712 | | Mgmtd__BeOperDataGetReply * |
713 | | mgmtd__be_oper_data_get_reply__unpack |
714 | | (ProtobufCAllocator *allocator, |
715 | | size_t len, |
716 | | const uint8_t *data) |
717 | 0 | { |
718 | 0 | return (Mgmtd__BeOperDataGetReply *) |
719 | 0 | protobuf_c_message_unpack (&mgmtd__be_oper_data_get_reply__descriptor, |
720 | 0 | allocator, len, data); |
721 | 0 | } |
722 | | void mgmtd__be_oper_data_get_reply__free_unpacked |
723 | | (Mgmtd__BeOperDataGetReply *message, |
724 | | ProtobufCAllocator *allocator) |
725 | 0 | { |
726 | 0 | if(!message) |
727 | 0 | return; |
728 | 0 | assert(message->base.descriptor == &mgmtd__be_oper_data_get_reply__descriptor); |
729 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
730 | 0 | } |
731 | | void mgmtd__be_message__init |
732 | | (Mgmtd__BeMessage *message) |
733 | 0 | { |
734 | 0 | static const Mgmtd__BeMessage init_value = MGMTD__BE_MESSAGE__INIT; |
735 | 0 | *message = init_value; |
736 | 0 | } |
737 | | size_t mgmtd__be_message__get_packed_size |
738 | | (const Mgmtd__BeMessage *message) |
739 | 0 | { |
740 | 0 | assert(message->base.descriptor == &mgmtd__be_message__descriptor); |
741 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
742 | 0 | } |
743 | | size_t mgmtd__be_message__pack |
744 | | (const Mgmtd__BeMessage *message, |
745 | | uint8_t *out) |
746 | 0 | { |
747 | 0 | assert(message->base.descriptor == &mgmtd__be_message__descriptor); |
748 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
749 | 0 | } |
750 | | size_t mgmtd__be_message__pack_to_buffer |
751 | | (const Mgmtd__BeMessage *message, |
752 | | ProtobufCBuffer *buffer) |
753 | 0 | { |
754 | 0 | assert(message->base.descriptor == &mgmtd__be_message__descriptor); |
755 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
756 | 0 | } |
757 | | Mgmtd__BeMessage * |
758 | | mgmtd__be_message__unpack |
759 | | (ProtobufCAllocator *allocator, |
760 | | size_t len, |
761 | | const uint8_t *data) |
762 | 0 | { |
763 | 0 | return (Mgmtd__BeMessage *) |
764 | 0 | protobuf_c_message_unpack (&mgmtd__be_message__descriptor, |
765 | 0 | allocator, len, data); |
766 | 0 | } |
767 | | void mgmtd__be_message__free_unpacked |
768 | | (Mgmtd__BeMessage *message, |
769 | | ProtobufCAllocator *allocator) |
770 | 0 | { |
771 | 0 | if(!message) |
772 | 0 | return; |
773 | 0 | assert(message->base.descriptor == &mgmtd__be_message__descriptor); |
774 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
775 | 0 | } |
776 | | void mgmtd__fe_register_req__init |
777 | | (Mgmtd__FeRegisterReq *message) |
778 | 0 | { |
779 | 0 | static const Mgmtd__FeRegisterReq init_value = MGMTD__FE_REGISTER_REQ__INIT; |
780 | 0 | *message = init_value; |
781 | 0 | } |
782 | | size_t mgmtd__fe_register_req__get_packed_size |
783 | | (const Mgmtd__FeRegisterReq *message) |
784 | 0 | { |
785 | 0 | assert(message->base.descriptor == &mgmtd__fe_register_req__descriptor); |
786 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
787 | 0 | } |
788 | | size_t mgmtd__fe_register_req__pack |
789 | | (const Mgmtd__FeRegisterReq *message, |
790 | | uint8_t *out) |
791 | 0 | { |
792 | 0 | assert(message->base.descriptor == &mgmtd__fe_register_req__descriptor); |
793 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
794 | 0 | } |
795 | | size_t mgmtd__fe_register_req__pack_to_buffer |
796 | | (const Mgmtd__FeRegisterReq *message, |
797 | | ProtobufCBuffer *buffer) |
798 | 0 | { |
799 | 0 | assert(message->base.descriptor == &mgmtd__fe_register_req__descriptor); |
800 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
801 | 0 | } |
802 | | Mgmtd__FeRegisterReq * |
803 | | mgmtd__fe_register_req__unpack |
804 | | (ProtobufCAllocator *allocator, |
805 | | size_t len, |
806 | | const uint8_t *data) |
807 | 0 | { |
808 | 0 | return (Mgmtd__FeRegisterReq *) |
809 | 0 | protobuf_c_message_unpack (&mgmtd__fe_register_req__descriptor, |
810 | 0 | allocator, len, data); |
811 | 0 | } |
812 | | void mgmtd__fe_register_req__free_unpacked |
813 | | (Mgmtd__FeRegisterReq *message, |
814 | | ProtobufCAllocator *allocator) |
815 | 0 | { |
816 | 0 | if(!message) |
817 | 0 | return; |
818 | 0 | assert(message->base.descriptor == &mgmtd__fe_register_req__descriptor); |
819 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
820 | 0 | } |
821 | | void mgmtd__fe_session_req__init |
822 | | (Mgmtd__FeSessionReq *message) |
823 | 0 | { |
824 | 0 | static const Mgmtd__FeSessionReq init_value = MGMTD__FE_SESSION_REQ__INIT; |
825 | 0 | *message = init_value; |
826 | 0 | } |
827 | | size_t mgmtd__fe_session_req__get_packed_size |
828 | | (const Mgmtd__FeSessionReq *message) |
829 | 0 | { |
830 | 0 | assert(message->base.descriptor == &mgmtd__fe_session_req__descriptor); |
831 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
832 | 0 | } |
833 | | size_t mgmtd__fe_session_req__pack |
834 | | (const Mgmtd__FeSessionReq *message, |
835 | | uint8_t *out) |
836 | 0 | { |
837 | 0 | assert(message->base.descriptor == &mgmtd__fe_session_req__descriptor); |
838 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
839 | 0 | } |
840 | | size_t mgmtd__fe_session_req__pack_to_buffer |
841 | | (const Mgmtd__FeSessionReq *message, |
842 | | ProtobufCBuffer *buffer) |
843 | 0 | { |
844 | 0 | assert(message->base.descriptor == &mgmtd__fe_session_req__descriptor); |
845 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
846 | 0 | } |
847 | | Mgmtd__FeSessionReq * |
848 | | mgmtd__fe_session_req__unpack |
849 | | (ProtobufCAllocator *allocator, |
850 | | size_t len, |
851 | | const uint8_t *data) |
852 | 0 | { |
853 | 0 | return (Mgmtd__FeSessionReq *) |
854 | 0 | protobuf_c_message_unpack (&mgmtd__fe_session_req__descriptor, |
855 | 0 | allocator, len, data); |
856 | 0 | } |
857 | | void mgmtd__fe_session_req__free_unpacked |
858 | | (Mgmtd__FeSessionReq *message, |
859 | | ProtobufCAllocator *allocator) |
860 | 0 | { |
861 | 0 | if(!message) |
862 | 0 | return; |
863 | 0 | assert(message->base.descriptor == &mgmtd__fe_session_req__descriptor); |
864 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
865 | 0 | } |
866 | | void mgmtd__fe_session_reply__init |
867 | | (Mgmtd__FeSessionReply *message) |
868 | 0 | { |
869 | 0 | static const Mgmtd__FeSessionReply init_value = MGMTD__FE_SESSION_REPLY__INIT; |
870 | 0 | *message = init_value; |
871 | 0 | } |
872 | | size_t mgmtd__fe_session_reply__get_packed_size |
873 | | (const Mgmtd__FeSessionReply *message) |
874 | 0 | { |
875 | 0 | assert(message->base.descriptor == &mgmtd__fe_session_reply__descriptor); |
876 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
877 | 0 | } |
878 | | size_t mgmtd__fe_session_reply__pack |
879 | | (const Mgmtd__FeSessionReply *message, |
880 | | uint8_t *out) |
881 | 0 | { |
882 | 0 | assert(message->base.descriptor == &mgmtd__fe_session_reply__descriptor); |
883 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
884 | 0 | } |
885 | | size_t mgmtd__fe_session_reply__pack_to_buffer |
886 | | (const Mgmtd__FeSessionReply *message, |
887 | | ProtobufCBuffer *buffer) |
888 | 0 | { |
889 | 0 | assert(message->base.descriptor == &mgmtd__fe_session_reply__descriptor); |
890 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
891 | 0 | } |
892 | | Mgmtd__FeSessionReply * |
893 | | mgmtd__fe_session_reply__unpack |
894 | | (ProtobufCAllocator *allocator, |
895 | | size_t len, |
896 | | const uint8_t *data) |
897 | 0 | { |
898 | 0 | return (Mgmtd__FeSessionReply *) |
899 | 0 | protobuf_c_message_unpack (&mgmtd__fe_session_reply__descriptor, |
900 | 0 | allocator, len, data); |
901 | 0 | } |
902 | | void mgmtd__fe_session_reply__free_unpacked |
903 | | (Mgmtd__FeSessionReply *message, |
904 | | ProtobufCAllocator *allocator) |
905 | 0 | { |
906 | 0 | if(!message) |
907 | 0 | return; |
908 | 0 | assert(message->base.descriptor == &mgmtd__fe_session_reply__descriptor); |
909 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
910 | 0 | } |
911 | | void mgmtd__fe_lock_ds_req__init |
912 | | (Mgmtd__FeLockDsReq *message) |
913 | 0 | { |
914 | 0 | static const Mgmtd__FeLockDsReq init_value = MGMTD__FE_LOCK_DS_REQ__INIT; |
915 | 0 | *message = init_value; |
916 | 0 | } |
917 | | size_t mgmtd__fe_lock_ds_req__get_packed_size |
918 | | (const Mgmtd__FeLockDsReq *message) |
919 | 0 | { |
920 | 0 | assert(message->base.descriptor == &mgmtd__fe_lock_ds_req__descriptor); |
921 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
922 | 0 | } |
923 | | size_t mgmtd__fe_lock_ds_req__pack |
924 | | (const Mgmtd__FeLockDsReq *message, |
925 | | uint8_t *out) |
926 | 0 | { |
927 | 0 | assert(message->base.descriptor == &mgmtd__fe_lock_ds_req__descriptor); |
928 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
929 | 0 | } |
930 | | size_t mgmtd__fe_lock_ds_req__pack_to_buffer |
931 | | (const Mgmtd__FeLockDsReq *message, |
932 | | ProtobufCBuffer *buffer) |
933 | 0 | { |
934 | 0 | assert(message->base.descriptor == &mgmtd__fe_lock_ds_req__descriptor); |
935 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
936 | 0 | } |
937 | | Mgmtd__FeLockDsReq * |
938 | | mgmtd__fe_lock_ds_req__unpack |
939 | | (ProtobufCAllocator *allocator, |
940 | | size_t len, |
941 | | const uint8_t *data) |
942 | 0 | { |
943 | 0 | return (Mgmtd__FeLockDsReq *) |
944 | 0 | protobuf_c_message_unpack (&mgmtd__fe_lock_ds_req__descriptor, |
945 | 0 | allocator, len, data); |
946 | 0 | } |
947 | | void mgmtd__fe_lock_ds_req__free_unpacked |
948 | | (Mgmtd__FeLockDsReq *message, |
949 | | ProtobufCAllocator *allocator) |
950 | 0 | { |
951 | 0 | if(!message) |
952 | 0 | return; |
953 | 0 | assert(message->base.descriptor == &mgmtd__fe_lock_ds_req__descriptor); |
954 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
955 | 0 | } |
956 | | void mgmtd__fe_lock_ds_reply__init |
957 | | (Mgmtd__FeLockDsReply *message) |
958 | 0 | { |
959 | 0 | static const Mgmtd__FeLockDsReply init_value = MGMTD__FE_LOCK_DS_REPLY__INIT; |
960 | 0 | *message = init_value; |
961 | 0 | } |
962 | | size_t mgmtd__fe_lock_ds_reply__get_packed_size |
963 | | (const Mgmtd__FeLockDsReply *message) |
964 | 0 | { |
965 | 0 | assert(message->base.descriptor == &mgmtd__fe_lock_ds_reply__descriptor); |
966 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
967 | 0 | } |
968 | | size_t mgmtd__fe_lock_ds_reply__pack |
969 | | (const Mgmtd__FeLockDsReply *message, |
970 | | uint8_t *out) |
971 | 0 | { |
972 | 0 | assert(message->base.descriptor == &mgmtd__fe_lock_ds_reply__descriptor); |
973 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
974 | 0 | } |
975 | | size_t mgmtd__fe_lock_ds_reply__pack_to_buffer |
976 | | (const Mgmtd__FeLockDsReply *message, |
977 | | ProtobufCBuffer *buffer) |
978 | 0 | { |
979 | 0 | assert(message->base.descriptor == &mgmtd__fe_lock_ds_reply__descriptor); |
980 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
981 | 0 | } |
982 | | Mgmtd__FeLockDsReply * |
983 | | mgmtd__fe_lock_ds_reply__unpack |
984 | | (ProtobufCAllocator *allocator, |
985 | | size_t len, |
986 | | const uint8_t *data) |
987 | 0 | { |
988 | 0 | return (Mgmtd__FeLockDsReply *) |
989 | 0 | protobuf_c_message_unpack (&mgmtd__fe_lock_ds_reply__descriptor, |
990 | 0 | allocator, len, data); |
991 | 0 | } |
992 | | void mgmtd__fe_lock_ds_reply__free_unpacked |
993 | | (Mgmtd__FeLockDsReply *message, |
994 | | ProtobufCAllocator *allocator) |
995 | 0 | { |
996 | 0 | if(!message) |
997 | 0 | return; |
998 | 0 | assert(message->base.descriptor == &mgmtd__fe_lock_ds_reply__descriptor); |
999 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1000 | 0 | } |
1001 | | void mgmtd__fe_set_config_req__init |
1002 | | (Mgmtd__FeSetConfigReq *message) |
1003 | 0 | { |
1004 | 0 | static const Mgmtd__FeSetConfigReq init_value = MGMTD__FE_SET_CONFIG_REQ__INIT; |
1005 | 0 | *message = init_value; |
1006 | 0 | } |
1007 | | size_t mgmtd__fe_set_config_req__get_packed_size |
1008 | | (const Mgmtd__FeSetConfigReq *message) |
1009 | 0 | { |
1010 | 0 | assert(message->base.descriptor == &mgmtd__fe_set_config_req__descriptor); |
1011 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1012 | 0 | } |
1013 | | size_t mgmtd__fe_set_config_req__pack |
1014 | | (const Mgmtd__FeSetConfigReq *message, |
1015 | | uint8_t *out) |
1016 | 0 | { |
1017 | 0 | assert(message->base.descriptor == &mgmtd__fe_set_config_req__descriptor); |
1018 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1019 | 0 | } |
1020 | | size_t mgmtd__fe_set_config_req__pack_to_buffer |
1021 | | (const Mgmtd__FeSetConfigReq *message, |
1022 | | ProtobufCBuffer *buffer) |
1023 | 0 | { |
1024 | 0 | assert(message->base.descriptor == &mgmtd__fe_set_config_req__descriptor); |
1025 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1026 | 0 | } |
1027 | | Mgmtd__FeSetConfigReq * |
1028 | | mgmtd__fe_set_config_req__unpack |
1029 | | (ProtobufCAllocator *allocator, |
1030 | | size_t len, |
1031 | | const uint8_t *data) |
1032 | 0 | { |
1033 | 0 | return (Mgmtd__FeSetConfigReq *) |
1034 | 0 | protobuf_c_message_unpack (&mgmtd__fe_set_config_req__descriptor, |
1035 | 0 | allocator, len, data); |
1036 | 0 | } |
1037 | | void mgmtd__fe_set_config_req__free_unpacked |
1038 | | (Mgmtd__FeSetConfigReq *message, |
1039 | | ProtobufCAllocator *allocator) |
1040 | 0 | { |
1041 | 0 | if(!message) |
1042 | 0 | return; |
1043 | 0 | assert(message->base.descriptor == &mgmtd__fe_set_config_req__descriptor); |
1044 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1045 | 0 | } |
1046 | | void mgmtd__fe_set_config_reply__init |
1047 | | (Mgmtd__FeSetConfigReply *message) |
1048 | 0 | { |
1049 | 0 | static const Mgmtd__FeSetConfigReply init_value = MGMTD__FE_SET_CONFIG_REPLY__INIT; |
1050 | 0 | *message = init_value; |
1051 | 0 | } |
1052 | | size_t mgmtd__fe_set_config_reply__get_packed_size |
1053 | | (const Mgmtd__FeSetConfigReply *message) |
1054 | 0 | { |
1055 | 0 | assert(message->base.descriptor == &mgmtd__fe_set_config_reply__descriptor); |
1056 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1057 | 0 | } |
1058 | | size_t mgmtd__fe_set_config_reply__pack |
1059 | | (const Mgmtd__FeSetConfigReply *message, |
1060 | | uint8_t *out) |
1061 | 0 | { |
1062 | 0 | assert(message->base.descriptor == &mgmtd__fe_set_config_reply__descriptor); |
1063 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1064 | 0 | } |
1065 | | size_t mgmtd__fe_set_config_reply__pack_to_buffer |
1066 | | (const Mgmtd__FeSetConfigReply *message, |
1067 | | ProtobufCBuffer *buffer) |
1068 | 0 | { |
1069 | 0 | assert(message->base.descriptor == &mgmtd__fe_set_config_reply__descriptor); |
1070 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1071 | 0 | } |
1072 | | Mgmtd__FeSetConfigReply * |
1073 | | mgmtd__fe_set_config_reply__unpack |
1074 | | (ProtobufCAllocator *allocator, |
1075 | | size_t len, |
1076 | | const uint8_t *data) |
1077 | 0 | { |
1078 | 0 | return (Mgmtd__FeSetConfigReply *) |
1079 | 0 | protobuf_c_message_unpack (&mgmtd__fe_set_config_reply__descriptor, |
1080 | 0 | allocator, len, data); |
1081 | 0 | } |
1082 | | void mgmtd__fe_set_config_reply__free_unpacked |
1083 | | (Mgmtd__FeSetConfigReply *message, |
1084 | | ProtobufCAllocator *allocator) |
1085 | 0 | { |
1086 | 0 | if(!message) |
1087 | 0 | return; |
1088 | 0 | assert(message->base.descriptor == &mgmtd__fe_set_config_reply__descriptor); |
1089 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1090 | 0 | } |
1091 | | void mgmtd__fe_commit_config_req__init |
1092 | | (Mgmtd__FeCommitConfigReq *message) |
1093 | 0 | { |
1094 | 0 | static const Mgmtd__FeCommitConfigReq init_value = MGMTD__FE_COMMIT_CONFIG_REQ__INIT; |
1095 | 0 | *message = init_value; |
1096 | 0 | } |
1097 | | size_t mgmtd__fe_commit_config_req__get_packed_size |
1098 | | (const Mgmtd__FeCommitConfigReq *message) |
1099 | 0 | { |
1100 | 0 | assert(message->base.descriptor == &mgmtd__fe_commit_config_req__descriptor); |
1101 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1102 | 0 | } |
1103 | | size_t mgmtd__fe_commit_config_req__pack |
1104 | | (const Mgmtd__FeCommitConfigReq *message, |
1105 | | uint8_t *out) |
1106 | 0 | { |
1107 | 0 | assert(message->base.descriptor == &mgmtd__fe_commit_config_req__descriptor); |
1108 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1109 | 0 | } |
1110 | | size_t mgmtd__fe_commit_config_req__pack_to_buffer |
1111 | | (const Mgmtd__FeCommitConfigReq *message, |
1112 | | ProtobufCBuffer *buffer) |
1113 | 0 | { |
1114 | 0 | assert(message->base.descriptor == &mgmtd__fe_commit_config_req__descriptor); |
1115 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1116 | 0 | } |
1117 | | Mgmtd__FeCommitConfigReq * |
1118 | | mgmtd__fe_commit_config_req__unpack |
1119 | | (ProtobufCAllocator *allocator, |
1120 | | size_t len, |
1121 | | const uint8_t *data) |
1122 | 0 | { |
1123 | 0 | return (Mgmtd__FeCommitConfigReq *) |
1124 | 0 | protobuf_c_message_unpack (&mgmtd__fe_commit_config_req__descriptor, |
1125 | 0 | allocator, len, data); |
1126 | 0 | } |
1127 | | void mgmtd__fe_commit_config_req__free_unpacked |
1128 | | (Mgmtd__FeCommitConfigReq *message, |
1129 | | ProtobufCAllocator *allocator) |
1130 | 0 | { |
1131 | 0 | if(!message) |
1132 | 0 | return; |
1133 | 0 | assert(message->base.descriptor == &mgmtd__fe_commit_config_req__descriptor); |
1134 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1135 | 0 | } |
1136 | | void mgmtd__fe_commit_config_reply__init |
1137 | | (Mgmtd__FeCommitConfigReply *message) |
1138 | 0 | { |
1139 | 0 | static const Mgmtd__FeCommitConfigReply init_value = MGMTD__FE_COMMIT_CONFIG_REPLY__INIT; |
1140 | 0 | *message = init_value; |
1141 | 0 | } |
1142 | | size_t mgmtd__fe_commit_config_reply__get_packed_size |
1143 | | (const Mgmtd__FeCommitConfigReply *message) |
1144 | 0 | { |
1145 | 0 | assert(message->base.descriptor == &mgmtd__fe_commit_config_reply__descriptor); |
1146 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1147 | 0 | } |
1148 | | size_t mgmtd__fe_commit_config_reply__pack |
1149 | | (const Mgmtd__FeCommitConfigReply *message, |
1150 | | uint8_t *out) |
1151 | 0 | { |
1152 | 0 | assert(message->base.descriptor == &mgmtd__fe_commit_config_reply__descriptor); |
1153 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1154 | 0 | } |
1155 | | size_t mgmtd__fe_commit_config_reply__pack_to_buffer |
1156 | | (const Mgmtd__FeCommitConfigReply *message, |
1157 | | ProtobufCBuffer *buffer) |
1158 | 0 | { |
1159 | 0 | assert(message->base.descriptor == &mgmtd__fe_commit_config_reply__descriptor); |
1160 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1161 | 0 | } |
1162 | | Mgmtd__FeCommitConfigReply * |
1163 | | mgmtd__fe_commit_config_reply__unpack |
1164 | | (ProtobufCAllocator *allocator, |
1165 | | size_t len, |
1166 | | const uint8_t *data) |
1167 | 0 | { |
1168 | 0 | return (Mgmtd__FeCommitConfigReply *) |
1169 | 0 | protobuf_c_message_unpack (&mgmtd__fe_commit_config_reply__descriptor, |
1170 | 0 | allocator, len, data); |
1171 | 0 | } |
1172 | | void mgmtd__fe_commit_config_reply__free_unpacked |
1173 | | (Mgmtd__FeCommitConfigReply *message, |
1174 | | ProtobufCAllocator *allocator) |
1175 | 0 | { |
1176 | 0 | if(!message) |
1177 | 0 | return; |
1178 | 0 | assert(message->base.descriptor == &mgmtd__fe_commit_config_reply__descriptor); |
1179 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1180 | 0 | } |
1181 | | void mgmtd__fe_get_req__init |
1182 | | (Mgmtd__FeGetReq *message) |
1183 | 0 | { |
1184 | 0 | static const Mgmtd__FeGetReq init_value = MGMTD__FE_GET_REQ__INIT; |
1185 | 0 | *message = init_value; |
1186 | 0 | } |
1187 | | size_t mgmtd__fe_get_req__get_packed_size |
1188 | | (const Mgmtd__FeGetReq *message) |
1189 | 0 | { |
1190 | 0 | assert(message->base.descriptor == &mgmtd__fe_get_req__descriptor); |
1191 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1192 | 0 | } |
1193 | | size_t mgmtd__fe_get_req__pack |
1194 | | (const Mgmtd__FeGetReq *message, |
1195 | | uint8_t *out) |
1196 | 0 | { |
1197 | 0 | assert(message->base.descriptor == &mgmtd__fe_get_req__descriptor); |
1198 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1199 | 0 | } |
1200 | | size_t mgmtd__fe_get_req__pack_to_buffer |
1201 | | (const Mgmtd__FeGetReq *message, |
1202 | | ProtobufCBuffer *buffer) |
1203 | 0 | { |
1204 | 0 | assert(message->base.descriptor == &mgmtd__fe_get_req__descriptor); |
1205 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1206 | 0 | } |
1207 | | Mgmtd__FeGetReq * |
1208 | | mgmtd__fe_get_req__unpack |
1209 | | (ProtobufCAllocator *allocator, |
1210 | | size_t len, |
1211 | | const uint8_t *data) |
1212 | 0 | { |
1213 | 0 | return (Mgmtd__FeGetReq *) |
1214 | 0 | protobuf_c_message_unpack (&mgmtd__fe_get_req__descriptor, |
1215 | 0 | allocator, len, data); |
1216 | 0 | } |
1217 | | void mgmtd__fe_get_req__free_unpacked |
1218 | | (Mgmtd__FeGetReq *message, |
1219 | | ProtobufCAllocator *allocator) |
1220 | 0 | { |
1221 | 0 | if(!message) |
1222 | 0 | return; |
1223 | 0 | assert(message->base.descriptor == &mgmtd__fe_get_req__descriptor); |
1224 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1225 | 0 | } |
1226 | | void mgmtd__fe_get_reply__init |
1227 | | (Mgmtd__FeGetReply *message) |
1228 | 0 | { |
1229 | 0 | static const Mgmtd__FeGetReply init_value = MGMTD__FE_GET_REPLY__INIT; |
1230 | 0 | *message = init_value; |
1231 | 0 | } |
1232 | | size_t mgmtd__fe_get_reply__get_packed_size |
1233 | | (const Mgmtd__FeGetReply *message) |
1234 | 0 | { |
1235 | 0 | assert(message->base.descriptor == &mgmtd__fe_get_reply__descriptor); |
1236 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1237 | 0 | } |
1238 | | size_t mgmtd__fe_get_reply__pack |
1239 | | (const Mgmtd__FeGetReply *message, |
1240 | | uint8_t *out) |
1241 | 0 | { |
1242 | 0 | assert(message->base.descriptor == &mgmtd__fe_get_reply__descriptor); |
1243 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1244 | 0 | } |
1245 | | size_t mgmtd__fe_get_reply__pack_to_buffer |
1246 | | (const Mgmtd__FeGetReply *message, |
1247 | | ProtobufCBuffer *buffer) |
1248 | 0 | { |
1249 | 0 | assert(message->base.descriptor == &mgmtd__fe_get_reply__descriptor); |
1250 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1251 | 0 | } |
1252 | | Mgmtd__FeGetReply * |
1253 | | mgmtd__fe_get_reply__unpack |
1254 | | (ProtobufCAllocator *allocator, |
1255 | | size_t len, |
1256 | | const uint8_t *data) |
1257 | 0 | { |
1258 | 0 | return (Mgmtd__FeGetReply *) |
1259 | 0 | protobuf_c_message_unpack (&mgmtd__fe_get_reply__descriptor, |
1260 | 0 | allocator, len, data); |
1261 | 0 | } |
1262 | | void mgmtd__fe_get_reply__free_unpacked |
1263 | | (Mgmtd__FeGetReply *message, |
1264 | | ProtobufCAllocator *allocator) |
1265 | 0 | { |
1266 | 0 | if(!message) |
1267 | 0 | return; |
1268 | 0 | assert(message->base.descriptor == &mgmtd__fe_get_reply__descriptor); |
1269 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1270 | 0 | } |
1271 | | void mgmtd__fe_notify_data_req__init |
1272 | | (Mgmtd__FeNotifyDataReq *message) |
1273 | 0 | { |
1274 | 0 | static const Mgmtd__FeNotifyDataReq init_value = MGMTD__FE_NOTIFY_DATA_REQ__INIT; |
1275 | 0 | *message = init_value; |
1276 | 0 | } |
1277 | | size_t mgmtd__fe_notify_data_req__get_packed_size |
1278 | | (const Mgmtd__FeNotifyDataReq *message) |
1279 | 0 | { |
1280 | 0 | assert(message->base.descriptor == &mgmtd__fe_notify_data_req__descriptor); |
1281 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1282 | 0 | } |
1283 | | size_t mgmtd__fe_notify_data_req__pack |
1284 | | (const Mgmtd__FeNotifyDataReq *message, |
1285 | | uint8_t *out) |
1286 | 0 | { |
1287 | 0 | assert(message->base.descriptor == &mgmtd__fe_notify_data_req__descriptor); |
1288 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1289 | 0 | } |
1290 | | size_t mgmtd__fe_notify_data_req__pack_to_buffer |
1291 | | (const Mgmtd__FeNotifyDataReq *message, |
1292 | | ProtobufCBuffer *buffer) |
1293 | 0 | { |
1294 | 0 | assert(message->base.descriptor == &mgmtd__fe_notify_data_req__descriptor); |
1295 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1296 | 0 | } |
1297 | | Mgmtd__FeNotifyDataReq * |
1298 | | mgmtd__fe_notify_data_req__unpack |
1299 | | (ProtobufCAllocator *allocator, |
1300 | | size_t len, |
1301 | | const uint8_t *data) |
1302 | 0 | { |
1303 | 0 | return (Mgmtd__FeNotifyDataReq *) |
1304 | 0 | protobuf_c_message_unpack (&mgmtd__fe_notify_data_req__descriptor, |
1305 | 0 | allocator, len, data); |
1306 | 0 | } |
1307 | | void mgmtd__fe_notify_data_req__free_unpacked |
1308 | | (Mgmtd__FeNotifyDataReq *message, |
1309 | | ProtobufCAllocator *allocator) |
1310 | 0 | { |
1311 | 0 | if(!message) |
1312 | 0 | return; |
1313 | 0 | assert(message->base.descriptor == &mgmtd__fe_notify_data_req__descriptor); |
1314 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1315 | 0 | } |
1316 | | void mgmtd__fe_register_notify_req__init |
1317 | | (Mgmtd__FeRegisterNotifyReq *message) |
1318 | 0 | { |
1319 | 0 | static const Mgmtd__FeRegisterNotifyReq init_value = MGMTD__FE_REGISTER_NOTIFY_REQ__INIT; |
1320 | 0 | *message = init_value; |
1321 | 0 | } |
1322 | | size_t mgmtd__fe_register_notify_req__get_packed_size |
1323 | | (const Mgmtd__FeRegisterNotifyReq *message) |
1324 | 0 | { |
1325 | 0 | assert(message->base.descriptor == &mgmtd__fe_register_notify_req__descriptor); |
1326 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1327 | 0 | } |
1328 | | size_t mgmtd__fe_register_notify_req__pack |
1329 | | (const Mgmtd__FeRegisterNotifyReq *message, |
1330 | | uint8_t *out) |
1331 | 0 | { |
1332 | 0 | assert(message->base.descriptor == &mgmtd__fe_register_notify_req__descriptor); |
1333 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1334 | 0 | } |
1335 | | size_t mgmtd__fe_register_notify_req__pack_to_buffer |
1336 | | (const Mgmtd__FeRegisterNotifyReq *message, |
1337 | | ProtobufCBuffer *buffer) |
1338 | 0 | { |
1339 | 0 | assert(message->base.descriptor == &mgmtd__fe_register_notify_req__descriptor); |
1340 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1341 | 0 | } |
1342 | | Mgmtd__FeRegisterNotifyReq * |
1343 | | mgmtd__fe_register_notify_req__unpack |
1344 | | (ProtobufCAllocator *allocator, |
1345 | | size_t len, |
1346 | | const uint8_t *data) |
1347 | 0 | { |
1348 | 0 | return (Mgmtd__FeRegisterNotifyReq *) |
1349 | 0 | protobuf_c_message_unpack (&mgmtd__fe_register_notify_req__descriptor, |
1350 | 0 | allocator, len, data); |
1351 | 0 | } |
1352 | | void mgmtd__fe_register_notify_req__free_unpacked |
1353 | | (Mgmtd__FeRegisterNotifyReq *message, |
1354 | | ProtobufCAllocator *allocator) |
1355 | 0 | { |
1356 | 0 | if(!message) |
1357 | 0 | return; |
1358 | 0 | assert(message->base.descriptor == &mgmtd__fe_register_notify_req__descriptor); |
1359 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1360 | 0 | } |
1361 | | void mgmtd__fe_message__init |
1362 | | (Mgmtd__FeMessage *message) |
1363 | 0 | { |
1364 | 0 | static const Mgmtd__FeMessage init_value = MGMTD__FE_MESSAGE__INIT; |
1365 | 0 | *message = init_value; |
1366 | 0 | } |
1367 | | size_t mgmtd__fe_message__get_packed_size |
1368 | | (const Mgmtd__FeMessage *message) |
1369 | 0 | { |
1370 | 0 | assert(message->base.descriptor == &mgmtd__fe_message__descriptor); |
1371 | 0 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1372 | 0 | } |
1373 | | size_t mgmtd__fe_message__pack |
1374 | | (const Mgmtd__FeMessage *message, |
1375 | | uint8_t *out) |
1376 | 0 | { |
1377 | 0 | assert(message->base.descriptor == &mgmtd__fe_message__descriptor); |
1378 | 0 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1379 | 0 | } |
1380 | | size_t mgmtd__fe_message__pack_to_buffer |
1381 | | (const Mgmtd__FeMessage *message, |
1382 | | ProtobufCBuffer *buffer) |
1383 | 0 | { |
1384 | 0 | assert(message->base.descriptor == &mgmtd__fe_message__descriptor); |
1385 | 0 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1386 | 0 | } |
1387 | | Mgmtd__FeMessage * |
1388 | | mgmtd__fe_message__unpack |
1389 | | (ProtobufCAllocator *allocator, |
1390 | | size_t len, |
1391 | | const uint8_t *data) |
1392 | 0 | { |
1393 | 0 | return (Mgmtd__FeMessage *) |
1394 | 0 | protobuf_c_message_unpack (&mgmtd__fe_message__descriptor, |
1395 | 0 | allocator, len, data); |
1396 | 0 | } |
1397 | | void mgmtd__fe_message__free_unpacked |
1398 | | (Mgmtd__FeMessage *message, |
1399 | | ProtobufCAllocator *allocator) |
1400 | 0 | { |
1401 | 0 | if(!message) |
1402 | 0 | return; |
1403 | 0 | assert(message->base.descriptor == &mgmtd__fe_message__descriptor); |
1404 | 0 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1405 | 0 | } |
1406 | | static const ProtobufCFieldDescriptor mgmtd__yang_data_xpath__field_descriptors[1] = |
1407 | | { |
1408 | | { |
1409 | | "xpath", |
1410 | | 1, |
1411 | | PROTOBUF_C_LABEL_REQUIRED, |
1412 | | PROTOBUF_C_TYPE_STRING, |
1413 | | 0, /* quantifier_offset */ |
1414 | | offsetof(Mgmtd__YangDataXPath, xpath), |
1415 | | NULL, |
1416 | | NULL, |
1417 | | 0, /* flags */ |
1418 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1419 | | }, |
1420 | | }; |
1421 | | static const unsigned mgmtd__yang_data_xpath__field_indices_by_name[] = { |
1422 | | 0, /* field[0] = xpath */ |
1423 | | }; |
1424 | | static const ProtobufCIntRange mgmtd__yang_data_xpath__number_ranges[1 + 1] = |
1425 | | { |
1426 | | { 1, 0 }, |
1427 | | { 0, 1 } |
1428 | | }; |
1429 | | const ProtobufCMessageDescriptor mgmtd__yang_data_xpath__descriptor = |
1430 | | { |
1431 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1432 | | "mgmtd.YangDataXPath", |
1433 | | "YangDataXPath", |
1434 | | "Mgmtd__YangDataXPath", |
1435 | | "mgmtd", |
1436 | | sizeof(Mgmtd__YangDataXPath), |
1437 | | 1, |
1438 | | mgmtd__yang_data_xpath__field_descriptors, |
1439 | | mgmtd__yang_data_xpath__field_indices_by_name, |
1440 | | 1, mgmtd__yang_data_xpath__number_ranges, |
1441 | | (ProtobufCMessageInit) mgmtd__yang_data_xpath__init, |
1442 | | NULL,NULL,NULL /* reserved[123] */ |
1443 | | }; |
1444 | | static const ProtobufCFieldDescriptor mgmtd__yang_data_value__field_descriptors[1] = |
1445 | | { |
1446 | | { |
1447 | | "encoded_str_val", |
1448 | | 100, |
1449 | | PROTOBUF_C_LABEL_OPTIONAL, |
1450 | | PROTOBUF_C_TYPE_STRING, |
1451 | | offsetof(Mgmtd__YangDataValue, value_case), |
1452 | | offsetof(Mgmtd__YangDataValue, encoded_str_val), |
1453 | | NULL, |
1454 | | NULL, |
1455 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
1456 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1457 | | }, |
1458 | | }; |
1459 | | static const unsigned mgmtd__yang_data_value__field_indices_by_name[] = { |
1460 | | 0, /* field[0] = encoded_str_val */ |
1461 | | }; |
1462 | | static const ProtobufCIntRange mgmtd__yang_data_value__number_ranges[1 + 1] = |
1463 | | { |
1464 | | { 100, 0 }, |
1465 | | { 0, 1 } |
1466 | | }; |
1467 | | const ProtobufCMessageDescriptor mgmtd__yang_data_value__descriptor = |
1468 | | { |
1469 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1470 | | "mgmtd.YangDataValue", |
1471 | | "YangDataValue", |
1472 | | "Mgmtd__YangDataValue", |
1473 | | "mgmtd", |
1474 | | sizeof(Mgmtd__YangDataValue), |
1475 | | 1, |
1476 | | mgmtd__yang_data_value__field_descriptors, |
1477 | | mgmtd__yang_data_value__field_indices_by_name, |
1478 | | 1, mgmtd__yang_data_value__number_ranges, |
1479 | | (ProtobufCMessageInit) mgmtd__yang_data_value__init, |
1480 | | NULL,NULL,NULL /* reserved[123] */ |
1481 | | }; |
1482 | | static const ProtobufCFieldDescriptor mgmtd__yang_data__field_descriptors[2] = |
1483 | | { |
1484 | | { |
1485 | | "xpath", |
1486 | | 1, |
1487 | | PROTOBUF_C_LABEL_REQUIRED, |
1488 | | PROTOBUF_C_TYPE_STRING, |
1489 | | 0, /* quantifier_offset */ |
1490 | | offsetof(Mgmtd__YangData, xpath), |
1491 | | NULL, |
1492 | | NULL, |
1493 | | 0, /* flags */ |
1494 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1495 | | }, |
1496 | | { |
1497 | | "value", |
1498 | | 2, |
1499 | | PROTOBUF_C_LABEL_OPTIONAL, |
1500 | | PROTOBUF_C_TYPE_MESSAGE, |
1501 | | 0, /* quantifier_offset */ |
1502 | | offsetof(Mgmtd__YangData, value), |
1503 | | &mgmtd__yang_data_value__descriptor, |
1504 | | NULL, |
1505 | | 0, /* flags */ |
1506 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1507 | | }, |
1508 | | }; |
1509 | | static const unsigned mgmtd__yang_data__field_indices_by_name[] = { |
1510 | | 1, /* field[1] = value */ |
1511 | | 0, /* field[0] = xpath */ |
1512 | | }; |
1513 | | static const ProtobufCIntRange mgmtd__yang_data__number_ranges[1 + 1] = |
1514 | | { |
1515 | | { 1, 0 }, |
1516 | | { 0, 2 } |
1517 | | }; |
1518 | | const ProtobufCMessageDescriptor mgmtd__yang_data__descriptor = |
1519 | | { |
1520 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1521 | | "mgmtd.YangData", |
1522 | | "YangData", |
1523 | | "Mgmtd__YangData", |
1524 | | "mgmtd", |
1525 | | sizeof(Mgmtd__YangData), |
1526 | | 2, |
1527 | | mgmtd__yang_data__field_descriptors, |
1528 | | mgmtd__yang_data__field_indices_by_name, |
1529 | | 1, mgmtd__yang_data__number_ranges, |
1530 | | (ProtobufCMessageInit) mgmtd__yang_data__init, |
1531 | | NULL,NULL,NULL /* reserved[123] */ |
1532 | | }; |
1533 | | static const ProtobufCFieldDescriptor mgmtd__yang_cfg_data_req__field_descriptors[2] = |
1534 | | { |
1535 | | { |
1536 | | "data", |
1537 | | 1, |
1538 | | PROTOBUF_C_LABEL_REQUIRED, |
1539 | | PROTOBUF_C_TYPE_MESSAGE, |
1540 | | 0, /* quantifier_offset */ |
1541 | | offsetof(Mgmtd__YangCfgDataReq, data), |
1542 | | &mgmtd__yang_data__descriptor, |
1543 | | NULL, |
1544 | | 0, /* flags */ |
1545 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1546 | | }, |
1547 | | { |
1548 | | "req_type", |
1549 | | 2, |
1550 | | PROTOBUF_C_LABEL_REQUIRED, |
1551 | | PROTOBUF_C_TYPE_ENUM, |
1552 | | 0, /* quantifier_offset */ |
1553 | | offsetof(Mgmtd__YangCfgDataReq, req_type), |
1554 | | &mgmtd__cfg_data_req_type__descriptor, |
1555 | | NULL, |
1556 | | 0, /* flags */ |
1557 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1558 | | }, |
1559 | | }; |
1560 | | static const unsigned mgmtd__yang_cfg_data_req__field_indices_by_name[] = { |
1561 | | 0, /* field[0] = data */ |
1562 | | 1, /* field[1] = req_type */ |
1563 | | }; |
1564 | | static const ProtobufCIntRange mgmtd__yang_cfg_data_req__number_ranges[1 + 1] = |
1565 | | { |
1566 | | { 1, 0 }, |
1567 | | { 0, 2 } |
1568 | | }; |
1569 | | const ProtobufCMessageDescriptor mgmtd__yang_cfg_data_req__descriptor = |
1570 | | { |
1571 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1572 | | "mgmtd.YangCfgDataReq", |
1573 | | "YangCfgDataReq", |
1574 | | "Mgmtd__YangCfgDataReq", |
1575 | | "mgmtd", |
1576 | | sizeof(Mgmtd__YangCfgDataReq), |
1577 | | 2, |
1578 | | mgmtd__yang_cfg_data_req__field_descriptors, |
1579 | | mgmtd__yang_cfg_data_req__field_indices_by_name, |
1580 | | 1, mgmtd__yang_cfg_data_req__number_ranges, |
1581 | | (ProtobufCMessageInit) mgmtd__yang_cfg_data_req__init, |
1582 | | NULL,NULL,NULL /* reserved[123] */ |
1583 | | }; |
1584 | | static const ProtobufCFieldDescriptor mgmtd__yang_get_data_req__field_descriptors[2] = |
1585 | | { |
1586 | | { |
1587 | | "data", |
1588 | | 1, |
1589 | | PROTOBUF_C_LABEL_REQUIRED, |
1590 | | PROTOBUF_C_TYPE_MESSAGE, |
1591 | | 0, /* quantifier_offset */ |
1592 | | offsetof(Mgmtd__YangGetDataReq, data), |
1593 | | &mgmtd__yang_data__descriptor, |
1594 | | NULL, |
1595 | | 0, /* flags */ |
1596 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1597 | | }, |
1598 | | { |
1599 | | "next_indx", |
1600 | | 2, |
1601 | | PROTOBUF_C_LABEL_REQUIRED, |
1602 | | PROTOBUF_C_TYPE_INT64, |
1603 | | 0, /* quantifier_offset */ |
1604 | | offsetof(Mgmtd__YangGetDataReq, next_indx), |
1605 | | NULL, |
1606 | | NULL, |
1607 | | 0, /* flags */ |
1608 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1609 | | }, |
1610 | | }; |
1611 | | static const unsigned mgmtd__yang_get_data_req__field_indices_by_name[] = { |
1612 | | 0, /* field[0] = data */ |
1613 | | 1, /* field[1] = next_indx */ |
1614 | | }; |
1615 | | static const ProtobufCIntRange mgmtd__yang_get_data_req__number_ranges[1 + 1] = |
1616 | | { |
1617 | | { 1, 0 }, |
1618 | | { 0, 2 } |
1619 | | }; |
1620 | | const ProtobufCMessageDescriptor mgmtd__yang_get_data_req__descriptor = |
1621 | | { |
1622 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1623 | | "mgmtd.YangGetDataReq", |
1624 | | "YangGetDataReq", |
1625 | | "Mgmtd__YangGetDataReq", |
1626 | | "mgmtd", |
1627 | | sizeof(Mgmtd__YangGetDataReq), |
1628 | | 2, |
1629 | | mgmtd__yang_get_data_req__field_descriptors, |
1630 | | mgmtd__yang_get_data_req__field_indices_by_name, |
1631 | | 1, mgmtd__yang_get_data_req__number_ranges, |
1632 | | (ProtobufCMessageInit) mgmtd__yang_get_data_req__init, |
1633 | | NULL,NULL,NULL /* reserved[123] */ |
1634 | | }; |
1635 | | static const ProtobufCFieldDescriptor mgmtd__be_subscribe_req__field_descriptors[3] = |
1636 | | { |
1637 | | { |
1638 | | "client_name", |
1639 | | 1, |
1640 | | PROTOBUF_C_LABEL_REQUIRED, |
1641 | | PROTOBUF_C_TYPE_STRING, |
1642 | | 0, /* quantifier_offset */ |
1643 | | offsetof(Mgmtd__BeSubscribeReq, client_name), |
1644 | | NULL, |
1645 | | NULL, |
1646 | | 0, /* flags */ |
1647 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1648 | | }, |
1649 | | { |
1650 | | "subscribe_xpaths", |
1651 | | 2, |
1652 | | PROTOBUF_C_LABEL_REQUIRED, |
1653 | | PROTOBUF_C_TYPE_BOOL, |
1654 | | 0, /* quantifier_offset */ |
1655 | | offsetof(Mgmtd__BeSubscribeReq, subscribe_xpaths), |
1656 | | NULL, |
1657 | | NULL, |
1658 | | 0, /* flags */ |
1659 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1660 | | }, |
1661 | | { |
1662 | | "xpath_reg", |
1663 | | 3, |
1664 | | PROTOBUF_C_LABEL_REPEATED, |
1665 | | PROTOBUF_C_TYPE_STRING, |
1666 | | offsetof(Mgmtd__BeSubscribeReq, n_xpath_reg), |
1667 | | offsetof(Mgmtd__BeSubscribeReq, xpath_reg), |
1668 | | NULL, |
1669 | | NULL, |
1670 | | 0, /* flags */ |
1671 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1672 | | }, |
1673 | | }; |
1674 | | static const unsigned mgmtd__be_subscribe_req__field_indices_by_name[] = { |
1675 | | 0, /* field[0] = client_name */ |
1676 | | 1, /* field[1] = subscribe_xpaths */ |
1677 | | 2, /* field[2] = xpath_reg */ |
1678 | | }; |
1679 | | static const ProtobufCIntRange mgmtd__be_subscribe_req__number_ranges[1 + 1] = |
1680 | | { |
1681 | | { 1, 0 }, |
1682 | | { 0, 3 } |
1683 | | }; |
1684 | | const ProtobufCMessageDescriptor mgmtd__be_subscribe_req__descriptor = |
1685 | | { |
1686 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1687 | | "mgmtd.BeSubscribeReq", |
1688 | | "BeSubscribeReq", |
1689 | | "Mgmtd__BeSubscribeReq", |
1690 | | "mgmtd", |
1691 | | sizeof(Mgmtd__BeSubscribeReq), |
1692 | | 3, |
1693 | | mgmtd__be_subscribe_req__field_descriptors, |
1694 | | mgmtd__be_subscribe_req__field_indices_by_name, |
1695 | | 1, mgmtd__be_subscribe_req__number_ranges, |
1696 | | (ProtobufCMessageInit) mgmtd__be_subscribe_req__init, |
1697 | | NULL,NULL,NULL /* reserved[123] */ |
1698 | | }; |
1699 | | static const ProtobufCFieldDescriptor mgmtd__be_subscribe_reply__field_descriptors[1] = |
1700 | | { |
1701 | | { |
1702 | | "success", |
1703 | | 1, |
1704 | | PROTOBUF_C_LABEL_REQUIRED, |
1705 | | PROTOBUF_C_TYPE_BOOL, |
1706 | | 0, /* quantifier_offset */ |
1707 | | offsetof(Mgmtd__BeSubscribeReply, success), |
1708 | | NULL, |
1709 | | NULL, |
1710 | | 0, /* flags */ |
1711 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1712 | | }, |
1713 | | }; |
1714 | | static const unsigned mgmtd__be_subscribe_reply__field_indices_by_name[] = { |
1715 | | 0, /* field[0] = success */ |
1716 | | }; |
1717 | | static const ProtobufCIntRange mgmtd__be_subscribe_reply__number_ranges[1 + 1] = |
1718 | | { |
1719 | | { 1, 0 }, |
1720 | | { 0, 1 } |
1721 | | }; |
1722 | | const ProtobufCMessageDescriptor mgmtd__be_subscribe_reply__descriptor = |
1723 | | { |
1724 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1725 | | "mgmtd.BeSubscribeReply", |
1726 | | "BeSubscribeReply", |
1727 | | "Mgmtd__BeSubscribeReply", |
1728 | | "mgmtd", |
1729 | | sizeof(Mgmtd__BeSubscribeReply), |
1730 | | 1, |
1731 | | mgmtd__be_subscribe_reply__field_descriptors, |
1732 | | mgmtd__be_subscribe_reply__field_indices_by_name, |
1733 | | 1, mgmtd__be_subscribe_reply__number_ranges, |
1734 | | (ProtobufCMessageInit) mgmtd__be_subscribe_reply__init, |
1735 | | NULL,NULL,NULL /* reserved[123] */ |
1736 | | }; |
1737 | | static const ProtobufCFieldDescriptor mgmtd__be_txn_req__field_descriptors[2] = |
1738 | | { |
1739 | | { |
1740 | | "txn_id", |
1741 | | 1, |
1742 | | PROTOBUF_C_LABEL_REQUIRED, |
1743 | | PROTOBUF_C_TYPE_UINT64, |
1744 | | 0, /* quantifier_offset */ |
1745 | | offsetof(Mgmtd__BeTxnReq, txn_id), |
1746 | | NULL, |
1747 | | NULL, |
1748 | | 0, /* flags */ |
1749 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1750 | | }, |
1751 | | { |
1752 | | "create", |
1753 | | 2, |
1754 | | PROTOBUF_C_LABEL_REQUIRED, |
1755 | | PROTOBUF_C_TYPE_BOOL, |
1756 | | 0, /* quantifier_offset */ |
1757 | | offsetof(Mgmtd__BeTxnReq, create), |
1758 | | NULL, |
1759 | | NULL, |
1760 | | 0, /* flags */ |
1761 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1762 | | }, |
1763 | | }; |
1764 | | static const unsigned mgmtd__be_txn_req__field_indices_by_name[] = { |
1765 | | 1, /* field[1] = create */ |
1766 | | 0, /* field[0] = txn_id */ |
1767 | | }; |
1768 | | static const ProtobufCIntRange mgmtd__be_txn_req__number_ranges[1 + 1] = |
1769 | | { |
1770 | | { 1, 0 }, |
1771 | | { 0, 2 } |
1772 | | }; |
1773 | | const ProtobufCMessageDescriptor mgmtd__be_txn_req__descriptor = |
1774 | | { |
1775 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1776 | | "mgmtd.BeTxnReq", |
1777 | | "BeTxnReq", |
1778 | | "Mgmtd__BeTxnReq", |
1779 | | "mgmtd", |
1780 | | sizeof(Mgmtd__BeTxnReq), |
1781 | | 2, |
1782 | | mgmtd__be_txn_req__field_descriptors, |
1783 | | mgmtd__be_txn_req__field_indices_by_name, |
1784 | | 1, mgmtd__be_txn_req__number_ranges, |
1785 | | (ProtobufCMessageInit) mgmtd__be_txn_req__init, |
1786 | | NULL,NULL,NULL /* reserved[123] */ |
1787 | | }; |
1788 | | static const ProtobufCFieldDescriptor mgmtd__be_txn_reply__field_descriptors[3] = |
1789 | | { |
1790 | | { |
1791 | | "txn_id", |
1792 | | 1, |
1793 | | PROTOBUF_C_LABEL_REQUIRED, |
1794 | | PROTOBUF_C_TYPE_UINT64, |
1795 | | 0, /* quantifier_offset */ |
1796 | | offsetof(Mgmtd__BeTxnReply, txn_id), |
1797 | | NULL, |
1798 | | NULL, |
1799 | | 0, /* flags */ |
1800 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1801 | | }, |
1802 | | { |
1803 | | "create", |
1804 | | 2, |
1805 | | PROTOBUF_C_LABEL_REQUIRED, |
1806 | | PROTOBUF_C_TYPE_BOOL, |
1807 | | 0, /* quantifier_offset */ |
1808 | | offsetof(Mgmtd__BeTxnReply, create), |
1809 | | NULL, |
1810 | | NULL, |
1811 | | 0, /* flags */ |
1812 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1813 | | }, |
1814 | | { |
1815 | | "success", |
1816 | | 3, |
1817 | | PROTOBUF_C_LABEL_REQUIRED, |
1818 | | PROTOBUF_C_TYPE_BOOL, |
1819 | | 0, /* quantifier_offset */ |
1820 | | offsetof(Mgmtd__BeTxnReply, success), |
1821 | | NULL, |
1822 | | NULL, |
1823 | | 0, /* flags */ |
1824 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1825 | | }, |
1826 | | }; |
1827 | | static const unsigned mgmtd__be_txn_reply__field_indices_by_name[] = { |
1828 | | 1, /* field[1] = create */ |
1829 | | 2, /* field[2] = success */ |
1830 | | 0, /* field[0] = txn_id */ |
1831 | | }; |
1832 | | static const ProtobufCIntRange mgmtd__be_txn_reply__number_ranges[1 + 1] = |
1833 | | { |
1834 | | { 1, 0 }, |
1835 | | { 0, 3 } |
1836 | | }; |
1837 | | const ProtobufCMessageDescriptor mgmtd__be_txn_reply__descriptor = |
1838 | | { |
1839 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1840 | | "mgmtd.BeTxnReply", |
1841 | | "BeTxnReply", |
1842 | | "Mgmtd__BeTxnReply", |
1843 | | "mgmtd", |
1844 | | sizeof(Mgmtd__BeTxnReply), |
1845 | | 3, |
1846 | | mgmtd__be_txn_reply__field_descriptors, |
1847 | | mgmtd__be_txn_reply__field_indices_by_name, |
1848 | | 1, mgmtd__be_txn_reply__number_ranges, |
1849 | | (ProtobufCMessageInit) mgmtd__be_txn_reply__init, |
1850 | | NULL,NULL,NULL /* reserved[123] */ |
1851 | | }; |
1852 | | static const ProtobufCFieldDescriptor mgmtd__be_cfg_data_create_req__field_descriptors[4] = |
1853 | | { |
1854 | | { |
1855 | | "txn_id", |
1856 | | 1, |
1857 | | PROTOBUF_C_LABEL_REQUIRED, |
1858 | | PROTOBUF_C_TYPE_UINT64, |
1859 | | 0, /* quantifier_offset */ |
1860 | | offsetof(Mgmtd__BeCfgDataCreateReq, txn_id), |
1861 | | NULL, |
1862 | | NULL, |
1863 | | 0, /* flags */ |
1864 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1865 | | }, |
1866 | | { |
1867 | | "batch_id", |
1868 | | 2, |
1869 | | PROTOBUF_C_LABEL_REQUIRED, |
1870 | | PROTOBUF_C_TYPE_UINT64, |
1871 | | 0, /* quantifier_offset */ |
1872 | | offsetof(Mgmtd__BeCfgDataCreateReq, batch_id), |
1873 | | NULL, |
1874 | | NULL, |
1875 | | 0, /* flags */ |
1876 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1877 | | }, |
1878 | | { |
1879 | | "data_req", |
1880 | | 3, |
1881 | | PROTOBUF_C_LABEL_REPEATED, |
1882 | | PROTOBUF_C_TYPE_MESSAGE, |
1883 | | offsetof(Mgmtd__BeCfgDataCreateReq, n_data_req), |
1884 | | offsetof(Mgmtd__BeCfgDataCreateReq, data_req), |
1885 | | &mgmtd__yang_cfg_data_req__descriptor, |
1886 | | NULL, |
1887 | | 0, /* flags */ |
1888 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1889 | | }, |
1890 | | { |
1891 | | "end_of_data", |
1892 | | 4, |
1893 | | PROTOBUF_C_LABEL_REQUIRED, |
1894 | | PROTOBUF_C_TYPE_BOOL, |
1895 | | 0, /* quantifier_offset */ |
1896 | | offsetof(Mgmtd__BeCfgDataCreateReq, end_of_data), |
1897 | | NULL, |
1898 | | NULL, |
1899 | | 0, /* flags */ |
1900 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1901 | | }, |
1902 | | }; |
1903 | | static const unsigned mgmtd__be_cfg_data_create_req__field_indices_by_name[] = { |
1904 | | 1, /* field[1] = batch_id */ |
1905 | | 2, /* field[2] = data_req */ |
1906 | | 3, /* field[3] = end_of_data */ |
1907 | | 0, /* field[0] = txn_id */ |
1908 | | }; |
1909 | | static const ProtobufCIntRange mgmtd__be_cfg_data_create_req__number_ranges[1 + 1] = |
1910 | | { |
1911 | | { 1, 0 }, |
1912 | | { 0, 4 } |
1913 | | }; |
1914 | | const ProtobufCMessageDescriptor mgmtd__be_cfg_data_create_req__descriptor = |
1915 | | { |
1916 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1917 | | "mgmtd.BeCfgDataCreateReq", |
1918 | | "BeCfgDataCreateReq", |
1919 | | "Mgmtd__BeCfgDataCreateReq", |
1920 | | "mgmtd", |
1921 | | sizeof(Mgmtd__BeCfgDataCreateReq), |
1922 | | 4, |
1923 | | mgmtd__be_cfg_data_create_req__field_descriptors, |
1924 | | mgmtd__be_cfg_data_create_req__field_indices_by_name, |
1925 | | 1, mgmtd__be_cfg_data_create_req__number_ranges, |
1926 | | (ProtobufCMessageInit) mgmtd__be_cfg_data_create_req__init, |
1927 | | NULL,NULL,NULL /* reserved[123] */ |
1928 | | }; |
1929 | | static const ProtobufCFieldDescriptor mgmtd__be_cfg_data_create_reply__field_descriptors[4] = |
1930 | | { |
1931 | | { |
1932 | | "txn_id", |
1933 | | 1, |
1934 | | PROTOBUF_C_LABEL_REQUIRED, |
1935 | | PROTOBUF_C_TYPE_UINT64, |
1936 | | 0, /* quantifier_offset */ |
1937 | | offsetof(Mgmtd__BeCfgDataCreateReply, txn_id), |
1938 | | NULL, |
1939 | | NULL, |
1940 | | 0, /* flags */ |
1941 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1942 | | }, |
1943 | | { |
1944 | | "batch_id", |
1945 | | 2, |
1946 | | PROTOBUF_C_LABEL_REQUIRED, |
1947 | | PROTOBUF_C_TYPE_UINT64, |
1948 | | 0, /* quantifier_offset */ |
1949 | | offsetof(Mgmtd__BeCfgDataCreateReply, batch_id), |
1950 | | NULL, |
1951 | | NULL, |
1952 | | 0, /* flags */ |
1953 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1954 | | }, |
1955 | | { |
1956 | | "success", |
1957 | | 3, |
1958 | | PROTOBUF_C_LABEL_REQUIRED, |
1959 | | PROTOBUF_C_TYPE_BOOL, |
1960 | | 0, /* quantifier_offset */ |
1961 | | offsetof(Mgmtd__BeCfgDataCreateReply, success), |
1962 | | NULL, |
1963 | | NULL, |
1964 | | 0, /* flags */ |
1965 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1966 | | }, |
1967 | | { |
1968 | | "error_if_any", |
1969 | | 4, |
1970 | | PROTOBUF_C_LABEL_OPTIONAL, |
1971 | | PROTOBUF_C_TYPE_STRING, |
1972 | | 0, /* quantifier_offset */ |
1973 | | offsetof(Mgmtd__BeCfgDataCreateReply, error_if_any), |
1974 | | NULL, |
1975 | | NULL, |
1976 | | 0, /* flags */ |
1977 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
1978 | | }, |
1979 | | }; |
1980 | | static const unsigned mgmtd__be_cfg_data_create_reply__field_indices_by_name[] = { |
1981 | | 1, /* field[1] = batch_id */ |
1982 | | 3, /* field[3] = error_if_any */ |
1983 | | 2, /* field[2] = success */ |
1984 | | 0, /* field[0] = txn_id */ |
1985 | | }; |
1986 | | static const ProtobufCIntRange mgmtd__be_cfg_data_create_reply__number_ranges[1 + 1] = |
1987 | | { |
1988 | | { 1, 0 }, |
1989 | | { 0, 4 } |
1990 | | }; |
1991 | | const ProtobufCMessageDescriptor mgmtd__be_cfg_data_create_reply__descriptor = |
1992 | | { |
1993 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
1994 | | "mgmtd.BeCfgDataCreateReply", |
1995 | | "BeCfgDataCreateReply", |
1996 | | "Mgmtd__BeCfgDataCreateReply", |
1997 | | "mgmtd", |
1998 | | sizeof(Mgmtd__BeCfgDataCreateReply), |
1999 | | 4, |
2000 | | mgmtd__be_cfg_data_create_reply__field_descriptors, |
2001 | | mgmtd__be_cfg_data_create_reply__field_indices_by_name, |
2002 | | 1, mgmtd__be_cfg_data_create_reply__number_ranges, |
2003 | | (ProtobufCMessageInit) mgmtd__be_cfg_data_create_reply__init, |
2004 | | NULL,NULL,NULL /* reserved[123] */ |
2005 | | }; |
2006 | | static const ProtobufCFieldDescriptor mgmtd__be_cfg_data_apply_req__field_descriptors[1] = |
2007 | | { |
2008 | | { |
2009 | | "txn_id", |
2010 | | 1, |
2011 | | PROTOBUF_C_LABEL_REQUIRED, |
2012 | | PROTOBUF_C_TYPE_UINT64, |
2013 | | 0, /* quantifier_offset */ |
2014 | | offsetof(Mgmtd__BeCfgDataApplyReq, txn_id), |
2015 | | NULL, |
2016 | | NULL, |
2017 | | 0, /* flags */ |
2018 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2019 | | }, |
2020 | | }; |
2021 | | static const unsigned mgmtd__be_cfg_data_apply_req__field_indices_by_name[] = { |
2022 | | 0, /* field[0] = txn_id */ |
2023 | | }; |
2024 | | static const ProtobufCIntRange mgmtd__be_cfg_data_apply_req__number_ranges[1 + 1] = |
2025 | | { |
2026 | | { 1, 0 }, |
2027 | | { 0, 1 } |
2028 | | }; |
2029 | | const ProtobufCMessageDescriptor mgmtd__be_cfg_data_apply_req__descriptor = |
2030 | | { |
2031 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2032 | | "mgmtd.BeCfgDataApplyReq", |
2033 | | "BeCfgDataApplyReq", |
2034 | | "Mgmtd__BeCfgDataApplyReq", |
2035 | | "mgmtd", |
2036 | | sizeof(Mgmtd__BeCfgDataApplyReq), |
2037 | | 1, |
2038 | | mgmtd__be_cfg_data_apply_req__field_descriptors, |
2039 | | mgmtd__be_cfg_data_apply_req__field_indices_by_name, |
2040 | | 1, mgmtd__be_cfg_data_apply_req__number_ranges, |
2041 | | (ProtobufCMessageInit) mgmtd__be_cfg_data_apply_req__init, |
2042 | | NULL,NULL,NULL /* reserved[123] */ |
2043 | | }; |
2044 | | static const ProtobufCFieldDescriptor mgmtd__be_cfg_data_apply_reply__field_descriptors[4] = |
2045 | | { |
2046 | | { |
2047 | | "txn_id", |
2048 | | 1, |
2049 | | PROTOBUF_C_LABEL_REQUIRED, |
2050 | | PROTOBUF_C_TYPE_UINT64, |
2051 | | 0, /* quantifier_offset */ |
2052 | | offsetof(Mgmtd__BeCfgDataApplyReply, txn_id), |
2053 | | NULL, |
2054 | | NULL, |
2055 | | 0, /* flags */ |
2056 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2057 | | }, |
2058 | | { |
2059 | | "batch_ids", |
2060 | | 2, |
2061 | | PROTOBUF_C_LABEL_REPEATED, |
2062 | | PROTOBUF_C_TYPE_UINT64, |
2063 | | offsetof(Mgmtd__BeCfgDataApplyReply, n_batch_ids), |
2064 | | offsetof(Mgmtd__BeCfgDataApplyReply, batch_ids), |
2065 | | NULL, |
2066 | | NULL, |
2067 | | 0, /* flags */ |
2068 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2069 | | }, |
2070 | | { |
2071 | | "success", |
2072 | | 3, |
2073 | | PROTOBUF_C_LABEL_REQUIRED, |
2074 | | PROTOBUF_C_TYPE_BOOL, |
2075 | | 0, /* quantifier_offset */ |
2076 | | offsetof(Mgmtd__BeCfgDataApplyReply, success), |
2077 | | NULL, |
2078 | | NULL, |
2079 | | 0, /* flags */ |
2080 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2081 | | }, |
2082 | | { |
2083 | | "error_if_any", |
2084 | | 4, |
2085 | | PROTOBUF_C_LABEL_OPTIONAL, |
2086 | | PROTOBUF_C_TYPE_STRING, |
2087 | | 0, /* quantifier_offset */ |
2088 | | offsetof(Mgmtd__BeCfgDataApplyReply, error_if_any), |
2089 | | NULL, |
2090 | | NULL, |
2091 | | 0, /* flags */ |
2092 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2093 | | }, |
2094 | | }; |
2095 | | static const unsigned mgmtd__be_cfg_data_apply_reply__field_indices_by_name[] = { |
2096 | | 1, /* field[1] = batch_ids */ |
2097 | | 3, /* field[3] = error_if_any */ |
2098 | | 2, /* field[2] = success */ |
2099 | | 0, /* field[0] = txn_id */ |
2100 | | }; |
2101 | | static const ProtobufCIntRange mgmtd__be_cfg_data_apply_reply__number_ranges[1 + 1] = |
2102 | | { |
2103 | | { 1, 0 }, |
2104 | | { 0, 4 } |
2105 | | }; |
2106 | | const ProtobufCMessageDescriptor mgmtd__be_cfg_data_apply_reply__descriptor = |
2107 | | { |
2108 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2109 | | "mgmtd.BeCfgDataApplyReply", |
2110 | | "BeCfgDataApplyReply", |
2111 | | "Mgmtd__BeCfgDataApplyReply", |
2112 | | "mgmtd", |
2113 | | sizeof(Mgmtd__BeCfgDataApplyReply), |
2114 | | 4, |
2115 | | mgmtd__be_cfg_data_apply_reply__field_descriptors, |
2116 | | mgmtd__be_cfg_data_apply_reply__field_indices_by_name, |
2117 | | 1, mgmtd__be_cfg_data_apply_reply__number_ranges, |
2118 | | (ProtobufCMessageInit) mgmtd__be_cfg_data_apply_reply__init, |
2119 | | NULL,NULL,NULL /* reserved[123] */ |
2120 | | }; |
2121 | | static const ProtobufCFieldDescriptor mgmtd__be_oper_data_get_req__field_descriptors[3] = |
2122 | | { |
2123 | | { |
2124 | | "txn_id", |
2125 | | 1, |
2126 | | PROTOBUF_C_LABEL_REQUIRED, |
2127 | | PROTOBUF_C_TYPE_UINT64, |
2128 | | 0, /* quantifier_offset */ |
2129 | | offsetof(Mgmtd__BeOperDataGetReq, txn_id), |
2130 | | NULL, |
2131 | | NULL, |
2132 | | 0, /* flags */ |
2133 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2134 | | }, |
2135 | | { |
2136 | | "batch_id", |
2137 | | 2, |
2138 | | PROTOBUF_C_LABEL_REQUIRED, |
2139 | | PROTOBUF_C_TYPE_UINT64, |
2140 | | 0, /* quantifier_offset */ |
2141 | | offsetof(Mgmtd__BeOperDataGetReq, batch_id), |
2142 | | NULL, |
2143 | | NULL, |
2144 | | 0, /* flags */ |
2145 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2146 | | }, |
2147 | | { |
2148 | | "data", |
2149 | | 3, |
2150 | | PROTOBUF_C_LABEL_REPEATED, |
2151 | | PROTOBUF_C_TYPE_MESSAGE, |
2152 | | offsetof(Mgmtd__BeOperDataGetReq, n_data), |
2153 | | offsetof(Mgmtd__BeOperDataGetReq, data), |
2154 | | &mgmtd__yang_get_data_req__descriptor, |
2155 | | NULL, |
2156 | | 0, /* flags */ |
2157 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2158 | | }, |
2159 | | }; |
2160 | | static const unsigned mgmtd__be_oper_data_get_req__field_indices_by_name[] = { |
2161 | | 1, /* field[1] = batch_id */ |
2162 | | 2, /* field[2] = data */ |
2163 | | 0, /* field[0] = txn_id */ |
2164 | | }; |
2165 | | static const ProtobufCIntRange mgmtd__be_oper_data_get_req__number_ranges[1 + 1] = |
2166 | | { |
2167 | | { 1, 0 }, |
2168 | | { 0, 3 } |
2169 | | }; |
2170 | | const ProtobufCMessageDescriptor mgmtd__be_oper_data_get_req__descriptor = |
2171 | | { |
2172 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2173 | | "mgmtd.BeOperDataGetReq", |
2174 | | "BeOperDataGetReq", |
2175 | | "Mgmtd__BeOperDataGetReq", |
2176 | | "mgmtd", |
2177 | | sizeof(Mgmtd__BeOperDataGetReq), |
2178 | | 3, |
2179 | | mgmtd__be_oper_data_get_req__field_descriptors, |
2180 | | mgmtd__be_oper_data_get_req__field_indices_by_name, |
2181 | | 1, mgmtd__be_oper_data_get_req__number_ranges, |
2182 | | (ProtobufCMessageInit) mgmtd__be_oper_data_get_req__init, |
2183 | | NULL,NULL,NULL /* reserved[123] */ |
2184 | | }; |
2185 | | static const ProtobufCFieldDescriptor mgmtd__yang_data_reply__field_descriptors[2] = |
2186 | | { |
2187 | | { |
2188 | | "data", |
2189 | | 1, |
2190 | | PROTOBUF_C_LABEL_REPEATED, |
2191 | | PROTOBUF_C_TYPE_MESSAGE, |
2192 | | offsetof(Mgmtd__YangDataReply, n_data), |
2193 | | offsetof(Mgmtd__YangDataReply, data), |
2194 | | &mgmtd__yang_data__descriptor, |
2195 | | NULL, |
2196 | | 0, /* flags */ |
2197 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2198 | | }, |
2199 | | { |
2200 | | "next_indx", |
2201 | | 2, |
2202 | | PROTOBUF_C_LABEL_REQUIRED, |
2203 | | PROTOBUF_C_TYPE_INT64, |
2204 | | 0, /* quantifier_offset */ |
2205 | | offsetof(Mgmtd__YangDataReply, next_indx), |
2206 | | NULL, |
2207 | | NULL, |
2208 | | 0, /* flags */ |
2209 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2210 | | }, |
2211 | | }; |
2212 | | static const unsigned mgmtd__yang_data_reply__field_indices_by_name[] = { |
2213 | | 0, /* field[0] = data */ |
2214 | | 1, /* field[1] = next_indx */ |
2215 | | }; |
2216 | | static const ProtobufCIntRange mgmtd__yang_data_reply__number_ranges[1 + 1] = |
2217 | | { |
2218 | | { 1, 0 }, |
2219 | | { 0, 2 } |
2220 | | }; |
2221 | | const ProtobufCMessageDescriptor mgmtd__yang_data_reply__descriptor = |
2222 | | { |
2223 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2224 | | "mgmtd.YangDataReply", |
2225 | | "YangDataReply", |
2226 | | "Mgmtd__YangDataReply", |
2227 | | "mgmtd", |
2228 | | sizeof(Mgmtd__YangDataReply), |
2229 | | 2, |
2230 | | mgmtd__yang_data_reply__field_descriptors, |
2231 | | mgmtd__yang_data_reply__field_indices_by_name, |
2232 | | 1, mgmtd__yang_data_reply__number_ranges, |
2233 | | (ProtobufCMessageInit) mgmtd__yang_data_reply__init, |
2234 | | NULL,NULL,NULL /* reserved[123] */ |
2235 | | }; |
2236 | | static const ProtobufCFieldDescriptor mgmtd__be_oper_data_get_reply__field_descriptors[5] = |
2237 | | { |
2238 | | { |
2239 | | "txn_id", |
2240 | | 1, |
2241 | | PROTOBUF_C_LABEL_REQUIRED, |
2242 | | PROTOBUF_C_TYPE_UINT64, |
2243 | | 0, /* quantifier_offset */ |
2244 | | offsetof(Mgmtd__BeOperDataGetReply, txn_id), |
2245 | | NULL, |
2246 | | NULL, |
2247 | | 0, /* flags */ |
2248 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2249 | | }, |
2250 | | { |
2251 | | "batch_id", |
2252 | | 2, |
2253 | | PROTOBUF_C_LABEL_REQUIRED, |
2254 | | PROTOBUF_C_TYPE_UINT64, |
2255 | | 0, /* quantifier_offset */ |
2256 | | offsetof(Mgmtd__BeOperDataGetReply, batch_id), |
2257 | | NULL, |
2258 | | NULL, |
2259 | | 0, /* flags */ |
2260 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2261 | | }, |
2262 | | { |
2263 | | "success", |
2264 | | 3, |
2265 | | PROTOBUF_C_LABEL_REQUIRED, |
2266 | | PROTOBUF_C_TYPE_BOOL, |
2267 | | 0, /* quantifier_offset */ |
2268 | | offsetof(Mgmtd__BeOperDataGetReply, success), |
2269 | | NULL, |
2270 | | NULL, |
2271 | | 0, /* flags */ |
2272 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2273 | | }, |
2274 | | { |
2275 | | "error", |
2276 | | 4, |
2277 | | PROTOBUF_C_LABEL_OPTIONAL, |
2278 | | PROTOBUF_C_TYPE_STRING, |
2279 | | 0, /* quantifier_offset */ |
2280 | | offsetof(Mgmtd__BeOperDataGetReply, error), |
2281 | | NULL, |
2282 | | NULL, |
2283 | | 0, /* flags */ |
2284 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2285 | | }, |
2286 | | { |
2287 | | "data", |
2288 | | 5, |
2289 | | PROTOBUF_C_LABEL_OPTIONAL, |
2290 | | PROTOBUF_C_TYPE_MESSAGE, |
2291 | | 0, /* quantifier_offset */ |
2292 | | offsetof(Mgmtd__BeOperDataGetReply, data), |
2293 | | &mgmtd__yang_data_reply__descriptor, |
2294 | | NULL, |
2295 | | 0, /* flags */ |
2296 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2297 | | }, |
2298 | | }; |
2299 | | static const unsigned mgmtd__be_oper_data_get_reply__field_indices_by_name[] = { |
2300 | | 1, /* field[1] = batch_id */ |
2301 | | 4, /* field[4] = data */ |
2302 | | 3, /* field[3] = error */ |
2303 | | 2, /* field[2] = success */ |
2304 | | 0, /* field[0] = txn_id */ |
2305 | | }; |
2306 | | static const ProtobufCIntRange mgmtd__be_oper_data_get_reply__number_ranges[1 + 1] = |
2307 | | { |
2308 | | { 1, 0 }, |
2309 | | { 0, 5 } |
2310 | | }; |
2311 | | const ProtobufCMessageDescriptor mgmtd__be_oper_data_get_reply__descriptor = |
2312 | | { |
2313 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2314 | | "mgmtd.BeOperDataGetReply", |
2315 | | "BeOperDataGetReply", |
2316 | | "Mgmtd__BeOperDataGetReply", |
2317 | | "mgmtd", |
2318 | | sizeof(Mgmtd__BeOperDataGetReply), |
2319 | | 5, |
2320 | | mgmtd__be_oper_data_get_reply__field_descriptors, |
2321 | | mgmtd__be_oper_data_get_reply__field_indices_by_name, |
2322 | | 1, mgmtd__be_oper_data_get_reply__number_ranges, |
2323 | | (ProtobufCMessageInit) mgmtd__be_oper_data_get_reply__init, |
2324 | | NULL,NULL,NULL /* reserved[123] */ |
2325 | | }; |
2326 | | static const ProtobufCFieldDescriptor mgmtd__be_message__field_descriptors[10] = |
2327 | | { |
2328 | | { |
2329 | | "subscr_req", |
2330 | | 2, |
2331 | | PROTOBUF_C_LABEL_OPTIONAL, |
2332 | | PROTOBUF_C_TYPE_MESSAGE, |
2333 | | offsetof(Mgmtd__BeMessage, message_case), |
2334 | | offsetof(Mgmtd__BeMessage, subscr_req), |
2335 | | &mgmtd__be_subscribe_req__descriptor, |
2336 | | NULL, |
2337 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2338 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2339 | | }, |
2340 | | { |
2341 | | "subscr_reply", |
2342 | | 3, |
2343 | | PROTOBUF_C_LABEL_OPTIONAL, |
2344 | | PROTOBUF_C_TYPE_MESSAGE, |
2345 | | offsetof(Mgmtd__BeMessage, message_case), |
2346 | | offsetof(Mgmtd__BeMessage, subscr_reply), |
2347 | | &mgmtd__be_subscribe_reply__descriptor, |
2348 | | NULL, |
2349 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2350 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2351 | | }, |
2352 | | { |
2353 | | "txn_req", |
2354 | | 4, |
2355 | | PROTOBUF_C_LABEL_OPTIONAL, |
2356 | | PROTOBUF_C_TYPE_MESSAGE, |
2357 | | offsetof(Mgmtd__BeMessage, message_case), |
2358 | | offsetof(Mgmtd__BeMessage, txn_req), |
2359 | | &mgmtd__be_txn_req__descriptor, |
2360 | | NULL, |
2361 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2362 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2363 | | }, |
2364 | | { |
2365 | | "txn_reply", |
2366 | | 5, |
2367 | | PROTOBUF_C_LABEL_OPTIONAL, |
2368 | | PROTOBUF_C_TYPE_MESSAGE, |
2369 | | offsetof(Mgmtd__BeMessage, message_case), |
2370 | | offsetof(Mgmtd__BeMessage, txn_reply), |
2371 | | &mgmtd__be_txn_reply__descriptor, |
2372 | | NULL, |
2373 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2374 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2375 | | }, |
2376 | | { |
2377 | | "cfg_data_req", |
2378 | | 6, |
2379 | | PROTOBUF_C_LABEL_OPTIONAL, |
2380 | | PROTOBUF_C_TYPE_MESSAGE, |
2381 | | offsetof(Mgmtd__BeMessage, message_case), |
2382 | | offsetof(Mgmtd__BeMessage, cfg_data_req), |
2383 | | &mgmtd__be_cfg_data_create_req__descriptor, |
2384 | | NULL, |
2385 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2386 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2387 | | }, |
2388 | | { |
2389 | | "cfg_data_reply", |
2390 | | 7, |
2391 | | PROTOBUF_C_LABEL_OPTIONAL, |
2392 | | PROTOBUF_C_TYPE_MESSAGE, |
2393 | | offsetof(Mgmtd__BeMessage, message_case), |
2394 | | offsetof(Mgmtd__BeMessage, cfg_data_reply), |
2395 | | &mgmtd__be_cfg_data_create_reply__descriptor, |
2396 | | NULL, |
2397 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2398 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2399 | | }, |
2400 | | { |
2401 | | "cfg_apply_req", |
2402 | | 8, |
2403 | | PROTOBUF_C_LABEL_OPTIONAL, |
2404 | | PROTOBUF_C_TYPE_MESSAGE, |
2405 | | offsetof(Mgmtd__BeMessage, message_case), |
2406 | | offsetof(Mgmtd__BeMessage, cfg_apply_req), |
2407 | | &mgmtd__be_cfg_data_apply_req__descriptor, |
2408 | | NULL, |
2409 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2410 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2411 | | }, |
2412 | | { |
2413 | | "cfg_apply_reply", |
2414 | | 9, |
2415 | | PROTOBUF_C_LABEL_OPTIONAL, |
2416 | | PROTOBUF_C_TYPE_MESSAGE, |
2417 | | offsetof(Mgmtd__BeMessage, message_case), |
2418 | | offsetof(Mgmtd__BeMessage, cfg_apply_reply), |
2419 | | &mgmtd__be_cfg_data_apply_reply__descriptor, |
2420 | | NULL, |
2421 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2422 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2423 | | }, |
2424 | | { |
2425 | | "get_req", |
2426 | | 10, |
2427 | | PROTOBUF_C_LABEL_OPTIONAL, |
2428 | | PROTOBUF_C_TYPE_MESSAGE, |
2429 | | offsetof(Mgmtd__BeMessage, message_case), |
2430 | | offsetof(Mgmtd__BeMessage, get_req), |
2431 | | &mgmtd__be_oper_data_get_req__descriptor, |
2432 | | NULL, |
2433 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2434 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2435 | | }, |
2436 | | { |
2437 | | "get_reply", |
2438 | | 11, |
2439 | | PROTOBUF_C_LABEL_OPTIONAL, |
2440 | | PROTOBUF_C_TYPE_MESSAGE, |
2441 | | offsetof(Mgmtd__BeMessage, message_case), |
2442 | | offsetof(Mgmtd__BeMessage, get_reply), |
2443 | | &mgmtd__be_oper_data_get_reply__descriptor, |
2444 | | NULL, |
2445 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2446 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2447 | | }, |
2448 | | }; |
2449 | | static const unsigned mgmtd__be_message__field_indices_by_name[] = { |
2450 | | 7, /* field[7] = cfg_apply_reply */ |
2451 | | 6, /* field[6] = cfg_apply_req */ |
2452 | | 5, /* field[5] = cfg_data_reply */ |
2453 | | 4, /* field[4] = cfg_data_req */ |
2454 | | 9, /* field[9] = get_reply */ |
2455 | | 8, /* field[8] = get_req */ |
2456 | | 1, /* field[1] = subscr_reply */ |
2457 | | 0, /* field[0] = subscr_req */ |
2458 | | 3, /* field[3] = txn_reply */ |
2459 | | 2, /* field[2] = txn_req */ |
2460 | | }; |
2461 | | static const ProtobufCIntRange mgmtd__be_message__number_ranges[1 + 1] = |
2462 | | { |
2463 | | { 2, 0 }, |
2464 | | { 0, 10 } |
2465 | | }; |
2466 | | const ProtobufCMessageDescriptor mgmtd__be_message__descriptor = |
2467 | | { |
2468 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2469 | | "mgmtd.BeMessage", |
2470 | | "BeMessage", |
2471 | | "Mgmtd__BeMessage", |
2472 | | "mgmtd", |
2473 | | sizeof(Mgmtd__BeMessage), |
2474 | | 10, |
2475 | | mgmtd__be_message__field_descriptors, |
2476 | | mgmtd__be_message__field_indices_by_name, |
2477 | | 1, mgmtd__be_message__number_ranges, |
2478 | | (ProtobufCMessageInit) mgmtd__be_message__init, |
2479 | | NULL,NULL,NULL /* reserved[123] */ |
2480 | | }; |
2481 | | static const ProtobufCFieldDescriptor mgmtd__fe_register_req__field_descriptors[1] = |
2482 | | { |
2483 | | { |
2484 | | "client_name", |
2485 | | 1, |
2486 | | PROTOBUF_C_LABEL_REQUIRED, |
2487 | | PROTOBUF_C_TYPE_STRING, |
2488 | | 0, /* quantifier_offset */ |
2489 | | offsetof(Mgmtd__FeRegisterReq, client_name), |
2490 | | NULL, |
2491 | | NULL, |
2492 | | 0, /* flags */ |
2493 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2494 | | }, |
2495 | | }; |
2496 | | static const unsigned mgmtd__fe_register_req__field_indices_by_name[] = { |
2497 | | 0, /* field[0] = client_name */ |
2498 | | }; |
2499 | | static const ProtobufCIntRange mgmtd__fe_register_req__number_ranges[1 + 1] = |
2500 | | { |
2501 | | { 1, 0 }, |
2502 | | { 0, 1 } |
2503 | | }; |
2504 | | const ProtobufCMessageDescriptor mgmtd__fe_register_req__descriptor = |
2505 | | { |
2506 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2507 | | "mgmtd.FeRegisterReq", |
2508 | | "FeRegisterReq", |
2509 | | "Mgmtd__FeRegisterReq", |
2510 | | "mgmtd", |
2511 | | sizeof(Mgmtd__FeRegisterReq), |
2512 | | 1, |
2513 | | mgmtd__fe_register_req__field_descriptors, |
2514 | | mgmtd__fe_register_req__field_indices_by_name, |
2515 | | 1, mgmtd__fe_register_req__number_ranges, |
2516 | | (ProtobufCMessageInit) mgmtd__fe_register_req__init, |
2517 | | NULL,NULL,NULL /* reserved[123] */ |
2518 | | }; |
2519 | | static const ProtobufCFieldDescriptor mgmtd__fe_session_req__field_descriptors[3] = |
2520 | | { |
2521 | | { |
2522 | | "create", |
2523 | | 1, |
2524 | | PROTOBUF_C_LABEL_REQUIRED, |
2525 | | PROTOBUF_C_TYPE_BOOL, |
2526 | | 0, /* quantifier_offset */ |
2527 | | offsetof(Mgmtd__FeSessionReq, create), |
2528 | | NULL, |
2529 | | NULL, |
2530 | | 0, /* flags */ |
2531 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2532 | | }, |
2533 | | { |
2534 | | "client_conn_id", |
2535 | | 2, |
2536 | | PROTOBUF_C_LABEL_OPTIONAL, |
2537 | | PROTOBUF_C_TYPE_UINT64, |
2538 | | offsetof(Mgmtd__FeSessionReq, id_case), |
2539 | | offsetof(Mgmtd__FeSessionReq, client_conn_id), |
2540 | | NULL, |
2541 | | NULL, |
2542 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2543 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2544 | | }, |
2545 | | { |
2546 | | "session_id", |
2547 | | 3, |
2548 | | PROTOBUF_C_LABEL_OPTIONAL, |
2549 | | PROTOBUF_C_TYPE_UINT64, |
2550 | | offsetof(Mgmtd__FeSessionReq, id_case), |
2551 | | offsetof(Mgmtd__FeSessionReq, session_id), |
2552 | | NULL, |
2553 | | NULL, |
2554 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
2555 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2556 | | }, |
2557 | | }; |
2558 | | static const unsigned mgmtd__fe_session_req__field_indices_by_name[] = { |
2559 | | 1, /* field[1] = client_conn_id */ |
2560 | | 0, /* field[0] = create */ |
2561 | | 2, /* field[2] = session_id */ |
2562 | | }; |
2563 | | static const ProtobufCIntRange mgmtd__fe_session_req__number_ranges[1 + 1] = |
2564 | | { |
2565 | | { 1, 0 }, |
2566 | | { 0, 3 } |
2567 | | }; |
2568 | | const ProtobufCMessageDescriptor mgmtd__fe_session_req__descriptor = |
2569 | | { |
2570 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2571 | | "mgmtd.FeSessionReq", |
2572 | | "FeSessionReq", |
2573 | | "Mgmtd__FeSessionReq", |
2574 | | "mgmtd", |
2575 | | sizeof(Mgmtd__FeSessionReq), |
2576 | | 3, |
2577 | | mgmtd__fe_session_req__field_descriptors, |
2578 | | mgmtd__fe_session_req__field_indices_by_name, |
2579 | | 1, mgmtd__fe_session_req__number_ranges, |
2580 | | (ProtobufCMessageInit) mgmtd__fe_session_req__init, |
2581 | | NULL,NULL,NULL /* reserved[123] */ |
2582 | | }; |
2583 | | static const ProtobufCFieldDescriptor mgmtd__fe_session_reply__field_descriptors[4] = |
2584 | | { |
2585 | | { |
2586 | | "create", |
2587 | | 1, |
2588 | | PROTOBUF_C_LABEL_REQUIRED, |
2589 | | PROTOBUF_C_TYPE_BOOL, |
2590 | | 0, /* quantifier_offset */ |
2591 | | offsetof(Mgmtd__FeSessionReply, create), |
2592 | | NULL, |
2593 | | NULL, |
2594 | | 0, /* flags */ |
2595 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2596 | | }, |
2597 | | { |
2598 | | "success", |
2599 | | 2, |
2600 | | PROTOBUF_C_LABEL_REQUIRED, |
2601 | | PROTOBUF_C_TYPE_BOOL, |
2602 | | 0, /* quantifier_offset */ |
2603 | | offsetof(Mgmtd__FeSessionReply, success), |
2604 | | NULL, |
2605 | | NULL, |
2606 | | 0, /* flags */ |
2607 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2608 | | }, |
2609 | | { |
2610 | | "client_conn_id", |
2611 | | 3, |
2612 | | PROTOBUF_C_LABEL_OPTIONAL, |
2613 | | PROTOBUF_C_TYPE_UINT64, |
2614 | | offsetof(Mgmtd__FeSessionReply, has_client_conn_id), |
2615 | | offsetof(Mgmtd__FeSessionReply, client_conn_id), |
2616 | | NULL, |
2617 | | NULL, |
2618 | | 0, /* flags */ |
2619 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2620 | | }, |
2621 | | { |
2622 | | "session_id", |
2623 | | 4, |
2624 | | PROTOBUF_C_LABEL_REQUIRED, |
2625 | | PROTOBUF_C_TYPE_UINT64, |
2626 | | 0, /* quantifier_offset */ |
2627 | | offsetof(Mgmtd__FeSessionReply, session_id), |
2628 | | NULL, |
2629 | | NULL, |
2630 | | 0, /* flags */ |
2631 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2632 | | }, |
2633 | | }; |
2634 | | static const unsigned mgmtd__fe_session_reply__field_indices_by_name[] = { |
2635 | | 2, /* field[2] = client_conn_id */ |
2636 | | 0, /* field[0] = create */ |
2637 | | 3, /* field[3] = session_id */ |
2638 | | 1, /* field[1] = success */ |
2639 | | }; |
2640 | | static const ProtobufCIntRange mgmtd__fe_session_reply__number_ranges[1 + 1] = |
2641 | | { |
2642 | | { 1, 0 }, |
2643 | | { 0, 4 } |
2644 | | }; |
2645 | | const ProtobufCMessageDescriptor mgmtd__fe_session_reply__descriptor = |
2646 | | { |
2647 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2648 | | "mgmtd.FeSessionReply", |
2649 | | "FeSessionReply", |
2650 | | "Mgmtd__FeSessionReply", |
2651 | | "mgmtd", |
2652 | | sizeof(Mgmtd__FeSessionReply), |
2653 | | 4, |
2654 | | mgmtd__fe_session_reply__field_descriptors, |
2655 | | mgmtd__fe_session_reply__field_indices_by_name, |
2656 | | 1, mgmtd__fe_session_reply__number_ranges, |
2657 | | (ProtobufCMessageInit) mgmtd__fe_session_reply__init, |
2658 | | NULL,NULL,NULL /* reserved[123] */ |
2659 | | }; |
2660 | | static const ProtobufCFieldDescriptor mgmtd__fe_lock_ds_req__field_descriptors[4] = |
2661 | | { |
2662 | | { |
2663 | | "session_id", |
2664 | | 1, |
2665 | | PROTOBUF_C_LABEL_REQUIRED, |
2666 | | PROTOBUF_C_TYPE_UINT64, |
2667 | | 0, /* quantifier_offset */ |
2668 | | offsetof(Mgmtd__FeLockDsReq, session_id), |
2669 | | NULL, |
2670 | | NULL, |
2671 | | 0, /* flags */ |
2672 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2673 | | }, |
2674 | | { |
2675 | | "req_id", |
2676 | | 2, |
2677 | | PROTOBUF_C_LABEL_REQUIRED, |
2678 | | PROTOBUF_C_TYPE_UINT64, |
2679 | | 0, /* quantifier_offset */ |
2680 | | offsetof(Mgmtd__FeLockDsReq, req_id), |
2681 | | NULL, |
2682 | | NULL, |
2683 | | 0, /* flags */ |
2684 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2685 | | }, |
2686 | | { |
2687 | | "ds_id", |
2688 | | 3, |
2689 | | PROTOBUF_C_LABEL_REQUIRED, |
2690 | | PROTOBUF_C_TYPE_ENUM, |
2691 | | 0, /* quantifier_offset */ |
2692 | | offsetof(Mgmtd__FeLockDsReq, ds_id), |
2693 | | &mgmtd__datastore_id__descriptor, |
2694 | | NULL, |
2695 | | 0, /* flags */ |
2696 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2697 | | }, |
2698 | | { |
2699 | | "lock", |
2700 | | 4, |
2701 | | PROTOBUF_C_LABEL_REQUIRED, |
2702 | | PROTOBUF_C_TYPE_BOOL, |
2703 | | 0, /* quantifier_offset */ |
2704 | | offsetof(Mgmtd__FeLockDsReq, lock), |
2705 | | NULL, |
2706 | | NULL, |
2707 | | 0, /* flags */ |
2708 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2709 | | }, |
2710 | | }; |
2711 | | static const unsigned mgmtd__fe_lock_ds_req__field_indices_by_name[] = { |
2712 | | 2, /* field[2] = ds_id */ |
2713 | | 3, /* field[3] = lock */ |
2714 | | 1, /* field[1] = req_id */ |
2715 | | 0, /* field[0] = session_id */ |
2716 | | }; |
2717 | | static const ProtobufCIntRange mgmtd__fe_lock_ds_req__number_ranges[1 + 1] = |
2718 | | { |
2719 | | { 1, 0 }, |
2720 | | { 0, 4 } |
2721 | | }; |
2722 | | const ProtobufCMessageDescriptor mgmtd__fe_lock_ds_req__descriptor = |
2723 | | { |
2724 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2725 | | "mgmtd.FeLockDsReq", |
2726 | | "FeLockDsReq", |
2727 | | "Mgmtd__FeLockDsReq", |
2728 | | "mgmtd", |
2729 | | sizeof(Mgmtd__FeLockDsReq), |
2730 | | 4, |
2731 | | mgmtd__fe_lock_ds_req__field_descriptors, |
2732 | | mgmtd__fe_lock_ds_req__field_indices_by_name, |
2733 | | 1, mgmtd__fe_lock_ds_req__number_ranges, |
2734 | | (ProtobufCMessageInit) mgmtd__fe_lock_ds_req__init, |
2735 | | NULL,NULL,NULL /* reserved[123] */ |
2736 | | }; |
2737 | | static const ProtobufCFieldDescriptor mgmtd__fe_lock_ds_reply__field_descriptors[6] = |
2738 | | { |
2739 | | { |
2740 | | "session_id", |
2741 | | 1, |
2742 | | PROTOBUF_C_LABEL_REQUIRED, |
2743 | | PROTOBUF_C_TYPE_UINT64, |
2744 | | 0, /* quantifier_offset */ |
2745 | | offsetof(Mgmtd__FeLockDsReply, session_id), |
2746 | | NULL, |
2747 | | NULL, |
2748 | | 0, /* flags */ |
2749 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2750 | | }, |
2751 | | { |
2752 | | "req_id", |
2753 | | 2, |
2754 | | PROTOBUF_C_LABEL_REQUIRED, |
2755 | | PROTOBUF_C_TYPE_UINT64, |
2756 | | 0, /* quantifier_offset */ |
2757 | | offsetof(Mgmtd__FeLockDsReply, req_id), |
2758 | | NULL, |
2759 | | NULL, |
2760 | | 0, /* flags */ |
2761 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2762 | | }, |
2763 | | { |
2764 | | "ds_id", |
2765 | | 3, |
2766 | | PROTOBUF_C_LABEL_REQUIRED, |
2767 | | PROTOBUF_C_TYPE_ENUM, |
2768 | | 0, /* quantifier_offset */ |
2769 | | offsetof(Mgmtd__FeLockDsReply, ds_id), |
2770 | | &mgmtd__datastore_id__descriptor, |
2771 | | NULL, |
2772 | | 0, /* flags */ |
2773 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2774 | | }, |
2775 | | { |
2776 | | "lock", |
2777 | | 4, |
2778 | | PROTOBUF_C_LABEL_REQUIRED, |
2779 | | PROTOBUF_C_TYPE_BOOL, |
2780 | | 0, /* quantifier_offset */ |
2781 | | offsetof(Mgmtd__FeLockDsReply, lock), |
2782 | | NULL, |
2783 | | NULL, |
2784 | | 0, /* flags */ |
2785 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2786 | | }, |
2787 | | { |
2788 | | "success", |
2789 | | 5, |
2790 | | PROTOBUF_C_LABEL_REQUIRED, |
2791 | | PROTOBUF_C_TYPE_BOOL, |
2792 | | 0, /* quantifier_offset */ |
2793 | | offsetof(Mgmtd__FeLockDsReply, success), |
2794 | | NULL, |
2795 | | NULL, |
2796 | | 0, /* flags */ |
2797 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2798 | | }, |
2799 | | { |
2800 | | "error_if_any", |
2801 | | 6, |
2802 | | PROTOBUF_C_LABEL_OPTIONAL, |
2803 | | PROTOBUF_C_TYPE_STRING, |
2804 | | 0, /* quantifier_offset */ |
2805 | | offsetof(Mgmtd__FeLockDsReply, error_if_any), |
2806 | | NULL, |
2807 | | NULL, |
2808 | | 0, /* flags */ |
2809 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2810 | | }, |
2811 | | }; |
2812 | | static const unsigned mgmtd__fe_lock_ds_reply__field_indices_by_name[] = { |
2813 | | 2, /* field[2] = ds_id */ |
2814 | | 5, /* field[5] = error_if_any */ |
2815 | | 3, /* field[3] = lock */ |
2816 | | 1, /* field[1] = req_id */ |
2817 | | 0, /* field[0] = session_id */ |
2818 | | 4, /* field[4] = success */ |
2819 | | }; |
2820 | | static const ProtobufCIntRange mgmtd__fe_lock_ds_reply__number_ranges[1 + 1] = |
2821 | | { |
2822 | | { 1, 0 }, |
2823 | | { 0, 6 } |
2824 | | }; |
2825 | | const ProtobufCMessageDescriptor mgmtd__fe_lock_ds_reply__descriptor = |
2826 | | { |
2827 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2828 | | "mgmtd.FeLockDsReply", |
2829 | | "FeLockDsReply", |
2830 | | "Mgmtd__FeLockDsReply", |
2831 | | "mgmtd", |
2832 | | sizeof(Mgmtd__FeLockDsReply), |
2833 | | 6, |
2834 | | mgmtd__fe_lock_ds_reply__field_descriptors, |
2835 | | mgmtd__fe_lock_ds_reply__field_indices_by_name, |
2836 | | 1, mgmtd__fe_lock_ds_reply__number_ranges, |
2837 | | (ProtobufCMessageInit) mgmtd__fe_lock_ds_reply__init, |
2838 | | NULL,NULL,NULL /* reserved[123] */ |
2839 | | }; |
2840 | | static const ProtobufCFieldDescriptor mgmtd__fe_set_config_req__field_descriptors[6] = |
2841 | | { |
2842 | | { |
2843 | | "session_id", |
2844 | | 1, |
2845 | | PROTOBUF_C_LABEL_REQUIRED, |
2846 | | PROTOBUF_C_TYPE_UINT64, |
2847 | | 0, /* quantifier_offset */ |
2848 | | offsetof(Mgmtd__FeSetConfigReq, session_id), |
2849 | | NULL, |
2850 | | NULL, |
2851 | | 0, /* flags */ |
2852 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2853 | | }, |
2854 | | { |
2855 | | "ds_id", |
2856 | | 2, |
2857 | | PROTOBUF_C_LABEL_REQUIRED, |
2858 | | PROTOBUF_C_TYPE_ENUM, |
2859 | | 0, /* quantifier_offset */ |
2860 | | offsetof(Mgmtd__FeSetConfigReq, ds_id), |
2861 | | &mgmtd__datastore_id__descriptor, |
2862 | | NULL, |
2863 | | 0, /* flags */ |
2864 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2865 | | }, |
2866 | | { |
2867 | | "req_id", |
2868 | | 3, |
2869 | | PROTOBUF_C_LABEL_REQUIRED, |
2870 | | PROTOBUF_C_TYPE_UINT64, |
2871 | | 0, /* quantifier_offset */ |
2872 | | offsetof(Mgmtd__FeSetConfigReq, req_id), |
2873 | | NULL, |
2874 | | NULL, |
2875 | | 0, /* flags */ |
2876 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2877 | | }, |
2878 | | { |
2879 | | "data", |
2880 | | 4, |
2881 | | PROTOBUF_C_LABEL_REPEATED, |
2882 | | PROTOBUF_C_TYPE_MESSAGE, |
2883 | | offsetof(Mgmtd__FeSetConfigReq, n_data), |
2884 | | offsetof(Mgmtd__FeSetConfigReq, data), |
2885 | | &mgmtd__yang_cfg_data_req__descriptor, |
2886 | | NULL, |
2887 | | 0, /* flags */ |
2888 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2889 | | }, |
2890 | | { |
2891 | | "implicit_commit", |
2892 | | 5, |
2893 | | PROTOBUF_C_LABEL_REQUIRED, |
2894 | | PROTOBUF_C_TYPE_BOOL, |
2895 | | 0, /* quantifier_offset */ |
2896 | | offsetof(Mgmtd__FeSetConfigReq, implicit_commit), |
2897 | | NULL, |
2898 | | NULL, |
2899 | | 0, /* flags */ |
2900 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2901 | | }, |
2902 | | { |
2903 | | "commit_ds_id", |
2904 | | 6, |
2905 | | PROTOBUF_C_LABEL_REQUIRED, |
2906 | | PROTOBUF_C_TYPE_ENUM, |
2907 | | 0, /* quantifier_offset */ |
2908 | | offsetof(Mgmtd__FeSetConfigReq, commit_ds_id), |
2909 | | &mgmtd__datastore_id__descriptor, |
2910 | | NULL, |
2911 | | 0, /* flags */ |
2912 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2913 | | }, |
2914 | | }; |
2915 | | static const unsigned mgmtd__fe_set_config_req__field_indices_by_name[] = { |
2916 | | 5, /* field[5] = commit_ds_id */ |
2917 | | 3, /* field[3] = data */ |
2918 | | 1, /* field[1] = ds_id */ |
2919 | | 4, /* field[4] = implicit_commit */ |
2920 | | 2, /* field[2] = req_id */ |
2921 | | 0, /* field[0] = session_id */ |
2922 | | }; |
2923 | | static const ProtobufCIntRange mgmtd__fe_set_config_req__number_ranges[1 + 1] = |
2924 | | { |
2925 | | { 1, 0 }, |
2926 | | { 0, 6 } |
2927 | | }; |
2928 | | const ProtobufCMessageDescriptor mgmtd__fe_set_config_req__descriptor = |
2929 | | { |
2930 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
2931 | | "mgmtd.FeSetConfigReq", |
2932 | | "FeSetConfigReq", |
2933 | | "Mgmtd__FeSetConfigReq", |
2934 | | "mgmtd", |
2935 | | sizeof(Mgmtd__FeSetConfigReq), |
2936 | | 6, |
2937 | | mgmtd__fe_set_config_req__field_descriptors, |
2938 | | mgmtd__fe_set_config_req__field_indices_by_name, |
2939 | | 1, mgmtd__fe_set_config_req__number_ranges, |
2940 | | (ProtobufCMessageInit) mgmtd__fe_set_config_req__init, |
2941 | | NULL,NULL,NULL /* reserved[123] */ |
2942 | | }; |
2943 | | static const ProtobufCFieldDescriptor mgmtd__fe_set_config_reply__field_descriptors[6] = |
2944 | | { |
2945 | | { |
2946 | | "session_id", |
2947 | | 1, |
2948 | | PROTOBUF_C_LABEL_REQUIRED, |
2949 | | PROTOBUF_C_TYPE_UINT64, |
2950 | | 0, /* quantifier_offset */ |
2951 | | offsetof(Mgmtd__FeSetConfigReply, session_id), |
2952 | | NULL, |
2953 | | NULL, |
2954 | | 0, /* flags */ |
2955 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2956 | | }, |
2957 | | { |
2958 | | "ds_id", |
2959 | | 2, |
2960 | | PROTOBUF_C_LABEL_REQUIRED, |
2961 | | PROTOBUF_C_TYPE_ENUM, |
2962 | | 0, /* quantifier_offset */ |
2963 | | offsetof(Mgmtd__FeSetConfigReply, ds_id), |
2964 | | &mgmtd__datastore_id__descriptor, |
2965 | | NULL, |
2966 | | 0, /* flags */ |
2967 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2968 | | }, |
2969 | | { |
2970 | | "req_id", |
2971 | | 3, |
2972 | | PROTOBUF_C_LABEL_REQUIRED, |
2973 | | PROTOBUF_C_TYPE_UINT64, |
2974 | | 0, /* quantifier_offset */ |
2975 | | offsetof(Mgmtd__FeSetConfigReply, req_id), |
2976 | | NULL, |
2977 | | NULL, |
2978 | | 0, /* flags */ |
2979 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2980 | | }, |
2981 | | { |
2982 | | "success", |
2983 | | 4, |
2984 | | PROTOBUF_C_LABEL_REQUIRED, |
2985 | | PROTOBUF_C_TYPE_BOOL, |
2986 | | 0, /* quantifier_offset */ |
2987 | | offsetof(Mgmtd__FeSetConfigReply, success), |
2988 | | NULL, |
2989 | | NULL, |
2990 | | 0, /* flags */ |
2991 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
2992 | | }, |
2993 | | { |
2994 | | "implicit_commit", |
2995 | | 5, |
2996 | | PROTOBUF_C_LABEL_REQUIRED, |
2997 | | PROTOBUF_C_TYPE_BOOL, |
2998 | | 0, /* quantifier_offset */ |
2999 | | offsetof(Mgmtd__FeSetConfigReply, implicit_commit), |
3000 | | NULL, |
3001 | | NULL, |
3002 | | 0, /* flags */ |
3003 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3004 | | }, |
3005 | | { |
3006 | | "error_if_any", |
3007 | | 6, |
3008 | | PROTOBUF_C_LABEL_OPTIONAL, |
3009 | | PROTOBUF_C_TYPE_STRING, |
3010 | | 0, /* quantifier_offset */ |
3011 | | offsetof(Mgmtd__FeSetConfigReply, error_if_any), |
3012 | | NULL, |
3013 | | NULL, |
3014 | | 0, /* flags */ |
3015 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3016 | | }, |
3017 | | }; |
3018 | | static const unsigned mgmtd__fe_set_config_reply__field_indices_by_name[] = { |
3019 | | 1, /* field[1] = ds_id */ |
3020 | | 5, /* field[5] = error_if_any */ |
3021 | | 4, /* field[4] = implicit_commit */ |
3022 | | 2, /* field[2] = req_id */ |
3023 | | 0, /* field[0] = session_id */ |
3024 | | 3, /* field[3] = success */ |
3025 | | }; |
3026 | | static const ProtobufCIntRange mgmtd__fe_set_config_reply__number_ranges[1 + 1] = |
3027 | | { |
3028 | | { 1, 0 }, |
3029 | | { 0, 6 } |
3030 | | }; |
3031 | | const ProtobufCMessageDescriptor mgmtd__fe_set_config_reply__descriptor = |
3032 | | { |
3033 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
3034 | | "mgmtd.FeSetConfigReply", |
3035 | | "FeSetConfigReply", |
3036 | | "Mgmtd__FeSetConfigReply", |
3037 | | "mgmtd", |
3038 | | sizeof(Mgmtd__FeSetConfigReply), |
3039 | | 6, |
3040 | | mgmtd__fe_set_config_reply__field_descriptors, |
3041 | | mgmtd__fe_set_config_reply__field_indices_by_name, |
3042 | | 1, mgmtd__fe_set_config_reply__number_ranges, |
3043 | | (ProtobufCMessageInit) mgmtd__fe_set_config_reply__init, |
3044 | | NULL,NULL,NULL /* reserved[123] */ |
3045 | | }; |
3046 | | static const ProtobufCFieldDescriptor mgmtd__fe_commit_config_req__field_descriptors[6] = |
3047 | | { |
3048 | | { |
3049 | | "session_id", |
3050 | | 1, |
3051 | | PROTOBUF_C_LABEL_REQUIRED, |
3052 | | PROTOBUF_C_TYPE_UINT64, |
3053 | | 0, /* quantifier_offset */ |
3054 | | offsetof(Mgmtd__FeCommitConfigReq, session_id), |
3055 | | NULL, |
3056 | | NULL, |
3057 | | 0, /* flags */ |
3058 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3059 | | }, |
3060 | | { |
3061 | | "src_ds_id", |
3062 | | 2, |
3063 | | PROTOBUF_C_LABEL_REQUIRED, |
3064 | | PROTOBUF_C_TYPE_ENUM, |
3065 | | 0, /* quantifier_offset */ |
3066 | | offsetof(Mgmtd__FeCommitConfigReq, src_ds_id), |
3067 | | &mgmtd__datastore_id__descriptor, |
3068 | | NULL, |
3069 | | 0, /* flags */ |
3070 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3071 | | }, |
3072 | | { |
3073 | | "dst_ds_id", |
3074 | | 3, |
3075 | | PROTOBUF_C_LABEL_REQUIRED, |
3076 | | PROTOBUF_C_TYPE_ENUM, |
3077 | | 0, /* quantifier_offset */ |
3078 | | offsetof(Mgmtd__FeCommitConfigReq, dst_ds_id), |
3079 | | &mgmtd__datastore_id__descriptor, |
3080 | | NULL, |
3081 | | 0, /* flags */ |
3082 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3083 | | }, |
3084 | | { |
3085 | | "req_id", |
3086 | | 4, |
3087 | | PROTOBUF_C_LABEL_REQUIRED, |
3088 | | PROTOBUF_C_TYPE_UINT64, |
3089 | | 0, /* quantifier_offset */ |
3090 | | offsetof(Mgmtd__FeCommitConfigReq, req_id), |
3091 | | NULL, |
3092 | | NULL, |
3093 | | 0, /* flags */ |
3094 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3095 | | }, |
3096 | | { |
3097 | | "validate_only", |
3098 | | 5, |
3099 | | PROTOBUF_C_LABEL_REQUIRED, |
3100 | | PROTOBUF_C_TYPE_BOOL, |
3101 | | 0, /* quantifier_offset */ |
3102 | | offsetof(Mgmtd__FeCommitConfigReq, validate_only), |
3103 | | NULL, |
3104 | | NULL, |
3105 | | 0, /* flags */ |
3106 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3107 | | }, |
3108 | | { |
3109 | | "abort", |
3110 | | 6, |
3111 | | PROTOBUF_C_LABEL_REQUIRED, |
3112 | | PROTOBUF_C_TYPE_BOOL, |
3113 | | 0, /* quantifier_offset */ |
3114 | | offsetof(Mgmtd__FeCommitConfigReq, abort), |
3115 | | NULL, |
3116 | | NULL, |
3117 | | 0, /* flags */ |
3118 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3119 | | }, |
3120 | | }; |
3121 | | static const unsigned mgmtd__fe_commit_config_req__field_indices_by_name[] = { |
3122 | | 5, /* field[5] = abort */ |
3123 | | 2, /* field[2] = dst_ds_id */ |
3124 | | 3, /* field[3] = req_id */ |
3125 | | 0, /* field[0] = session_id */ |
3126 | | 1, /* field[1] = src_ds_id */ |
3127 | | 4, /* field[4] = validate_only */ |
3128 | | }; |
3129 | | static const ProtobufCIntRange mgmtd__fe_commit_config_req__number_ranges[1 + 1] = |
3130 | | { |
3131 | | { 1, 0 }, |
3132 | | { 0, 6 } |
3133 | | }; |
3134 | | const ProtobufCMessageDescriptor mgmtd__fe_commit_config_req__descriptor = |
3135 | | { |
3136 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
3137 | | "mgmtd.FeCommitConfigReq", |
3138 | | "FeCommitConfigReq", |
3139 | | "Mgmtd__FeCommitConfigReq", |
3140 | | "mgmtd", |
3141 | | sizeof(Mgmtd__FeCommitConfigReq), |
3142 | | 6, |
3143 | | mgmtd__fe_commit_config_req__field_descriptors, |
3144 | | mgmtd__fe_commit_config_req__field_indices_by_name, |
3145 | | 1, mgmtd__fe_commit_config_req__number_ranges, |
3146 | | (ProtobufCMessageInit) mgmtd__fe_commit_config_req__init, |
3147 | | NULL,NULL,NULL /* reserved[123] */ |
3148 | | }; |
3149 | | static const ProtobufCFieldDescriptor mgmtd__fe_commit_config_reply__field_descriptors[8] = |
3150 | | { |
3151 | | { |
3152 | | "session_id", |
3153 | | 1, |
3154 | | PROTOBUF_C_LABEL_REQUIRED, |
3155 | | PROTOBUF_C_TYPE_UINT64, |
3156 | | 0, /* quantifier_offset */ |
3157 | | offsetof(Mgmtd__FeCommitConfigReply, session_id), |
3158 | | NULL, |
3159 | | NULL, |
3160 | | 0, /* flags */ |
3161 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3162 | | }, |
3163 | | { |
3164 | | "src_ds_id", |
3165 | | 2, |
3166 | | PROTOBUF_C_LABEL_REQUIRED, |
3167 | | PROTOBUF_C_TYPE_ENUM, |
3168 | | 0, /* quantifier_offset */ |
3169 | | offsetof(Mgmtd__FeCommitConfigReply, src_ds_id), |
3170 | | &mgmtd__datastore_id__descriptor, |
3171 | | NULL, |
3172 | | 0, /* flags */ |
3173 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3174 | | }, |
3175 | | { |
3176 | | "dst_ds_id", |
3177 | | 3, |
3178 | | PROTOBUF_C_LABEL_REQUIRED, |
3179 | | PROTOBUF_C_TYPE_ENUM, |
3180 | | 0, /* quantifier_offset */ |
3181 | | offsetof(Mgmtd__FeCommitConfigReply, dst_ds_id), |
3182 | | &mgmtd__datastore_id__descriptor, |
3183 | | NULL, |
3184 | | 0, /* flags */ |
3185 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3186 | | }, |
3187 | | { |
3188 | | "req_id", |
3189 | | 4, |
3190 | | PROTOBUF_C_LABEL_REQUIRED, |
3191 | | PROTOBUF_C_TYPE_UINT64, |
3192 | | 0, /* quantifier_offset */ |
3193 | | offsetof(Mgmtd__FeCommitConfigReply, req_id), |
3194 | | NULL, |
3195 | | NULL, |
3196 | | 0, /* flags */ |
3197 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3198 | | }, |
3199 | | { |
3200 | | "validate_only", |
3201 | | 5, |
3202 | | PROTOBUF_C_LABEL_REQUIRED, |
3203 | | PROTOBUF_C_TYPE_BOOL, |
3204 | | 0, /* quantifier_offset */ |
3205 | | offsetof(Mgmtd__FeCommitConfigReply, validate_only), |
3206 | | NULL, |
3207 | | NULL, |
3208 | | 0, /* flags */ |
3209 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3210 | | }, |
3211 | | { |
3212 | | "success", |
3213 | | 6, |
3214 | | PROTOBUF_C_LABEL_REQUIRED, |
3215 | | PROTOBUF_C_TYPE_BOOL, |
3216 | | 0, /* quantifier_offset */ |
3217 | | offsetof(Mgmtd__FeCommitConfigReply, success), |
3218 | | NULL, |
3219 | | NULL, |
3220 | | 0, /* flags */ |
3221 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3222 | | }, |
3223 | | { |
3224 | | "abort", |
3225 | | 7, |
3226 | | PROTOBUF_C_LABEL_REQUIRED, |
3227 | | PROTOBUF_C_TYPE_BOOL, |
3228 | | 0, /* quantifier_offset */ |
3229 | | offsetof(Mgmtd__FeCommitConfigReply, abort), |
3230 | | NULL, |
3231 | | NULL, |
3232 | | 0, /* flags */ |
3233 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3234 | | }, |
3235 | | { |
3236 | | "error_if_any", |
3237 | | 8, |
3238 | | PROTOBUF_C_LABEL_OPTIONAL, |
3239 | | PROTOBUF_C_TYPE_STRING, |
3240 | | 0, /* quantifier_offset */ |
3241 | | offsetof(Mgmtd__FeCommitConfigReply, error_if_any), |
3242 | | NULL, |
3243 | | NULL, |
3244 | | 0, /* flags */ |
3245 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3246 | | }, |
3247 | | }; |
3248 | | static const unsigned mgmtd__fe_commit_config_reply__field_indices_by_name[] = { |
3249 | | 6, /* field[6] = abort */ |
3250 | | 2, /* field[2] = dst_ds_id */ |
3251 | | 7, /* field[7] = error_if_any */ |
3252 | | 3, /* field[3] = req_id */ |
3253 | | 0, /* field[0] = session_id */ |
3254 | | 1, /* field[1] = src_ds_id */ |
3255 | | 5, /* field[5] = success */ |
3256 | | 4, /* field[4] = validate_only */ |
3257 | | }; |
3258 | | static const ProtobufCIntRange mgmtd__fe_commit_config_reply__number_ranges[1 + 1] = |
3259 | | { |
3260 | | { 1, 0 }, |
3261 | | { 0, 8 } |
3262 | | }; |
3263 | | const ProtobufCMessageDescriptor mgmtd__fe_commit_config_reply__descriptor = |
3264 | | { |
3265 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
3266 | | "mgmtd.FeCommitConfigReply", |
3267 | | "FeCommitConfigReply", |
3268 | | "Mgmtd__FeCommitConfigReply", |
3269 | | "mgmtd", |
3270 | | sizeof(Mgmtd__FeCommitConfigReply), |
3271 | | 8, |
3272 | | mgmtd__fe_commit_config_reply__field_descriptors, |
3273 | | mgmtd__fe_commit_config_reply__field_indices_by_name, |
3274 | | 1, mgmtd__fe_commit_config_reply__number_ranges, |
3275 | | (ProtobufCMessageInit) mgmtd__fe_commit_config_reply__init, |
3276 | | NULL,NULL,NULL /* reserved[123] */ |
3277 | | }; |
3278 | | static const ProtobufCFieldDescriptor mgmtd__fe_get_req__field_descriptors[5] = |
3279 | | { |
3280 | | { |
3281 | | "session_id", |
3282 | | 1, |
3283 | | PROTOBUF_C_LABEL_REQUIRED, |
3284 | | PROTOBUF_C_TYPE_UINT64, |
3285 | | 0, /* quantifier_offset */ |
3286 | | offsetof(Mgmtd__FeGetReq, session_id), |
3287 | | NULL, |
3288 | | NULL, |
3289 | | 0, /* flags */ |
3290 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3291 | | }, |
3292 | | { |
3293 | | "config", |
3294 | | 2, |
3295 | | PROTOBUF_C_LABEL_REQUIRED, |
3296 | | PROTOBUF_C_TYPE_BOOL, |
3297 | | 0, /* quantifier_offset */ |
3298 | | offsetof(Mgmtd__FeGetReq, config), |
3299 | | NULL, |
3300 | | NULL, |
3301 | | 0, /* flags */ |
3302 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3303 | | }, |
3304 | | { |
3305 | | "ds_id", |
3306 | | 3, |
3307 | | PROTOBUF_C_LABEL_REQUIRED, |
3308 | | PROTOBUF_C_TYPE_ENUM, |
3309 | | 0, /* quantifier_offset */ |
3310 | | offsetof(Mgmtd__FeGetReq, ds_id), |
3311 | | &mgmtd__datastore_id__descriptor, |
3312 | | NULL, |
3313 | | 0, /* flags */ |
3314 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3315 | | }, |
3316 | | { |
3317 | | "req_id", |
3318 | | 4, |
3319 | | PROTOBUF_C_LABEL_REQUIRED, |
3320 | | PROTOBUF_C_TYPE_UINT64, |
3321 | | 0, /* quantifier_offset */ |
3322 | | offsetof(Mgmtd__FeGetReq, req_id), |
3323 | | NULL, |
3324 | | NULL, |
3325 | | 0, /* flags */ |
3326 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3327 | | }, |
3328 | | { |
3329 | | "data", |
3330 | | 5, |
3331 | | PROTOBUF_C_LABEL_REPEATED, |
3332 | | PROTOBUF_C_TYPE_MESSAGE, |
3333 | | offsetof(Mgmtd__FeGetReq, n_data), |
3334 | | offsetof(Mgmtd__FeGetReq, data), |
3335 | | &mgmtd__yang_get_data_req__descriptor, |
3336 | | NULL, |
3337 | | 0, /* flags */ |
3338 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3339 | | }, |
3340 | | }; |
3341 | | static const unsigned mgmtd__fe_get_req__field_indices_by_name[] = { |
3342 | | 1, /* field[1] = config */ |
3343 | | 4, /* field[4] = data */ |
3344 | | 2, /* field[2] = ds_id */ |
3345 | | 3, /* field[3] = req_id */ |
3346 | | 0, /* field[0] = session_id */ |
3347 | | }; |
3348 | | static const ProtobufCIntRange mgmtd__fe_get_req__number_ranges[1 + 1] = |
3349 | | { |
3350 | | { 1, 0 }, |
3351 | | { 0, 5 } |
3352 | | }; |
3353 | | const ProtobufCMessageDescriptor mgmtd__fe_get_req__descriptor = |
3354 | | { |
3355 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
3356 | | "mgmtd.FeGetReq", |
3357 | | "FeGetReq", |
3358 | | "Mgmtd__FeGetReq", |
3359 | | "mgmtd", |
3360 | | sizeof(Mgmtd__FeGetReq), |
3361 | | 5, |
3362 | | mgmtd__fe_get_req__field_descriptors, |
3363 | | mgmtd__fe_get_req__field_indices_by_name, |
3364 | | 1, mgmtd__fe_get_req__number_ranges, |
3365 | | (ProtobufCMessageInit) mgmtd__fe_get_req__init, |
3366 | | NULL,NULL,NULL /* reserved[123] */ |
3367 | | }; |
3368 | | static const ProtobufCFieldDescriptor mgmtd__fe_get_reply__field_descriptors[7] = |
3369 | | { |
3370 | | { |
3371 | | "session_id", |
3372 | | 1, |
3373 | | PROTOBUF_C_LABEL_REQUIRED, |
3374 | | PROTOBUF_C_TYPE_UINT64, |
3375 | | 0, /* quantifier_offset */ |
3376 | | offsetof(Mgmtd__FeGetReply, session_id), |
3377 | | NULL, |
3378 | | NULL, |
3379 | | 0, /* flags */ |
3380 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3381 | | }, |
3382 | | { |
3383 | | "config", |
3384 | | 2, |
3385 | | PROTOBUF_C_LABEL_REQUIRED, |
3386 | | PROTOBUF_C_TYPE_BOOL, |
3387 | | 0, /* quantifier_offset */ |
3388 | | offsetof(Mgmtd__FeGetReply, config), |
3389 | | NULL, |
3390 | | NULL, |
3391 | | 0, /* flags */ |
3392 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3393 | | }, |
3394 | | { |
3395 | | "ds_id", |
3396 | | 3, |
3397 | | PROTOBUF_C_LABEL_REQUIRED, |
3398 | | PROTOBUF_C_TYPE_ENUM, |
3399 | | 0, /* quantifier_offset */ |
3400 | | offsetof(Mgmtd__FeGetReply, ds_id), |
3401 | | &mgmtd__datastore_id__descriptor, |
3402 | | NULL, |
3403 | | 0, /* flags */ |
3404 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3405 | | }, |
3406 | | { |
3407 | | "req_id", |
3408 | | 4, |
3409 | | PROTOBUF_C_LABEL_REQUIRED, |
3410 | | PROTOBUF_C_TYPE_UINT64, |
3411 | | 0, /* quantifier_offset */ |
3412 | | offsetof(Mgmtd__FeGetReply, req_id), |
3413 | | NULL, |
3414 | | NULL, |
3415 | | 0, /* flags */ |
3416 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3417 | | }, |
3418 | | { |
3419 | | "success", |
3420 | | 5, |
3421 | | PROTOBUF_C_LABEL_REQUIRED, |
3422 | | PROTOBUF_C_TYPE_BOOL, |
3423 | | 0, /* quantifier_offset */ |
3424 | | offsetof(Mgmtd__FeGetReply, success), |
3425 | | NULL, |
3426 | | NULL, |
3427 | | 0, /* flags */ |
3428 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3429 | | }, |
3430 | | { |
3431 | | "error_if_any", |
3432 | | 6, |
3433 | | PROTOBUF_C_LABEL_OPTIONAL, |
3434 | | PROTOBUF_C_TYPE_STRING, |
3435 | | 0, /* quantifier_offset */ |
3436 | | offsetof(Mgmtd__FeGetReply, error_if_any), |
3437 | | NULL, |
3438 | | NULL, |
3439 | | 0, /* flags */ |
3440 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3441 | | }, |
3442 | | { |
3443 | | "data", |
3444 | | 7, |
3445 | | PROTOBUF_C_LABEL_OPTIONAL, |
3446 | | PROTOBUF_C_TYPE_MESSAGE, |
3447 | | 0, /* quantifier_offset */ |
3448 | | offsetof(Mgmtd__FeGetReply, data), |
3449 | | &mgmtd__yang_data_reply__descriptor, |
3450 | | NULL, |
3451 | | 0, /* flags */ |
3452 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3453 | | }, |
3454 | | }; |
3455 | | static const unsigned mgmtd__fe_get_reply__field_indices_by_name[] = { |
3456 | | 1, /* field[1] = config */ |
3457 | | 6, /* field[6] = data */ |
3458 | | 2, /* field[2] = ds_id */ |
3459 | | 5, /* field[5] = error_if_any */ |
3460 | | 3, /* field[3] = req_id */ |
3461 | | 0, /* field[0] = session_id */ |
3462 | | 4, /* field[4] = success */ |
3463 | | }; |
3464 | | static const ProtobufCIntRange mgmtd__fe_get_reply__number_ranges[1 + 1] = |
3465 | | { |
3466 | | { 1, 0 }, |
3467 | | { 0, 7 } |
3468 | | }; |
3469 | | const ProtobufCMessageDescriptor mgmtd__fe_get_reply__descriptor = |
3470 | | { |
3471 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
3472 | | "mgmtd.FeGetReply", |
3473 | | "FeGetReply", |
3474 | | "Mgmtd__FeGetReply", |
3475 | | "mgmtd", |
3476 | | sizeof(Mgmtd__FeGetReply), |
3477 | | 7, |
3478 | | mgmtd__fe_get_reply__field_descriptors, |
3479 | | mgmtd__fe_get_reply__field_indices_by_name, |
3480 | | 1, mgmtd__fe_get_reply__number_ranges, |
3481 | | (ProtobufCMessageInit) mgmtd__fe_get_reply__init, |
3482 | | NULL,NULL,NULL /* reserved[123] */ |
3483 | | }; |
3484 | | static const ProtobufCFieldDescriptor mgmtd__fe_notify_data_req__field_descriptors[1] = |
3485 | | { |
3486 | | { |
3487 | | "data", |
3488 | | 1, |
3489 | | PROTOBUF_C_LABEL_REPEATED, |
3490 | | PROTOBUF_C_TYPE_MESSAGE, |
3491 | | offsetof(Mgmtd__FeNotifyDataReq, n_data), |
3492 | | offsetof(Mgmtd__FeNotifyDataReq, data), |
3493 | | &mgmtd__yang_data__descriptor, |
3494 | | NULL, |
3495 | | 0, /* flags */ |
3496 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3497 | | }, |
3498 | | }; |
3499 | | static const unsigned mgmtd__fe_notify_data_req__field_indices_by_name[] = { |
3500 | | 0, /* field[0] = data */ |
3501 | | }; |
3502 | | static const ProtobufCIntRange mgmtd__fe_notify_data_req__number_ranges[1 + 1] = |
3503 | | { |
3504 | | { 1, 0 }, |
3505 | | { 0, 1 } |
3506 | | }; |
3507 | | const ProtobufCMessageDescriptor mgmtd__fe_notify_data_req__descriptor = |
3508 | | { |
3509 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
3510 | | "mgmtd.FeNotifyDataReq", |
3511 | | "FeNotifyDataReq", |
3512 | | "Mgmtd__FeNotifyDataReq", |
3513 | | "mgmtd", |
3514 | | sizeof(Mgmtd__FeNotifyDataReq), |
3515 | | 1, |
3516 | | mgmtd__fe_notify_data_req__field_descriptors, |
3517 | | mgmtd__fe_notify_data_req__field_indices_by_name, |
3518 | | 1, mgmtd__fe_notify_data_req__number_ranges, |
3519 | | (ProtobufCMessageInit) mgmtd__fe_notify_data_req__init, |
3520 | | NULL,NULL,NULL /* reserved[123] */ |
3521 | | }; |
3522 | | static const ProtobufCFieldDescriptor mgmtd__fe_register_notify_req__field_descriptors[5] = |
3523 | | { |
3524 | | { |
3525 | | "session_id", |
3526 | | 1, |
3527 | | PROTOBUF_C_LABEL_REQUIRED, |
3528 | | PROTOBUF_C_TYPE_UINT64, |
3529 | | 0, /* quantifier_offset */ |
3530 | | offsetof(Mgmtd__FeRegisterNotifyReq, session_id), |
3531 | | NULL, |
3532 | | NULL, |
3533 | | 0, /* flags */ |
3534 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3535 | | }, |
3536 | | { |
3537 | | "ds_id", |
3538 | | 2, |
3539 | | PROTOBUF_C_LABEL_REQUIRED, |
3540 | | PROTOBUF_C_TYPE_ENUM, |
3541 | | 0, /* quantifier_offset */ |
3542 | | offsetof(Mgmtd__FeRegisterNotifyReq, ds_id), |
3543 | | &mgmtd__datastore_id__descriptor, |
3544 | | NULL, |
3545 | | 0, /* flags */ |
3546 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3547 | | }, |
3548 | | { |
3549 | | "register_req", |
3550 | | 3, |
3551 | | PROTOBUF_C_LABEL_REQUIRED, |
3552 | | PROTOBUF_C_TYPE_BOOL, |
3553 | | 0, /* quantifier_offset */ |
3554 | | offsetof(Mgmtd__FeRegisterNotifyReq, register_req), |
3555 | | NULL, |
3556 | | NULL, |
3557 | | 0, /* flags */ |
3558 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3559 | | }, |
3560 | | { |
3561 | | "req_id", |
3562 | | 4, |
3563 | | PROTOBUF_C_LABEL_REQUIRED, |
3564 | | PROTOBUF_C_TYPE_UINT64, |
3565 | | 0, /* quantifier_offset */ |
3566 | | offsetof(Mgmtd__FeRegisterNotifyReq, req_id), |
3567 | | NULL, |
3568 | | NULL, |
3569 | | 0, /* flags */ |
3570 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3571 | | }, |
3572 | | { |
3573 | | "data_xpath", |
3574 | | 5, |
3575 | | PROTOBUF_C_LABEL_REPEATED, |
3576 | | PROTOBUF_C_TYPE_MESSAGE, |
3577 | | offsetof(Mgmtd__FeRegisterNotifyReq, n_data_xpath), |
3578 | | offsetof(Mgmtd__FeRegisterNotifyReq, data_xpath), |
3579 | | &mgmtd__yang_data_xpath__descriptor, |
3580 | | NULL, |
3581 | | 0, /* flags */ |
3582 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3583 | | }, |
3584 | | }; |
3585 | | static const unsigned mgmtd__fe_register_notify_req__field_indices_by_name[] = { |
3586 | | 4, /* field[4] = data_xpath */ |
3587 | | 1, /* field[1] = ds_id */ |
3588 | | 2, /* field[2] = register_req */ |
3589 | | 3, /* field[3] = req_id */ |
3590 | | 0, /* field[0] = session_id */ |
3591 | | }; |
3592 | | static const ProtobufCIntRange mgmtd__fe_register_notify_req__number_ranges[1 + 1] = |
3593 | | { |
3594 | | { 1, 0 }, |
3595 | | { 0, 5 } |
3596 | | }; |
3597 | | const ProtobufCMessageDescriptor mgmtd__fe_register_notify_req__descriptor = |
3598 | | { |
3599 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
3600 | | "mgmtd.FeRegisterNotifyReq", |
3601 | | "FeRegisterNotifyReq", |
3602 | | "Mgmtd__FeRegisterNotifyReq", |
3603 | | "mgmtd", |
3604 | | sizeof(Mgmtd__FeRegisterNotifyReq), |
3605 | | 5, |
3606 | | mgmtd__fe_register_notify_req__field_descriptors, |
3607 | | mgmtd__fe_register_notify_req__field_indices_by_name, |
3608 | | 1, mgmtd__fe_register_notify_req__number_ranges, |
3609 | | (ProtobufCMessageInit) mgmtd__fe_register_notify_req__init, |
3610 | | NULL,NULL,NULL /* reserved[123] */ |
3611 | | }; |
3612 | | static const ProtobufCFieldDescriptor mgmtd__fe_message__field_descriptors[13] = |
3613 | | { |
3614 | | { |
3615 | | "register_req", |
3616 | | 2, |
3617 | | PROTOBUF_C_LABEL_OPTIONAL, |
3618 | | PROTOBUF_C_TYPE_MESSAGE, |
3619 | | offsetof(Mgmtd__FeMessage, message_case), |
3620 | | offsetof(Mgmtd__FeMessage, register_req), |
3621 | | &mgmtd__fe_register_req__descriptor, |
3622 | | NULL, |
3623 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3624 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3625 | | }, |
3626 | | { |
3627 | | "session_req", |
3628 | | 3, |
3629 | | PROTOBUF_C_LABEL_OPTIONAL, |
3630 | | PROTOBUF_C_TYPE_MESSAGE, |
3631 | | offsetof(Mgmtd__FeMessage, message_case), |
3632 | | offsetof(Mgmtd__FeMessage, session_req), |
3633 | | &mgmtd__fe_session_req__descriptor, |
3634 | | NULL, |
3635 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3636 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3637 | | }, |
3638 | | { |
3639 | | "session_reply", |
3640 | | 4, |
3641 | | PROTOBUF_C_LABEL_OPTIONAL, |
3642 | | PROTOBUF_C_TYPE_MESSAGE, |
3643 | | offsetof(Mgmtd__FeMessage, message_case), |
3644 | | offsetof(Mgmtd__FeMessage, session_reply), |
3645 | | &mgmtd__fe_session_reply__descriptor, |
3646 | | NULL, |
3647 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3648 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3649 | | }, |
3650 | | { |
3651 | | "lockds_req", |
3652 | | 5, |
3653 | | PROTOBUF_C_LABEL_OPTIONAL, |
3654 | | PROTOBUF_C_TYPE_MESSAGE, |
3655 | | offsetof(Mgmtd__FeMessage, message_case), |
3656 | | offsetof(Mgmtd__FeMessage, lockds_req), |
3657 | | &mgmtd__fe_lock_ds_req__descriptor, |
3658 | | NULL, |
3659 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3660 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3661 | | }, |
3662 | | { |
3663 | | "lockds_reply", |
3664 | | 6, |
3665 | | PROTOBUF_C_LABEL_OPTIONAL, |
3666 | | PROTOBUF_C_TYPE_MESSAGE, |
3667 | | offsetof(Mgmtd__FeMessage, message_case), |
3668 | | offsetof(Mgmtd__FeMessage, lockds_reply), |
3669 | | &mgmtd__fe_lock_ds_reply__descriptor, |
3670 | | NULL, |
3671 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3672 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3673 | | }, |
3674 | | { |
3675 | | "setcfg_req", |
3676 | | 7, |
3677 | | PROTOBUF_C_LABEL_OPTIONAL, |
3678 | | PROTOBUF_C_TYPE_MESSAGE, |
3679 | | offsetof(Mgmtd__FeMessage, message_case), |
3680 | | offsetof(Mgmtd__FeMessage, setcfg_req), |
3681 | | &mgmtd__fe_set_config_req__descriptor, |
3682 | | NULL, |
3683 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3684 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3685 | | }, |
3686 | | { |
3687 | | "setcfg_reply", |
3688 | | 8, |
3689 | | PROTOBUF_C_LABEL_OPTIONAL, |
3690 | | PROTOBUF_C_TYPE_MESSAGE, |
3691 | | offsetof(Mgmtd__FeMessage, message_case), |
3692 | | offsetof(Mgmtd__FeMessage, setcfg_reply), |
3693 | | &mgmtd__fe_set_config_reply__descriptor, |
3694 | | NULL, |
3695 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3696 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3697 | | }, |
3698 | | { |
3699 | | "commcfg_req", |
3700 | | 9, |
3701 | | PROTOBUF_C_LABEL_OPTIONAL, |
3702 | | PROTOBUF_C_TYPE_MESSAGE, |
3703 | | offsetof(Mgmtd__FeMessage, message_case), |
3704 | | offsetof(Mgmtd__FeMessage, commcfg_req), |
3705 | | &mgmtd__fe_commit_config_req__descriptor, |
3706 | | NULL, |
3707 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3708 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3709 | | }, |
3710 | | { |
3711 | | "commcfg_reply", |
3712 | | 10, |
3713 | | PROTOBUF_C_LABEL_OPTIONAL, |
3714 | | PROTOBUF_C_TYPE_MESSAGE, |
3715 | | offsetof(Mgmtd__FeMessage, message_case), |
3716 | | offsetof(Mgmtd__FeMessage, commcfg_reply), |
3717 | | &mgmtd__fe_commit_config_reply__descriptor, |
3718 | | NULL, |
3719 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3720 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3721 | | }, |
3722 | | { |
3723 | | "get_req", |
3724 | | 11, |
3725 | | PROTOBUF_C_LABEL_OPTIONAL, |
3726 | | PROTOBUF_C_TYPE_MESSAGE, |
3727 | | offsetof(Mgmtd__FeMessage, message_case), |
3728 | | offsetof(Mgmtd__FeMessage, get_req), |
3729 | | &mgmtd__fe_get_req__descriptor, |
3730 | | NULL, |
3731 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3732 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3733 | | }, |
3734 | | { |
3735 | | "get_reply", |
3736 | | 12, |
3737 | | PROTOBUF_C_LABEL_OPTIONAL, |
3738 | | PROTOBUF_C_TYPE_MESSAGE, |
3739 | | offsetof(Mgmtd__FeMessage, message_case), |
3740 | | offsetof(Mgmtd__FeMessage, get_reply), |
3741 | | &mgmtd__fe_get_reply__descriptor, |
3742 | | NULL, |
3743 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3744 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3745 | | }, |
3746 | | { |
3747 | | "notify_data_req", |
3748 | | 15, |
3749 | | PROTOBUF_C_LABEL_OPTIONAL, |
3750 | | PROTOBUF_C_TYPE_MESSAGE, |
3751 | | offsetof(Mgmtd__FeMessage, message_case), |
3752 | | offsetof(Mgmtd__FeMessage, notify_data_req), |
3753 | | &mgmtd__fe_notify_data_req__descriptor, |
3754 | | NULL, |
3755 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3756 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3757 | | }, |
3758 | | { |
3759 | | "regnotify_req", |
3760 | | 16, |
3761 | | PROTOBUF_C_LABEL_OPTIONAL, |
3762 | | PROTOBUF_C_TYPE_MESSAGE, |
3763 | | offsetof(Mgmtd__FeMessage, message_case), |
3764 | | offsetof(Mgmtd__FeMessage, regnotify_req), |
3765 | | &mgmtd__fe_register_notify_req__descriptor, |
3766 | | NULL, |
3767 | | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ |
3768 | | 0,NULL,NULL /* reserved1,reserved2, etc */ |
3769 | | }, |
3770 | | }; |
3771 | | static const unsigned mgmtd__fe_message__field_indices_by_name[] = { |
3772 | | 8, /* field[8] = commcfg_reply */ |
3773 | | 7, /* field[7] = commcfg_req */ |
3774 | | 10, /* field[10] = get_reply */ |
3775 | | 9, /* field[9] = get_req */ |
3776 | | 4, /* field[4] = lockds_reply */ |
3777 | | 3, /* field[3] = lockds_req */ |
3778 | | 11, /* field[11] = notify_data_req */ |
3779 | | 0, /* field[0] = register_req */ |
3780 | | 12, /* field[12] = regnotify_req */ |
3781 | | 2, /* field[2] = session_reply */ |
3782 | | 1, /* field[1] = session_req */ |
3783 | | 6, /* field[6] = setcfg_reply */ |
3784 | | 5, /* field[5] = setcfg_req */ |
3785 | | }; |
3786 | | static const ProtobufCIntRange mgmtd__fe_message__number_ranges[2 + 1] = |
3787 | | { |
3788 | | { 2, 0 }, |
3789 | | { 15, 11 }, |
3790 | | { 0, 13 } |
3791 | | }; |
3792 | | const ProtobufCMessageDescriptor mgmtd__fe_message__descriptor = |
3793 | | { |
3794 | | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, |
3795 | | "mgmtd.FeMessage", |
3796 | | "FeMessage", |
3797 | | "Mgmtd__FeMessage", |
3798 | | "mgmtd", |
3799 | | sizeof(Mgmtd__FeMessage), |
3800 | | 13, |
3801 | | mgmtd__fe_message__field_descriptors, |
3802 | | mgmtd__fe_message__field_indices_by_name, |
3803 | | 2, mgmtd__fe_message__number_ranges, |
3804 | | (ProtobufCMessageInit) mgmtd__fe_message__init, |
3805 | | NULL,NULL,NULL /* reserved[123] */ |
3806 | | }; |
3807 | | static const ProtobufCEnumValue mgmtd__cfg_data_req_type__enum_values_by_number[3] = |
3808 | | { |
3809 | | { "REQ_TYPE_NONE", "MGMTD__CFG_DATA_REQ_TYPE__REQ_TYPE_NONE", 0 }, |
3810 | | { "SET_DATA", "MGMTD__CFG_DATA_REQ_TYPE__SET_DATA", 1 }, |
3811 | | { "DELETE_DATA", "MGMTD__CFG_DATA_REQ_TYPE__DELETE_DATA", 2 }, |
3812 | | }; |
3813 | | static const ProtobufCIntRange mgmtd__cfg_data_req_type__value_ranges[] = { |
3814 | | {0, 0},{0, 3} |
3815 | | }; |
3816 | | static const ProtobufCEnumValueIndex mgmtd__cfg_data_req_type__enum_values_by_name[3] = |
3817 | | { |
3818 | | { "DELETE_DATA", 2 }, |
3819 | | { "REQ_TYPE_NONE", 0 }, |
3820 | | { "SET_DATA", 1 }, |
3821 | | }; |
3822 | | const ProtobufCEnumDescriptor mgmtd__cfg_data_req_type__descriptor = |
3823 | | { |
3824 | | PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
3825 | | "mgmtd.CfgDataReqType", |
3826 | | "CfgDataReqType", |
3827 | | "Mgmtd__CfgDataReqType", |
3828 | | "mgmtd", |
3829 | | 3, |
3830 | | mgmtd__cfg_data_req_type__enum_values_by_number, |
3831 | | 3, |
3832 | | mgmtd__cfg_data_req_type__enum_values_by_name, |
3833 | | 1, |
3834 | | mgmtd__cfg_data_req_type__value_ranges, |
3835 | | NULL,NULL,NULL,NULL /* reserved[1234] */ |
3836 | | }; |
3837 | | static const ProtobufCEnumValue mgmtd__datastore_id__enum_values_by_number[5] = |
3838 | | { |
3839 | | { "DS_NONE", "MGMTD__DATASTORE_ID__DS_NONE", 0 }, |
3840 | | { "RUNNING_DS", "MGMTD__DATASTORE_ID__RUNNING_DS", 1 }, |
3841 | | { "CANDIDATE_DS", "MGMTD__DATASTORE_ID__CANDIDATE_DS", 2 }, |
3842 | | { "OPERATIONAL_DS", "MGMTD__DATASTORE_ID__OPERATIONAL_DS", 3 }, |
3843 | | { "STARTUP_DS", "MGMTD__DATASTORE_ID__STARTUP_DS", 4 }, |
3844 | | }; |
3845 | | static const ProtobufCIntRange mgmtd__datastore_id__value_ranges[] = { |
3846 | | {0, 0},{0, 5} |
3847 | | }; |
3848 | | static const ProtobufCEnumValueIndex mgmtd__datastore_id__enum_values_by_name[5] = |
3849 | | { |
3850 | | { "CANDIDATE_DS", 2 }, |
3851 | | { "DS_NONE", 0 }, |
3852 | | { "OPERATIONAL_DS", 3 }, |
3853 | | { "RUNNING_DS", 1 }, |
3854 | | { "STARTUP_DS", 4 }, |
3855 | | }; |
3856 | | const ProtobufCEnumDescriptor mgmtd__datastore_id__descriptor = |
3857 | | { |
3858 | | PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, |
3859 | | "mgmtd.DatastoreId", |
3860 | | "DatastoreId", |
3861 | | "Mgmtd__DatastoreId", |
3862 | | "mgmtd", |
3863 | | 5, |
3864 | | mgmtd__datastore_id__enum_values_by_number, |
3865 | | 5, |
3866 | | mgmtd__datastore_id__enum_values_by_name, |
3867 | | 1, |
3868 | | mgmtd__datastore_id__value_ranges, |
3869 | | NULL,NULL,NULL,NULL /* reserved[1234] */ |
3870 | | }; |