1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: remote.proto */
3 
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
7 #endif
8 
9 #include <prometheus_remote_write/remote.pb-c.h>
10 
prometheus__write_request__init(Prometheus__WriteRequest * message)11 void   prometheus__write_request__init
12                      (Prometheus__WriteRequest         *message)
13 {
14   static const Prometheus__WriteRequest init_value = PROMETHEUS__WRITE_REQUEST__INIT;
15   *message = init_value;
16 }
prometheus__write_request__get_packed_size(const Prometheus__WriteRequest * message)17 size_t prometheus__write_request__get_packed_size
18                      (const Prometheus__WriteRequest *message)
19 {
20   assert(message->base.descriptor == &prometheus__write_request__descriptor);
21   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
22 }
prometheus__write_request__pack(const Prometheus__WriteRequest * message,uint8_t * out)23 size_t prometheus__write_request__pack
24                      (const Prometheus__WriteRequest *message,
25                       uint8_t       *out)
26 {
27   assert(message->base.descriptor == &prometheus__write_request__descriptor);
28   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
29 }
prometheus__write_request__pack_to_buffer(const Prometheus__WriteRequest * message,ProtobufCBuffer * buffer)30 size_t prometheus__write_request__pack_to_buffer
31                      (const Prometheus__WriteRequest *message,
32                       ProtobufCBuffer *buffer)
33 {
34   assert(message->base.descriptor == &prometheus__write_request__descriptor);
35   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
36 }
37 Prometheus__WriteRequest *
prometheus__write_request__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)38        prometheus__write_request__unpack
39                      (ProtobufCAllocator  *allocator,
40                       size_t               len,
41                       const uint8_t       *data)
42 {
43   return (Prometheus__WriteRequest *)
44      protobuf_c_message_unpack (&prometheus__write_request__descriptor,
45                                 allocator, len, data);
46 }
prometheus__write_request__free_unpacked(Prometheus__WriteRequest * message,ProtobufCAllocator * allocator)47 void   prometheus__write_request__free_unpacked
48                      (Prometheus__WriteRequest *message,
49                       ProtobufCAllocator *allocator)
50 {
51   if(!message)
52     return;
53   assert(message->base.descriptor == &prometheus__write_request__descriptor);
54   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
55 }
prometheus__read_request__init(Prometheus__ReadRequest * message)56 void   prometheus__read_request__init
57                      (Prometheus__ReadRequest         *message)
58 {
59   static const Prometheus__ReadRequest init_value = PROMETHEUS__READ_REQUEST__INIT;
60   *message = init_value;
61 }
prometheus__read_request__get_packed_size(const Prometheus__ReadRequest * message)62 size_t prometheus__read_request__get_packed_size
63                      (const Prometheus__ReadRequest *message)
64 {
65   assert(message->base.descriptor == &prometheus__read_request__descriptor);
66   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
67 }
prometheus__read_request__pack(const Prometheus__ReadRequest * message,uint8_t * out)68 size_t prometheus__read_request__pack
69                      (const Prometheus__ReadRequest *message,
70                       uint8_t       *out)
71 {
72   assert(message->base.descriptor == &prometheus__read_request__descriptor);
73   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
74 }
prometheus__read_request__pack_to_buffer(const Prometheus__ReadRequest * message,ProtobufCBuffer * buffer)75 size_t prometheus__read_request__pack_to_buffer
76                      (const Prometheus__ReadRequest *message,
77                       ProtobufCBuffer *buffer)
78 {
79   assert(message->base.descriptor == &prometheus__read_request__descriptor);
80   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
81 }
82 Prometheus__ReadRequest *
prometheus__read_request__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)83        prometheus__read_request__unpack
84                      (ProtobufCAllocator  *allocator,
85                       size_t               len,
86                       const uint8_t       *data)
87 {
88   return (Prometheus__ReadRequest *)
89      protobuf_c_message_unpack (&prometheus__read_request__descriptor,
90                                 allocator, len, data);
91 }
prometheus__read_request__free_unpacked(Prometheus__ReadRequest * message,ProtobufCAllocator * allocator)92 void   prometheus__read_request__free_unpacked
93                      (Prometheus__ReadRequest *message,
94                       ProtobufCAllocator *allocator)
95 {
96   if(!message)
97     return;
98   assert(message->base.descriptor == &prometheus__read_request__descriptor);
99   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
100 }
prometheus__read_response__init(Prometheus__ReadResponse * message)101 void   prometheus__read_response__init
102                      (Prometheus__ReadResponse         *message)
103 {
104   static const Prometheus__ReadResponse init_value = PROMETHEUS__READ_RESPONSE__INIT;
105   *message = init_value;
106 }
prometheus__read_response__get_packed_size(const Prometheus__ReadResponse * message)107 size_t prometheus__read_response__get_packed_size
108                      (const Prometheus__ReadResponse *message)
109 {
110   assert(message->base.descriptor == &prometheus__read_response__descriptor);
111   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
112 }
prometheus__read_response__pack(const Prometheus__ReadResponse * message,uint8_t * out)113 size_t prometheus__read_response__pack
114                      (const Prometheus__ReadResponse *message,
115                       uint8_t       *out)
116 {
117   assert(message->base.descriptor == &prometheus__read_response__descriptor);
118   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
119 }
prometheus__read_response__pack_to_buffer(const Prometheus__ReadResponse * message,ProtobufCBuffer * buffer)120 size_t prometheus__read_response__pack_to_buffer
121                      (const Prometheus__ReadResponse *message,
122                       ProtobufCBuffer *buffer)
123 {
124   assert(message->base.descriptor == &prometheus__read_response__descriptor);
125   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
126 }
127 Prometheus__ReadResponse *
prometheus__read_response__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)128        prometheus__read_response__unpack
129                      (ProtobufCAllocator  *allocator,
130                       size_t               len,
131                       const uint8_t       *data)
132 {
133   return (Prometheus__ReadResponse *)
134      protobuf_c_message_unpack (&prometheus__read_response__descriptor,
135                                 allocator, len, data);
136 }
prometheus__read_response__free_unpacked(Prometheus__ReadResponse * message,ProtobufCAllocator * allocator)137 void   prometheus__read_response__free_unpacked
138                      (Prometheus__ReadResponse *message,
139                       ProtobufCAllocator *allocator)
140 {
141   if(!message)
142     return;
143   assert(message->base.descriptor == &prometheus__read_response__descriptor);
144   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
145 }
prometheus__query__init(Prometheus__Query * message)146 void   prometheus__query__init
147                      (Prometheus__Query         *message)
148 {
149   static const Prometheus__Query init_value = PROMETHEUS__QUERY__INIT;
150   *message = init_value;
151 }
prometheus__query__get_packed_size(const Prometheus__Query * message)152 size_t prometheus__query__get_packed_size
153                      (const Prometheus__Query *message)
154 {
155   assert(message->base.descriptor == &prometheus__query__descriptor);
156   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
157 }
prometheus__query__pack(const Prometheus__Query * message,uint8_t * out)158 size_t prometheus__query__pack
159                      (const Prometheus__Query *message,
160                       uint8_t       *out)
161 {
162   assert(message->base.descriptor == &prometheus__query__descriptor);
163   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
164 }
prometheus__query__pack_to_buffer(const Prometheus__Query * message,ProtobufCBuffer * buffer)165 size_t prometheus__query__pack_to_buffer
166                      (const Prometheus__Query *message,
167                       ProtobufCBuffer *buffer)
168 {
169   assert(message->base.descriptor == &prometheus__query__descriptor);
170   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
171 }
172 Prometheus__Query *
prometheus__query__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)173        prometheus__query__unpack
174                      (ProtobufCAllocator  *allocator,
175                       size_t               len,
176                       const uint8_t       *data)
177 {
178   return (Prometheus__Query *)
179      protobuf_c_message_unpack (&prometheus__query__descriptor,
180                                 allocator, len, data);
181 }
prometheus__query__free_unpacked(Prometheus__Query * message,ProtobufCAllocator * allocator)182 void   prometheus__query__free_unpacked
183                      (Prometheus__Query *message,
184                       ProtobufCAllocator *allocator)
185 {
186   if(!message)
187     return;
188   assert(message->base.descriptor == &prometheus__query__descriptor);
189   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
190 }
prometheus__query_result__init(Prometheus__QueryResult * message)191 void   prometheus__query_result__init
192                      (Prometheus__QueryResult         *message)
193 {
194   static const Prometheus__QueryResult init_value = PROMETHEUS__QUERY_RESULT__INIT;
195   *message = init_value;
196 }
prometheus__query_result__get_packed_size(const Prometheus__QueryResult * message)197 size_t prometheus__query_result__get_packed_size
198                      (const Prometheus__QueryResult *message)
199 {
200   assert(message->base.descriptor == &prometheus__query_result__descriptor);
201   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
202 }
prometheus__query_result__pack(const Prometheus__QueryResult * message,uint8_t * out)203 size_t prometheus__query_result__pack
204                      (const Prometheus__QueryResult *message,
205                       uint8_t       *out)
206 {
207   assert(message->base.descriptor == &prometheus__query_result__descriptor);
208   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
209 }
prometheus__query_result__pack_to_buffer(const Prometheus__QueryResult * message,ProtobufCBuffer * buffer)210 size_t prometheus__query_result__pack_to_buffer
211                      (const Prometheus__QueryResult *message,
212                       ProtobufCBuffer *buffer)
213 {
214   assert(message->base.descriptor == &prometheus__query_result__descriptor);
215   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
216 }
217 Prometheus__QueryResult *
prometheus__query_result__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)218        prometheus__query_result__unpack
219                      (ProtobufCAllocator  *allocator,
220                       size_t               len,
221                       const uint8_t       *data)
222 {
223   return (Prometheus__QueryResult *)
224      protobuf_c_message_unpack (&prometheus__query_result__descriptor,
225                                 allocator, len, data);
226 }
prometheus__query_result__free_unpacked(Prometheus__QueryResult * message,ProtobufCAllocator * allocator)227 void   prometheus__query_result__free_unpacked
228                      (Prometheus__QueryResult *message,
229                       ProtobufCAllocator *allocator)
230 {
231   if(!message)
232     return;
233   assert(message->base.descriptor == &prometheus__query_result__descriptor);
234   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
235 }
prometheus__chunked_read_response__init(Prometheus__ChunkedReadResponse * message)236 void   prometheus__chunked_read_response__init
237                      (Prometheus__ChunkedReadResponse         *message)
238 {
239   static const Prometheus__ChunkedReadResponse init_value = PROMETHEUS__CHUNKED_READ_RESPONSE__INIT;
240   *message = init_value;
241 }
prometheus__chunked_read_response__get_packed_size(const Prometheus__ChunkedReadResponse * message)242 size_t prometheus__chunked_read_response__get_packed_size
243                      (const Prometheus__ChunkedReadResponse *message)
244 {
245   assert(message->base.descriptor == &prometheus__chunked_read_response__descriptor);
246   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
247 }
prometheus__chunked_read_response__pack(const Prometheus__ChunkedReadResponse * message,uint8_t * out)248 size_t prometheus__chunked_read_response__pack
249                      (const Prometheus__ChunkedReadResponse *message,
250                       uint8_t       *out)
251 {
252   assert(message->base.descriptor == &prometheus__chunked_read_response__descriptor);
253   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
254 }
prometheus__chunked_read_response__pack_to_buffer(const Prometheus__ChunkedReadResponse * message,ProtobufCBuffer * buffer)255 size_t prometheus__chunked_read_response__pack_to_buffer
256                      (const Prometheus__ChunkedReadResponse *message,
257                       ProtobufCBuffer *buffer)
258 {
259   assert(message->base.descriptor == &prometheus__chunked_read_response__descriptor);
260   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
261 }
262 Prometheus__ChunkedReadResponse *
prometheus__chunked_read_response__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)263        prometheus__chunked_read_response__unpack
264                      (ProtobufCAllocator  *allocator,
265                       size_t               len,
266                       const uint8_t       *data)
267 {
268   return (Prometheus__ChunkedReadResponse *)
269      protobuf_c_message_unpack (&prometheus__chunked_read_response__descriptor,
270                                 allocator, len, data);
271 }
prometheus__chunked_read_response__free_unpacked(Prometheus__ChunkedReadResponse * message,ProtobufCAllocator * allocator)272 void   prometheus__chunked_read_response__free_unpacked
273                      (Prometheus__ChunkedReadResponse *message,
274                       ProtobufCAllocator *allocator)
275 {
276   if(!message)
277     return;
278   assert(message->base.descriptor == &prometheus__chunked_read_response__descriptor);
279   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
280 }
281 static const ProtobufCFieldDescriptor prometheus__write_request__field_descriptors[2] =
282 {
283   {
284     "timeseries",
285     1,
286     PROTOBUF_C_LABEL_REPEATED,
287     PROTOBUF_C_TYPE_MESSAGE,
288     offsetof(Prometheus__WriteRequest, n_timeseries),
289     offsetof(Prometheus__WriteRequest, timeseries),
290     &prometheus__time_series__descriptor,
291     NULL,
292     0,             /* flags */
293     0,NULL,NULL    /* reserved1,reserved2, etc */
294   },
295   {
296     "metadata",
297     3,
298     PROTOBUF_C_LABEL_REPEATED,
299     PROTOBUF_C_TYPE_MESSAGE,
300     offsetof(Prometheus__WriteRequest, n_metadata),
301     offsetof(Prometheus__WriteRequest, metadata),
302     &prometheus__metric_metadata__descriptor,
303     NULL,
304     0,             /* flags */
305     0,NULL,NULL    /* reserved1,reserved2, etc */
306   },
307 };
308 static const unsigned prometheus__write_request__field_indices_by_name[] = {
309   1,   /* field[1] = metadata */
310   0,   /* field[0] = timeseries */
311 };
312 static const ProtobufCIntRange prometheus__write_request__number_ranges[2 + 1] =
313 {
314   { 1, 0 },
315   { 3, 1 },
316   { 0, 2 }
317 };
318 const ProtobufCMessageDescriptor prometheus__write_request__descriptor =
319 {
320   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
321   "prometheus.WriteRequest",
322   "WriteRequest",
323   "Prometheus__WriteRequest",
324   "prometheus",
325   sizeof(Prometheus__WriteRequest),
326   2,
327   prometheus__write_request__field_descriptors,
328   prometheus__write_request__field_indices_by_name,
329   2,  prometheus__write_request__number_ranges,
330   (ProtobufCMessageInit) prometheus__write_request__init,
331   NULL,NULL,NULL    /* reserved[123] */
332 };
333 static const ProtobufCEnumValue prometheus__read_request__response_type__enum_values_by_number[2] =
334 {
335   { "SAMPLES", "PROMETHEUS__READ_REQUEST__RESPONSE_TYPE__SAMPLES", 0 },
336   { "STREAMED_XOR_CHUNKS", "PROMETHEUS__READ_REQUEST__RESPONSE_TYPE__STREAMED_XOR_CHUNKS", 1 },
337 };
338 static const ProtobufCIntRange prometheus__read_request__response_type__value_ranges[] = {
339 {0, 0},{0, 2}
340 };
341 static const ProtobufCEnumValueIndex prometheus__read_request__response_type__enum_values_by_name[2] =
342 {
343   { "SAMPLES", 0 },
344   { "STREAMED_XOR_CHUNKS", 1 },
345 };
346 const ProtobufCEnumDescriptor prometheus__read_request__response_type__descriptor =
347 {
348   PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
349   "prometheus.ReadRequest.ResponseType",
350   "ResponseType",
351   "Prometheus__ReadRequest__ResponseType",
352   "prometheus",
353   2,
354   prometheus__read_request__response_type__enum_values_by_number,
355   2,
356   prometheus__read_request__response_type__enum_values_by_name,
357   1,
358   prometheus__read_request__response_type__value_ranges,
359   NULL,NULL,NULL,NULL   /* reserved[1234] */
360 };
361 static const ProtobufCFieldDescriptor prometheus__read_request__field_descriptors[2] =
362 {
363   {
364     "queries",
365     1,
366     PROTOBUF_C_LABEL_REPEATED,
367     PROTOBUF_C_TYPE_MESSAGE,
368     offsetof(Prometheus__ReadRequest, n_queries),
369     offsetof(Prometheus__ReadRequest, queries),
370     &prometheus__query__descriptor,
371     NULL,
372     0,             /* flags */
373     0,NULL,NULL    /* reserved1,reserved2, etc */
374   },
375   {
376     "accepted_response_types",
377     2,
378     PROTOBUF_C_LABEL_REPEATED,
379     PROTOBUF_C_TYPE_ENUM,
380     offsetof(Prometheus__ReadRequest, n_accepted_response_types),
381     offsetof(Prometheus__ReadRequest, accepted_response_types),
382     &prometheus__read_request__response_type__descriptor,
383     NULL,
384     0 | PROTOBUF_C_FIELD_FLAG_PACKED,             /* flags */
385     0,NULL,NULL    /* reserved1,reserved2, etc */
386   },
387 };
388 static const unsigned prometheus__read_request__field_indices_by_name[] = {
389   1,   /* field[1] = accepted_response_types */
390   0,   /* field[0] = queries */
391 };
392 static const ProtobufCIntRange prometheus__read_request__number_ranges[1 + 1] =
393 {
394   { 1, 0 },
395   { 0, 2 }
396 };
397 const ProtobufCMessageDescriptor prometheus__read_request__descriptor =
398 {
399   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
400   "prometheus.ReadRequest",
401   "ReadRequest",
402   "Prometheus__ReadRequest",
403   "prometheus",
404   sizeof(Prometheus__ReadRequest),
405   2,
406   prometheus__read_request__field_descriptors,
407   prometheus__read_request__field_indices_by_name,
408   1,  prometheus__read_request__number_ranges,
409   (ProtobufCMessageInit) prometheus__read_request__init,
410   NULL,NULL,NULL    /* reserved[123] */
411 };
412 static const ProtobufCFieldDescriptor prometheus__read_response__field_descriptors[1] =
413 {
414   {
415     "results",
416     1,
417     PROTOBUF_C_LABEL_REPEATED,
418     PROTOBUF_C_TYPE_MESSAGE,
419     offsetof(Prometheus__ReadResponse, n_results),
420     offsetof(Prometheus__ReadResponse, results),
421     &prometheus__query_result__descriptor,
422     NULL,
423     0,             /* flags */
424     0,NULL,NULL    /* reserved1,reserved2, etc */
425   },
426 };
427 static const unsigned prometheus__read_response__field_indices_by_name[] = {
428   0,   /* field[0] = results */
429 };
430 static const ProtobufCIntRange prometheus__read_response__number_ranges[1 + 1] =
431 {
432   { 1, 0 },
433   { 0, 1 }
434 };
435 const ProtobufCMessageDescriptor prometheus__read_response__descriptor =
436 {
437   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
438   "prometheus.ReadResponse",
439   "ReadResponse",
440   "Prometheus__ReadResponse",
441   "prometheus",
442   sizeof(Prometheus__ReadResponse),
443   1,
444   prometheus__read_response__field_descriptors,
445   prometheus__read_response__field_indices_by_name,
446   1,  prometheus__read_response__number_ranges,
447   (ProtobufCMessageInit) prometheus__read_response__init,
448   NULL,NULL,NULL    /* reserved[123] */
449 };
450 static const ProtobufCFieldDescriptor prometheus__query__field_descriptors[4] =
451 {
452   {
453     "start_timestamp_ms",
454     1,
455     PROTOBUF_C_LABEL_NONE,
456     PROTOBUF_C_TYPE_INT64,
457     0,   /* quantifier_offset */
458     offsetof(Prometheus__Query, start_timestamp_ms),
459     NULL,
460     NULL,
461     0,             /* flags */
462     0,NULL,NULL    /* reserved1,reserved2, etc */
463   },
464   {
465     "end_timestamp_ms",
466     2,
467     PROTOBUF_C_LABEL_NONE,
468     PROTOBUF_C_TYPE_INT64,
469     0,   /* quantifier_offset */
470     offsetof(Prometheus__Query, end_timestamp_ms),
471     NULL,
472     NULL,
473     0,             /* flags */
474     0,NULL,NULL    /* reserved1,reserved2, etc */
475   },
476   {
477     "matchers",
478     3,
479     PROTOBUF_C_LABEL_REPEATED,
480     PROTOBUF_C_TYPE_MESSAGE,
481     offsetof(Prometheus__Query, n_matchers),
482     offsetof(Prometheus__Query, matchers),
483     &prometheus__label_matcher__descriptor,
484     NULL,
485     0,             /* flags */
486     0,NULL,NULL    /* reserved1,reserved2, etc */
487   },
488   {
489     "hints",
490     4,
491     PROTOBUF_C_LABEL_NONE,
492     PROTOBUF_C_TYPE_MESSAGE,
493     0,   /* quantifier_offset */
494     offsetof(Prometheus__Query, hints),
495     &prometheus__read_hints__descriptor,
496     NULL,
497     0,             /* flags */
498     0,NULL,NULL    /* reserved1,reserved2, etc */
499   },
500 };
501 static const unsigned prometheus__query__field_indices_by_name[] = {
502   1,   /* field[1] = end_timestamp_ms */
503   3,   /* field[3] = hints */
504   2,   /* field[2] = matchers */
505   0,   /* field[0] = start_timestamp_ms */
506 };
507 static const ProtobufCIntRange prometheus__query__number_ranges[1 + 1] =
508 {
509   { 1, 0 },
510   { 0, 4 }
511 };
512 const ProtobufCMessageDescriptor prometheus__query__descriptor =
513 {
514   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
515   "prometheus.Query",
516   "Query",
517   "Prometheus__Query",
518   "prometheus",
519   sizeof(Prometheus__Query),
520   4,
521   prometheus__query__field_descriptors,
522   prometheus__query__field_indices_by_name,
523   1,  prometheus__query__number_ranges,
524   (ProtobufCMessageInit) prometheus__query__init,
525   NULL,NULL,NULL    /* reserved[123] */
526 };
527 static const ProtobufCFieldDescriptor prometheus__query_result__field_descriptors[1] =
528 {
529   {
530     "timeseries",
531     1,
532     PROTOBUF_C_LABEL_REPEATED,
533     PROTOBUF_C_TYPE_MESSAGE,
534     offsetof(Prometheus__QueryResult, n_timeseries),
535     offsetof(Prometheus__QueryResult, timeseries),
536     &prometheus__time_series__descriptor,
537     NULL,
538     0,             /* flags */
539     0,NULL,NULL    /* reserved1,reserved2, etc */
540   },
541 };
542 static const unsigned prometheus__query_result__field_indices_by_name[] = {
543   0,   /* field[0] = timeseries */
544 };
545 static const ProtobufCIntRange prometheus__query_result__number_ranges[1 + 1] =
546 {
547   { 1, 0 },
548   { 0, 1 }
549 };
550 const ProtobufCMessageDescriptor prometheus__query_result__descriptor =
551 {
552   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
553   "prometheus.QueryResult",
554   "QueryResult",
555   "Prometheus__QueryResult",
556   "prometheus",
557   sizeof(Prometheus__QueryResult),
558   1,
559   prometheus__query_result__field_descriptors,
560   prometheus__query_result__field_indices_by_name,
561   1,  prometheus__query_result__number_ranges,
562   (ProtobufCMessageInit) prometheus__query_result__init,
563   NULL,NULL,NULL    /* reserved[123] */
564 };
565 static const ProtobufCFieldDescriptor prometheus__chunked_read_response__field_descriptors[2] =
566 {
567   {
568     "chunked_series",
569     1,
570     PROTOBUF_C_LABEL_REPEATED,
571     PROTOBUF_C_TYPE_MESSAGE,
572     offsetof(Prometheus__ChunkedReadResponse, n_chunked_series),
573     offsetof(Prometheus__ChunkedReadResponse, chunked_series),
574     &prometheus__chunked_series__descriptor,
575     NULL,
576     0,             /* flags */
577     0,NULL,NULL    /* reserved1,reserved2, etc */
578   },
579   {
580     "query_index",
581     2,
582     PROTOBUF_C_LABEL_NONE,
583     PROTOBUF_C_TYPE_INT64,
584     0,   /* quantifier_offset */
585     offsetof(Prometheus__ChunkedReadResponse, query_index),
586     NULL,
587     NULL,
588     0,             /* flags */
589     0,NULL,NULL    /* reserved1,reserved2, etc */
590   },
591 };
592 static const unsigned prometheus__chunked_read_response__field_indices_by_name[] = {
593   0,   /* field[0] = chunked_series */
594   1,   /* field[1] = query_index */
595 };
596 static const ProtobufCIntRange prometheus__chunked_read_response__number_ranges[1 + 1] =
597 {
598   { 1, 0 },
599   { 0, 2 }
600 };
601 const ProtobufCMessageDescriptor prometheus__chunked_read_response__descriptor =
602 {
603   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
604   "prometheus.ChunkedReadResponse",
605   "ChunkedReadResponse",
606   "Prometheus__ChunkedReadResponse",
607   "prometheus",
608   sizeof(Prometheus__ChunkedReadResponse),
609   2,
610   prometheus__chunked_read_response__field_descriptors,
611   prometheus__chunked_read_response__field_indices_by_name,
612   1,  prometheus__chunked_read_response__number_ranges,
613   (ProtobufCMessageInit) prometheus__chunked_read_response__init,
614   NULL,NULL,NULL    /* reserved[123] */
615 };
616