| 1 |
/* Generated by the protocol buffer compiler. DO NOT EDIT! */ |
|---|
| 2 |
|
|---|
| 3 |
/* Do not generate deprecated warnings for self */ |
|---|
| 4 |
#ifndef PROTOBUF_C_NO_DEPRECATED |
|---|
| 5 |
#define PROTOBUF_C_NO_DEPRECATED |
|---|
| 6 |
#endif |
|---|
| 7 |
|
|---|
| 8 |
#include "bundle.pb-c.h" |
|---|
| 9 |
void metric__init |
|---|
| 10 |
(Metric *message) |
|---|
| 11 |
{ |
|---|
| 12 |
static Metric init_value = METRIC__INIT; |
|---|
| 13 |
*message = init_value; |
|---|
| 14 |
} |
|---|
| 15 |
size_t metric__get_packed_size |
|---|
| 16 |
(const Metric *message) |
|---|
| 17 |
{ |
|---|
| 18 |
PROTOBUF_C_ASSERT (message->base.descriptor == &metric__descriptor); |
|---|
| 19 |
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
|---|
| 20 |
} |
|---|
| 21 |
size_t metric__pack |
|---|
| 22 |
(const Metric *message, |
|---|
| 23 |
uint8_t *out) |
|---|
| 24 |
{ |
|---|
| 25 |
PROTOBUF_C_ASSERT (message->base.descriptor == &metric__descriptor); |
|---|
| 26 |
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
|---|
| 27 |
} |
|---|
| 28 |
size_t metric__pack_to_buffer |
|---|
| 29 |
(const Metric *message, |
|---|
| 30 |
ProtobufCBuffer *buffer) |
|---|
| 31 |
{ |
|---|
| 32 |
PROTOBUF_C_ASSERT (message->base.descriptor == &metric__descriptor); |
|---|
| 33 |
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
|---|
| 34 |
} |
|---|
| 35 |
Metric * |
|---|
| 36 |
metric__unpack |
|---|
| 37 |
(ProtobufCAllocator *allocator, |
|---|
| 38 |
size_t len, |
|---|
| 39 |
const uint8_t *data) |
|---|
| 40 |
{ |
|---|
| 41 |
return (Metric *) |
|---|
| 42 |
protobuf_c_message_unpack (&metric__descriptor, |
|---|
| 43 |
allocator, len, data); |
|---|
| 44 |
} |
|---|
| 45 |
void metric__free_unpacked |
|---|
| 46 |
(Metric *message, |
|---|
| 47 |
ProtobufCAllocator *allocator) |
|---|
| 48 |
{ |
|---|
| 49 |
PROTOBUF_C_ASSERT (message->base.descriptor == &metric__descriptor); |
|---|
| 50 |
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
|---|
| 51 |
} |
|---|
| 52 |
void status__init |
|---|
| 53 |
(Status *message) |
|---|
| 54 |
{ |
|---|
| 55 |
static Status init_value = STATUS__INIT; |
|---|
| 56 |
*message = init_value; |
|---|
| 57 |
} |
|---|
| 58 |
size_t status__get_packed_size |
|---|
| 59 |
(const Status *message) |
|---|
| 60 |
{ |
|---|
| 61 |
PROTOBUF_C_ASSERT (message->base.descriptor == &status__descriptor); |
|---|
| 62 |
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
|---|
| 63 |
} |
|---|
| 64 |
size_t status__pack |
|---|
| 65 |
(const Status *message, |
|---|
| 66 |
uint8_t *out) |
|---|
| 67 |
{ |
|---|
| 68 |
PROTOBUF_C_ASSERT (message->base.descriptor == &status__descriptor); |
|---|
| 69 |
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
|---|
| 70 |
} |
|---|
| 71 |
size_t status__pack_to_buffer |
|---|
| 72 |
(const Status *message, |
|---|
| 73 |
ProtobufCBuffer *buffer) |
|---|
| 74 |
{ |
|---|
| 75 |
PROTOBUF_C_ASSERT (message->base.descriptor == &status__descriptor); |
|---|
| 76 |
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
|---|
| 77 |
} |
|---|
| 78 |
Status * |
|---|
| 79 |
status__unpack |
|---|
| 80 |
(ProtobufCAllocator *allocator, |
|---|
| 81 |
size_t len, |
|---|
| 82 |
const uint8_t *data) |
|---|
| 83 |
{ |
|---|
| 84 |
return (Status *) |
|---|
| 85 |
protobuf_c_message_unpack (&status__descriptor, |
|---|
| 86 |
allocator, len, data); |
|---|
| 87 |
} |
|---|
| 88 |
void status__free_unpacked |
|---|
| 89 |
(Status *message, |
|---|
| 90 |
ProtobufCAllocator *allocator) |
|---|
| 91 |
{ |
|---|
| 92 |
PROTOBUF_C_ASSERT (message->base.descriptor == &status__descriptor); |
|---|
| 93 |
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
|---|
| 94 |
} |
|---|
| 95 |
void metadata__init |
|---|
| 96 |
(Metadata *message) |
|---|
| 97 |
{ |
|---|
| 98 |
static Metadata init_value = METADATA__INIT; |
|---|
| 99 |
*message = init_value; |
|---|
| 100 |
} |
|---|
| 101 |
size_t metadata__get_packed_size |
|---|
| 102 |
(const Metadata *message) |
|---|
| 103 |
{ |
|---|
| 104 |
PROTOBUF_C_ASSERT (message->base.descriptor == &metadata__descriptor); |
|---|
| 105 |
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
|---|
| 106 |
} |
|---|
| 107 |
size_t metadata__pack |
|---|
| 108 |
(const Metadata *message, |
|---|
| 109 |
uint8_t *out) |
|---|
| 110 |
{ |
|---|
| 111 |
PROTOBUF_C_ASSERT (message->base.descriptor == &metadata__descriptor); |
|---|
| 112 |
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
|---|
| 113 |
} |
|---|
| 114 |
size_t metadata__pack_to_buffer |
|---|
| 115 |
(const Metadata *message, |
|---|
| 116 |
ProtobufCBuffer *buffer) |
|---|
| 117 |
{ |
|---|
| 118 |
PROTOBUF_C_ASSERT (message->base.descriptor == &metadata__descriptor); |
|---|
| 119 |
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
|---|
| 120 |
} |
|---|
| 121 |
Metadata * |
|---|
| 122 |
metadata__unpack |
|---|
| 123 |
(ProtobufCAllocator *allocator, |
|---|
| 124 |
size_t len, |
|---|
| 125 |
const uint8_t *data) |
|---|
| 126 |
{ |
|---|
| 127 |
return (Metadata *) |
|---|
| 128 |
protobuf_c_message_unpack (&metadata__descriptor, |
|---|
| 129 |
allocator, len, data); |
|---|
| 130 |
} |
|---|
| 131 |
void metadata__free_unpacked |
|---|
| 132 |
(Metadata *message, |
|---|
| 133 |
ProtobufCAllocator *allocator) |
|---|
| 134 |
{ |
|---|
| 135 |
PROTOBUF_C_ASSERT (message->base.descriptor == &metadata__descriptor); |
|---|
| 136 |
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
|---|
| 137 |
} |
|---|
| 138 |
void bundle__init |
|---|
| 139 |
(Bundle *message) |
|---|
| 140 |
{ |
|---|
| 141 |
static Bundle init_value = BUNDLE__INIT; |
|---|
| 142 |
*message = init_value; |
|---|
| 143 |
} |
|---|
| 144 |
size_t bundle__get_packed_size |
|---|
| 145 |
(const Bundle *message) |
|---|
| 146 |
{ |
|---|
| 147 |
PROTOBUF_C_ASSERT (message->base.descriptor == &bundle__descriptor); |
|---|
| 148 |
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
|---|
| 149 |
} |
|---|
| 150 |
size_t bundle__pack |
|---|
| 151 |
(const Bundle *message, |
|---|
| 152 |
uint8_t *out) |
|---|
| 153 |
{ |
|---|
| 154 |
PROTOBUF_C_ASSERT (message->base.descriptor == &bundle__descriptor); |
|---|
| 155 |
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
|---|
| 156 |
} |
|---|
| 157 |
size_t bundle__pack_to_buffer |
|---|
| 158 |
(const Bundle *message, |
|---|
| 159 |
ProtobufCBuffer *buffer) |
|---|
| 160 |
{ |
|---|
| 161 |
PROTOBUF_C_ASSERT (message->base.descriptor == &bundle__descriptor); |
|---|
| 162 |
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
|---|
| 163 |
} |
|---|
| 164 |
Bundle * |
|---|
| 165 |
bundle__unpack |
|---|
| 166 |
(ProtobufCAllocator *allocator, |
|---|
| 167 |
size_t len, |
|---|
| 168 |
const uint8_t *data) |
|---|
| 169 |
{ |
|---|
| 170 |
return (Bundle *) |
|---|
| 171 |
protobuf_c_message_unpack (&bundle__descriptor, |
|---|
| 172 |
allocator, len, data); |
|---|
| 173 |
} |
|---|
| 174 |
void bundle__free_unpacked |
|---|
| 175 |
(Bundle *message, |
|---|
| 176 |
ProtobufCAllocator *allocator) |
|---|
| 177 |
{ |
|---|
| 178 |
PROTOBUF_C_ASSERT (message->base.descriptor == &bundle__descriptor); |
|---|
| 179 |
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
|---|
| 180 |
} |
|---|
| 181 |
static const ProtobufCFieldDescriptor metric__field_descriptors[8] = |
|---|
| 182 |
{ |
|---|
| 183 |
{ |
|---|
| 184 |
"name", |
|---|
| 185 |
1, |
|---|
| 186 |
PROTOBUF_C_LABEL_REQUIRED, |
|---|
| 187 |
PROTOBUF_C_TYPE_STRING, |
|---|
| 188 |
0, /* quantifier_offset */ |
|---|
| 189 |
PROTOBUF_C_OFFSETOF(Metric, name), |
|---|
| 190 |
NULL, |
|---|
| 191 |
NULL, |
|---|
| 192 |
0, /* packed */ |
|---|
| 193 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 194 |
}, |
|---|
| 195 |
{ |
|---|
| 196 |
"metricType", |
|---|
| 197 |
2, |
|---|
| 198 |
PROTOBUF_C_LABEL_REQUIRED, |
|---|
| 199 |
PROTOBUF_C_TYPE_INT32, |
|---|
| 200 |
0, /* quantifier_offset */ |
|---|
| 201 |
PROTOBUF_C_OFFSETOF(Metric, metrictype), |
|---|
| 202 |
NULL, |
|---|
| 203 |
NULL, |
|---|
| 204 |
0, /* packed */ |
|---|
| 205 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 206 |
}, |
|---|
| 207 |
{ |
|---|
| 208 |
"valueDbl", |
|---|
| 209 |
3, |
|---|
| 210 |
PROTOBUF_C_LABEL_OPTIONAL, |
|---|
| 211 |
PROTOBUF_C_TYPE_DOUBLE, |
|---|
| 212 |
PROTOBUF_C_OFFSETOF(Metric, has_valuedbl), |
|---|
| 213 |
PROTOBUF_C_OFFSETOF(Metric, valuedbl), |
|---|
| 214 |
NULL, |
|---|
| 215 |
NULL, |
|---|
| 216 |
0, /* packed */ |
|---|
| 217 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 218 |
}, |
|---|
| 219 |
{ |
|---|
| 220 |
"valueI64", |
|---|
| 221 |
4, |
|---|
| 222 |
PROTOBUF_C_LABEL_OPTIONAL, |
|---|
| 223 |
PROTOBUF_C_TYPE_INT64, |
|---|
| 224 |
PROTOBUF_C_OFFSETOF(Metric, has_valuei64), |
|---|
| 225 |
PROTOBUF_C_OFFSETOF(Metric, valuei64), |
|---|
| 226 |
NULL, |
|---|
| 227 |
NULL, |
|---|
| 228 |
0, /* packed */ |
|---|
| 229 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 230 |
}, |
|---|
| 231 |
{ |
|---|
| 232 |
"valueUI64", |
|---|
| 233 |
5, |
|---|
| 234 |
PROTOBUF_C_LABEL_OPTIONAL, |
|---|
| 235 |
PROTOBUF_C_TYPE_UINT64, |
|---|
| 236 |
PROTOBUF_C_OFFSETOF(Metric, has_valueui64), |
|---|
| 237 |
PROTOBUF_C_OFFSETOF(Metric, valueui64), |
|---|
| 238 |
NULL, |
|---|
| 239 |
NULL, |
|---|
| 240 |
0, /* packed */ |
|---|
| 241 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 242 |
}, |
|---|
| 243 |
{ |
|---|
| 244 |
"valueI32", |
|---|
| 245 |
6, |
|---|
| 246 |
PROTOBUF_C_LABEL_OPTIONAL, |
|---|
| 247 |
PROTOBUF_C_TYPE_INT32, |
|---|
| 248 |
PROTOBUF_C_OFFSETOF(Metric, has_valuei32), |
|---|
| 249 |
PROTOBUF_C_OFFSETOF(Metric, valuei32), |
|---|
| 250 |
NULL, |
|---|
| 251 |
NULL, |
|---|
| 252 |
0, /* packed */ |
|---|
| 253 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 254 |
}, |
|---|
| 255 |
{ |
|---|
| 256 |
"valueUI32", |
|---|
| 257 |
7, |
|---|
| 258 |
PROTOBUF_C_LABEL_OPTIONAL, |
|---|
| 259 |
PROTOBUF_C_TYPE_UINT32, |
|---|
| 260 |
PROTOBUF_C_OFFSETOF(Metric, has_valueui32), |
|---|
| 261 |
PROTOBUF_C_OFFSETOF(Metric, valueui32), |
|---|
| 262 |
NULL, |
|---|
| 263 |
NULL, |
|---|
| 264 |
0, /* packed */ |
|---|
| 265 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 266 |
}, |
|---|
| 267 |
{ |
|---|
| 268 |
"valueStr", |
|---|
| 269 |
8, |
|---|
| 270 |
PROTOBUF_C_LABEL_OPTIONAL, |
|---|
| 271 |
PROTOBUF_C_TYPE_STRING, |
|---|
| 272 |
0, /* quantifier_offset */ |
|---|
| 273 |
PROTOBUF_C_OFFSETOF(Metric, valuestr), |
|---|
| 274 |
NULL, |
|---|
| 275 |
NULL, |
|---|
| 276 |
0, /* packed */ |
|---|
| 277 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 278 |
}, |
|---|
| 279 |
}; |
|---|
| 280 |
static const unsigned metric__field_indices_by_name[] = { |
|---|
| 281 |
1, /* field[1] = metricType */ |
|---|
| 282 |
0, /* field[0] = name */ |
|---|
| 283 |
2, /* field[2] = valueDbl */ |
|---|
| 284 |
5, /* field[5] = valueI32 */ |
|---|
| 285 |
3, /* field[3] = valueI64 */ |
|---|
| 286 |
7, /* field[7] = valueStr */ |
|---|
| 287 |
6, /* field[6] = valueUI32 */ |
|---|
| 288 |
4, /* field[4] = valueUI64 */ |
|---|
| 289 |
}; |
|---|
| 290 |
static const ProtobufCIntRange metric__number_ranges[1 + 1] = |
|---|
| 291 |
{ |
|---|
| 292 |
{ 1, 0 }, |
|---|
| 293 |
{ 0, 8 } |
|---|
| 294 |
}; |
|---|
| 295 |
const ProtobufCMessageDescriptor metric__descriptor = |
|---|
| 296 |
{ |
|---|
| 297 |
PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC, |
|---|
| 298 |
"Metric", |
|---|
| 299 |
"Metric", |
|---|
| 300 |
"Metric", |
|---|
| 301 |
"", |
|---|
| 302 |
sizeof(Metric), |
|---|
| 303 |
8, |
|---|
| 304 |
metric__field_descriptors, |
|---|
| 305 |
metric__field_indices_by_name, |
|---|
| 306 |
1, metric__number_ranges, |
|---|
| 307 |
(ProtobufCMessageInit) metric__init, |
|---|
| 308 |
NULL,NULL,NULL /* reserved[123] */ |
|---|
| 309 |
}; |
|---|
| 310 |
static const ProtobufCFieldDescriptor status__field_descriptors[4] = |
|---|
| 311 |
{ |
|---|
| 312 |
{ |
|---|
| 313 |
"available", |
|---|
| 314 |
1, |
|---|
| 315 |
PROTOBUF_C_LABEL_REQUIRED, |
|---|
| 316 |
PROTOBUF_C_TYPE_INT32, |
|---|
| 317 |
0, /* quantifier_offset */ |
|---|
| 318 |
PROTOBUF_C_OFFSETOF(Status, available), |
|---|
| 319 |
NULL, |
|---|
| 320 |
NULL, |
|---|
| 321 |
0, /* packed */ |
|---|
| 322 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 323 |
}, |
|---|
| 324 |
{ |
|---|
| 325 |
"state", |
|---|
| 326 |
2, |
|---|
| 327 |
PROTOBUF_C_LABEL_REQUIRED, |
|---|
| 328 |
PROTOBUF_C_TYPE_INT32, |
|---|
| 329 |
0, /* quantifier_offset */ |
|---|
| 330 |
PROTOBUF_C_OFFSETOF(Status, state), |
|---|
| 331 |
NULL, |
|---|
| 332 |
NULL, |
|---|
| 333 |
0, /* packed */ |
|---|
| 334 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 335 |
}, |
|---|
| 336 |
{ |
|---|
| 337 |
"duration", |
|---|
| 338 |
3, |
|---|
| 339 |
PROTOBUF_C_LABEL_REQUIRED, |
|---|
| 340 |
PROTOBUF_C_TYPE_INT32, |
|---|
| 341 |
0, /* quantifier_offset */ |
|---|
| 342 |
PROTOBUF_C_OFFSETOF(Status, duration), |
|---|
| 343 |
NULL, |
|---|
| 344 |
NULL, |
|---|
| 345 |
0, /* packed */ |
|---|
| 346 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 347 |
}, |
|---|
| 348 |
{ |
|---|
| 349 |
"status", |
|---|
| 350 |
4, |
|---|
| 351 |
PROTOBUF_C_LABEL_REQUIRED, |
|---|
| 352 |
PROTOBUF_C_TYPE_STRING, |
|---|
| 353 |
0, /* quantifier_offset */ |
|---|
| 354 |
PROTOBUF_C_OFFSETOF(Status, status), |
|---|
| 355 |
NULL, |
|---|
| 356 |
NULL, |
|---|
| 357 |
0, /* packed */ |
|---|
| 358 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 359 |
}, |
|---|
| 360 |
}; |
|---|
| 361 |
static const unsigned status__field_indices_by_name[] = { |
|---|
| 362 |
0, /* field[0] = available */ |
|---|
| 363 |
2, /* field[2] = duration */ |
|---|
| 364 |
1, /* field[1] = state */ |
|---|
| 365 |
3, /* field[3] = status */ |
|---|
| 366 |
}; |
|---|
| 367 |
static const ProtobufCIntRange status__number_ranges[1 + 1] = |
|---|
| 368 |
{ |
|---|
| 369 |
{ 1, 0 }, |
|---|
| 370 |
{ 0, 4 } |
|---|
| 371 |
}; |
|---|
| 372 |
const ProtobufCMessageDescriptor status__descriptor = |
|---|
| 373 |
{ |
|---|
| 374 |
PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC, |
|---|
| 375 |
"Status", |
|---|
| 376 |
"Status", |
|---|
| 377 |
"Status", |
|---|
| 378 |
"", |
|---|
| 379 |
sizeof(Status), |
|---|
| 380 |
4, |
|---|
| 381 |
status__field_descriptors, |
|---|
| 382 |
status__field_indices_by_name, |
|---|
| 383 |
1, status__number_ranges, |
|---|
| 384 |
(ProtobufCMessageInit) status__init, |
|---|
| 385 |
NULL,NULL,NULL /* reserved[123] */ |
|---|
| 386 |
}; |
|---|
| 387 |
static const ProtobufCFieldDescriptor metadata__field_descriptors[2] = |
|---|
| 388 |
{ |
|---|
| 389 |
{ |
|---|
| 390 |
"key", |
|---|
| 391 |
1, |
|---|
| 392 |
PROTOBUF_C_LABEL_REQUIRED, |
|---|
| 393 |
PROTOBUF_C_TYPE_STRING, |
|---|
| 394 |
0, /* quantifier_offset */ |
|---|
| 395 |
PROTOBUF_C_OFFSETOF(Metadata, key), |
|---|
| 396 |
NULL, |
|---|
| 397 |
NULL, |
|---|
| 398 |
0, /* packed */ |
|---|
| 399 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 400 |
}, |
|---|
| 401 |
{ |
|---|
| 402 |
"value", |
|---|
| 403 |
2, |
|---|
| 404 |
PROTOBUF_C_LABEL_REQUIRED, |
|---|
| 405 |
PROTOBUF_C_TYPE_STRING, |
|---|
| 406 |
0, /* quantifier_offset */ |
|---|
| 407 |
PROTOBUF_C_OFFSETOF(Metadata, value), |
|---|
| 408 |
NULL, |
|---|
| 409 |
NULL, |
|---|
| 410 |
0, /* packed */ |
|---|
| 411 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 412 |
}, |
|---|
| 413 |
}; |
|---|
| 414 |
static const unsigned metadata__field_indices_by_name[] = { |
|---|
| 415 |
0, /* field[0] = key */ |
|---|
| 416 |
1, /* field[1] = value */ |
|---|
| 417 |
}; |
|---|
| 418 |
static const ProtobufCIntRange metadata__number_ranges[1 + 1] = |
|---|
| 419 |
{ |
|---|
| 420 |
{ 1, 0 }, |
|---|
| 421 |
{ 0, 2 } |
|---|
| 422 |
}; |
|---|
| 423 |
const ProtobufCMessageDescriptor metadata__descriptor = |
|---|
| 424 |
{ |
|---|
| 425 |
PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC, |
|---|
| 426 |
"Metadata", |
|---|
| 427 |
"Metadata", |
|---|
| 428 |
"Metadata", |
|---|
| 429 |
"", |
|---|
| 430 |
sizeof(Metadata), |
|---|
| 431 |
2, |
|---|
| 432 |
metadata__field_descriptors, |
|---|
| 433 |
metadata__field_indices_by_name, |
|---|
| 434 |
1, metadata__number_ranges, |
|---|
| 435 |
(ProtobufCMessageInit) metadata__init, |
|---|
| 436 |
NULL,NULL,NULL /* reserved[123] */ |
|---|
| 437 |
}; |
|---|
| 438 |
static const ProtobufCFieldDescriptor bundle__field_descriptors[3] = |
|---|
| 439 |
{ |
|---|
| 440 |
{ |
|---|
| 441 |
"status", |
|---|
| 442 |
1, |
|---|
| 443 |
PROTOBUF_C_LABEL_OPTIONAL, |
|---|
| 444 |
PROTOBUF_C_TYPE_MESSAGE, |
|---|
| 445 |
0, /* quantifier_offset */ |
|---|
| 446 |
PROTOBUF_C_OFFSETOF(Bundle, status), |
|---|
| 447 |
&status__descriptor, |
|---|
| 448 |
NULL, |
|---|
| 449 |
0, /* packed */ |
|---|
| 450 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 451 |
}, |
|---|
| 452 |
{ |
|---|
| 453 |
"metrics", |
|---|
| 454 |
2, |
|---|
| 455 |
PROTOBUF_C_LABEL_REPEATED, |
|---|
| 456 |
PROTOBUF_C_TYPE_MESSAGE, |
|---|
| 457 |
PROTOBUF_C_OFFSETOF(Bundle, n_metrics), |
|---|
| 458 |
PROTOBUF_C_OFFSETOF(Bundle, metrics), |
|---|
| 459 |
&metric__descriptor, |
|---|
| 460 |
NULL, |
|---|
| 461 |
0, /* packed */ |
|---|
| 462 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 463 |
}, |
|---|
| 464 |
{ |
|---|
| 465 |
"metadata", |
|---|
| 466 |
3, |
|---|
| 467 |
PROTOBUF_C_LABEL_REPEATED, |
|---|
| 468 |
PROTOBUF_C_TYPE_MESSAGE, |
|---|
| 469 |
PROTOBUF_C_OFFSETOF(Bundle, n_metadata), |
|---|
| 470 |
PROTOBUF_C_OFFSETOF(Bundle, metadata), |
|---|
| 471 |
&metadata__descriptor, |
|---|
| 472 |
NULL, |
|---|
| 473 |
0, /* packed */ |
|---|
| 474 |
0,NULL,NULL /* reserved1,reserved2, etc */ |
|---|
| 475 |
}, |
|---|
| 476 |
}; |
|---|
| 477 |
static const unsigned bundle__field_indices_by_name[] = { |
|---|
| 478 |
2, /* field[2] = metadata */ |
|---|
| 479 |
1, /* field[1] = metrics */ |
|---|
| 480 |
0, /* field[0] = status */ |
|---|
| 481 |
}; |
|---|
| 482 |
static const ProtobufCIntRange bundle__number_ranges[1 + 1] = |
|---|
| 483 |
{ |
|---|
| 484 |
{ 1, 0 }, |
|---|
| 485 |
{ 0, 3 } |
|---|
| 486 |
}; |
|---|
| 487 |
const ProtobufCMessageDescriptor bundle__descriptor = |
|---|
| 488 |
{ |
|---|
| 489 |
PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC, |
|---|
| 490 |
"Bundle", |
|---|
| 491 |
"Bundle", |
|---|
| 492 |
"Bundle", |
|---|
| 493 |
"", |
|---|
| 494 |
sizeof(Bundle), |
|---|
| 495 |
3, |
|---|
| 496 |
bundle__field_descriptors, |
|---|
| 497 |
bundle__field_indices_by_name, |
|---|
| 498 |
1, bundle__number_ranges, |
|---|
| 499 |
(ProtobufCMessageInit) bundle__init, |
|---|
| 500 |
NULL,NULL,NULL /* reserved[123] */ |
|---|
| 501 |
}; |
|---|