Line data Source code
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 0 : void mgmtd__yang_data_xpath__init
12 : (Mgmtd__YangDataXPath *message)
13 : {
14 0 : static const Mgmtd__YangDataXPath init_value = MGMTD__YANG_DATA_XPATH__INIT;
15 0 : *message = init_value;
16 0 : }
17 0 : size_t mgmtd__yang_data_xpath__get_packed_size
18 : (const Mgmtd__YangDataXPath *message)
19 : {
20 0 : assert(message->base.descriptor == &mgmtd__yang_data_xpath__descriptor);
21 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
22 : }
23 0 : size_t mgmtd__yang_data_xpath__pack
24 : (const Mgmtd__YangDataXPath *message,
25 : uint8_t *out)
26 : {
27 0 : assert(message->base.descriptor == &mgmtd__yang_data_xpath__descriptor);
28 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
29 : }
30 0 : size_t mgmtd__yang_data_xpath__pack_to_buffer
31 : (const Mgmtd__YangDataXPath *message,
32 : ProtobufCBuffer *buffer)
33 : {
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 : }
37 : Mgmtd__YangDataXPath *
38 0 : mgmtd__yang_data_xpath__unpack
39 : (ProtobufCAllocator *allocator,
40 : size_t len,
41 : const uint8_t *data)
42 : {
43 0 : return (Mgmtd__YangDataXPath *)
44 0 : protobuf_c_message_unpack (&mgmtd__yang_data_xpath__descriptor,
45 : allocator, len, data);
46 : }
47 0 : void mgmtd__yang_data_xpath__free_unpacked
48 : (Mgmtd__YangDataXPath *message,
49 : ProtobufCAllocator *allocator)
50 : {
51 0 : if(!message)
52 : return;
53 0 : assert(message->base.descriptor == &mgmtd__yang_data_xpath__descriptor);
54 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
55 : }
56 0 : void mgmtd__yang_data_value__init
57 : (Mgmtd__YangDataValue *message)
58 : {
59 0 : static const Mgmtd__YangDataValue init_value = MGMTD__YANG_DATA_VALUE__INIT;
60 0 : *message = init_value;
61 0 : }
62 0 : size_t mgmtd__yang_data_value__get_packed_size
63 : (const Mgmtd__YangDataValue *message)
64 : {
65 0 : assert(message->base.descriptor == &mgmtd__yang_data_value__descriptor);
66 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
67 : }
68 0 : size_t mgmtd__yang_data_value__pack
69 : (const Mgmtd__YangDataValue *message,
70 : uint8_t *out)
71 : {
72 0 : assert(message->base.descriptor == &mgmtd__yang_data_value__descriptor);
73 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
74 : }
75 0 : size_t mgmtd__yang_data_value__pack_to_buffer
76 : (const Mgmtd__YangDataValue *message,
77 : ProtobufCBuffer *buffer)
78 : {
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 : }
82 : Mgmtd__YangDataValue *
83 0 : mgmtd__yang_data_value__unpack
84 : (ProtobufCAllocator *allocator,
85 : size_t len,
86 : const uint8_t *data)
87 : {
88 0 : return (Mgmtd__YangDataValue *)
89 0 : protobuf_c_message_unpack (&mgmtd__yang_data_value__descriptor,
90 : allocator, len, data);
91 : }
92 0 : void mgmtd__yang_data_value__free_unpacked
93 : (Mgmtd__YangDataValue *message,
94 : ProtobufCAllocator *allocator)
95 : {
96 0 : if(!message)
97 : return;
98 0 : assert(message->base.descriptor == &mgmtd__yang_data_value__descriptor);
99 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
100 : }
101 0 : void mgmtd__yang_data__init
102 : (Mgmtd__YangData *message)
103 : {
104 0 : static const Mgmtd__YangData init_value = MGMTD__YANG_DATA__INIT;
105 0 : *message = init_value;
106 0 : }
107 0 : size_t mgmtd__yang_data__get_packed_size
108 : (const Mgmtd__YangData *message)
109 : {
110 0 : assert(message->base.descriptor == &mgmtd__yang_data__descriptor);
111 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
112 : }
113 0 : size_t mgmtd__yang_data__pack
114 : (const Mgmtd__YangData *message,
115 : uint8_t *out)
116 : {
117 0 : assert(message->base.descriptor == &mgmtd__yang_data__descriptor);
118 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
119 : }
120 0 : size_t mgmtd__yang_data__pack_to_buffer
121 : (const Mgmtd__YangData *message,
122 : ProtobufCBuffer *buffer)
123 : {
124 0 : assert(message->base.descriptor == &mgmtd__yang_data__descriptor);
125 0 : return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
126 : }
127 : Mgmtd__YangData *
128 0 : mgmtd__yang_data__unpack
129 : (ProtobufCAllocator *allocator,
130 : size_t len,
131 : const uint8_t *data)
132 : {
133 0 : return (Mgmtd__YangData *)
134 0 : protobuf_c_message_unpack (&mgmtd__yang_data__descriptor,
135 : allocator, len, data);
136 : }
137 0 : void mgmtd__yang_data__free_unpacked
138 : (Mgmtd__YangData *message,
139 : ProtobufCAllocator *allocator)
140 : {
141 0 : if(!message)
142 : return;
143 0 : assert(message->base.descriptor == &mgmtd__yang_data__descriptor);
144 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
145 : }
146 0 : void mgmtd__yang_cfg_data_req__init
147 : (Mgmtd__YangCfgDataReq *message)
148 : {
149 0 : static const Mgmtd__YangCfgDataReq init_value = MGMTD__YANG_CFG_DATA_REQ__INIT;
150 0 : *message = init_value;
151 0 : }
152 0 : size_t mgmtd__yang_cfg_data_req__get_packed_size
153 : (const Mgmtd__YangCfgDataReq *message)
154 : {
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 : }
158 0 : size_t mgmtd__yang_cfg_data_req__pack
159 : (const Mgmtd__YangCfgDataReq *message,
160 : uint8_t *out)
161 : {
162 0 : assert(message->base.descriptor == &mgmtd__yang_cfg_data_req__descriptor);
163 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
164 : }
165 0 : size_t mgmtd__yang_cfg_data_req__pack_to_buffer
166 : (const Mgmtd__YangCfgDataReq *message,
167 : ProtobufCBuffer *buffer)
168 : {
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 : }
172 : Mgmtd__YangCfgDataReq *
173 0 : mgmtd__yang_cfg_data_req__unpack
174 : (ProtobufCAllocator *allocator,
175 : size_t len,
176 : const uint8_t *data)
177 : {
178 0 : return (Mgmtd__YangCfgDataReq *)
179 0 : protobuf_c_message_unpack (&mgmtd__yang_cfg_data_req__descriptor,
180 : allocator, len, data);
181 : }
182 0 : void mgmtd__yang_cfg_data_req__free_unpacked
183 : (Mgmtd__YangCfgDataReq *message,
184 : ProtobufCAllocator *allocator)
185 : {
186 0 : if(!message)
187 : return;
188 0 : assert(message->base.descriptor == &mgmtd__yang_cfg_data_req__descriptor);
189 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
190 : }
191 0 : void mgmtd__yang_get_data_req__init
192 : (Mgmtd__YangGetDataReq *message)
193 : {
194 0 : static const Mgmtd__YangGetDataReq init_value = MGMTD__YANG_GET_DATA_REQ__INIT;
195 0 : *message = init_value;
196 0 : }
197 0 : size_t mgmtd__yang_get_data_req__get_packed_size
198 : (const Mgmtd__YangGetDataReq *message)
199 : {
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 : }
203 0 : size_t mgmtd__yang_get_data_req__pack
204 : (const Mgmtd__YangGetDataReq *message,
205 : uint8_t *out)
206 : {
207 0 : assert(message->base.descriptor == &mgmtd__yang_get_data_req__descriptor);
208 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
209 : }
210 0 : size_t mgmtd__yang_get_data_req__pack_to_buffer
211 : (const Mgmtd__YangGetDataReq *message,
212 : ProtobufCBuffer *buffer)
213 : {
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 : }
217 : Mgmtd__YangGetDataReq *
218 0 : mgmtd__yang_get_data_req__unpack
219 : (ProtobufCAllocator *allocator,
220 : size_t len,
221 : const uint8_t *data)
222 : {
223 0 : return (Mgmtd__YangGetDataReq *)
224 0 : protobuf_c_message_unpack (&mgmtd__yang_get_data_req__descriptor,
225 : allocator, len, data);
226 : }
227 0 : void mgmtd__yang_get_data_req__free_unpacked
228 : (Mgmtd__YangGetDataReq *message,
229 : ProtobufCAllocator *allocator)
230 : {
231 0 : if(!message)
232 : return;
233 0 : assert(message->base.descriptor == &mgmtd__yang_get_data_req__descriptor);
234 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
235 : }
236 0 : void mgmtd__be_subscribe_req__init
237 : (Mgmtd__BeSubscribeReq *message)
238 : {
239 0 : static const Mgmtd__BeSubscribeReq init_value = MGMTD__BE_SUBSCRIBE_REQ__INIT;
240 0 : *message = init_value;
241 0 : }
242 0 : size_t mgmtd__be_subscribe_req__get_packed_size
243 : (const Mgmtd__BeSubscribeReq *message)
244 : {
245 0 : assert(message->base.descriptor == &mgmtd__be_subscribe_req__descriptor);
246 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
247 : }
248 0 : size_t mgmtd__be_subscribe_req__pack
249 : (const Mgmtd__BeSubscribeReq *message,
250 : uint8_t *out)
251 : {
252 0 : assert(message->base.descriptor == &mgmtd__be_subscribe_req__descriptor);
253 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
254 : }
255 0 : size_t mgmtd__be_subscribe_req__pack_to_buffer
256 : (const Mgmtd__BeSubscribeReq *message,
257 : ProtobufCBuffer *buffer)
258 : {
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 : }
262 : Mgmtd__BeSubscribeReq *
263 0 : mgmtd__be_subscribe_req__unpack
264 : (ProtobufCAllocator *allocator,
265 : size_t len,
266 : const uint8_t *data)
267 : {
268 0 : return (Mgmtd__BeSubscribeReq *)
269 0 : protobuf_c_message_unpack (&mgmtd__be_subscribe_req__descriptor,
270 : allocator, len, data);
271 : }
272 0 : void mgmtd__be_subscribe_req__free_unpacked
273 : (Mgmtd__BeSubscribeReq *message,
274 : ProtobufCAllocator *allocator)
275 : {
276 0 : if(!message)
277 : return;
278 0 : assert(message->base.descriptor == &mgmtd__be_subscribe_req__descriptor);
279 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
280 : }
281 0 : void mgmtd__be_subscribe_reply__init
282 : (Mgmtd__BeSubscribeReply *message)
283 : {
284 0 : static const Mgmtd__BeSubscribeReply init_value = MGMTD__BE_SUBSCRIBE_REPLY__INIT;
285 0 : *message = init_value;
286 0 : }
287 0 : size_t mgmtd__be_subscribe_reply__get_packed_size
288 : (const Mgmtd__BeSubscribeReply *message)
289 : {
290 0 : assert(message->base.descriptor == &mgmtd__be_subscribe_reply__descriptor);
291 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
292 : }
293 0 : size_t mgmtd__be_subscribe_reply__pack
294 : (const Mgmtd__BeSubscribeReply *message,
295 : uint8_t *out)
296 : {
297 0 : assert(message->base.descriptor == &mgmtd__be_subscribe_reply__descriptor);
298 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
299 : }
300 0 : size_t mgmtd__be_subscribe_reply__pack_to_buffer
301 : (const Mgmtd__BeSubscribeReply *message,
302 : ProtobufCBuffer *buffer)
303 : {
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 : }
307 : Mgmtd__BeSubscribeReply *
308 0 : mgmtd__be_subscribe_reply__unpack
309 : (ProtobufCAllocator *allocator,
310 : size_t len,
311 : const uint8_t *data)
312 : {
313 0 : return (Mgmtd__BeSubscribeReply *)
314 0 : protobuf_c_message_unpack (&mgmtd__be_subscribe_reply__descriptor,
315 : allocator, len, data);
316 : }
317 0 : void mgmtd__be_subscribe_reply__free_unpacked
318 : (Mgmtd__BeSubscribeReply *message,
319 : ProtobufCAllocator *allocator)
320 : {
321 0 : if(!message)
322 : return;
323 0 : assert(message->base.descriptor == &mgmtd__be_subscribe_reply__descriptor);
324 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
325 : }
326 0 : void mgmtd__be_txn_req__init
327 : (Mgmtd__BeTxnReq *message)
328 : {
329 0 : static const Mgmtd__BeTxnReq init_value = MGMTD__BE_TXN_REQ__INIT;
330 0 : *message = init_value;
331 0 : }
332 0 : size_t mgmtd__be_txn_req__get_packed_size
333 : (const Mgmtd__BeTxnReq *message)
334 : {
335 0 : assert(message->base.descriptor == &mgmtd__be_txn_req__descriptor);
336 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
337 : }
338 0 : size_t mgmtd__be_txn_req__pack
339 : (const Mgmtd__BeTxnReq *message,
340 : uint8_t *out)
341 : {
342 0 : assert(message->base.descriptor == &mgmtd__be_txn_req__descriptor);
343 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
344 : }
345 0 : size_t mgmtd__be_txn_req__pack_to_buffer
346 : (const Mgmtd__BeTxnReq *message,
347 : ProtobufCBuffer *buffer)
348 : {
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 : }
352 : Mgmtd__BeTxnReq *
353 0 : mgmtd__be_txn_req__unpack
354 : (ProtobufCAllocator *allocator,
355 : size_t len,
356 : const uint8_t *data)
357 : {
358 0 : return (Mgmtd__BeTxnReq *)
359 0 : protobuf_c_message_unpack (&mgmtd__be_txn_req__descriptor,
360 : allocator, len, data);
361 : }
362 0 : void mgmtd__be_txn_req__free_unpacked
363 : (Mgmtd__BeTxnReq *message,
364 : ProtobufCAllocator *allocator)
365 : {
366 0 : if(!message)
367 : return;
368 0 : assert(message->base.descriptor == &mgmtd__be_txn_req__descriptor);
369 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
370 : }
371 0 : void mgmtd__be_txn_reply__init
372 : (Mgmtd__BeTxnReply *message)
373 : {
374 0 : static const Mgmtd__BeTxnReply init_value = MGMTD__BE_TXN_REPLY__INIT;
375 0 : *message = init_value;
376 0 : }
377 0 : size_t mgmtd__be_txn_reply__get_packed_size
378 : (const Mgmtd__BeTxnReply *message)
379 : {
380 0 : assert(message->base.descriptor == &mgmtd__be_txn_reply__descriptor);
381 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
382 : }
383 0 : size_t mgmtd__be_txn_reply__pack
384 : (const Mgmtd__BeTxnReply *message,
385 : uint8_t *out)
386 : {
387 0 : assert(message->base.descriptor == &mgmtd__be_txn_reply__descriptor);
388 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
389 : }
390 0 : size_t mgmtd__be_txn_reply__pack_to_buffer
391 : (const Mgmtd__BeTxnReply *message,
392 : ProtobufCBuffer *buffer)
393 : {
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 : }
397 : Mgmtd__BeTxnReply *
398 0 : mgmtd__be_txn_reply__unpack
399 : (ProtobufCAllocator *allocator,
400 : size_t len,
401 : const uint8_t *data)
402 : {
403 0 : return (Mgmtd__BeTxnReply *)
404 0 : protobuf_c_message_unpack (&mgmtd__be_txn_reply__descriptor,
405 : allocator, len, data);
406 : }
407 0 : void mgmtd__be_txn_reply__free_unpacked
408 : (Mgmtd__BeTxnReply *message,
409 : ProtobufCAllocator *allocator)
410 : {
411 0 : if(!message)
412 : return;
413 0 : assert(message->base.descriptor == &mgmtd__be_txn_reply__descriptor);
414 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
415 : }
416 0 : void mgmtd__be_cfg_data_create_req__init
417 : (Mgmtd__BeCfgDataCreateReq *message)
418 : {
419 0 : static const Mgmtd__BeCfgDataCreateReq init_value = MGMTD__BE_CFG_DATA_CREATE_REQ__INIT;
420 0 : *message = init_value;
421 0 : }
422 0 : size_t mgmtd__be_cfg_data_create_req__get_packed_size
423 : (const Mgmtd__BeCfgDataCreateReq *message)
424 : {
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 : }
428 0 : size_t mgmtd__be_cfg_data_create_req__pack
429 : (const Mgmtd__BeCfgDataCreateReq *message,
430 : uint8_t *out)
431 : {
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 : }
435 0 : size_t mgmtd__be_cfg_data_create_req__pack_to_buffer
436 : (const Mgmtd__BeCfgDataCreateReq *message,
437 : ProtobufCBuffer *buffer)
438 : {
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 : }
442 : Mgmtd__BeCfgDataCreateReq *
443 0 : mgmtd__be_cfg_data_create_req__unpack
444 : (ProtobufCAllocator *allocator,
445 : size_t len,
446 : const uint8_t *data)
447 : {
448 0 : return (Mgmtd__BeCfgDataCreateReq *)
449 0 : protobuf_c_message_unpack (&mgmtd__be_cfg_data_create_req__descriptor,
450 : allocator, len, data);
451 : }
452 0 : void mgmtd__be_cfg_data_create_req__free_unpacked
453 : (Mgmtd__BeCfgDataCreateReq *message,
454 : ProtobufCAllocator *allocator)
455 : {
456 0 : if(!message)
457 : 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 : }
461 0 : void mgmtd__be_cfg_data_create_reply__init
462 : (Mgmtd__BeCfgDataCreateReply *message)
463 : {
464 0 : static const Mgmtd__BeCfgDataCreateReply init_value = MGMTD__BE_CFG_DATA_CREATE_REPLY__INIT;
465 0 : *message = init_value;
466 0 : }
467 0 : size_t mgmtd__be_cfg_data_create_reply__get_packed_size
468 : (const Mgmtd__BeCfgDataCreateReply *message)
469 : {
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 : }
473 0 : size_t mgmtd__be_cfg_data_create_reply__pack
474 : (const Mgmtd__BeCfgDataCreateReply *message,
475 : uint8_t *out)
476 : {
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 : }
480 0 : size_t mgmtd__be_cfg_data_create_reply__pack_to_buffer
481 : (const Mgmtd__BeCfgDataCreateReply *message,
482 : ProtobufCBuffer *buffer)
483 : {
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 : }
487 : Mgmtd__BeCfgDataCreateReply *
488 0 : mgmtd__be_cfg_data_create_reply__unpack
489 : (ProtobufCAllocator *allocator,
490 : size_t len,
491 : const uint8_t *data)
492 : {
493 0 : return (Mgmtd__BeCfgDataCreateReply *)
494 0 : protobuf_c_message_unpack (&mgmtd__be_cfg_data_create_reply__descriptor,
495 : allocator, len, data);
496 : }
497 0 : void mgmtd__be_cfg_data_create_reply__free_unpacked
498 : (Mgmtd__BeCfgDataCreateReply *message,
499 : ProtobufCAllocator *allocator)
500 : {
501 0 : if(!message)
502 : 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 : }
506 0 : void mgmtd__be_cfg_data_apply_req__init
507 : (Mgmtd__BeCfgDataApplyReq *message)
508 : {
509 0 : static const Mgmtd__BeCfgDataApplyReq init_value = MGMTD__BE_CFG_DATA_APPLY_REQ__INIT;
510 0 : *message = init_value;
511 0 : }
512 0 : size_t mgmtd__be_cfg_data_apply_req__get_packed_size
513 : (const Mgmtd__BeCfgDataApplyReq *message)
514 : {
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 : }
518 0 : size_t mgmtd__be_cfg_data_apply_req__pack
519 : (const Mgmtd__BeCfgDataApplyReq *message,
520 : uint8_t *out)
521 : {
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 : }
525 0 : size_t mgmtd__be_cfg_data_apply_req__pack_to_buffer
526 : (const Mgmtd__BeCfgDataApplyReq *message,
527 : ProtobufCBuffer *buffer)
528 : {
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 : }
532 : Mgmtd__BeCfgDataApplyReq *
533 0 : mgmtd__be_cfg_data_apply_req__unpack
534 : (ProtobufCAllocator *allocator,
535 : size_t len,
536 : const uint8_t *data)
537 : {
538 0 : return (Mgmtd__BeCfgDataApplyReq *)
539 0 : protobuf_c_message_unpack (&mgmtd__be_cfg_data_apply_req__descriptor,
540 : allocator, len, data);
541 : }
542 0 : void mgmtd__be_cfg_data_apply_req__free_unpacked
543 : (Mgmtd__BeCfgDataApplyReq *message,
544 : ProtobufCAllocator *allocator)
545 : {
546 0 : if(!message)
547 : 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 : }
551 0 : void mgmtd__be_cfg_data_apply_reply__init
552 : (Mgmtd__BeCfgDataApplyReply *message)
553 : {
554 0 : static const Mgmtd__BeCfgDataApplyReply init_value = MGMTD__BE_CFG_DATA_APPLY_REPLY__INIT;
555 0 : *message = init_value;
556 0 : }
557 0 : size_t mgmtd__be_cfg_data_apply_reply__get_packed_size
558 : (const Mgmtd__BeCfgDataApplyReply *message)
559 : {
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 : }
563 0 : size_t mgmtd__be_cfg_data_apply_reply__pack
564 : (const Mgmtd__BeCfgDataApplyReply *message,
565 : uint8_t *out)
566 : {
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 : }
570 0 : size_t mgmtd__be_cfg_data_apply_reply__pack_to_buffer
571 : (const Mgmtd__BeCfgDataApplyReply *message,
572 : ProtobufCBuffer *buffer)
573 : {
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 : }
577 : Mgmtd__BeCfgDataApplyReply *
578 0 : mgmtd__be_cfg_data_apply_reply__unpack
579 : (ProtobufCAllocator *allocator,
580 : size_t len,
581 : const uint8_t *data)
582 : {
583 0 : return (Mgmtd__BeCfgDataApplyReply *)
584 0 : protobuf_c_message_unpack (&mgmtd__be_cfg_data_apply_reply__descriptor,
585 : allocator, len, data);
586 : }
587 0 : void mgmtd__be_cfg_data_apply_reply__free_unpacked
588 : (Mgmtd__BeCfgDataApplyReply *message,
589 : ProtobufCAllocator *allocator)
590 : {
591 0 : if(!message)
592 : 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 : }
596 0 : void mgmtd__be_oper_data_get_req__init
597 : (Mgmtd__BeOperDataGetReq *message)
598 : {
599 0 : static const Mgmtd__BeOperDataGetReq init_value = MGMTD__BE_OPER_DATA_GET_REQ__INIT;
600 0 : *message = init_value;
601 0 : }
602 0 : size_t mgmtd__be_oper_data_get_req__get_packed_size
603 : (const Mgmtd__BeOperDataGetReq *message)
604 : {
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 : }
608 0 : size_t mgmtd__be_oper_data_get_req__pack
609 : (const Mgmtd__BeOperDataGetReq *message,
610 : uint8_t *out)
611 : {
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 : }
615 0 : size_t mgmtd__be_oper_data_get_req__pack_to_buffer
616 : (const Mgmtd__BeOperDataGetReq *message,
617 : ProtobufCBuffer *buffer)
618 : {
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 : }
622 : Mgmtd__BeOperDataGetReq *
623 0 : mgmtd__be_oper_data_get_req__unpack
624 : (ProtobufCAllocator *allocator,
625 : size_t len,
626 : const uint8_t *data)
627 : {
628 0 : return (Mgmtd__BeOperDataGetReq *)
629 0 : protobuf_c_message_unpack (&mgmtd__be_oper_data_get_req__descriptor,
630 : allocator, len, data);
631 : }
632 0 : void mgmtd__be_oper_data_get_req__free_unpacked
633 : (Mgmtd__BeOperDataGetReq *message,
634 : ProtobufCAllocator *allocator)
635 : {
636 0 : if(!message)
637 : 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 : }
641 0 : void mgmtd__yang_data_reply__init
642 : (Mgmtd__YangDataReply *message)
643 : {
644 0 : static const Mgmtd__YangDataReply init_value = MGMTD__YANG_DATA_REPLY__INIT;
645 0 : *message = init_value;
646 0 : }
647 0 : size_t mgmtd__yang_data_reply__get_packed_size
648 : (const Mgmtd__YangDataReply *message)
649 : {
650 0 : assert(message->base.descriptor == &mgmtd__yang_data_reply__descriptor);
651 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
652 : }
653 0 : size_t mgmtd__yang_data_reply__pack
654 : (const Mgmtd__YangDataReply *message,
655 : uint8_t *out)
656 : {
657 0 : assert(message->base.descriptor == &mgmtd__yang_data_reply__descriptor);
658 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
659 : }
660 0 : size_t mgmtd__yang_data_reply__pack_to_buffer
661 : (const Mgmtd__YangDataReply *message,
662 : ProtobufCBuffer *buffer)
663 : {
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 : }
667 : Mgmtd__YangDataReply *
668 0 : mgmtd__yang_data_reply__unpack
669 : (ProtobufCAllocator *allocator,
670 : size_t len,
671 : const uint8_t *data)
672 : {
673 0 : return (Mgmtd__YangDataReply *)
674 0 : protobuf_c_message_unpack (&mgmtd__yang_data_reply__descriptor,
675 : allocator, len, data);
676 : }
677 0 : void mgmtd__yang_data_reply__free_unpacked
678 : (Mgmtd__YangDataReply *message,
679 : ProtobufCAllocator *allocator)
680 : {
681 0 : if(!message)
682 : return;
683 0 : assert(message->base.descriptor == &mgmtd__yang_data_reply__descriptor);
684 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
685 : }
686 0 : void mgmtd__be_oper_data_get_reply__init
687 : (Mgmtd__BeOperDataGetReply *message)
688 : {
689 0 : static const Mgmtd__BeOperDataGetReply init_value = MGMTD__BE_OPER_DATA_GET_REPLY__INIT;
690 0 : *message = init_value;
691 0 : }
692 0 : size_t mgmtd__be_oper_data_get_reply__get_packed_size
693 : (const Mgmtd__BeOperDataGetReply *message)
694 : {
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 : }
698 0 : size_t mgmtd__be_oper_data_get_reply__pack
699 : (const Mgmtd__BeOperDataGetReply *message,
700 : uint8_t *out)
701 : {
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 : }
705 0 : size_t mgmtd__be_oper_data_get_reply__pack_to_buffer
706 : (const Mgmtd__BeOperDataGetReply *message,
707 : ProtobufCBuffer *buffer)
708 : {
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 : }
712 : Mgmtd__BeOperDataGetReply *
713 0 : mgmtd__be_oper_data_get_reply__unpack
714 : (ProtobufCAllocator *allocator,
715 : size_t len,
716 : const uint8_t *data)
717 : {
718 0 : return (Mgmtd__BeOperDataGetReply *)
719 0 : protobuf_c_message_unpack (&mgmtd__be_oper_data_get_reply__descriptor,
720 : allocator, len, data);
721 : }
722 0 : void mgmtd__be_oper_data_get_reply__free_unpacked
723 : (Mgmtd__BeOperDataGetReply *message,
724 : ProtobufCAllocator *allocator)
725 : {
726 0 : if(!message)
727 : 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 : }
731 0 : void mgmtd__be_message__init
732 : (Mgmtd__BeMessage *message)
733 : {
734 0 : static const Mgmtd__BeMessage init_value = MGMTD__BE_MESSAGE__INIT;
735 0 : *message = init_value;
736 0 : }
737 0 : size_t mgmtd__be_message__get_packed_size
738 : (const Mgmtd__BeMessage *message)
739 : {
740 0 : assert(message->base.descriptor == &mgmtd__be_message__descriptor);
741 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
742 : }
743 0 : size_t mgmtd__be_message__pack
744 : (const Mgmtd__BeMessage *message,
745 : uint8_t *out)
746 : {
747 0 : assert(message->base.descriptor == &mgmtd__be_message__descriptor);
748 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
749 : }
750 0 : size_t mgmtd__be_message__pack_to_buffer
751 : (const Mgmtd__BeMessage *message,
752 : ProtobufCBuffer *buffer)
753 : {
754 0 : assert(message->base.descriptor == &mgmtd__be_message__descriptor);
755 0 : return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
756 : }
757 : Mgmtd__BeMessage *
758 0 : mgmtd__be_message__unpack
759 : (ProtobufCAllocator *allocator,
760 : size_t len,
761 : const uint8_t *data)
762 : {
763 0 : return (Mgmtd__BeMessage *)
764 0 : protobuf_c_message_unpack (&mgmtd__be_message__descriptor,
765 : allocator, len, data);
766 : }
767 0 : void mgmtd__be_message__free_unpacked
768 : (Mgmtd__BeMessage *message,
769 : ProtobufCAllocator *allocator)
770 : {
771 0 : if(!message)
772 : return;
773 0 : assert(message->base.descriptor == &mgmtd__be_message__descriptor);
774 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
775 : }
776 0 : void mgmtd__fe_register_req__init
777 : (Mgmtd__FeRegisterReq *message)
778 : {
779 0 : static const Mgmtd__FeRegisterReq init_value = MGMTD__FE_REGISTER_REQ__INIT;
780 0 : *message = init_value;
781 0 : }
782 0 : size_t mgmtd__fe_register_req__get_packed_size
783 : (const Mgmtd__FeRegisterReq *message)
784 : {
785 0 : assert(message->base.descriptor == &mgmtd__fe_register_req__descriptor);
786 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
787 : }
788 0 : size_t mgmtd__fe_register_req__pack
789 : (const Mgmtd__FeRegisterReq *message,
790 : uint8_t *out)
791 : {
792 0 : assert(message->base.descriptor == &mgmtd__fe_register_req__descriptor);
793 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
794 : }
795 0 : size_t mgmtd__fe_register_req__pack_to_buffer
796 : (const Mgmtd__FeRegisterReq *message,
797 : ProtobufCBuffer *buffer)
798 : {
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 : }
802 : Mgmtd__FeRegisterReq *
803 0 : mgmtd__fe_register_req__unpack
804 : (ProtobufCAllocator *allocator,
805 : size_t len,
806 : const uint8_t *data)
807 : {
808 0 : return (Mgmtd__FeRegisterReq *)
809 0 : protobuf_c_message_unpack (&mgmtd__fe_register_req__descriptor,
810 : allocator, len, data);
811 : }
812 0 : void mgmtd__fe_register_req__free_unpacked
813 : (Mgmtd__FeRegisterReq *message,
814 : ProtobufCAllocator *allocator)
815 : {
816 0 : if(!message)
817 : return;
818 0 : assert(message->base.descriptor == &mgmtd__fe_register_req__descriptor);
819 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
820 : }
821 0 : void mgmtd__fe_session_req__init
822 : (Mgmtd__FeSessionReq *message)
823 : {
824 0 : static const Mgmtd__FeSessionReq init_value = MGMTD__FE_SESSION_REQ__INIT;
825 0 : *message = init_value;
826 0 : }
827 0 : size_t mgmtd__fe_session_req__get_packed_size
828 : (const Mgmtd__FeSessionReq *message)
829 : {
830 0 : assert(message->base.descriptor == &mgmtd__fe_session_req__descriptor);
831 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
832 : }
833 0 : size_t mgmtd__fe_session_req__pack
834 : (const Mgmtd__FeSessionReq *message,
835 : uint8_t *out)
836 : {
837 0 : assert(message->base.descriptor == &mgmtd__fe_session_req__descriptor);
838 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
839 : }
840 0 : size_t mgmtd__fe_session_req__pack_to_buffer
841 : (const Mgmtd__FeSessionReq *message,
842 : ProtobufCBuffer *buffer)
843 : {
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 : }
847 : Mgmtd__FeSessionReq *
848 0 : mgmtd__fe_session_req__unpack
849 : (ProtobufCAllocator *allocator,
850 : size_t len,
851 : const uint8_t *data)
852 : {
853 0 : return (Mgmtd__FeSessionReq *)
854 0 : protobuf_c_message_unpack (&mgmtd__fe_session_req__descriptor,
855 : allocator, len, data);
856 : }
857 0 : void mgmtd__fe_session_req__free_unpacked
858 : (Mgmtd__FeSessionReq *message,
859 : ProtobufCAllocator *allocator)
860 : {
861 0 : if(!message)
862 : return;
863 0 : assert(message->base.descriptor == &mgmtd__fe_session_req__descriptor);
864 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
865 : }
866 0 : void mgmtd__fe_session_reply__init
867 : (Mgmtd__FeSessionReply *message)
868 : {
869 0 : static const Mgmtd__FeSessionReply init_value = MGMTD__FE_SESSION_REPLY__INIT;
870 0 : *message = init_value;
871 0 : }
872 0 : size_t mgmtd__fe_session_reply__get_packed_size
873 : (const Mgmtd__FeSessionReply *message)
874 : {
875 0 : assert(message->base.descriptor == &mgmtd__fe_session_reply__descriptor);
876 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
877 : }
878 0 : size_t mgmtd__fe_session_reply__pack
879 : (const Mgmtd__FeSessionReply *message,
880 : uint8_t *out)
881 : {
882 0 : assert(message->base.descriptor == &mgmtd__fe_session_reply__descriptor);
883 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
884 : }
885 0 : size_t mgmtd__fe_session_reply__pack_to_buffer
886 : (const Mgmtd__FeSessionReply *message,
887 : ProtobufCBuffer *buffer)
888 : {
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 : }
892 : Mgmtd__FeSessionReply *
893 0 : mgmtd__fe_session_reply__unpack
894 : (ProtobufCAllocator *allocator,
895 : size_t len,
896 : const uint8_t *data)
897 : {
898 0 : return (Mgmtd__FeSessionReply *)
899 0 : protobuf_c_message_unpack (&mgmtd__fe_session_reply__descriptor,
900 : allocator, len, data);
901 : }
902 0 : void mgmtd__fe_session_reply__free_unpacked
903 : (Mgmtd__FeSessionReply *message,
904 : ProtobufCAllocator *allocator)
905 : {
906 0 : if(!message)
907 : return;
908 0 : assert(message->base.descriptor == &mgmtd__fe_session_reply__descriptor);
909 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
910 : }
911 0 : void mgmtd__fe_lock_ds_req__init
912 : (Mgmtd__FeLockDsReq *message)
913 : {
914 0 : static const Mgmtd__FeLockDsReq init_value = MGMTD__FE_LOCK_DS_REQ__INIT;
915 0 : *message = init_value;
916 0 : }
917 0 : size_t mgmtd__fe_lock_ds_req__get_packed_size
918 : (const Mgmtd__FeLockDsReq *message)
919 : {
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 : }
923 0 : size_t mgmtd__fe_lock_ds_req__pack
924 : (const Mgmtd__FeLockDsReq *message,
925 : uint8_t *out)
926 : {
927 0 : assert(message->base.descriptor == &mgmtd__fe_lock_ds_req__descriptor);
928 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
929 : }
930 0 : size_t mgmtd__fe_lock_ds_req__pack_to_buffer
931 : (const Mgmtd__FeLockDsReq *message,
932 : ProtobufCBuffer *buffer)
933 : {
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 : }
937 : Mgmtd__FeLockDsReq *
938 0 : mgmtd__fe_lock_ds_req__unpack
939 : (ProtobufCAllocator *allocator,
940 : size_t len,
941 : const uint8_t *data)
942 : {
943 0 : return (Mgmtd__FeLockDsReq *)
944 0 : protobuf_c_message_unpack (&mgmtd__fe_lock_ds_req__descriptor,
945 : allocator, len, data);
946 : }
947 0 : void mgmtd__fe_lock_ds_req__free_unpacked
948 : (Mgmtd__FeLockDsReq *message,
949 : ProtobufCAllocator *allocator)
950 : {
951 0 : if(!message)
952 : return;
953 0 : assert(message->base.descriptor == &mgmtd__fe_lock_ds_req__descriptor);
954 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
955 : }
956 0 : void mgmtd__fe_lock_ds_reply__init
957 : (Mgmtd__FeLockDsReply *message)
958 : {
959 0 : static const Mgmtd__FeLockDsReply init_value = MGMTD__FE_LOCK_DS_REPLY__INIT;
960 0 : *message = init_value;
961 0 : }
962 0 : size_t mgmtd__fe_lock_ds_reply__get_packed_size
963 : (const Mgmtd__FeLockDsReply *message)
964 : {
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 : }
968 0 : size_t mgmtd__fe_lock_ds_reply__pack
969 : (const Mgmtd__FeLockDsReply *message,
970 : uint8_t *out)
971 : {
972 0 : assert(message->base.descriptor == &mgmtd__fe_lock_ds_reply__descriptor);
973 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
974 : }
975 0 : size_t mgmtd__fe_lock_ds_reply__pack_to_buffer
976 : (const Mgmtd__FeLockDsReply *message,
977 : ProtobufCBuffer *buffer)
978 : {
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 : }
982 : Mgmtd__FeLockDsReply *
983 0 : mgmtd__fe_lock_ds_reply__unpack
984 : (ProtobufCAllocator *allocator,
985 : size_t len,
986 : const uint8_t *data)
987 : {
988 0 : return (Mgmtd__FeLockDsReply *)
989 0 : protobuf_c_message_unpack (&mgmtd__fe_lock_ds_reply__descriptor,
990 : allocator, len, data);
991 : }
992 0 : void mgmtd__fe_lock_ds_reply__free_unpacked
993 : (Mgmtd__FeLockDsReply *message,
994 : ProtobufCAllocator *allocator)
995 : {
996 0 : if(!message)
997 : return;
998 0 : assert(message->base.descriptor == &mgmtd__fe_lock_ds_reply__descriptor);
999 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1000 : }
1001 0 : void mgmtd__fe_set_config_req__init
1002 : (Mgmtd__FeSetConfigReq *message)
1003 : {
1004 0 : static const Mgmtd__FeSetConfigReq init_value = MGMTD__FE_SET_CONFIG_REQ__INIT;
1005 0 : *message = init_value;
1006 0 : }
1007 0 : size_t mgmtd__fe_set_config_req__get_packed_size
1008 : (const Mgmtd__FeSetConfigReq *message)
1009 : {
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 : }
1013 0 : size_t mgmtd__fe_set_config_req__pack
1014 : (const Mgmtd__FeSetConfigReq *message,
1015 : uint8_t *out)
1016 : {
1017 0 : assert(message->base.descriptor == &mgmtd__fe_set_config_req__descriptor);
1018 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1019 : }
1020 0 : size_t mgmtd__fe_set_config_req__pack_to_buffer
1021 : (const Mgmtd__FeSetConfigReq *message,
1022 : ProtobufCBuffer *buffer)
1023 : {
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 : }
1027 : Mgmtd__FeSetConfigReq *
1028 0 : mgmtd__fe_set_config_req__unpack
1029 : (ProtobufCAllocator *allocator,
1030 : size_t len,
1031 : const uint8_t *data)
1032 : {
1033 0 : return (Mgmtd__FeSetConfigReq *)
1034 0 : protobuf_c_message_unpack (&mgmtd__fe_set_config_req__descriptor,
1035 : allocator, len, data);
1036 : }
1037 0 : void mgmtd__fe_set_config_req__free_unpacked
1038 : (Mgmtd__FeSetConfigReq *message,
1039 : ProtobufCAllocator *allocator)
1040 : {
1041 0 : if(!message)
1042 : return;
1043 0 : assert(message->base.descriptor == &mgmtd__fe_set_config_req__descriptor);
1044 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1045 : }
1046 0 : void mgmtd__fe_set_config_reply__init
1047 : (Mgmtd__FeSetConfigReply *message)
1048 : {
1049 0 : static const Mgmtd__FeSetConfigReply init_value = MGMTD__FE_SET_CONFIG_REPLY__INIT;
1050 0 : *message = init_value;
1051 0 : }
1052 0 : size_t mgmtd__fe_set_config_reply__get_packed_size
1053 : (const Mgmtd__FeSetConfigReply *message)
1054 : {
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 : }
1058 0 : size_t mgmtd__fe_set_config_reply__pack
1059 : (const Mgmtd__FeSetConfigReply *message,
1060 : uint8_t *out)
1061 : {
1062 0 : assert(message->base.descriptor == &mgmtd__fe_set_config_reply__descriptor);
1063 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1064 : }
1065 0 : size_t mgmtd__fe_set_config_reply__pack_to_buffer
1066 : (const Mgmtd__FeSetConfigReply *message,
1067 : ProtobufCBuffer *buffer)
1068 : {
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 : }
1072 : Mgmtd__FeSetConfigReply *
1073 0 : mgmtd__fe_set_config_reply__unpack
1074 : (ProtobufCAllocator *allocator,
1075 : size_t len,
1076 : const uint8_t *data)
1077 : {
1078 0 : return (Mgmtd__FeSetConfigReply *)
1079 0 : protobuf_c_message_unpack (&mgmtd__fe_set_config_reply__descriptor,
1080 : allocator, len, data);
1081 : }
1082 0 : void mgmtd__fe_set_config_reply__free_unpacked
1083 : (Mgmtd__FeSetConfigReply *message,
1084 : ProtobufCAllocator *allocator)
1085 : {
1086 0 : if(!message)
1087 : return;
1088 0 : assert(message->base.descriptor == &mgmtd__fe_set_config_reply__descriptor);
1089 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1090 : }
1091 0 : void mgmtd__fe_commit_config_req__init
1092 : (Mgmtd__FeCommitConfigReq *message)
1093 : {
1094 0 : static const Mgmtd__FeCommitConfigReq init_value = MGMTD__FE_COMMIT_CONFIG_REQ__INIT;
1095 0 : *message = init_value;
1096 0 : }
1097 0 : size_t mgmtd__fe_commit_config_req__get_packed_size
1098 : (const Mgmtd__FeCommitConfigReq *message)
1099 : {
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 : }
1103 0 : size_t mgmtd__fe_commit_config_req__pack
1104 : (const Mgmtd__FeCommitConfigReq *message,
1105 : uint8_t *out)
1106 : {
1107 0 : assert(message->base.descriptor == &mgmtd__fe_commit_config_req__descriptor);
1108 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1109 : }
1110 0 : size_t mgmtd__fe_commit_config_req__pack_to_buffer
1111 : (const Mgmtd__FeCommitConfigReq *message,
1112 : ProtobufCBuffer *buffer)
1113 : {
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 : }
1117 : Mgmtd__FeCommitConfigReq *
1118 0 : mgmtd__fe_commit_config_req__unpack
1119 : (ProtobufCAllocator *allocator,
1120 : size_t len,
1121 : const uint8_t *data)
1122 : {
1123 0 : return (Mgmtd__FeCommitConfigReq *)
1124 0 : protobuf_c_message_unpack (&mgmtd__fe_commit_config_req__descriptor,
1125 : allocator, len, data);
1126 : }
1127 0 : void mgmtd__fe_commit_config_req__free_unpacked
1128 : (Mgmtd__FeCommitConfigReq *message,
1129 : ProtobufCAllocator *allocator)
1130 : {
1131 0 : if(!message)
1132 : return;
1133 0 : assert(message->base.descriptor == &mgmtd__fe_commit_config_req__descriptor);
1134 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1135 : }
1136 0 : void mgmtd__fe_commit_config_reply__init
1137 : (Mgmtd__FeCommitConfigReply *message)
1138 : {
1139 0 : static const Mgmtd__FeCommitConfigReply init_value = MGMTD__FE_COMMIT_CONFIG_REPLY__INIT;
1140 0 : *message = init_value;
1141 0 : }
1142 0 : size_t mgmtd__fe_commit_config_reply__get_packed_size
1143 : (const Mgmtd__FeCommitConfigReply *message)
1144 : {
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 : }
1148 0 : size_t mgmtd__fe_commit_config_reply__pack
1149 : (const Mgmtd__FeCommitConfigReply *message,
1150 : uint8_t *out)
1151 : {
1152 0 : assert(message->base.descriptor == &mgmtd__fe_commit_config_reply__descriptor);
1153 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1154 : }
1155 0 : size_t mgmtd__fe_commit_config_reply__pack_to_buffer
1156 : (const Mgmtd__FeCommitConfigReply *message,
1157 : ProtobufCBuffer *buffer)
1158 : {
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 : }
1162 : Mgmtd__FeCommitConfigReply *
1163 0 : mgmtd__fe_commit_config_reply__unpack
1164 : (ProtobufCAllocator *allocator,
1165 : size_t len,
1166 : const uint8_t *data)
1167 : {
1168 0 : return (Mgmtd__FeCommitConfigReply *)
1169 0 : protobuf_c_message_unpack (&mgmtd__fe_commit_config_reply__descriptor,
1170 : allocator, len, data);
1171 : }
1172 0 : void mgmtd__fe_commit_config_reply__free_unpacked
1173 : (Mgmtd__FeCommitConfigReply *message,
1174 : ProtobufCAllocator *allocator)
1175 : {
1176 0 : if(!message)
1177 : return;
1178 0 : assert(message->base.descriptor == &mgmtd__fe_commit_config_reply__descriptor);
1179 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1180 : }
1181 0 : void mgmtd__fe_get_req__init
1182 : (Mgmtd__FeGetReq *message)
1183 : {
1184 0 : static const Mgmtd__FeGetReq init_value = MGMTD__FE_GET_REQ__INIT;
1185 0 : *message = init_value;
1186 0 : }
1187 0 : size_t mgmtd__fe_get_req__get_packed_size
1188 : (const Mgmtd__FeGetReq *message)
1189 : {
1190 0 : assert(message->base.descriptor == &mgmtd__fe_get_req__descriptor);
1191 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1192 : }
1193 0 : size_t mgmtd__fe_get_req__pack
1194 : (const Mgmtd__FeGetReq *message,
1195 : uint8_t *out)
1196 : {
1197 0 : assert(message->base.descriptor == &mgmtd__fe_get_req__descriptor);
1198 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1199 : }
1200 0 : size_t mgmtd__fe_get_req__pack_to_buffer
1201 : (const Mgmtd__FeGetReq *message,
1202 : ProtobufCBuffer *buffer)
1203 : {
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 : }
1207 : Mgmtd__FeGetReq *
1208 0 : mgmtd__fe_get_req__unpack
1209 : (ProtobufCAllocator *allocator,
1210 : size_t len,
1211 : const uint8_t *data)
1212 : {
1213 0 : return (Mgmtd__FeGetReq *)
1214 0 : protobuf_c_message_unpack (&mgmtd__fe_get_req__descriptor,
1215 : allocator, len, data);
1216 : }
1217 0 : void mgmtd__fe_get_req__free_unpacked
1218 : (Mgmtd__FeGetReq *message,
1219 : ProtobufCAllocator *allocator)
1220 : {
1221 0 : if(!message)
1222 : return;
1223 0 : assert(message->base.descriptor == &mgmtd__fe_get_req__descriptor);
1224 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1225 : }
1226 0 : void mgmtd__fe_get_reply__init
1227 : (Mgmtd__FeGetReply *message)
1228 : {
1229 0 : static const Mgmtd__FeGetReply init_value = MGMTD__FE_GET_REPLY__INIT;
1230 0 : *message = init_value;
1231 0 : }
1232 0 : size_t mgmtd__fe_get_reply__get_packed_size
1233 : (const Mgmtd__FeGetReply *message)
1234 : {
1235 0 : assert(message->base.descriptor == &mgmtd__fe_get_reply__descriptor);
1236 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1237 : }
1238 0 : size_t mgmtd__fe_get_reply__pack
1239 : (const Mgmtd__FeGetReply *message,
1240 : uint8_t *out)
1241 : {
1242 0 : assert(message->base.descriptor == &mgmtd__fe_get_reply__descriptor);
1243 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1244 : }
1245 0 : size_t mgmtd__fe_get_reply__pack_to_buffer
1246 : (const Mgmtd__FeGetReply *message,
1247 : ProtobufCBuffer *buffer)
1248 : {
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 : }
1252 : Mgmtd__FeGetReply *
1253 0 : mgmtd__fe_get_reply__unpack
1254 : (ProtobufCAllocator *allocator,
1255 : size_t len,
1256 : const uint8_t *data)
1257 : {
1258 0 : return (Mgmtd__FeGetReply *)
1259 0 : protobuf_c_message_unpack (&mgmtd__fe_get_reply__descriptor,
1260 : allocator, len, data);
1261 : }
1262 0 : void mgmtd__fe_get_reply__free_unpacked
1263 : (Mgmtd__FeGetReply *message,
1264 : ProtobufCAllocator *allocator)
1265 : {
1266 0 : if(!message)
1267 : return;
1268 0 : assert(message->base.descriptor == &mgmtd__fe_get_reply__descriptor);
1269 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1270 : }
1271 0 : void mgmtd__fe_notify_data_req__init
1272 : (Mgmtd__FeNotifyDataReq *message)
1273 : {
1274 0 : static const Mgmtd__FeNotifyDataReq init_value = MGMTD__FE_NOTIFY_DATA_REQ__INIT;
1275 0 : *message = init_value;
1276 0 : }
1277 0 : size_t mgmtd__fe_notify_data_req__get_packed_size
1278 : (const Mgmtd__FeNotifyDataReq *message)
1279 : {
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 : }
1283 0 : size_t mgmtd__fe_notify_data_req__pack
1284 : (const Mgmtd__FeNotifyDataReq *message,
1285 : uint8_t *out)
1286 : {
1287 0 : assert(message->base.descriptor == &mgmtd__fe_notify_data_req__descriptor);
1288 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1289 : }
1290 0 : size_t mgmtd__fe_notify_data_req__pack_to_buffer
1291 : (const Mgmtd__FeNotifyDataReq *message,
1292 : ProtobufCBuffer *buffer)
1293 : {
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 : }
1297 : Mgmtd__FeNotifyDataReq *
1298 0 : mgmtd__fe_notify_data_req__unpack
1299 : (ProtobufCAllocator *allocator,
1300 : size_t len,
1301 : const uint8_t *data)
1302 : {
1303 0 : return (Mgmtd__FeNotifyDataReq *)
1304 0 : protobuf_c_message_unpack (&mgmtd__fe_notify_data_req__descriptor,
1305 : allocator, len, data);
1306 : }
1307 0 : void mgmtd__fe_notify_data_req__free_unpacked
1308 : (Mgmtd__FeNotifyDataReq *message,
1309 : ProtobufCAllocator *allocator)
1310 : {
1311 0 : if(!message)
1312 : return;
1313 0 : assert(message->base.descriptor == &mgmtd__fe_notify_data_req__descriptor);
1314 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1315 : }
1316 0 : void mgmtd__fe_register_notify_req__init
1317 : (Mgmtd__FeRegisterNotifyReq *message)
1318 : {
1319 0 : static const Mgmtd__FeRegisterNotifyReq init_value = MGMTD__FE_REGISTER_NOTIFY_REQ__INIT;
1320 0 : *message = init_value;
1321 0 : }
1322 0 : size_t mgmtd__fe_register_notify_req__get_packed_size
1323 : (const Mgmtd__FeRegisterNotifyReq *message)
1324 : {
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 : }
1328 0 : size_t mgmtd__fe_register_notify_req__pack
1329 : (const Mgmtd__FeRegisterNotifyReq *message,
1330 : uint8_t *out)
1331 : {
1332 0 : assert(message->base.descriptor == &mgmtd__fe_register_notify_req__descriptor);
1333 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1334 : }
1335 0 : size_t mgmtd__fe_register_notify_req__pack_to_buffer
1336 : (const Mgmtd__FeRegisterNotifyReq *message,
1337 : ProtobufCBuffer *buffer)
1338 : {
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 : }
1342 : Mgmtd__FeRegisterNotifyReq *
1343 0 : mgmtd__fe_register_notify_req__unpack
1344 : (ProtobufCAllocator *allocator,
1345 : size_t len,
1346 : const uint8_t *data)
1347 : {
1348 0 : return (Mgmtd__FeRegisterNotifyReq *)
1349 0 : protobuf_c_message_unpack (&mgmtd__fe_register_notify_req__descriptor,
1350 : allocator, len, data);
1351 : }
1352 0 : void mgmtd__fe_register_notify_req__free_unpacked
1353 : (Mgmtd__FeRegisterNotifyReq *message,
1354 : ProtobufCAllocator *allocator)
1355 : {
1356 0 : if(!message)
1357 : return;
1358 0 : assert(message->base.descriptor == &mgmtd__fe_register_notify_req__descriptor);
1359 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1360 : }
1361 0 : void mgmtd__fe_message__init
1362 : (Mgmtd__FeMessage *message)
1363 : {
1364 0 : static const Mgmtd__FeMessage init_value = MGMTD__FE_MESSAGE__INIT;
1365 0 : *message = init_value;
1366 0 : }
1367 0 : size_t mgmtd__fe_message__get_packed_size
1368 : (const Mgmtd__FeMessage *message)
1369 : {
1370 0 : assert(message->base.descriptor == &mgmtd__fe_message__descriptor);
1371 0 : return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1372 : }
1373 0 : size_t mgmtd__fe_message__pack
1374 : (const Mgmtd__FeMessage *message,
1375 : uint8_t *out)
1376 : {
1377 0 : assert(message->base.descriptor == &mgmtd__fe_message__descriptor);
1378 0 : return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1379 : }
1380 0 : size_t mgmtd__fe_message__pack_to_buffer
1381 : (const Mgmtd__FeMessage *message,
1382 : ProtobufCBuffer *buffer)
1383 : {
1384 0 : assert(message->base.descriptor == &mgmtd__fe_message__descriptor);
1385 0 : return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1386 : }
1387 : Mgmtd__FeMessage *
1388 0 : mgmtd__fe_message__unpack
1389 : (ProtobufCAllocator *allocator,
1390 : size_t len,
1391 : const uint8_t *data)
1392 : {
1393 0 : return (Mgmtd__FeMessage *)
1394 0 : protobuf_c_message_unpack (&mgmtd__fe_message__descriptor,
1395 : allocator, len, data);
1396 : }
1397 0 : void mgmtd__fe_message__free_unpacked
1398 : (Mgmtd__FeMessage *message,
1399 : ProtobufCAllocator *allocator)
1400 : {
1401 0 : if(!message)
1402 : return;
1403 0 : assert(message->base.descriptor == &mgmtd__fe_message__descriptor);
1404 0 : protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1405 : }
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[3] =
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 : "success",
2060 : 2,
2061 : PROTOBUF_C_LABEL_REQUIRED,
2062 : PROTOBUF_C_TYPE_BOOL,
2063 : 0, /* quantifier_offset */
2064 : offsetof(Mgmtd__BeCfgDataApplyReply, success),
2065 : NULL,
2066 : NULL,
2067 : 0, /* flags */
2068 : 0,NULL,NULL /* reserved1,reserved2, etc */
2069 : },
2070 : {
2071 : "error_if_any",
2072 : 3,
2073 : PROTOBUF_C_LABEL_OPTIONAL,
2074 : PROTOBUF_C_TYPE_STRING,
2075 : 0, /* quantifier_offset */
2076 : offsetof(Mgmtd__BeCfgDataApplyReply, error_if_any),
2077 : NULL,
2078 : NULL,
2079 : 0, /* flags */
2080 : 0,NULL,NULL /* reserved1,reserved2, etc */
2081 : },
2082 : };
2083 : static const unsigned mgmtd__be_cfg_data_apply_reply__field_indices_by_name[] = {
2084 : 2, /* field[2] = error_if_any */
2085 : 1, /* field[1] = success */
2086 : 0, /* field[0] = txn_id */
2087 : };
2088 : static const ProtobufCIntRange mgmtd__be_cfg_data_apply_reply__number_ranges[1 + 1] =
2089 : {
2090 : { 1, 0 },
2091 : { 0, 3 }
2092 : };
2093 : const ProtobufCMessageDescriptor mgmtd__be_cfg_data_apply_reply__descriptor =
2094 : {
2095 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2096 : "mgmtd.BeCfgDataApplyReply",
2097 : "BeCfgDataApplyReply",
2098 : "Mgmtd__BeCfgDataApplyReply",
2099 : "mgmtd",
2100 : sizeof(Mgmtd__BeCfgDataApplyReply),
2101 : 3,
2102 : mgmtd__be_cfg_data_apply_reply__field_descriptors,
2103 : mgmtd__be_cfg_data_apply_reply__field_indices_by_name,
2104 : 1, mgmtd__be_cfg_data_apply_reply__number_ranges,
2105 : (ProtobufCMessageInit) mgmtd__be_cfg_data_apply_reply__init,
2106 : NULL,NULL,NULL /* reserved[123] */
2107 : };
2108 : static const ProtobufCFieldDescriptor mgmtd__be_oper_data_get_req__field_descriptors[3] =
2109 : {
2110 : {
2111 : "txn_id",
2112 : 1,
2113 : PROTOBUF_C_LABEL_REQUIRED,
2114 : PROTOBUF_C_TYPE_UINT64,
2115 : 0, /* quantifier_offset */
2116 : offsetof(Mgmtd__BeOperDataGetReq, txn_id),
2117 : NULL,
2118 : NULL,
2119 : 0, /* flags */
2120 : 0,NULL,NULL /* reserved1,reserved2, etc */
2121 : },
2122 : {
2123 : "batch_id",
2124 : 2,
2125 : PROTOBUF_C_LABEL_REQUIRED,
2126 : PROTOBUF_C_TYPE_UINT64,
2127 : 0, /* quantifier_offset */
2128 : offsetof(Mgmtd__BeOperDataGetReq, batch_id),
2129 : NULL,
2130 : NULL,
2131 : 0, /* flags */
2132 : 0,NULL,NULL /* reserved1,reserved2, etc */
2133 : },
2134 : {
2135 : "data",
2136 : 3,
2137 : PROTOBUF_C_LABEL_REPEATED,
2138 : PROTOBUF_C_TYPE_MESSAGE,
2139 : offsetof(Mgmtd__BeOperDataGetReq, n_data),
2140 : offsetof(Mgmtd__BeOperDataGetReq, data),
2141 : &mgmtd__yang_get_data_req__descriptor,
2142 : NULL,
2143 : 0, /* flags */
2144 : 0,NULL,NULL /* reserved1,reserved2, etc */
2145 : },
2146 : };
2147 : static const unsigned mgmtd__be_oper_data_get_req__field_indices_by_name[] = {
2148 : 1, /* field[1] = batch_id */
2149 : 2, /* field[2] = data */
2150 : 0, /* field[0] = txn_id */
2151 : };
2152 : static const ProtobufCIntRange mgmtd__be_oper_data_get_req__number_ranges[1 + 1] =
2153 : {
2154 : { 1, 0 },
2155 : { 0, 3 }
2156 : };
2157 : const ProtobufCMessageDescriptor mgmtd__be_oper_data_get_req__descriptor =
2158 : {
2159 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2160 : "mgmtd.BeOperDataGetReq",
2161 : "BeOperDataGetReq",
2162 : "Mgmtd__BeOperDataGetReq",
2163 : "mgmtd",
2164 : sizeof(Mgmtd__BeOperDataGetReq),
2165 : 3,
2166 : mgmtd__be_oper_data_get_req__field_descriptors,
2167 : mgmtd__be_oper_data_get_req__field_indices_by_name,
2168 : 1, mgmtd__be_oper_data_get_req__number_ranges,
2169 : (ProtobufCMessageInit) mgmtd__be_oper_data_get_req__init,
2170 : NULL,NULL,NULL /* reserved[123] */
2171 : };
2172 : static const ProtobufCFieldDescriptor mgmtd__yang_data_reply__field_descriptors[2] =
2173 : {
2174 : {
2175 : "data",
2176 : 1,
2177 : PROTOBUF_C_LABEL_REPEATED,
2178 : PROTOBUF_C_TYPE_MESSAGE,
2179 : offsetof(Mgmtd__YangDataReply, n_data),
2180 : offsetof(Mgmtd__YangDataReply, data),
2181 : &mgmtd__yang_data__descriptor,
2182 : NULL,
2183 : 0, /* flags */
2184 : 0,NULL,NULL /* reserved1,reserved2, etc */
2185 : },
2186 : {
2187 : "next_indx",
2188 : 2,
2189 : PROTOBUF_C_LABEL_REQUIRED,
2190 : PROTOBUF_C_TYPE_INT64,
2191 : 0, /* quantifier_offset */
2192 : offsetof(Mgmtd__YangDataReply, next_indx),
2193 : NULL,
2194 : NULL,
2195 : 0, /* flags */
2196 : 0,NULL,NULL /* reserved1,reserved2, etc */
2197 : },
2198 : };
2199 : static const unsigned mgmtd__yang_data_reply__field_indices_by_name[] = {
2200 : 0, /* field[0] = data */
2201 : 1, /* field[1] = next_indx */
2202 : };
2203 : static const ProtobufCIntRange mgmtd__yang_data_reply__number_ranges[1 + 1] =
2204 : {
2205 : { 1, 0 },
2206 : { 0, 2 }
2207 : };
2208 : const ProtobufCMessageDescriptor mgmtd__yang_data_reply__descriptor =
2209 : {
2210 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2211 : "mgmtd.YangDataReply",
2212 : "YangDataReply",
2213 : "Mgmtd__YangDataReply",
2214 : "mgmtd",
2215 : sizeof(Mgmtd__YangDataReply),
2216 : 2,
2217 : mgmtd__yang_data_reply__field_descriptors,
2218 : mgmtd__yang_data_reply__field_indices_by_name,
2219 : 1, mgmtd__yang_data_reply__number_ranges,
2220 : (ProtobufCMessageInit) mgmtd__yang_data_reply__init,
2221 : NULL,NULL,NULL /* reserved[123] */
2222 : };
2223 : static const ProtobufCFieldDescriptor mgmtd__be_oper_data_get_reply__field_descriptors[5] =
2224 : {
2225 : {
2226 : "txn_id",
2227 : 1,
2228 : PROTOBUF_C_LABEL_REQUIRED,
2229 : PROTOBUF_C_TYPE_UINT64,
2230 : 0, /* quantifier_offset */
2231 : offsetof(Mgmtd__BeOperDataGetReply, txn_id),
2232 : NULL,
2233 : NULL,
2234 : 0, /* flags */
2235 : 0,NULL,NULL /* reserved1,reserved2, etc */
2236 : },
2237 : {
2238 : "batch_id",
2239 : 2,
2240 : PROTOBUF_C_LABEL_REQUIRED,
2241 : PROTOBUF_C_TYPE_UINT64,
2242 : 0, /* quantifier_offset */
2243 : offsetof(Mgmtd__BeOperDataGetReply, batch_id),
2244 : NULL,
2245 : NULL,
2246 : 0, /* flags */
2247 : 0,NULL,NULL /* reserved1,reserved2, etc */
2248 : },
2249 : {
2250 : "success",
2251 : 3,
2252 : PROTOBUF_C_LABEL_REQUIRED,
2253 : PROTOBUF_C_TYPE_BOOL,
2254 : 0, /* quantifier_offset */
2255 : offsetof(Mgmtd__BeOperDataGetReply, success),
2256 : NULL,
2257 : NULL,
2258 : 0, /* flags */
2259 : 0,NULL,NULL /* reserved1,reserved2, etc */
2260 : },
2261 : {
2262 : "error",
2263 : 4,
2264 : PROTOBUF_C_LABEL_OPTIONAL,
2265 : PROTOBUF_C_TYPE_STRING,
2266 : 0, /* quantifier_offset */
2267 : offsetof(Mgmtd__BeOperDataGetReply, error),
2268 : NULL,
2269 : NULL,
2270 : 0, /* flags */
2271 : 0,NULL,NULL /* reserved1,reserved2, etc */
2272 : },
2273 : {
2274 : "data",
2275 : 5,
2276 : PROTOBUF_C_LABEL_OPTIONAL,
2277 : PROTOBUF_C_TYPE_MESSAGE,
2278 : 0, /* quantifier_offset */
2279 : offsetof(Mgmtd__BeOperDataGetReply, data),
2280 : &mgmtd__yang_data_reply__descriptor,
2281 : NULL,
2282 : 0, /* flags */
2283 : 0,NULL,NULL /* reserved1,reserved2, etc */
2284 : },
2285 : };
2286 : static const unsigned mgmtd__be_oper_data_get_reply__field_indices_by_name[] = {
2287 : 1, /* field[1] = batch_id */
2288 : 4, /* field[4] = data */
2289 : 3, /* field[3] = error */
2290 : 2, /* field[2] = success */
2291 : 0, /* field[0] = txn_id */
2292 : };
2293 : static const ProtobufCIntRange mgmtd__be_oper_data_get_reply__number_ranges[1 + 1] =
2294 : {
2295 : { 1, 0 },
2296 : { 0, 5 }
2297 : };
2298 : const ProtobufCMessageDescriptor mgmtd__be_oper_data_get_reply__descriptor =
2299 : {
2300 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2301 : "mgmtd.BeOperDataGetReply",
2302 : "BeOperDataGetReply",
2303 : "Mgmtd__BeOperDataGetReply",
2304 : "mgmtd",
2305 : sizeof(Mgmtd__BeOperDataGetReply),
2306 : 5,
2307 : mgmtd__be_oper_data_get_reply__field_descriptors,
2308 : mgmtd__be_oper_data_get_reply__field_indices_by_name,
2309 : 1, mgmtd__be_oper_data_get_reply__number_ranges,
2310 : (ProtobufCMessageInit) mgmtd__be_oper_data_get_reply__init,
2311 : NULL,NULL,NULL /* reserved[123] */
2312 : };
2313 : static const ProtobufCFieldDescriptor mgmtd__be_message__field_descriptors[10] =
2314 : {
2315 : {
2316 : "subscr_req",
2317 : 2,
2318 : PROTOBUF_C_LABEL_OPTIONAL,
2319 : PROTOBUF_C_TYPE_MESSAGE,
2320 : offsetof(Mgmtd__BeMessage, message_case),
2321 : offsetof(Mgmtd__BeMessage, subscr_req),
2322 : &mgmtd__be_subscribe_req__descriptor,
2323 : NULL,
2324 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2325 : 0,NULL,NULL /* reserved1,reserved2, etc */
2326 : },
2327 : {
2328 : "subscr_reply",
2329 : 3,
2330 : PROTOBUF_C_LABEL_OPTIONAL,
2331 : PROTOBUF_C_TYPE_MESSAGE,
2332 : offsetof(Mgmtd__BeMessage, message_case),
2333 : offsetof(Mgmtd__BeMessage, subscr_reply),
2334 : &mgmtd__be_subscribe_reply__descriptor,
2335 : NULL,
2336 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2337 : 0,NULL,NULL /* reserved1,reserved2, etc */
2338 : },
2339 : {
2340 : "txn_req",
2341 : 4,
2342 : PROTOBUF_C_LABEL_OPTIONAL,
2343 : PROTOBUF_C_TYPE_MESSAGE,
2344 : offsetof(Mgmtd__BeMessage, message_case),
2345 : offsetof(Mgmtd__BeMessage, txn_req),
2346 : &mgmtd__be_txn_req__descriptor,
2347 : NULL,
2348 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2349 : 0,NULL,NULL /* reserved1,reserved2, etc */
2350 : },
2351 : {
2352 : "txn_reply",
2353 : 5,
2354 : PROTOBUF_C_LABEL_OPTIONAL,
2355 : PROTOBUF_C_TYPE_MESSAGE,
2356 : offsetof(Mgmtd__BeMessage, message_case),
2357 : offsetof(Mgmtd__BeMessage, txn_reply),
2358 : &mgmtd__be_txn_reply__descriptor,
2359 : NULL,
2360 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2361 : 0,NULL,NULL /* reserved1,reserved2, etc */
2362 : },
2363 : {
2364 : "cfg_data_req",
2365 : 6,
2366 : PROTOBUF_C_LABEL_OPTIONAL,
2367 : PROTOBUF_C_TYPE_MESSAGE,
2368 : offsetof(Mgmtd__BeMessage, message_case),
2369 : offsetof(Mgmtd__BeMessage, cfg_data_req),
2370 : &mgmtd__be_cfg_data_create_req__descriptor,
2371 : NULL,
2372 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2373 : 0,NULL,NULL /* reserved1,reserved2, etc */
2374 : },
2375 : {
2376 : "cfg_data_reply",
2377 : 7,
2378 : PROTOBUF_C_LABEL_OPTIONAL,
2379 : PROTOBUF_C_TYPE_MESSAGE,
2380 : offsetof(Mgmtd__BeMessage, message_case),
2381 : offsetof(Mgmtd__BeMessage, cfg_data_reply),
2382 : &mgmtd__be_cfg_data_create_reply__descriptor,
2383 : NULL,
2384 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2385 : 0,NULL,NULL /* reserved1,reserved2, etc */
2386 : },
2387 : {
2388 : "cfg_apply_req",
2389 : 8,
2390 : PROTOBUF_C_LABEL_OPTIONAL,
2391 : PROTOBUF_C_TYPE_MESSAGE,
2392 : offsetof(Mgmtd__BeMessage, message_case),
2393 : offsetof(Mgmtd__BeMessage, cfg_apply_req),
2394 : &mgmtd__be_cfg_data_apply_req__descriptor,
2395 : NULL,
2396 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2397 : 0,NULL,NULL /* reserved1,reserved2, etc */
2398 : },
2399 : {
2400 : "cfg_apply_reply",
2401 : 9,
2402 : PROTOBUF_C_LABEL_OPTIONAL,
2403 : PROTOBUF_C_TYPE_MESSAGE,
2404 : offsetof(Mgmtd__BeMessage, message_case),
2405 : offsetof(Mgmtd__BeMessage, cfg_apply_reply),
2406 : &mgmtd__be_cfg_data_apply_reply__descriptor,
2407 : NULL,
2408 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2409 : 0,NULL,NULL /* reserved1,reserved2, etc */
2410 : },
2411 : {
2412 : "get_req",
2413 : 10,
2414 : PROTOBUF_C_LABEL_OPTIONAL,
2415 : PROTOBUF_C_TYPE_MESSAGE,
2416 : offsetof(Mgmtd__BeMessage, message_case),
2417 : offsetof(Mgmtd__BeMessage, get_req),
2418 : &mgmtd__be_oper_data_get_req__descriptor,
2419 : NULL,
2420 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2421 : 0,NULL,NULL /* reserved1,reserved2, etc */
2422 : },
2423 : {
2424 : "get_reply",
2425 : 11,
2426 : PROTOBUF_C_LABEL_OPTIONAL,
2427 : PROTOBUF_C_TYPE_MESSAGE,
2428 : offsetof(Mgmtd__BeMessage, message_case),
2429 : offsetof(Mgmtd__BeMessage, get_reply),
2430 : &mgmtd__be_oper_data_get_reply__descriptor,
2431 : NULL,
2432 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2433 : 0,NULL,NULL /* reserved1,reserved2, etc */
2434 : },
2435 : };
2436 : static const unsigned mgmtd__be_message__field_indices_by_name[] = {
2437 : 7, /* field[7] = cfg_apply_reply */
2438 : 6, /* field[6] = cfg_apply_req */
2439 : 5, /* field[5] = cfg_data_reply */
2440 : 4, /* field[4] = cfg_data_req */
2441 : 9, /* field[9] = get_reply */
2442 : 8, /* field[8] = get_req */
2443 : 1, /* field[1] = subscr_reply */
2444 : 0, /* field[0] = subscr_req */
2445 : 3, /* field[3] = txn_reply */
2446 : 2, /* field[2] = txn_req */
2447 : };
2448 : static const ProtobufCIntRange mgmtd__be_message__number_ranges[1 + 1] =
2449 : {
2450 : { 2, 0 },
2451 : { 0, 10 }
2452 : };
2453 : const ProtobufCMessageDescriptor mgmtd__be_message__descriptor =
2454 : {
2455 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2456 : "mgmtd.BeMessage",
2457 : "BeMessage",
2458 : "Mgmtd__BeMessage",
2459 : "mgmtd",
2460 : sizeof(Mgmtd__BeMessage),
2461 : 10,
2462 : mgmtd__be_message__field_descriptors,
2463 : mgmtd__be_message__field_indices_by_name,
2464 : 1, mgmtd__be_message__number_ranges,
2465 : (ProtobufCMessageInit) mgmtd__be_message__init,
2466 : NULL,NULL,NULL /* reserved[123] */
2467 : };
2468 : static const ProtobufCFieldDescriptor mgmtd__fe_register_req__field_descriptors[1] =
2469 : {
2470 : {
2471 : "client_name",
2472 : 1,
2473 : PROTOBUF_C_LABEL_REQUIRED,
2474 : PROTOBUF_C_TYPE_STRING,
2475 : 0, /* quantifier_offset */
2476 : offsetof(Mgmtd__FeRegisterReq, client_name),
2477 : NULL,
2478 : NULL,
2479 : 0, /* flags */
2480 : 0,NULL,NULL /* reserved1,reserved2, etc */
2481 : },
2482 : };
2483 : static const unsigned mgmtd__fe_register_req__field_indices_by_name[] = {
2484 : 0, /* field[0] = client_name */
2485 : };
2486 : static const ProtobufCIntRange mgmtd__fe_register_req__number_ranges[1 + 1] =
2487 : {
2488 : { 1, 0 },
2489 : { 0, 1 }
2490 : };
2491 : const ProtobufCMessageDescriptor mgmtd__fe_register_req__descriptor =
2492 : {
2493 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2494 : "mgmtd.FeRegisterReq",
2495 : "FeRegisterReq",
2496 : "Mgmtd__FeRegisterReq",
2497 : "mgmtd",
2498 : sizeof(Mgmtd__FeRegisterReq),
2499 : 1,
2500 : mgmtd__fe_register_req__field_descriptors,
2501 : mgmtd__fe_register_req__field_indices_by_name,
2502 : 1, mgmtd__fe_register_req__number_ranges,
2503 : (ProtobufCMessageInit) mgmtd__fe_register_req__init,
2504 : NULL,NULL,NULL /* reserved[123] */
2505 : };
2506 : static const ProtobufCFieldDescriptor mgmtd__fe_session_req__field_descriptors[3] =
2507 : {
2508 : {
2509 : "create",
2510 : 1,
2511 : PROTOBUF_C_LABEL_REQUIRED,
2512 : PROTOBUF_C_TYPE_BOOL,
2513 : 0, /* quantifier_offset */
2514 : offsetof(Mgmtd__FeSessionReq, create),
2515 : NULL,
2516 : NULL,
2517 : 0, /* flags */
2518 : 0,NULL,NULL /* reserved1,reserved2, etc */
2519 : },
2520 : {
2521 : "client_conn_id",
2522 : 2,
2523 : PROTOBUF_C_LABEL_OPTIONAL,
2524 : PROTOBUF_C_TYPE_UINT64,
2525 : offsetof(Mgmtd__FeSessionReq, id_case),
2526 : offsetof(Mgmtd__FeSessionReq, client_conn_id),
2527 : NULL,
2528 : NULL,
2529 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2530 : 0,NULL,NULL /* reserved1,reserved2, etc */
2531 : },
2532 : {
2533 : "session_id",
2534 : 3,
2535 : PROTOBUF_C_LABEL_OPTIONAL,
2536 : PROTOBUF_C_TYPE_UINT64,
2537 : offsetof(Mgmtd__FeSessionReq, id_case),
2538 : offsetof(Mgmtd__FeSessionReq, session_id),
2539 : NULL,
2540 : NULL,
2541 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
2542 : 0,NULL,NULL /* reserved1,reserved2, etc */
2543 : },
2544 : };
2545 : static const unsigned mgmtd__fe_session_req__field_indices_by_name[] = {
2546 : 1, /* field[1] = client_conn_id */
2547 : 0, /* field[0] = create */
2548 : 2, /* field[2] = session_id */
2549 : };
2550 : static const ProtobufCIntRange mgmtd__fe_session_req__number_ranges[1 + 1] =
2551 : {
2552 : { 1, 0 },
2553 : { 0, 3 }
2554 : };
2555 : const ProtobufCMessageDescriptor mgmtd__fe_session_req__descriptor =
2556 : {
2557 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2558 : "mgmtd.FeSessionReq",
2559 : "FeSessionReq",
2560 : "Mgmtd__FeSessionReq",
2561 : "mgmtd",
2562 : sizeof(Mgmtd__FeSessionReq),
2563 : 3,
2564 : mgmtd__fe_session_req__field_descriptors,
2565 : mgmtd__fe_session_req__field_indices_by_name,
2566 : 1, mgmtd__fe_session_req__number_ranges,
2567 : (ProtobufCMessageInit) mgmtd__fe_session_req__init,
2568 : NULL,NULL,NULL /* reserved[123] */
2569 : };
2570 : static const ProtobufCFieldDescriptor mgmtd__fe_session_reply__field_descriptors[4] =
2571 : {
2572 : {
2573 : "create",
2574 : 1,
2575 : PROTOBUF_C_LABEL_REQUIRED,
2576 : PROTOBUF_C_TYPE_BOOL,
2577 : 0, /* quantifier_offset */
2578 : offsetof(Mgmtd__FeSessionReply, create),
2579 : NULL,
2580 : NULL,
2581 : 0, /* flags */
2582 : 0,NULL,NULL /* reserved1,reserved2, etc */
2583 : },
2584 : {
2585 : "success",
2586 : 2,
2587 : PROTOBUF_C_LABEL_REQUIRED,
2588 : PROTOBUF_C_TYPE_BOOL,
2589 : 0, /* quantifier_offset */
2590 : offsetof(Mgmtd__FeSessionReply, success),
2591 : NULL,
2592 : NULL,
2593 : 0, /* flags */
2594 : 0,NULL,NULL /* reserved1,reserved2, etc */
2595 : },
2596 : {
2597 : "client_conn_id",
2598 : 3,
2599 : PROTOBUF_C_LABEL_OPTIONAL,
2600 : PROTOBUF_C_TYPE_UINT64,
2601 : offsetof(Mgmtd__FeSessionReply, has_client_conn_id),
2602 : offsetof(Mgmtd__FeSessionReply, client_conn_id),
2603 : NULL,
2604 : NULL,
2605 : 0, /* flags */
2606 : 0,NULL,NULL /* reserved1,reserved2, etc */
2607 : },
2608 : {
2609 : "session_id",
2610 : 4,
2611 : PROTOBUF_C_LABEL_REQUIRED,
2612 : PROTOBUF_C_TYPE_UINT64,
2613 : 0, /* quantifier_offset */
2614 : offsetof(Mgmtd__FeSessionReply, session_id),
2615 : NULL,
2616 : NULL,
2617 : 0, /* flags */
2618 : 0,NULL,NULL /* reserved1,reserved2, etc */
2619 : },
2620 : };
2621 : static const unsigned mgmtd__fe_session_reply__field_indices_by_name[] = {
2622 : 2, /* field[2] = client_conn_id */
2623 : 0, /* field[0] = create */
2624 : 3, /* field[3] = session_id */
2625 : 1, /* field[1] = success */
2626 : };
2627 : static const ProtobufCIntRange mgmtd__fe_session_reply__number_ranges[1 + 1] =
2628 : {
2629 : { 1, 0 },
2630 : { 0, 4 }
2631 : };
2632 : const ProtobufCMessageDescriptor mgmtd__fe_session_reply__descriptor =
2633 : {
2634 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2635 : "mgmtd.FeSessionReply",
2636 : "FeSessionReply",
2637 : "Mgmtd__FeSessionReply",
2638 : "mgmtd",
2639 : sizeof(Mgmtd__FeSessionReply),
2640 : 4,
2641 : mgmtd__fe_session_reply__field_descriptors,
2642 : mgmtd__fe_session_reply__field_indices_by_name,
2643 : 1, mgmtd__fe_session_reply__number_ranges,
2644 : (ProtobufCMessageInit) mgmtd__fe_session_reply__init,
2645 : NULL,NULL,NULL /* reserved[123] */
2646 : };
2647 : static const ProtobufCFieldDescriptor mgmtd__fe_lock_ds_req__field_descriptors[4] =
2648 : {
2649 : {
2650 : "session_id",
2651 : 1,
2652 : PROTOBUF_C_LABEL_REQUIRED,
2653 : PROTOBUF_C_TYPE_UINT64,
2654 : 0, /* quantifier_offset */
2655 : offsetof(Mgmtd__FeLockDsReq, session_id),
2656 : NULL,
2657 : NULL,
2658 : 0, /* flags */
2659 : 0,NULL,NULL /* reserved1,reserved2, etc */
2660 : },
2661 : {
2662 : "req_id",
2663 : 2,
2664 : PROTOBUF_C_LABEL_REQUIRED,
2665 : PROTOBUF_C_TYPE_UINT64,
2666 : 0, /* quantifier_offset */
2667 : offsetof(Mgmtd__FeLockDsReq, req_id),
2668 : NULL,
2669 : NULL,
2670 : 0, /* flags */
2671 : 0,NULL,NULL /* reserved1,reserved2, etc */
2672 : },
2673 : {
2674 : "ds_id",
2675 : 3,
2676 : PROTOBUF_C_LABEL_REQUIRED,
2677 : PROTOBUF_C_TYPE_ENUM,
2678 : 0, /* quantifier_offset */
2679 : offsetof(Mgmtd__FeLockDsReq, ds_id),
2680 : &mgmtd__datastore_id__descriptor,
2681 : NULL,
2682 : 0, /* flags */
2683 : 0,NULL,NULL /* reserved1,reserved2, etc */
2684 : },
2685 : {
2686 : "lock",
2687 : 4,
2688 : PROTOBUF_C_LABEL_REQUIRED,
2689 : PROTOBUF_C_TYPE_BOOL,
2690 : 0, /* quantifier_offset */
2691 : offsetof(Mgmtd__FeLockDsReq, lock),
2692 : NULL,
2693 : NULL,
2694 : 0, /* flags */
2695 : 0,NULL,NULL /* reserved1,reserved2, etc */
2696 : },
2697 : };
2698 : static const unsigned mgmtd__fe_lock_ds_req__field_indices_by_name[] = {
2699 : 2, /* field[2] = ds_id */
2700 : 3, /* field[3] = lock */
2701 : 1, /* field[1] = req_id */
2702 : 0, /* field[0] = session_id */
2703 : };
2704 : static const ProtobufCIntRange mgmtd__fe_lock_ds_req__number_ranges[1 + 1] =
2705 : {
2706 : { 1, 0 },
2707 : { 0, 4 }
2708 : };
2709 : const ProtobufCMessageDescriptor mgmtd__fe_lock_ds_req__descriptor =
2710 : {
2711 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2712 : "mgmtd.FeLockDsReq",
2713 : "FeLockDsReq",
2714 : "Mgmtd__FeLockDsReq",
2715 : "mgmtd",
2716 : sizeof(Mgmtd__FeLockDsReq),
2717 : 4,
2718 : mgmtd__fe_lock_ds_req__field_descriptors,
2719 : mgmtd__fe_lock_ds_req__field_indices_by_name,
2720 : 1, mgmtd__fe_lock_ds_req__number_ranges,
2721 : (ProtobufCMessageInit) mgmtd__fe_lock_ds_req__init,
2722 : NULL,NULL,NULL /* reserved[123] */
2723 : };
2724 : static const ProtobufCFieldDescriptor mgmtd__fe_lock_ds_reply__field_descriptors[6] =
2725 : {
2726 : {
2727 : "session_id",
2728 : 1,
2729 : PROTOBUF_C_LABEL_REQUIRED,
2730 : PROTOBUF_C_TYPE_UINT64,
2731 : 0, /* quantifier_offset */
2732 : offsetof(Mgmtd__FeLockDsReply, session_id),
2733 : NULL,
2734 : NULL,
2735 : 0, /* flags */
2736 : 0,NULL,NULL /* reserved1,reserved2, etc */
2737 : },
2738 : {
2739 : "req_id",
2740 : 2,
2741 : PROTOBUF_C_LABEL_REQUIRED,
2742 : PROTOBUF_C_TYPE_UINT64,
2743 : 0, /* quantifier_offset */
2744 : offsetof(Mgmtd__FeLockDsReply, req_id),
2745 : NULL,
2746 : NULL,
2747 : 0, /* flags */
2748 : 0,NULL,NULL /* reserved1,reserved2, etc */
2749 : },
2750 : {
2751 : "ds_id",
2752 : 3,
2753 : PROTOBUF_C_LABEL_REQUIRED,
2754 : PROTOBUF_C_TYPE_ENUM,
2755 : 0, /* quantifier_offset */
2756 : offsetof(Mgmtd__FeLockDsReply, ds_id),
2757 : &mgmtd__datastore_id__descriptor,
2758 : NULL,
2759 : 0, /* flags */
2760 : 0,NULL,NULL /* reserved1,reserved2, etc */
2761 : },
2762 : {
2763 : "lock",
2764 : 4,
2765 : PROTOBUF_C_LABEL_REQUIRED,
2766 : PROTOBUF_C_TYPE_BOOL,
2767 : 0, /* quantifier_offset */
2768 : offsetof(Mgmtd__FeLockDsReply, lock),
2769 : NULL,
2770 : NULL,
2771 : 0, /* flags */
2772 : 0,NULL,NULL /* reserved1,reserved2, etc */
2773 : },
2774 : {
2775 : "success",
2776 : 5,
2777 : PROTOBUF_C_LABEL_REQUIRED,
2778 : PROTOBUF_C_TYPE_BOOL,
2779 : 0, /* quantifier_offset */
2780 : offsetof(Mgmtd__FeLockDsReply, success),
2781 : NULL,
2782 : NULL,
2783 : 0, /* flags */
2784 : 0,NULL,NULL /* reserved1,reserved2, etc */
2785 : },
2786 : {
2787 : "error_if_any",
2788 : 6,
2789 : PROTOBUF_C_LABEL_OPTIONAL,
2790 : PROTOBUF_C_TYPE_STRING,
2791 : 0, /* quantifier_offset */
2792 : offsetof(Mgmtd__FeLockDsReply, error_if_any),
2793 : NULL,
2794 : NULL,
2795 : 0, /* flags */
2796 : 0,NULL,NULL /* reserved1,reserved2, etc */
2797 : },
2798 : };
2799 : static const unsigned mgmtd__fe_lock_ds_reply__field_indices_by_name[] = {
2800 : 2, /* field[2] = ds_id */
2801 : 5, /* field[5] = error_if_any */
2802 : 3, /* field[3] = lock */
2803 : 1, /* field[1] = req_id */
2804 : 0, /* field[0] = session_id */
2805 : 4, /* field[4] = success */
2806 : };
2807 : static const ProtobufCIntRange mgmtd__fe_lock_ds_reply__number_ranges[1 + 1] =
2808 : {
2809 : { 1, 0 },
2810 : { 0, 6 }
2811 : };
2812 : const ProtobufCMessageDescriptor mgmtd__fe_lock_ds_reply__descriptor =
2813 : {
2814 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2815 : "mgmtd.FeLockDsReply",
2816 : "FeLockDsReply",
2817 : "Mgmtd__FeLockDsReply",
2818 : "mgmtd",
2819 : sizeof(Mgmtd__FeLockDsReply),
2820 : 6,
2821 : mgmtd__fe_lock_ds_reply__field_descriptors,
2822 : mgmtd__fe_lock_ds_reply__field_indices_by_name,
2823 : 1, mgmtd__fe_lock_ds_reply__number_ranges,
2824 : (ProtobufCMessageInit) mgmtd__fe_lock_ds_reply__init,
2825 : NULL,NULL,NULL /* reserved[123] */
2826 : };
2827 : static const ProtobufCFieldDescriptor mgmtd__fe_set_config_req__field_descriptors[6] =
2828 : {
2829 : {
2830 : "session_id",
2831 : 1,
2832 : PROTOBUF_C_LABEL_REQUIRED,
2833 : PROTOBUF_C_TYPE_UINT64,
2834 : 0, /* quantifier_offset */
2835 : offsetof(Mgmtd__FeSetConfigReq, session_id),
2836 : NULL,
2837 : NULL,
2838 : 0, /* flags */
2839 : 0,NULL,NULL /* reserved1,reserved2, etc */
2840 : },
2841 : {
2842 : "ds_id",
2843 : 2,
2844 : PROTOBUF_C_LABEL_REQUIRED,
2845 : PROTOBUF_C_TYPE_ENUM,
2846 : 0, /* quantifier_offset */
2847 : offsetof(Mgmtd__FeSetConfigReq, ds_id),
2848 : &mgmtd__datastore_id__descriptor,
2849 : NULL,
2850 : 0, /* flags */
2851 : 0,NULL,NULL /* reserved1,reserved2, etc */
2852 : },
2853 : {
2854 : "req_id",
2855 : 3,
2856 : PROTOBUF_C_LABEL_REQUIRED,
2857 : PROTOBUF_C_TYPE_UINT64,
2858 : 0, /* quantifier_offset */
2859 : offsetof(Mgmtd__FeSetConfigReq, req_id),
2860 : NULL,
2861 : NULL,
2862 : 0, /* flags */
2863 : 0,NULL,NULL /* reserved1,reserved2, etc */
2864 : },
2865 : {
2866 : "data",
2867 : 4,
2868 : PROTOBUF_C_LABEL_REPEATED,
2869 : PROTOBUF_C_TYPE_MESSAGE,
2870 : offsetof(Mgmtd__FeSetConfigReq, n_data),
2871 : offsetof(Mgmtd__FeSetConfigReq, data),
2872 : &mgmtd__yang_cfg_data_req__descriptor,
2873 : NULL,
2874 : 0, /* flags */
2875 : 0,NULL,NULL /* reserved1,reserved2, etc */
2876 : },
2877 : {
2878 : "implicit_commit",
2879 : 5,
2880 : PROTOBUF_C_LABEL_REQUIRED,
2881 : PROTOBUF_C_TYPE_BOOL,
2882 : 0, /* quantifier_offset */
2883 : offsetof(Mgmtd__FeSetConfigReq, implicit_commit),
2884 : NULL,
2885 : NULL,
2886 : 0, /* flags */
2887 : 0,NULL,NULL /* reserved1,reserved2, etc */
2888 : },
2889 : {
2890 : "commit_ds_id",
2891 : 6,
2892 : PROTOBUF_C_LABEL_REQUIRED,
2893 : PROTOBUF_C_TYPE_ENUM,
2894 : 0, /* quantifier_offset */
2895 : offsetof(Mgmtd__FeSetConfigReq, commit_ds_id),
2896 : &mgmtd__datastore_id__descriptor,
2897 : NULL,
2898 : 0, /* flags */
2899 : 0,NULL,NULL /* reserved1,reserved2, etc */
2900 : },
2901 : };
2902 : static const unsigned mgmtd__fe_set_config_req__field_indices_by_name[] = {
2903 : 5, /* field[5] = commit_ds_id */
2904 : 3, /* field[3] = data */
2905 : 1, /* field[1] = ds_id */
2906 : 4, /* field[4] = implicit_commit */
2907 : 2, /* field[2] = req_id */
2908 : 0, /* field[0] = session_id */
2909 : };
2910 : static const ProtobufCIntRange mgmtd__fe_set_config_req__number_ranges[1 + 1] =
2911 : {
2912 : { 1, 0 },
2913 : { 0, 6 }
2914 : };
2915 : const ProtobufCMessageDescriptor mgmtd__fe_set_config_req__descriptor =
2916 : {
2917 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2918 : "mgmtd.FeSetConfigReq",
2919 : "FeSetConfigReq",
2920 : "Mgmtd__FeSetConfigReq",
2921 : "mgmtd",
2922 : sizeof(Mgmtd__FeSetConfigReq),
2923 : 6,
2924 : mgmtd__fe_set_config_req__field_descriptors,
2925 : mgmtd__fe_set_config_req__field_indices_by_name,
2926 : 1, mgmtd__fe_set_config_req__number_ranges,
2927 : (ProtobufCMessageInit) mgmtd__fe_set_config_req__init,
2928 : NULL,NULL,NULL /* reserved[123] */
2929 : };
2930 : static const ProtobufCFieldDescriptor mgmtd__fe_set_config_reply__field_descriptors[6] =
2931 : {
2932 : {
2933 : "session_id",
2934 : 1,
2935 : PROTOBUF_C_LABEL_REQUIRED,
2936 : PROTOBUF_C_TYPE_UINT64,
2937 : 0, /* quantifier_offset */
2938 : offsetof(Mgmtd__FeSetConfigReply, session_id),
2939 : NULL,
2940 : NULL,
2941 : 0, /* flags */
2942 : 0,NULL,NULL /* reserved1,reserved2, etc */
2943 : },
2944 : {
2945 : "ds_id",
2946 : 2,
2947 : PROTOBUF_C_LABEL_REQUIRED,
2948 : PROTOBUF_C_TYPE_ENUM,
2949 : 0, /* quantifier_offset */
2950 : offsetof(Mgmtd__FeSetConfigReply, ds_id),
2951 : &mgmtd__datastore_id__descriptor,
2952 : NULL,
2953 : 0, /* flags */
2954 : 0,NULL,NULL /* reserved1,reserved2, etc */
2955 : },
2956 : {
2957 : "req_id",
2958 : 3,
2959 : PROTOBUF_C_LABEL_REQUIRED,
2960 : PROTOBUF_C_TYPE_UINT64,
2961 : 0, /* quantifier_offset */
2962 : offsetof(Mgmtd__FeSetConfigReply, req_id),
2963 : NULL,
2964 : NULL,
2965 : 0, /* flags */
2966 : 0,NULL,NULL /* reserved1,reserved2, etc */
2967 : },
2968 : {
2969 : "success",
2970 : 4,
2971 : PROTOBUF_C_LABEL_REQUIRED,
2972 : PROTOBUF_C_TYPE_BOOL,
2973 : 0, /* quantifier_offset */
2974 : offsetof(Mgmtd__FeSetConfigReply, success),
2975 : NULL,
2976 : NULL,
2977 : 0, /* flags */
2978 : 0,NULL,NULL /* reserved1,reserved2, etc */
2979 : },
2980 : {
2981 : "implicit_commit",
2982 : 5,
2983 : PROTOBUF_C_LABEL_REQUIRED,
2984 : PROTOBUF_C_TYPE_BOOL,
2985 : 0, /* quantifier_offset */
2986 : offsetof(Mgmtd__FeSetConfigReply, implicit_commit),
2987 : NULL,
2988 : NULL,
2989 : 0, /* flags */
2990 : 0,NULL,NULL /* reserved1,reserved2, etc */
2991 : },
2992 : {
2993 : "error_if_any",
2994 : 6,
2995 : PROTOBUF_C_LABEL_OPTIONAL,
2996 : PROTOBUF_C_TYPE_STRING,
2997 : 0, /* quantifier_offset */
2998 : offsetof(Mgmtd__FeSetConfigReply, error_if_any),
2999 : NULL,
3000 : NULL,
3001 : 0, /* flags */
3002 : 0,NULL,NULL /* reserved1,reserved2, etc */
3003 : },
3004 : };
3005 : static const unsigned mgmtd__fe_set_config_reply__field_indices_by_name[] = {
3006 : 1, /* field[1] = ds_id */
3007 : 5, /* field[5] = error_if_any */
3008 : 4, /* field[4] = implicit_commit */
3009 : 2, /* field[2] = req_id */
3010 : 0, /* field[0] = session_id */
3011 : 3, /* field[3] = success */
3012 : };
3013 : static const ProtobufCIntRange mgmtd__fe_set_config_reply__number_ranges[1 + 1] =
3014 : {
3015 : { 1, 0 },
3016 : { 0, 6 }
3017 : };
3018 : const ProtobufCMessageDescriptor mgmtd__fe_set_config_reply__descriptor =
3019 : {
3020 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3021 : "mgmtd.FeSetConfigReply",
3022 : "FeSetConfigReply",
3023 : "Mgmtd__FeSetConfigReply",
3024 : "mgmtd",
3025 : sizeof(Mgmtd__FeSetConfigReply),
3026 : 6,
3027 : mgmtd__fe_set_config_reply__field_descriptors,
3028 : mgmtd__fe_set_config_reply__field_indices_by_name,
3029 : 1, mgmtd__fe_set_config_reply__number_ranges,
3030 : (ProtobufCMessageInit) mgmtd__fe_set_config_reply__init,
3031 : NULL,NULL,NULL /* reserved[123] */
3032 : };
3033 : static const ProtobufCFieldDescriptor mgmtd__fe_commit_config_req__field_descriptors[6] =
3034 : {
3035 : {
3036 : "session_id",
3037 : 1,
3038 : PROTOBUF_C_LABEL_REQUIRED,
3039 : PROTOBUF_C_TYPE_UINT64,
3040 : 0, /* quantifier_offset */
3041 : offsetof(Mgmtd__FeCommitConfigReq, session_id),
3042 : NULL,
3043 : NULL,
3044 : 0, /* flags */
3045 : 0,NULL,NULL /* reserved1,reserved2, etc */
3046 : },
3047 : {
3048 : "src_ds_id",
3049 : 2,
3050 : PROTOBUF_C_LABEL_REQUIRED,
3051 : PROTOBUF_C_TYPE_ENUM,
3052 : 0, /* quantifier_offset */
3053 : offsetof(Mgmtd__FeCommitConfigReq, src_ds_id),
3054 : &mgmtd__datastore_id__descriptor,
3055 : NULL,
3056 : 0, /* flags */
3057 : 0,NULL,NULL /* reserved1,reserved2, etc */
3058 : },
3059 : {
3060 : "dst_ds_id",
3061 : 3,
3062 : PROTOBUF_C_LABEL_REQUIRED,
3063 : PROTOBUF_C_TYPE_ENUM,
3064 : 0, /* quantifier_offset */
3065 : offsetof(Mgmtd__FeCommitConfigReq, dst_ds_id),
3066 : &mgmtd__datastore_id__descriptor,
3067 : NULL,
3068 : 0, /* flags */
3069 : 0,NULL,NULL /* reserved1,reserved2, etc */
3070 : },
3071 : {
3072 : "req_id",
3073 : 4,
3074 : PROTOBUF_C_LABEL_REQUIRED,
3075 : PROTOBUF_C_TYPE_UINT64,
3076 : 0, /* quantifier_offset */
3077 : offsetof(Mgmtd__FeCommitConfigReq, req_id),
3078 : NULL,
3079 : NULL,
3080 : 0, /* flags */
3081 : 0,NULL,NULL /* reserved1,reserved2, etc */
3082 : },
3083 : {
3084 : "validate_only",
3085 : 5,
3086 : PROTOBUF_C_LABEL_REQUIRED,
3087 : PROTOBUF_C_TYPE_BOOL,
3088 : 0, /* quantifier_offset */
3089 : offsetof(Mgmtd__FeCommitConfigReq, validate_only),
3090 : NULL,
3091 : NULL,
3092 : 0, /* flags */
3093 : 0,NULL,NULL /* reserved1,reserved2, etc */
3094 : },
3095 : {
3096 : "abort",
3097 : 6,
3098 : PROTOBUF_C_LABEL_REQUIRED,
3099 : PROTOBUF_C_TYPE_BOOL,
3100 : 0, /* quantifier_offset */
3101 : offsetof(Mgmtd__FeCommitConfigReq, abort),
3102 : NULL,
3103 : NULL,
3104 : 0, /* flags */
3105 : 0,NULL,NULL /* reserved1,reserved2, etc */
3106 : },
3107 : };
3108 : static const unsigned mgmtd__fe_commit_config_req__field_indices_by_name[] = {
3109 : 5, /* field[5] = abort */
3110 : 2, /* field[2] = dst_ds_id */
3111 : 3, /* field[3] = req_id */
3112 : 0, /* field[0] = session_id */
3113 : 1, /* field[1] = src_ds_id */
3114 : 4, /* field[4] = validate_only */
3115 : };
3116 : static const ProtobufCIntRange mgmtd__fe_commit_config_req__number_ranges[1 + 1] =
3117 : {
3118 : { 1, 0 },
3119 : { 0, 6 }
3120 : };
3121 : const ProtobufCMessageDescriptor mgmtd__fe_commit_config_req__descriptor =
3122 : {
3123 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3124 : "mgmtd.FeCommitConfigReq",
3125 : "FeCommitConfigReq",
3126 : "Mgmtd__FeCommitConfigReq",
3127 : "mgmtd",
3128 : sizeof(Mgmtd__FeCommitConfigReq),
3129 : 6,
3130 : mgmtd__fe_commit_config_req__field_descriptors,
3131 : mgmtd__fe_commit_config_req__field_indices_by_name,
3132 : 1, mgmtd__fe_commit_config_req__number_ranges,
3133 : (ProtobufCMessageInit) mgmtd__fe_commit_config_req__init,
3134 : NULL,NULL,NULL /* reserved[123] */
3135 : };
3136 : static const ProtobufCFieldDescriptor mgmtd__fe_commit_config_reply__field_descriptors[8] =
3137 : {
3138 : {
3139 : "session_id",
3140 : 1,
3141 : PROTOBUF_C_LABEL_REQUIRED,
3142 : PROTOBUF_C_TYPE_UINT64,
3143 : 0, /* quantifier_offset */
3144 : offsetof(Mgmtd__FeCommitConfigReply, session_id),
3145 : NULL,
3146 : NULL,
3147 : 0, /* flags */
3148 : 0,NULL,NULL /* reserved1,reserved2, etc */
3149 : },
3150 : {
3151 : "src_ds_id",
3152 : 2,
3153 : PROTOBUF_C_LABEL_REQUIRED,
3154 : PROTOBUF_C_TYPE_ENUM,
3155 : 0, /* quantifier_offset */
3156 : offsetof(Mgmtd__FeCommitConfigReply, src_ds_id),
3157 : &mgmtd__datastore_id__descriptor,
3158 : NULL,
3159 : 0, /* flags */
3160 : 0,NULL,NULL /* reserved1,reserved2, etc */
3161 : },
3162 : {
3163 : "dst_ds_id",
3164 : 3,
3165 : PROTOBUF_C_LABEL_REQUIRED,
3166 : PROTOBUF_C_TYPE_ENUM,
3167 : 0, /* quantifier_offset */
3168 : offsetof(Mgmtd__FeCommitConfigReply, dst_ds_id),
3169 : &mgmtd__datastore_id__descriptor,
3170 : NULL,
3171 : 0, /* flags */
3172 : 0,NULL,NULL /* reserved1,reserved2, etc */
3173 : },
3174 : {
3175 : "req_id",
3176 : 4,
3177 : PROTOBUF_C_LABEL_REQUIRED,
3178 : PROTOBUF_C_TYPE_UINT64,
3179 : 0, /* quantifier_offset */
3180 : offsetof(Mgmtd__FeCommitConfigReply, req_id),
3181 : NULL,
3182 : NULL,
3183 : 0, /* flags */
3184 : 0,NULL,NULL /* reserved1,reserved2, etc */
3185 : },
3186 : {
3187 : "validate_only",
3188 : 5,
3189 : PROTOBUF_C_LABEL_REQUIRED,
3190 : PROTOBUF_C_TYPE_BOOL,
3191 : 0, /* quantifier_offset */
3192 : offsetof(Mgmtd__FeCommitConfigReply, validate_only),
3193 : NULL,
3194 : NULL,
3195 : 0, /* flags */
3196 : 0,NULL,NULL /* reserved1,reserved2, etc */
3197 : },
3198 : {
3199 : "success",
3200 : 6,
3201 : PROTOBUF_C_LABEL_REQUIRED,
3202 : PROTOBUF_C_TYPE_BOOL,
3203 : 0, /* quantifier_offset */
3204 : offsetof(Mgmtd__FeCommitConfigReply, success),
3205 : NULL,
3206 : NULL,
3207 : 0, /* flags */
3208 : 0,NULL,NULL /* reserved1,reserved2, etc */
3209 : },
3210 : {
3211 : "abort",
3212 : 7,
3213 : PROTOBUF_C_LABEL_REQUIRED,
3214 : PROTOBUF_C_TYPE_BOOL,
3215 : 0, /* quantifier_offset */
3216 : offsetof(Mgmtd__FeCommitConfigReply, abort),
3217 : NULL,
3218 : NULL,
3219 : 0, /* flags */
3220 : 0,NULL,NULL /* reserved1,reserved2, etc */
3221 : },
3222 : {
3223 : "error_if_any",
3224 : 8,
3225 : PROTOBUF_C_LABEL_OPTIONAL,
3226 : PROTOBUF_C_TYPE_STRING,
3227 : 0, /* quantifier_offset */
3228 : offsetof(Mgmtd__FeCommitConfigReply, error_if_any),
3229 : NULL,
3230 : NULL,
3231 : 0, /* flags */
3232 : 0,NULL,NULL /* reserved1,reserved2, etc */
3233 : },
3234 : };
3235 : static const unsigned mgmtd__fe_commit_config_reply__field_indices_by_name[] = {
3236 : 6, /* field[6] = abort */
3237 : 2, /* field[2] = dst_ds_id */
3238 : 7, /* field[7] = error_if_any */
3239 : 3, /* field[3] = req_id */
3240 : 0, /* field[0] = session_id */
3241 : 1, /* field[1] = src_ds_id */
3242 : 5, /* field[5] = success */
3243 : 4, /* field[4] = validate_only */
3244 : };
3245 : static const ProtobufCIntRange mgmtd__fe_commit_config_reply__number_ranges[1 + 1] =
3246 : {
3247 : { 1, 0 },
3248 : { 0, 8 }
3249 : };
3250 : const ProtobufCMessageDescriptor mgmtd__fe_commit_config_reply__descriptor =
3251 : {
3252 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3253 : "mgmtd.FeCommitConfigReply",
3254 : "FeCommitConfigReply",
3255 : "Mgmtd__FeCommitConfigReply",
3256 : "mgmtd",
3257 : sizeof(Mgmtd__FeCommitConfigReply),
3258 : 8,
3259 : mgmtd__fe_commit_config_reply__field_descriptors,
3260 : mgmtd__fe_commit_config_reply__field_indices_by_name,
3261 : 1, mgmtd__fe_commit_config_reply__number_ranges,
3262 : (ProtobufCMessageInit) mgmtd__fe_commit_config_reply__init,
3263 : NULL,NULL,NULL /* reserved[123] */
3264 : };
3265 : static const ProtobufCFieldDescriptor mgmtd__fe_get_req__field_descriptors[5] =
3266 : {
3267 : {
3268 : "session_id",
3269 : 1,
3270 : PROTOBUF_C_LABEL_REQUIRED,
3271 : PROTOBUF_C_TYPE_UINT64,
3272 : 0, /* quantifier_offset */
3273 : offsetof(Mgmtd__FeGetReq, session_id),
3274 : NULL,
3275 : NULL,
3276 : 0, /* flags */
3277 : 0,NULL,NULL /* reserved1,reserved2, etc */
3278 : },
3279 : {
3280 : "config",
3281 : 2,
3282 : PROTOBUF_C_LABEL_REQUIRED,
3283 : PROTOBUF_C_TYPE_BOOL,
3284 : 0, /* quantifier_offset */
3285 : offsetof(Mgmtd__FeGetReq, config),
3286 : NULL,
3287 : NULL,
3288 : 0, /* flags */
3289 : 0,NULL,NULL /* reserved1,reserved2, etc */
3290 : },
3291 : {
3292 : "ds_id",
3293 : 3,
3294 : PROTOBUF_C_LABEL_REQUIRED,
3295 : PROTOBUF_C_TYPE_ENUM,
3296 : 0, /* quantifier_offset */
3297 : offsetof(Mgmtd__FeGetReq, ds_id),
3298 : &mgmtd__datastore_id__descriptor,
3299 : NULL,
3300 : 0, /* flags */
3301 : 0,NULL,NULL /* reserved1,reserved2, etc */
3302 : },
3303 : {
3304 : "req_id",
3305 : 4,
3306 : PROTOBUF_C_LABEL_REQUIRED,
3307 : PROTOBUF_C_TYPE_UINT64,
3308 : 0, /* quantifier_offset */
3309 : offsetof(Mgmtd__FeGetReq, req_id),
3310 : NULL,
3311 : NULL,
3312 : 0, /* flags */
3313 : 0,NULL,NULL /* reserved1,reserved2, etc */
3314 : },
3315 : {
3316 : "data",
3317 : 5,
3318 : PROTOBUF_C_LABEL_REPEATED,
3319 : PROTOBUF_C_TYPE_MESSAGE,
3320 : offsetof(Mgmtd__FeGetReq, n_data),
3321 : offsetof(Mgmtd__FeGetReq, data),
3322 : &mgmtd__yang_get_data_req__descriptor,
3323 : NULL,
3324 : 0, /* flags */
3325 : 0,NULL,NULL /* reserved1,reserved2, etc */
3326 : },
3327 : };
3328 : static const unsigned mgmtd__fe_get_req__field_indices_by_name[] = {
3329 : 1, /* field[1] = config */
3330 : 4, /* field[4] = data */
3331 : 2, /* field[2] = ds_id */
3332 : 3, /* field[3] = req_id */
3333 : 0, /* field[0] = session_id */
3334 : };
3335 : static const ProtobufCIntRange mgmtd__fe_get_req__number_ranges[1 + 1] =
3336 : {
3337 : { 1, 0 },
3338 : { 0, 5 }
3339 : };
3340 : const ProtobufCMessageDescriptor mgmtd__fe_get_req__descriptor =
3341 : {
3342 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3343 : "mgmtd.FeGetReq",
3344 : "FeGetReq",
3345 : "Mgmtd__FeGetReq",
3346 : "mgmtd",
3347 : sizeof(Mgmtd__FeGetReq),
3348 : 5,
3349 : mgmtd__fe_get_req__field_descriptors,
3350 : mgmtd__fe_get_req__field_indices_by_name,
3351 : 1, mgmtd__fe_get_req__number_ranges,
3352 : (ProtobufCMessageInit) mgmtd__fe_get_req__init,
3353 : NULL,NULL,NULL /* reserved[123] */
3354 : };
3355 : static const ProtobufCFieldDescriptor mgmtd__fe_get_reply__field_descriptors[7] =
3356 : {
3357 : {
3358 : "session_id",
3359 : 1,
3360 : PROTOBUF_C_LABEL_REQUIRED,
3361 : PROTOBUF_C_TYPE_UINT64,
3362 : 0, /* quantifier_offset */
3363 : offsetof(Mgmtd__FeGetReply, session_id),
3364 : NULL,
3365 : NULL,
3366 : 0, /* flags */
3367 : 0,NULL,NULL /* reserved1,reserved2, etc */
3368 : },
3369 : {
3370 : "config",
3371 : 2,
3372 : PROTOBUF_C_LABEL_REQUIRED,
3373 : PROTOBUF_C_TYPE_BOOL,
3374 : 0, /* quantifier_offset */
3375 : offsetof(Mgmtd__FeGetReply, config),
3376 : NULL,
3377 : NULL,
3378 : 0, /* flags */
3379 : 0,NULL,NULL /* reserved1,reserved2, etc */
3380 : },
3381 : {
3382 : "ds_id",
3383 : 3,
3384 : PROTOBUF_C_LABEL_REQUIRED,
3385 : PROTOBUF_C_TYPE_ENUM,
3386 : 0, /* quantifier_offset */
3387 : offsetof(Mgmtd__FeGetReply, ds_id),
3388 : &mgmtd__datastore_id__descriptor,
3389 : NULL,
3390 : 0, /* flags */
3391 : 0,NULL,NULL /* reserved1,reserved2, etc */
3392 : },
3393 : {
3394 : "req_id",
3395 : 4,
3396 : PROTOBUF_C_LABEL_REQUIRED,
3397 : PROTOBUF_C_TYPE_UINT64,
3398 : 0, /* quantifier_offset */
3399 : offsetof(Mgmtd__FeGetReply, req_id),
3400 : NULL,
3401 : NULL,
3402 : 0, /* flags */
3403 : 0,NULL,NULL /* reserved1,reserved2, etc */
3404 : },
3405 : {
3406 : "success",
3407 : 5,
3408 : PROTOBUF_C_LABEL_REQUIRED,
3409 : PROTOBUF_C_TYPE_BOOL,
3410 : 0, /* quantifier_offset */
3411 : offsetof(Mgmtd__FeGetReply, success),
3412 : NULL,
3413 : NULL,
3414 : 0, /* flags */
3415 : 0,NULL,NULL /* reserved1,reserved2, etc */
3416 : },
3417 : {
3418 : "error_if_any",
3419 : 6,
3420 : PROTOBUF_C_LABEL_OPTIONAL,
3421 : PROTOBUF_C_TYPE_STRING,
3422 : 0, /* quantifier_offset */
3423 : offsetof(Mgmtd__FeGetReply, error_if_any),
3424 : NULL,
3425 : NULL,
3426 : 0, /* flags */
3427 : 0,NULL,NULL /* reserved1,reserved2, etc */
3428 : },
3429 : {
3430 : "data",
3431 : 7,
3432 : PROTOBUF_C_LABEL_OPTIONAL,
3433 : PROTOBUF_C_TYPE_MESSAGE,
3434 : 0, /* quantifier_offset */
3435 : offsetof(Mgmtd__FeGetReply, data),
3436 : &mgmtd__yang_data_reply__descriptor,
3437 : NULL,
3438 : 0, /* flags */
3439 : 0,NULL,NULL /* reserved1,reserved2, etc */
3440 : },
3441 : };
3442 : static const unsigned mgmtd__fe_get_reply__field_indices_by_name[] = {
3443 : 1, /* field[1] = config */
3444 : 6, /* field[6] = data */
3445 : 2, /* field[2] = ds_id */
3446 : 5, /* field[5] = error_if_any */
3447 : 3, /* field[3] = req_id */
3448 : 0, /* field[0] = session_id */
3449 : 4, /* field[4] = success */
3450 : };
3451 : static const ProtobufCIntRange mgmtd__fe_get_reply__number_ranges[1 + 1] =
3452 : {
3453 : { 1, 0 },
3454 : { 0, 7 }
3455 : };
3456 : const ProtobufCMessageDescriptor mgmtd__fe_get_reply__descriptor =
3457 : {
3458 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3459 : "mgmtd.FeGetReply",
3460 : "FeGetReply",
3461 : "Mgmtd__FeGetReply",
3462 : "mgmtd",
3463 : sizeof(Mgmtd__FeGetReply),
3464 : 7,
3465 : mgmtd__fe_get_reply__field_descriptors,
3466 : mgmtd__fe_get_reply__field_indices_by_name,
3467 : 1, mgmtd__fe_get_reply__number_ranges,
3468 : (ProtobufCMessageInit) mgmtd__fe_get_reply__init,
3469 : NULL,NULL,NULL /* reserved[123] */
3470 : };
3471 : static const ProtobufCFieldDescriptor mgmtd__fe_notify_data_req__field_descriptors[1] =
3472 : {
3473 : {
3474 : "data",
3475 : 1,
3476 : PROTOBUF_C_LABEL_REPEATED,
3477 : PROTOBUF_C_TYPE_MESSAGE,
3478 : offsetof(Mgmtd__FeNotifyDataReq, n_data),
3479 : offsetof(Mgmtd__FeNotifyDataReq, data),
3480 : &mgmtd__yang_data__descriptor,
3481 : NULL,
3482 : 0, /* flags */
3483 : 0,NULL,NULL /* reserved1,reserved2, etc */
3484 : },
3485 : };
3486 : static const unsigned mgmtd__fe_notify_data_req__field_indices_by_name[] = {
3487 : 0, /* field[0] = data */
3488 : };
3489 : static const ProtobufCIntRange mgmtd__fe_notify_data_req__number_ranges[1 + 1] =
3490 : {
3491 : { 1, 0 },
3492 : { 0, 1 }
3493 : };
3494 : const ProtobufCMessageDescriptor mgmtd__fe_notify_data_req__descriptor =
3495 : {
3496 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3497 : "mgmtd.FeNotifyDataReq",
3498 : "FeNotifyDataReq",
3499 : "Mgmtd__FeNotifyDataReq",
3500 : "mgmtd",
3501 : sizeof(Mgmtd__FeNotifyDataReq),
3502 : 1,
3503 : mgmtd__fe_notify_data_req__field_descriptors,
3504 : mgmtd__fe_notify_data_req__field_indices_by_name,
3505 : 1, mgmtd__fe_notify_data_req__number_ranges,
3506 : (ProtobufCMessageInit) mgmtd__fe_notify_data_req__init,
3507 : NULL,NULL,NULL /* reserved[123] */
3508 : };
3509 : static const ProtobufCFieldDescriptor mgmtd__fe_register_notify_req__field_descriptors[5] =
3510 : {
3511 : {
3512 : "session_id",
3513 : 1,
3514 : PROTOBUF_C_LABEL_REQUIRED,
3515 : PROTOBUF_C_TYPE_UINT64,
3516 : 0, /* quantifier_offset */
3517 : offsetof(Mgmtd__FeRegisterNotifyReq, session_id),
3518 : NULL,
3519 : NULL,
3520 : 0, /* flags */
3521 : 0,NULL,NULL /* reserved1,reserved2, etc */
3522 : },
3523 : {
3524 : "ds_id",
3525 : 2,
3526 : PROTOBUF_C_LABEL_REQUIRED,
3527 : PROTOBUF_C_TYPE_ENUM,
3528 : 0, /* quantifier_offset */
3529 : offsetof(Mgmtd__FeRegisterNotifyReq, ds_id),
3530 : &mgmtd__datastore_id__descriptor,
3531 : NULL,
3532 : 0, /* flags */
3533 : 0,NULL,NULL /* reserved1,reserved2, etc */
3534 : },
3535 : {
3536 : "register_req",
3537 : 3,
3538 : PROTOBUF_C_LABEL_REQUIRED,
3539 : PROTOBUF_C_TYPE_BOOL,
3540 : 0, /* quantifier_offset */
3541 : offsetof(Mgmtd__FeRegisterNotifyReq, register_req),
3542 : NULL,
3543 : NULL,
3544 : 0, /* flags */
3545 : 0,NULL,NULL /* reserved1,reserved2, etc */
3546 : },
3547 : {
3548 : "req_id",
3549 : 4,
3550 : PROTOBUF_C_LABEL_REQUIRED,
3551 : PROTOBUF_C_TYPE_UINT64,
3552 : 0, /* quantifier_offset */
3553 : offsetof(Mgmtd__FeRegisterNotifyReq, req_id),
3554 : NULL,
3555 : NULL,
3556 : 0, /* flags */
3557 : 0,NULL,NULL /* reserved1,reserved2, etc */
3558 : },
3559 : {
3560 : "data_xpath",
3561 : 5,
3562 : PROTOBUF_C_LABEL_REPEATED,
3563 : PROTOBUF_C_TYPE_MESSAGE,
3564 : offsetof(Mgmtd__FeRegisterNotifyReq, n_data_xpath),
3565 : offsetof(Mgmtd__FeRegisterNotifyReq, data_xpath),
3566 : &mgmtd__yang_data_xpath__descriptor,
3567 : NULL,
3568 : 0, /* flags */
3569 : 0,NULL,NULL /* reserved1,reserved2, etc */
3570 : },
3571 : };
3572 : static const unsigned mgmtd__fe_register_notify_req__field_indices_by_name[] = {
3573 : 4, /* field[4] = data_xpath */
3574 : 1, /* field[1] = ds_id */
3575 : 2, /* field[2] = register_req */
3576 : 3, /* field[3] = req_id */
3577 : 0, /* field[0] = session_id */
3578 : };
3579 : static const ProtobufCIntRange mgmtd__fe_register_notify_req__number_ranges[1 + 1] =
3580 : {
3581 : { 1, 0 },
3582 : { 0, 5 }
3583 : };
3584 : const ProtobufCMessageDescriptor mgmtd__fe_register_notify_req__descriptor =
3585 : {
3586 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3587 : "mgmtd.FeRegisterNotifyReq",
3588 : "FeRegisterNotifyReq",
3589 : "Mgmtd__FeRegisterNotifyReq",
3590 : "mgmtd",
3591 : sizeof(Mgmtd__FeRegisterNotifyReq),
3592 : 5,
3593 : mgmtd__fe_register_notify_req__field_descriptors,
3594 : mgmtd__fe_register_notify_req__field_indices_by_name,
3595 : 1, mgmtd__fe_register_notify_req__number_ranges,
3596 : (ProtobufCMessageInit) mgmtd__fe_register_notify_req__init,
3597 : NULL,NULL,NULL /* reserved[123] */
3598 : };
3599 : static const ProtobufCFieldDescriptor mgmtd__fe_message__field_descriptors[13] =
3600 : {
3601 : {
3602 : "register_req",
3603 : 2,
3604 : PROTOBUF_C_LABEL_OPTIONAL,
3605 : PROTOBUF_C_TYPE_MESSAGE,
3606 : offsetof(Mgmtd__FeMessage, message_case),
3607 : offsetof(Mgmtd__FeMessage, register_req),
3608 : &mgmtd__fe_register_req__descriptor,
3609 : NULL,
3610 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3611 : 0,NULL,NULL /* reserved1,reserved2, etc */
3612 : },
3613 : {
3614 : "session_req",
3615 : 3,
3616 : PROTOBUF_C_LABEL_OPTIONAL,
3617 : PROTOBUF_C_TYPE_MESSAGE,
3618 : offsetof(Mgmtd__FeMessage, message_case),
3619 : offsetof(Mgmtd__FeMessage, session_req),
3620 : &mgmtd__fe_session_req__descriptor,
3621 : NULL,
3622 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3623 : 0,NULL,NULL /* reserved1,reserved2, etc */
3624 : },
3625 : {
3626 : "session_reply",
3627 : 4,
3628 : PROTOBUF_C_LABEL_OPTIONAL,
3629 : PROTOBUF_C_TYPE_MESSAGE,
3630 : offsetof(Mgmtd__FeMessage, message_case),
3631 : offsetof(Mgmtd__FeMessage, session_reply),
3632 : &mgmtd__fe_session_reply__descriptor,
3633 : NULL,
3634 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3635 : 0,NULL,NULL /* reserved1,reserved2, etc */
3636 : },
3637 : {
3638 : "lockds_req",
3639 : 5,
3640 : PROTOBUF_C_LABEL_OPTIONAL,
3641 : PROTOBUF_C_TYPE_MESSAGE,
3642 : offsetof(Mgmtd__FeMessage, message_case),
3643 : offsetof(Mgmtd__FeMessage, lockds_req),
3644 : &mgmtd__fe_lock_ds_req__descriptor,
3645 : NULL,
3646 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3647 : 0,NULL,NULL /* reserved1,reserved2, etc */
3648 : },
3649 : {
3650 : "lockds_reply",
3651 : 6,
3652 : PROTOBUF_C_LABEL_OPTIONAL,
3653 : PROTOBUF_C_TYPE_MESSAGE,
3654 : offsetof(Mgmtd__FeMessage, message_case),
3655 : offsetof(Mgmtd__FeMessage, lockds_reply),
3656 : &mgmtd__fe_lock_ds_reply__descriptor,
3657 : NULL,
3658 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3659 : 0,NULL,NULL /* reserved1,reserved2, etc */
3660 : },
3661 : {
3662 : "setcfg_req",
3663 : 7,
3664 : PROTOBUF_C_LABEL_OPTIONAL,
3665 : PROTOBUF_C_TYPE_MESSAGE,
3666 : offsetof(Mgmtd__FeMessage, message_case),
3667 : offsetof(Mgmtd__FeMessage, setcfg_req),
3668 : &mgmtd__fe_set_config_req__descriptor,
3669 : NULL,
3670 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3671 : 0,NULL,NULL /* reserved1,reserved2, etc */
3672 : },
3673 : {
3674 : "setcfg_reply",
3675 : 8,
3676 : PROTOBUF_C_LABEL_OPTIONAL,
3677 : PROTOBUF_C_TYPE_MESSAGE,
3678 : offsetof(Mgmtd__FeMessage, message_case),
3679 : offsetof(Mgmtd__FeMessage, setcfg_reply),
3680 : &mgmtd__fe_set_config_reply__descriptor,
3681 : NULL,
3682 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3683 : 0,NULL,NULL /* reserved1,reserved2, etc */
3684 : },
3685 : {
3686 : "commcfg_req",
3687 : 9,
3688 : PROTOBUF_C_LABEL_OPTIONAL,
3689 : PROTOBUF_C_TYPE_MESSAGE,
3690 : offsetof(Mgmtd__FeMessage, message_case),
3691 : offsetof(Mgmtd__FeMessage, commcfg_req),
3692 : &mgmtd__fe_commit_config_req__descriptor,
3693 : NULL,
3694 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3695 : 0,NULL,NULL /* reserved1,reserved2, etc */
3696 : },
3697 : {
3698 : "commcfg_reply",
3699 : 10,
3700 : PROTOBUF_C_LABEL_OPTIONAL,
3701 : PROTOBUF_C_TYPE_MESSAGE,
3702 : offsetof(Mgmtd__FeMessage, message_case),
3703 : offsetof(Mgmtd__FeMessage, commcfg_reply),
3704 : &mgmtd__fe_commit_config_reply__descriptor,
3705 : NULL,
3706 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3707 : 0,NULL,NULL /* reserved1,reserved2, etc */
3708 : },
3709 : {
3710 : "get_req",
3711 : 11,
3712 : PROTOBUF_C_LABEL_OPTIONAL,
3713 : PROTOBUF_C_TYPE_MESSAGE,
3714 : offsetof(Mgmtd__FeMessage, message_case),
3715 : offsetof(Mgmtd__FeMessage, get_req),
3716 : &mgmtd__fe_get_req__descriptor,
3717 : NULL,
3718 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3719 : 0,NULL,NULL /* reserved1,reserved2, etc */
3720 : },
3721 : {
3722 : "get_reply",
3723 : 12,
3724 : PROTOBUF_C_LABEL_OPTIONAL,
3725 : PROTOBUF_C_TYPE_MESSAGE,
3726 : offsetof(Mgmtd__FeMessage, message_case),
3727 : offsetof(Mgmtd__FeMessage, get_reply),
3728 : &mgmtd__fe_get_reply__descriptor,
3729 : NULL,
3730 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3731 : 0,NULL,NULL /* reserved1,reserved2, etc */
3732 : },
3733 : {
3734 : "notify_data_req",
3735 : 15,
3736 : PROTOBUF_C_LABEL_OPTIONAL,
3737 : PROTOBUF_C_TYPE_MESSAGE,
3738 : offsetof(Mgmtd__FeMessage, message_case),
3739 : offsetof(Mgmtd__FeMessage, notify_data_req),
3740 : &mgmtd__fe_notify_data_req__descriptor,
3741 : NULL,
3742 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3743 : 0,NULL,NULL /* reserved1,reserved2, etc */
3744 : },
3745 : {
3746 : "regnotify_req",
3747 : 16,
3748 : PROTOBUF_C_LABEL_OPTIONAL,
3749 : PROTOBUF_C_TYPE_MESSAGE,
3750 : offsetof(Mgmtd__FeMessage, message_case),
3751 : offsetof(Mgmtd__FeMessage, regnotify_req),
3752 : &mgmtd__fe_register_notify_req__descriptor,
3753 : NULL,
3754 : 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
3755 : 0,NULL,NULL /* reserved1,reserved2, etc */
3756 : },
3757 : };
3758 : static const unsigned mgmtd__fe_message__field_indices_by_name[] = {
3759 : 8, /* field[8] = commcfg_reply */
3760 : 7, /* field[7] = commcfg_req */
3761 : 10, /* field[10] = get_reply */
3762 : 9, /* field[9] = get_req */
3763 : 4, /* field[4] = lockds_reply */
3764 : 3, /* field[3] = lockds_req */
3765 : 11, /* field[11] = notify_data_req */
3766 : 0, /* field[0] = register_req */
3767 : 12, /* field[12] = regnotify_req */
3768 : 2, /* field[2] = session_reply */
3769 : 1, /* field[1] = session_req */
3770 : 6, /* field[6] = setcfg_reply */
3771 : 5, /* field[5] = setcfg_req */
3772 : };
3773 : static const ProtobufCIntRange mgmtd__fe_message__number_ranges[2 + 1] =
3774 : {
3775 : { 2, 0 },
3776 : { 15, 11 },
3777 : { 0, 13 }
3778 : };
3779 : const ProtobufCMessageDescriptor mgmtd__fe_message__descriptor =
3780 : {
3781 : PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3782 : "mgmtd.FeMessage",
3783 : "FeMessage",
3784 : "Mgmtd__FeMessage",
3785 : "mgmtd",
3786 : sizeof(Mgmtd__FeMessage),
3787 : 13,
3788 : mgmtd__fe_message__field_descriptors,
3789 : mgmtd__fe_message__field_indices_by_name,
3790 : 2, mgmtd__fe_message__number_ranges,
3791 : (ProtobufCMessageInit) mgmtd__fe_message__init,
3792 : NULL,NULL,NULL /* reserved[123] */
3793 : };
3794 : static const ProtobufCEnumValue mgmtd__cfg_data_req_type__enum_values_by_number[3] =
3795 : {
3796 : { "REQ_TYPE_NONE", "MGMTD__CFG_DATA_REQ_TYPE__REQ_TYPE_NONE", 0 },
3797 : { "SET_DATA", "MGMTD__CFG_DATA_REQ_TYPE__SET_DATA", 1 },
3798 : { "DELETE_DATA", "MGMTD__CFG_DATA_REQ_TYPE__DELETE_DATA", 2 },
3799 : };
3800 : static const ProtobufCIntRange mgmtd__cfg_data_req_type__value_ranges[] = {
3801 : {0, 0},{0, 3}
3802 : };
3803 : static const ProtobufCEnumValueIndex mgmtd__cfg_data_req_type__enum_values_by_name[3] =
3804 : {
3805 : { "DELETE_DATA", 2 },
3806 : { "REQ_TYPE_NONE", 0 },
3807 : { "SET_DATA", 1 },
3808 : };
3809 : const ProtobufCEnumDescriptor mgmtd__cfg_data_req_type__descriptor =
3810 : {
3811 : PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
3812 : "mgmtd.CfgDataReqType",
3813 : "CfgDataReqType",
3814 : "Mgmtd__CfgDataReqType",
3815 : "mgmtd",
3816 : 3,
3817 : mgmtd__cfg_data_req_type__enum_values_by_number,
3818 : 3,
3819 : mgmtd__cfg_data_req_type__enum_values_by_name,
3820 : 1,
3821 : mgmtd__cfg_data_req_type__value_ranges,
3822 : NULL,NULL,NULL,NULL /* reserved[1234] */
3823 : };
3824 : static const ProtobufCEnumValue mgmtd__datastore_id__enum_values_by_number[5] =
3825 : {
3826 : { "DS_NONE", "MGMTD__DATASTORE_ID__DS_NONE", 0 },
3827 : { "RUNNING_DS", "MGMTD__DATASTORE_ID__RUNNING_DS", 1 },
3828 : { "CANDIDATE_DS", "MGMTD__DATASTORE_ID__CANDIDATE_DS", 2 },
3829 : { "OPERATIONAL_DS", "MGMTD__DATASTORE_ID__OPERATIONAL_DS", 3 },
3830 : { "STARTUP_DS", "MGMTD__DATASTORE_ID__STARTUP_DS", 4 },
3831 : };
3832 : static const ProtobufCIntRange mgmtd__datastore_id__value_ranges[] = {
3833 : {0, 0},{0, 5}
3834 : };
3835 : static const ProtobufCEnumValueIndex mgmtd__datastore_id__enum_values_by_name[5] =
3836 : {
3837 : { "CANDIDATE_DS", 2 },
3838 : { "DS_NONE", 0 },
3839 : { "OPERATIONAL_DS", 3 },
3840 : { "RUNNING_DS", 1 },
3841 : { "STARTUP_DS", 4 },
3842 : };
3843 : const ProtobufCEnumDescriptor mgmtd__datastore_id__descriptor =
3844 : {
3845 : PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
3846 : "mgmtd.DatastoreId",
3847 : "DatastoreId",
3848 : "Mgmtd__DatastoreId",
3849 : "mgmtd",
3850 : 5,
3851 : mgmtd__datastore_id__enum_values_by_number,
3852 : 5,
3853 : mgmtd__datastore_id__enum_values_by_name,
3854 : 1,
3855 : mgmtd__datastore_id__value_ranges,
3856 : NULL,NULL,NULL,NULL /* reserved[1234] */
3857 : };
|