dislserver.pb-c.c 37.4 KB
Newer Older
1 2 3 4 5 6 7 8 9
/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: dislserver.proto */

/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif

#include "dislserver.pb-c.h"
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
void   error__init
                     (Error         *message)
{
  static const Error init_value = ERROR__INIT;
  *message = init_value;
}
size_t error__get_packed_size
                     (const Error *message)
{
  assert(message->base.descriptor == &error__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t error__pack
                     (const Error *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &error__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t error__pack_to_buffer
                     (const Error *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &error__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Error *
       error__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Error *)
     protobuf_c_message_unpack (&error__descriptor,
                                allocator, len, data);
}
void   error__free_unpacked
                     (Error *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &error__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   session_init_request__init
                     (SessionInitRequest         *message)
{
  static const SessionInitRequest init_value = SESSION_INIT_REQUEST__INIT;
  *message = init_value;
}
size_t session_init_request__get_packed_size
                     (const SessionInitRequest *message)
{
  assert(message->base.descriptor == &session_init_request__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t session_init_request__pack
                     (const SessionInitRequest *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &session_init_request__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t session_init_request__pack_to_buffer
                     (const SessionInitRequest *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &session_init_request__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
SessionInitRequest *
       session_init_request__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (SessionInitRequest *)
     protobuf_c_message_unpack (&session_init_request__descriptor,
                                allocator, len, data);
}
void   session_init_request__free_unpacked
                     (SessionInitRequest *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &session_init_request__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   session_init_response__init
                     (SessionInitResponse         *message)
{
  static const SessionInitResponse init_value = SESSION_INIT_RESPONSE__INIT;
  *message = init_value;
}
size_t session_init_response__get_packed_size
                     (const SessionInitResponse *message)
{
  assert(message->base.descriptor == &session_init_response__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t session_init_response__pack
                     (const SessionInitResponse *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &session_init_response__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t session_init_response__pack_to_buffer
                     (const SessionInitResponse *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &session_init_response__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
SessionInitResponse *
       session_init_response__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (SessionInitResponse *)
     protobuf_c_message_unpack (&session_init_response__descriptor,
                                allocator, len, data);
}
void   session_init_response__free_unpacked
                     (SessionInitResponse *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &session_init_response__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   instrumentation_delivery__init
                     (InstrumentationDelivery         *message)
{
  static const InstrumentationDelivery init_value = INSTRUMENTATION_DELIVERY__INIT;
  *message = init_value;
}
size_t instrumentation_delivery__get_packed_size
                     (const InstrumentationDelivery *message)
{
  assert(message->base.descriptor == &instrumentation_delivery__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t instrumentation_delivery__pack
                     (const InstrumentationDelivery *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &instrumentation_delivery__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t instrumentation_delivery__pack_to_buffer
                     (const InstrumentationDelivery *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &instrumentation_delivery__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
InstrumentationDelivery *
       instrumentation_delivery__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (InstrumentationDelivery *)
     protobuf_c_message_unpack (&instrumentation_delivery__descriptor,
                                allocator, len, data);
}
void   instrumentation_delivery__free_unpacked
                     (InstrumentationDelivery *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &instrumentation_delivery__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   instrumentation_accept_confirmation__init
                     (InstrumentationAcceptConfirmation         *message)
{
  static const InstrumentationAcceptConfirmation init_value = INSTRUMENTATION_ACCEPT_CONFIRMATION__INIT;
  *message = init_value;
}
size_t instrumentation_accept_confirmation__get_packed_size
                     (const InstrumentationAcceptConfirmation *message)
{
  assert(message->base.descriptor == &instrumentation_accept_confirmation__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t instrumentation_accept_confirmation__pack
                     (const InstrumentationAcceptConfirmation *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &instrumentation_accept_confirmation__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t instrumentation_accept_confirmation__pack_to_buffer
                     (const InstrumentationAcceptConfirmation *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &instrumentation_accept_confirmation__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
InstrumentationAcceptConfirmation *
       instrumentation_accept_confirmation__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (InstrumentationAcceptConfirmation *)
     protobuf_c_message_unpack (&instrumentation_accept_confirmation__descriptor,
                                allocator, len, data);
}
void   instrumentation_accept_confirmation__free_unpacked
                     (InstrumentationAcceptConfirmation *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &instrumentation_accept_confirmation__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
Lubomir Bulej's avatar
Lubomir Bulej committed
235 236
void   class_info__init
                     (ClassInfo         *message)
237
{
Lubomir Bulej's avatar
Lubomir Bulej committed
238
  static const ClassInfo init_value = CLASS_INFO__INIT;
239 240
  *message = init_value;
}
Lubomir Bulej's avatar
Lubomir Bulej committed
241 242
size_t class_info__get_packed_size
                     (const ClassInfo *message)
243
{
Lubomir Bulej's avatar
Lubomir Bulej committed
244
  assert(message->base.descriptor == &class_info__descriptor);
245 246
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
Lubomir Bulej's avatar
Lubomir Bulej committed
247 248
size_t class_info__pack
                     (const ClassInfo *message,
249 250
                      uint8_t       *out)
{
Lubomir Bulej's avatar
Lubomir Bulej committed
251
  assert(message->base.descriptor == &class_info__descriptor);
252 253
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
Lubomir Bulej's avatar
Lubomir Bulej committed
254 255
size_t class_info__pack_to_buffer
                     (const ClassInfo *message,
256 257
                      ProtobufCBuffer *buffer)
{
Lubomir Bulej's avatar
Lubomir Bulej committed
258
  assert(message->base.descriptor == &class_info__descriptor);
259 260
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Lubomir Bulej's avatar
Lubomir Bulej committed
261 262
ClassInfo *
       class_info__unpack
263 264 265 266
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
Lubomir Bulej's avatar
Lubomir Bulej committed
267 268
  return (ClassInfo *)
     protobuf_c_message_unpack (&class_info__descriptor,
269 270
                                allocator, len, data);
}
Lubomir Bulej's avatar
Lubomir Bulej committed
271 272
void   class_info__free_unpacked
                     (ClassInfo *message,
273 274 275 276
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
Lubomir Bulej's avatar
Lubomir Bulej committed
277
  assert(message->base.descriptor == &class_info__descriptor);
278 279
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
280 281 282
void   instrument_class_request__init
                     (InstrumentClassRequest         *message)
{
283
  static const InstrumentClassRequest init_value = INSTRUMENT_CLASS_REQUEST__INIT;
284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
  *message = init_value;
}
size_t instrument_class_request__get_packed_size
                     (const InstrumentClassRequest *message)
{
  assert(message->base.descriptor == &instrument_class_request__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t instrument_class_request__pack
                     (const InstrumentClassRequest *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &instrument_class_request__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t instrument_class_request__pack_to_buffer
                     (const InstrumentClassRequest *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &instrument_class_request__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
InstrumentClassRequest *
       instrument_class_request__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (InstrumentClassRequest *)
     protobuf_c_message_unpack (&instrument_class_request__descriptor,
                                allocator, len, data);
}
void   instrument_class_request__free_unpacked
                     (InstrumentClassRequest *message,
                      ProtobufCAllocator *allocator)
{
320 321
  if(!message)
    return;
322 323 324 325 326 327
  assert(message->base.descriptor == &instrument_class_request__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   instrument_class_response__init
                     (InstrumentClassResponse         *message)
{
328
  static const InstrumentClassResponse init_value = INSTRUMENT_CLASS_RESPONSE__INIT;
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
  *message = init_value;
}
size_t instrument_class_response__get_packed_size
                     (const InstrumentClassResponse *message)
{
  assert(message->base.descriptor == &instrument_class_response__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t instrument_class_response__pack
                     (const InstrumentClassResponse *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &instrument_class_response__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t instrument_class_response__pack_to_buffer
                     (const InstrumentClassResponse *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &instrument_class_response__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
InstrumentClassResponse *
       instrument_class_response__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (InstrumentClassResponse *)
     protobuf_c_message_unpack (&instrument_class_response__descriptor,
                                allocator, len, data);
}
void   instrument_class_response__free_unpacked
                     (InstrumentClassResponse *message,
                      ProtobufCAllocator *allocator)
{
365 366
  if(!message)
    return;
367 368 369
  assert(message->base.descriptor == &instrument_class_response__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
Vít Kabele's avatar
Vít Kabele committed
370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
void   close_connection__init
                     (CloseConnection         *message)
{
  static const CloseConnection init_value = CLOSE_CONNECTION__INIT;
  *message = init_value;
}
size_t close_connection__get_packed_size
                     (const CloseConnection *message)
{
  assert(message->base.descriptor == &close_connection__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t close_connection__pack
                     (const CloseConnection *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &close_connection__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t close_connection__pack_to_buffer
                     (const CloseConnection *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &close_connection__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
CloseConnection *
       close_connection__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (CloseConnection *)
     protobuf_c_message_unpack (&close_connection__descriptor,
                                allocator, len, data);
}
void   close_connection__free_unpacked
                     (CloseConnection *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &close_connection__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504
void   client_message__init
                     (ClientMessage         *message)
{
  static const ClientMessage init_value = CLIENT_MESSAGE__INIT;
  *message = init_value;
}
size_t client_message__get_packed_size
                     (const ClientMessage *message)
{
  assert(message->base.descriptor == &client_message__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t client_message__pack
                     (const ClientMessage *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &client_message__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t client_message__pack_to_buffer
                     (const ClientMessage *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &client_message__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
ClientMessage *
       client_message__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (ClientMessage *)
     protobuf_c_message_unpack (&client_message__descriptor,
                                allocator, len, data);
}
void   client_message__free_unpacked
                     (ClientMessage *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &client_message__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   server_message__init
                     (ServerMessage         *message)
{
  static const ServerMessage init_value = SERVER_MESSAGE__INIT;
  *message = init_value;
}
size_t server_message__get_packed_size
                     (const ServerMessage *message)
{
  assert(message->base.descriptor == &server_message__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t server_message__pack
                     (const ServerMessage *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &server_message__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t server_message__pack_to_buffer
                     (const ServerMessage *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &server_message__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
ServerMessage *
       server_message__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (ServerMessage *)
     protobuf_c_message_unpack (&server_message__descriptor,
                                allocator, len, data);
}
void   server_message__free_unpacked
                     (ServerMessage *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &server_message__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
505
static const ProtobufCFieldDescriptor error__field_descriptors[2] =
506 507
{
  {
508
    "code",
509
    1,
510
    PROTOBUF_C_LABEL_NONE,
511
    PROTOBUF_C_TYPE_INT32,
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555
    0,   /* quantifier_offset */
    offsetof(Error, code),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "message",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Error, message),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned error__field_indices_by_name[] = {
  0,   /* field[0] = code */
  1,   /* field[1] = message */
};
static const ProtobufCIntRange error__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor error__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "Error",
  "Error",
  "Error",
  "",
  sizeof(Error),
  2,
  error__field_descriptors,
  error__field_indices_by_name,
  1,  error__number_ranges,
  (ProtobufCMessageInit) error__init,
  NULL,NULL,NULL    /* reserved[123] */
};
556 557 558
#define session_init_request__field_descriptors NULL
#define session_init_request__field_indices_by_name NULL
#define session_init_request__number_ranges NULL
559 560 561 562 563 564 565 566
const ProtobufCMessageDescriptor session_init_request__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "SessionInitRequest",
  "SessionInitRequest",
  "SessionInitRequest",
  "",
  sizeof(SessionInitRequest),
567
  0,
568 569
  session_init_request__field_descriptors,
  session_init_request__field_indices_by_name,
570
  0,  session_init_request__number_ranges,
571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637
  (ProtobufCMessageInit) session_init_request__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor session_init_response__field_descriptors[3] =
{
  {
    "accepted",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BOOL,
    0,   /* quantifier_offset */
    offsetof(SessionInitResponse, accepted),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "session_id",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT32,
    0,   /* quantifier_offset */
    offsetof(SessionInitResponse, session_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "errors",
    3,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(SessionInitResponse, n_errors),
    offsetof(SessionInitResponse, errors),
    &error__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned session_init_response__field_indices_by_name[] = {
  0,   /* field[0] = accepted */
  2,   /* field[2] = errors */
  1,   /* field[1] = session_id */
};
static const ProtobufCIntRange session_init_response__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor session_init_response__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "SessionInitResponse",
  "SessionInitResponse",
  "SessionInitResponse",
  "",
  sizeof(SessionInitResponse),
  3,
  session_init_response__field_descriptors,
  session_init_response__field_indices_by_name,
  1,  session_init_response__number_ranges,
  (ProtobufCMessageInit) session_init_response__init,
  NULL,NULL,NULL    /* reserved[123] */
};
638
static const ProtobufCFieldDescriptor instrumentation_delivery__field_descriptors[2] =
639
{
640 641 642 643 644 645 646 647 648 649 650 651
  {
    "sizes",
    1,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_INT32,
    offsetof(InstrumentationDelivery, n_sizes),
    offsetof(InstrumentationDelivery, sizes),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
652 653 654
  {
    "instrumentation",
    2,
655
    PROTOBUF_C_LABEL_NONE,
656
    PROTOBUF_C_TYPE_BYTES,
657
    0,   /* quantifier_offset */
658 659 660 661 662 663 664 665
    offsetof(InstrumentationDelivery, instrumentation),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned instrumentation_delivery__field_indices_by_name[] = {
666 667
  1,   /* field[1] = instrumentation */
  0,   /* field[0] = sizes */
668 669 670
};
static const ProtobufCIntRange instrumentation_delivery__number_ranges[1 + 1] =
{
671 672
  { 1, 0 },
  { 0, 2 }
673 674 675 676 677 678 679 680 681
};
const ProtobufCMessageDescriptor instrumentation_delivery__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "InstrumentationDelivery",
  "InstrumentationDelivery",
  "InstrumentationDelivery",
  "",
  sizeof(InstrumentationDelivery),
682
  2,
683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739
  instrumentation_delivery__field_descriptors,
  instrumentation_delivery__field_indices_by_name,
  1,  instrumentation_delivery__number_ranges,
  (ProtobufCMessageInit) instrumentation_delivery__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor instrumentation_accept_confirmation__field_descriptors[2] =
{
  {
    "instrumentation_accepted",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BOOL,
    0,   /* quantifier_offset */
    offsetof(InstrumentationAcceptConfirmation, instrumentation_accepted),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "errors",
    2,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(InstrumentationAcceptConfirmation, n_errors),
    offsetof(InstrumentationAcceptConfirmation, errors),
    &error__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned instrumentation_accept_confirmation__field_indices_by_name[] = {
  1,   /* field[1] = errors */
  0,   /* field[0] = instrumentation_accepted */
};
static const ProtobufCIntRange instrumentation_accept_confirmation__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor instrumentation_accept_confirmation__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "InstrumentationAcceptConfirmation",
  "InstrumentationAcceptConfirmation",
  "InstrumentationAcceptConfirmation",
  "",
  sizeof(InstrumentationAcceptConfirmation),
  2,
  instrumentation_accept_confirmation__field_descriptors,
  instrumentation_accept_confirmation__field_indices_by_name,
  1,  instrumentation_accept_confirmation__number_ranges,
  (ProtobufCMessageInit) instrumentation_accept_confirmation__init,
  NULL,NULL,NULL    /* reserved[123] */
};
Lubomir Bulej's avatar
Lubomir Bulej committed
740
static const ProtobufCFieldDescriptor class_info__field_descriptors[2] =
741 742
{
  {
Lubomir Bulej's avatar
Lubomir Bulej committed
743
    "className",
744 745 746 747
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
Lubomir Bulej's avatar
Lubomir Bulej committed
748
    offsetof(ClassInfo, classname),
749 750 751 752 753 754 755 756 757 758 759
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "classLoaderTag",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT64,
    0,   /* quantifier_offset */
Lubomir Bulej's avatar
Lubomir Bulej committed
760
    offsetof(ClassInfo, classloadertag),
761 762 763 764 765 766
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
Lubomir Bulej's avatar
Lubomir Bulej committed
767
static const unsigned class_info__field_indices_by_name[] = {
768
  1,   /* field[1] = classLoaderTag */
Lubomir Bulej's avatar
Lubomir Bulej committed
769
  0,   /* field[0] = className */
770
};
Lubomir Bulej's avatar
Lubomir Bulej committed
771
static const ProtobufCIntRange class_info__number_ranges[1 + 1] =
772 773 774 775
{
  { 1, 0 },
  { 0, 2 }
};
Lubomir Bulej's avatar
Lubomir Bulej committed
776
const ProtobufCMessageDescriptor class_info__descriptor =
777 778
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
Lubomir Bulej's avatar
Lubomir Bulej committed
779 780 781
  "ClassInfo",
  "ClassInfo",
  "ClassInfo",
782
  "",
Lubomir Bulej's avatar
Lubomir Bulej committed
783
  sizeof(ClassInfo),
784
  2,
Lubomir Bulej's avatar
Lubomir Bulej committed
785 786 787 788
  class_info__field_descriptors,
  class_info__field_indices_by_name,
  1,  class_info__number_ranges,
  (ProtobufCMessageInit) class_info__init,
789 790
  NULL,NULL,NULL    /* reserved[123] */
};
Lubomir Bulej's avatar
Lubomir Bulej committed
791
static const ProtobufCFieldDescriptor instrument_class_request__field_descriptors[4] =
792 793 794 795 796 797 798
{
  {
    "flags",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT32,
    0,   /* quantifier_offset */
799 800 801 802 803 804 805 806
    offsetof(InstrumentClassRequest, flags),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "classBytes",
807 808
    4,
    PROTOBUF_C_LABEL_NONE,
809
    PROTOBUF_C_TYPE_BYTES,
810
    0,   /* quantifier_offset */
811 812 813 814 815 816
    offsetof(InstrumentClassRequest, classbytes),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
817
  {
Lubomir Bulej's avatar
Lubomir Bulej committed
818
    "classInfo",
819 820 821 822
    5,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
Lubomir Bulej's avatar
Lubomir Bulej committed
823 824
    offsetof(InstrumentClassRequest, classinfo),
    &class_info__descriptor,
825 826 827 828 829 830 831 832 833 834 835
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "superTypes",
    6,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(InstrumentClassRequest, n_supertypes),
    offsetof(InstrumentClassRequest, supertypes),
Lubomir Bulej's avatar
Lubomir Bulej committed
836
    &class_info__descriptor,
837 838 839 840
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
841 842
};
static const unsigned instrument_class_request__field_indices_by_name[] = {
Lubomir Bulej's avatar
Lubomir Bulej committed
843 844
  1,   /* field[1] = classBytes */
  2,   /* field[2] = classInfo */
845
  0,   /* field[0] = flags */
Lubomir Bulej's avatar
Lubomir Bulej committed
846
  3,   /* field[3] = superTypes */
847
};
Lubomir Bulej's avatar
Lubomir Bulej committed
848
static const ProtobufCIntRange instrument_class_request__number_ranges[2 + 1] =
849
{
850
  { 2, 0 },
Lubomir Bulej's avatar
Lubomir Bulej committed
851 852
  { 4, 1 },
  { 0, 4 }
853 854 855 856 857 858 859 860 861
};
const ProtobufCMessageDescriptor instrument_class_request__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "InstrumentClassRequest",
  "InstrumentClassRequest",
  "InstrumentClassRequest",
  "",
  sizeof(InstrumentClassRequest),
Lubomir Bulej's avatar
Lubomir Bulej committed
862
  4,
863 864
  instrument_class_request__field_descriptors,
  instrument_class_request__field_indices_by_name,
Lubomir Bulej's avatar
Lubomir Bulej committed
865
  2,  instrument_class_request__number_ranges,
866 867 868
  (ProtobufCMessageInit) instrument_class_request__init,
  NULL,NULL,NULL    /* reserved[123] */
};
869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898
static const ProtobufCEnumValue instrument_class_response__instrument_class_result__enum_values_by_number[3] =
{
  { "CLASS_UNMODIFIED", "INSTRUMENT_CLASS_RESPONSE__INSTRUMENT_CLASS_RESULT__CLASS_UNMODIFIED", 0 },
  { "CLASS_MODIFIED", "INSTRUMENT_CLASS_RESPONSE__INSTRUMENT_CLASS_RESULT__CLASS_MODIFIED", 1 },
  { "ERROR", "INSTRUMENT_CLASS_RESPONSE__INSTRUMENT_CLASS_RESULT__ERROR", 3 },
};
static const ProtobufCIntRange instrument_class_response__instrument_class_result__value_ranges[] = {
{0, 0},{3, 2},{0, 3}
};
static const ProtobufCEnumValueIndex instrument_class_response__instrument_class_result__enum_values_by_name[3] =
{
  { "CLASS_MODIFIED", 1 },
  { "CLASS_UNMODIFIED", 0 },
  { "ERROR", 2 },
};
const ProtobufCEnumDescriptor instrument_class_response__instrument_class_result__descriptor =
{
  PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  "InstrumentClassResponse.InstrumentClassResult",
  "InstrumentClassResult",
  "InstrumentClassResponse__InstrumentClassResult",
  "",
  3,
  instrument_class_response__instrument_class_result__enum_values_by_number,
  3,
  instrument_class_response__instrument_class_result__enum_values_by_name,
  2,
  instrument_class_response__instrument_class_result__value_ranges,
  NULL,NULL,NULL,NULL   /* reserved[1234] */
};
899 900 901 902 903
static const ProtobufCFieldDescriptor instrument_class_response__field_descriptors[3] =
{
  {
    "result",
    1,
904
    PROTOBUF_C_LABEL_NONE,
905
    PROTOBUF_C_TYPE_ENUM,
906
    0,   /* quantifier_offset */
907
    offsetof(InstrumentClassResponse, result),
908
    &instrument_class_response__instrument_class_result__descriptor,
909 910 911 912 913 914 915
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "errorMessage",
    2,
916
    PROTOBUF_C_LABEL_NONE,
917 918 919 920
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(InstrumentClassResponse, errormessage),
    NULL,
921
    &protobuf_c_empty_string,
922 923 924 925 926 927
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "classBytes",
    3,
928
    PROTOBUF_C_LABEL_NONE,
929
    PROTOBUF_C_TYPE_BYTES,
930
    0,   /* quantifier_offset */
931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962
    offsetof(InstrumentClassResponse, classbytes),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned instrument_class_response__field_indices_by_name[] = {
  2,   /* field[2] = classBytes */
  1,   /* field[1] = errorMessage */
  0,   /* field[0] = result */
};
static const ProtobufCIntRange instrument_class_response__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor instrument_class_response__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "InstrumentClassResponse",
  "InstrumentClassResponse",
  "InstrumentClassResponse",
  "",
  sizeof(InstrumentClassResponse),
  3,
  instrument_class_response__field_descriptors,
  instrument_class_response__field_indices_by_name,
  1,  instrument_class_response__number_ranges,
  (ProtobufCMessageInit) instrument_class_response__init,
  NULL,NULL,NULL    /* reserved[123] */
};
Vít Kabele's avatar
Vít Kabele committed
963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992
static const ProtobufCEnumValue close_connection__close_reason__enum_values_by_number[1] =
{
  { "FINISHED", "CLOSE_CONNECTION__CLOSE_REASON__FINISHED", 0 },
};
static const ProtobufCIntRange close_connection__close_reason__value_ranges[] = {
{0, 0},{0, 1}
};
static const ProtobufCEnumValueIndex close_connection__close_reason__enum_values_by_name[1] =
{
  { "FINISHED", 0 },
};
const ProtobufCEnumDescriptor close_connection__close_reason__descriptor =
{
  PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  "CloseConnection.CloseReason",
  "CloseReason",
  "CloseConnection__CloseReason",
  "",
  1,
  close_connection__close_reason__enum_values_by_number,
  1,
  close_connection__close_reason__enum_values_by_name,
  1,
  close_connection__close_reason__value_ranges,
  NULL,NULL,NULL,NULL   /* reserved[1234] */
};
static const ProtobufCFieldDescriptor close_connection__field_descriptors[1] =
{
  {
    "reason",
993
    2,
Vít Kabele's avatar
Vít Kabele committed
994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_ENUM,
    0,   /* quantifier_offset */
    offsetof(CloseConnection, reason),
    &close_connection__close_reason__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned close_connection__field_indices_by_name[] = {
  0,   /* field[0] = reason */
};
static const ProtobufCIntRange close_connection__number_ranges[1 + 1] =
{
1009
  { 2, 0 },
Vít Kabele's avatar
Vít Kabele committed
1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026
  { 0, 1 }
};
const ProtobufCMessageDescriptor close_connection__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "CloseConnection",
  "CloseConnection",
  "CloseConnection",
  "",
  sizeof(CloseConnection),
  1,
  close_connection__field_descriptors,
  close_connection__field_indices_by_name,
  1,  close_connection__number_ranges,
  (ProtobufCMessageInit) close_connection__init,
  NULL,NULL,NULL    /* reserved[123] */
};
1027
static const ProtobufCFieldDescriptor client_message__field_descriptors[5] =
1028
{
1029
  {
1030
    "session_id",
1031 1032
    1,
    PROTOBUF_C_LABEL_NONE,
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044
    PROTOBUF_C_TYPE_INT32,
    0,   /* quantifier_offset */
    offsetof(ClientMessage, session_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "session_init_request",
    2,
    PROTOBUF_C_LABEL_NONE,
1045 1046 1047 1048 1049 1050 1051 1052 1053 1054
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(ClientMessage, request_case),
    offsetof(ClientMessage, session_init_request),
    &session_init_request__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "instrumentation_delivery",
1055
    3,
1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(ClientMessage, request_case),
    offsetof(ClientMessage, instrumentation_delivery),
    &instrumentation_delivery__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "instrument_class_request",
1067
    4,
1068 1069 1070 1071 1072 1073 1074 1075 1076
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(ClientMessage, request_case),
    offsetof(ClientMessage, instrument_class_request),
    &instrument_class_request__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
Vít Kabele's avatar
Vít Kabele committed
1077 1078
  {
    "close_connection",
1079
    5,
Vít Kabele's avatar
Vít Kabele committed
1080 1081 1082 1083 1084 1085 1086 1087 1088
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(ClientMessage, request_case),
    offsetof(ClientMessage, close_connection),
    &close_connection__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
1089
};
1090
static const unsigned client_message__field_indices_by_name[] = {
1091 1092 1093 1094 1095
  4,   /* field[4] = close_connection */
  3,   /* field[3] = instrument_class_request */
  2,   /* field[2] = instrumentation_delivery */
  0,   /* field[0] = session_id */
  1,   /* field[1] = session_init_request */
1096
};
1097
static const ProtobufCIntRange client_message__number_ranges[1 + 1] =
1098
{
1099
  { 1, 0 },
1100
  { 0, 5 }
1101
};
1102
const ProtobufCMessageDescriptor client_message__descriptor =
1103
{
1104 1105 1106 1107
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "ClientMessage",
  "ClientMessage",
  "ClientMessage",
1108
  "",
1109
  sizeof(ClientMessage),
1110
  5,
1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173
  client_message__field_descriptors,
  client_message__field_indices_by_name,
  1,  client_message__number_ranges,
  (ProtobufCMessageInit) client_message__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor server_message__field_descriptors[3] =
{
  {
    "session_init_response",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(ServerMessage, response_case),
    offsetof(ServerMessage, session_init_response),
    &session_init_response__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "instrumentation_accept_confirmation",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(ServerMessage, response_case),
    offsetof(ServerMessage, instrumentation_accept_confirmation),
    &instrumentation_accept_confirmation__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "instrument_class_response",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(ServerMessage, response_case),
    offsetof(ServerMessage, instrument_class_response),
    &instrument_class_response__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned server_message__field_indices_by_name[] = {
  2,   /* field[2] = instrument_class_response */
  1,   /* field[1] = instrumentation_accept_confirmation */
  0,   /* field[0] = session_init_response */
};
static const ProtobufCIntRange server_message__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor server_message__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "ServerMessage",
  "ServerMessage",
  "ServerMessage",
  "",
  sizeof(ServerMessage),
1174
  3,
1175 1176 1177 1178 1179
  server_message__field_descriptors,
  server_message__field_indices_by_name,
  1,  server_message__number_ranges,
  (ProtobufCMessageInit) server_message__init,
  NULL,NULL,NULL    /* reserved[123] */
1180
};