yats-connectors.git

ref: 8c8cbb6db9433615f303e7f901ed3b14b82fe159

yats-connector-c/yats-grpc.pb-c.c


  1
  2
  3
  4
  5
  6
  7
  8
  9
 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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
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
320
321
322
323
324
325
326
327
328
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
365
366
367
368
369
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
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
505
506
507
508
509
510
511
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
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
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
/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: yats-grpc.proto */

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

#include "yats-grpc.pb-c.h"
void   yats__metric__init
                     (Yats__Metric         *message)
{
  static const Yats__Metric init_value = YATS__METRIC__INIT;
  *message = init_value;
}
size_t yats__metric__get_packed_size
                     (const Yats__Metric *message)
{
  assert(message->base.descriptor == &yats__metric__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t yats__metric__pack
                     (const Yats__Metric *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &yats__metric__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t yats__metric__pack_to_buffer
                     (const Yats__Metric *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &yats__metric__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Yats__Metric *
       yats__metric__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Yats__Metric *)
     protobuf_c_message_unpack (&yats__metric__descriptor,
                                allocator, len, data);
}
void   yats__metric__free_unpacked
                     (Yats__Metric *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &yats__metric__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   yats__event__init
                     (Yats__Event         *message)
{
  static const Yats__Event init_value = YATS__EVENT__INIT;
  *message = init_value;
}
size_t yats__event__get_packed_size
                     (const Yats__Event *message)
{
  assert(message->base.descriptor == &yats__event__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t yats__event__pack
                     (const Yats__Event *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &yats__event__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t yats__event__pack_to_buffer
                     (const Yats__Event *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &yats__event__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Yats__Event *
       yats__event__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Yats__Event *)
     protobuf_c_message_unpack (&yats__event__descriptor,
                                allocator, len, data);
}
void   yats__event__free_unpacked
                     (Yats__Event *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &yats__event__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   yats__create_metric_request__init
                     (Yats__CreateMetricRequest         *message)
{
  static const Yats__CreateMetricRequest init_value = YATS__CREATE_METRIC_REQUEST__INIT;
  *message = init_value;
}
size_t yats__create_metric_request__get_packed_size
                     (const Yats__CreateMetricRequest *message)
{
  assert(message->base.descriptor == &yats__create_metric_request__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t yats__create_metric_request__pack
                     (const Yats__CreateMetricRequest *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &yats__create_metric_request__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t yats__create_metric_request__pack_to_buffer
                     (const Yats__CreateMetricRequest *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &yats__create_metric_request__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Yats__CreateMetricRequest *
       yats__create_metric_request__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Yats__CreateMetricRequest *)
     protobuf_c_message_unpack (&yats__create_metric_request__descriptor,
                                allocator, len, data);
}
void   yats__create_metric_request__free_unpacked
                     (Yats__CreateMetricRequest *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &yats__create_metric_request__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   yats__create_metric_response__init
                     (Yats__CreateMetricResponse         *message)
{
  static const Yats__CreateMetricResponse init_value = YATS__CREATE_METRIC_RESPONSE__INIT;
  *message = init_value;
}
size_t yats__create_metric_response__get_packed_size
                     (const Yats__CreateMetricResponse *message)
{
  assert(message->base.descriptor == &yats__create_metric_response__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t yats__create_metric_response__pack
                     (const Yats__CreateMetricResponse *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &yats__create_metric_response__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t yats__create_metric_response__pack_to_buffer
                     (const Yats__CreateMetricResponse *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &yats__create_metric_response__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Yats__CreateMetricResponse *
       yats__create_metric_response__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Yats__CreateMetricResponse *)
     protobuf_c_message_unpack (&yats__create_metric_response__descriptor,
                                allocator, len, data);
}
void   yats__create_metric_response__free_unpacked
                     (Yats__CreateMetricResponse *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &yats__create_metric_response__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   yats__create_event_request__init
                     (Yats__CreateEventRequest         *message)
{
  static const Yats__CreateEventRequest init_value = YATS__CREATE_EVENT_REQUEST__INIT;
  *message = init_value;
}
size_t yats__create_event_request__get_packed_size
                     (const Yats__CreateEventRequest *message)
{
  assert(message->base.descriptor == &yats__create_event_request__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t yats__create_event_request__pack
                     (const Yats__CreateEventRequest *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &yats__create_event_request__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t yats__create_event_request__pack_to_buffer
                     (const Yats__CreateEventRequest *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &yats__create_event_request__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Yats__CreateEventRequest *
       yats__create_event_request__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Yats__CreateEventRequest *)
     protobuf_c_message_unpack (&yats__create_event_request__descriptor,
                                allocator, len, data);
}
void   yats__create_event_request__free_unpacked
                     (Yats__CreateEventRequest *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &yats__create_event_request__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   yats__create_event_response__init
                     (Yats__CreateEventResponse         *message)
{
  static const Yats__CreateEventResponse init_value = YATS__CREATE_EVENT_RESPONSE__INIT;
  *message = init_value;
}
size_t yats__create_event_response__get_packed_size
                     (const Yats__CreateEventResponse *message)
{
  assert(message->base.descriptor == &yats__create_event_response__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t yats__create_event_response__pack
                     (const Yats__CreateEventResponse *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &yats__create_event_response__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t yats__create_event_response__pack_to_buffer
                     (const Yats__CreateEventResponse *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &yats__create_event_response__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
Yats__CreateEventResponse *
       yats__create_event_response__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (Yats__CreateEventResponse *)
     protobuf_c_message_unpack (&yats__create_event_response__descriptor,
                                allocator, len, data);
}
void   yats__create_event_response__free_unpacked
                     (Yats__CreateEventResponse *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &yats__create_event_response__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor yats__metric__field_descriptors[4] =
{
  {
    "id_client",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Yats__Metric, id_client),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "mtime",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT64,
    0,   /* quantifier_offset */
    offsetof(Yats__Metric, mtime),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "name",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Yats__Metric, name),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "value",
    4,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Yats__Metric, value),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned yats__metric__field_indices_by_name[] = {
  0,   /* field[0] = id_client */
  1,   /* field[1] = mtime */
  2,   /* field[2] = name */
  3,   /* field[3] = value */
};
static const ProtobufCIntRange yats__metric__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 4 }
};
const ProtobufCMessageDescriptor yats__metric__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "yats.Metric",
  "Metric",
  "Yats__Metric",
  "yats",
  sizeof(Yats__Metric),
  4,
  yats__metric__field_descriptors,
  yats__metric__field_indices_by_name,
  1,  yats__metric__number_ranges,
  (ProtobufCMessageInit) yats__metric__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor yats__event__field_descriptors[3] =
{
  {
    "id_client",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Yats__Event, id_client),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "etime",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT64,
    0,   /* quantifier_offset */
    offsetof(Yats__Event, etime),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "name",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(Yats__Event, name),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned yats__event__field_indices_by_name[] = {
  1,   /* field[1] = etime */
  0,   /* field[0] = id_client */
  2,   /* field[2] = name */
};
static const ProtobufCIntRange yats__event__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor yats__event__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "yats.Event",
  "Event",
  "Yats__Event",
  "yats",
  sizeof(Yats__Event),
  3,
  yats__event__field_descriptors,
  yats__event__field_indices_by_name,
  1,  yats__event__number_ranges,
  (ProtobufCMessageInit) yats__event__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor yats__create_metric_request__field_descriptors[1] =
{
  {
    "metric",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Yats__CreateMetricRequest, metric),
    &yats__metric__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned yats__create_metric_request__field_indices_by_name[] = {
  0,   /* field[0] = metric */
};
static const ProtobufCIntRange yats__create_metric_request__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor yats__create_metric_request__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "yats.CreateMetricRequest",
  "CreateMetricRequest",
  "Yats__CreateMetricRequest",
  "yats",
  sizeof(Yats__CreateMetricRequest),
  1,
  yats__create_metric_request__field_descriptors,
  yats__create_metric_request__field_indices_by_name,
  1,  yats__create_metric_request__number_ranges,
  (ProtobufCMessageInit) yats__create_metric_request__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor yats__create_metric_response__field_descriptors[1] =
{
  {
    "metric",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Yats__CreateMetricResponse, metric),
    &yats__metric__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned yats__create_metric_response__field_indices_by_name[] = {
  0,   /* field[0] = metric */
};
static const ProtobufCIntRange yats__create_metric_response__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor yats__create_metric_response__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "yats.CreateMetricResponse",
  "CreateMetricResponse",
  "Yats__CreateMetricResponse",
  "yats",
  sizeof(Yats__CreateMetricResponse),
  1,
  yats__create_metric_response__field_descriptors,
  yats__create_metric_response__field_indices_by_name,
  1,  yats__create_metric_response__number_ranges,
  (ProtobufCMessageInit) yats__create_metric_response__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor yats__create_event_request__field_descriptors[1] =
{
  {
    "event",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Yats__CreateEventRequest, event),
    &yats__event__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned yats__create_event_request__field_indices_by_name[] = {
  0,   /* field[0] = event */
};
static const ProtobufCIntRange yats__create_event_request__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor yats__create_event_request__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "yats.CreateEventRequest",
  "CreateEventRequest",
  "Yats__CreateEventRequest",
  "yats",
  sizeof(Yats__CreateEventRequest),
  1,
  yats__create_event_request__field_descriptors,
  yats__create_event_request__field_indices_by_name,
  1,  yats__create_event_request__number_ranges,
  (ProtobufCMessageInit) yats__create_event_request__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor yats__create_event_response__field_descriptors[1] =
{
  {
    "event",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    0,   /* quantifier_offset */
    offsetof(Yats__CreateEventResponse, event),
    &yats__event__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned yats__create_event_response__field_indices_by_name[] = {
  0,   /* field[0] = event */
};
static const ProtobufCIntRange yats__create_event_response__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor yats__create_event_response__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "yats.CreateEventResponse",
  "CreateEventResponse",
  "Yats__CreateEventResponse",
  "yats",
  sizeof(Yats__CreateEventResponse),
  1,
  yats__create_event_response__field_descriptors,
  yats__create_event_response__field_indices_by_name,
  1,  yats__create_event_response__number_ranges,
  (ProtobufCMessageInit) yats__create_event_response__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCMethodDescriptor yats__yats_grpc_service__method_descriptors[2] =
{
  { "CreateMetric", &yats__create_metric_request__descriptor, &yats__create_metric_response__descriptor },
  { "CreateEvent", &yats__create_event_request__descriptor, &yats__create_event_response__descriptor },
};
const unsigned yats__yats_grpc_service__method_indices_by_name[] = {
  1,        /* CreateEvent */
  0         /* CreateMetric */
};
const ProtobufCServiceDescriptor yats__yats_grpc_service__descriptor =
{
  PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
  "yats.YatsGrpcService",
  "YatsGrpcService",
  "Yats__YatsGrpcService",
  "yats",
  2,
  yats__yats_grpc_service__method_descriptors,
  yats__yats_grpc_service__method_indices_by_name
};
void yats__yats_grpc_service__create_metric(ProtobufCService *service,
                                            const Yats__CreateMetricRequest *input,
                                            Yats__CreateMetricResponse_Closure closure,
                                            void *closure_data)
{
  assert(service->descriptor == &yats__yats_grpc_service__descriptor);
  service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void yats__yats_grpc_service__create_event(ProtobufCService *service,
                                           const Yats__CreateEventRequest *input,
                                           Yats__CreateEventResponse_Closure closure,
                                           void *closure_data)
{
  assert(service->descriptor == &yats__yats_grpc_service__descriptor);
  service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
}
void yats__yats_grpc_service__init (Yats__YatsGrpcService_Service *service,
                                    Yats__YatsGrpcService_ServiceDestroy destroy)
{
  protobuf_c_service_generated_init (&service->base,
                                     &yats__yats_grpc_service__descriptor,
                                     (ProtobufCServiceDestroy) destroy);
}