• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Automatically generated nanopb header */
2 /* Generated by nanopb-0.3.7-dev */
3 
4 #ifndef PB_GRPC_HEALTH_V1_HEALTH_PB_H_INCLUDED
5 #define PB_GRPC_HEALTH_V1_HEALTH_PB_H_INCLUDED
6 #include "pb.h"
7 /* @@protoc_insertion_point(includes) */
8 #if PB_PROTO_HEADER_VERSION != 30
9 #error Regenerate this file with the current version of nanopb generator.
10 #endif
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /* Enum definitions */
17 typedef enum _grpc_health_v1_HealthCheckResponse_ServingStatus {
18     grpc_health_v1_HealthCheckResponse_ServingStatus_UNKNOWN = 0,
19     grpc_health_v1_HealthCheckResponse_ServingStatus_SERVING = 1,
20     grpc_health_v1_HealthCheckResponse_ServingStatus_NOT_SERVING = 2
21 } grpc_health_v1_HealthCheckResponse_ServingStatus;
22 #define _grpc_health_v1_HealthCheckResponse_ServingStatus_MIN grpc_health_v1_HealthCheckResponse_ServingStatus_UNKNOWN
23 #define _grpc_health_v1_HealthCheckResponse_ServingStatus_MAX grpc_health_v1_HealthCheckResponse_ServingStatus_NOT_SERVING
24 #define _grpc_health_v1_HealthCheckResponse_ServingStatus_ARRAYSIZE ((grpc_health_v1_HealthCheckResponse_ServingStatus)(grpc_health_v1_HealthCheckResponse_ServingStatus_NOT_SERVING+1))
25 
26 /* Struct definitions */
27 typedef struct _grpc_health_v1_HealthCheckRequest {
28     bool has_service;
29     char service[200];
30 /* @@protoc_insertion_point(struct:grpc_health_v1_HealthCheckRequest) */
31 } grpc_health_v1_HealthCheckRequest;
32 
33 typedef struct _grpc_health_v1_HealthCheckResponse {
34     bool has_status;
35     grpc_health_v1_HealthCheckResponse_ServingStatus status;
36 /* @@protoc_insertion_point(struct:grpc_health_v1_HealthCheckResponse) */
37 } grpc_health_v1_HealthCheckResponse;
38 
39 /* Default values for struct fields */
40 
41 /* Initializer values for message structs */
42 #define grpc_health_v1_HealthCheckRequest_init_default {false, ""}
43 #define grpc_health_v1_HealthCheckResponse_init_default {false, (grpc_health_v1_HealthCheckResponse_ServingStatus)0}
44 #define grpc_health_v1_HealthCheckRequest_init_zero {false, ""}
45 #define grpc_health_v1_HealthCheckResponse_init_zero {false, (grpc_health_v1_HealthCheckResponse_ServingStatus)0}
46 
47 /* Field tags (for use in manual encoding/decoding) */
48 #define grpc_health_v1_HealthCheckRequest_service_tag 1
49 #define grpc_health_v1_HealthCheckResponse_status_tag 1
50 
51 /* Struct field encoding specification for nanopb */
52 extern const pb_field_t grpc_health_v1_HealthCheckRequest_fields[2];
53 extern const pb_field_t grpc_health_v1_HealthCheckResponse_fields[2];
54 
55 /* Maximum encoded size of messages (where known) */
56 #define grpc_health_v1_HealthCheckRequest_size   203
57 #define grpc_health_v1_HealthCheckResponse_size  2
58 
59 /* Message IDs (where set with "msgid" option) */
60 #ifdef PB_MSGID
61 
62 #define HEALTH_MESSAGES \
63 
64 
65 #endif
66 
67 #ifdef __cplusplus
68 } /* extern "C" */
69 #endif
70 /* @@protoc_insertion_point(eof) */
71 
72 #endif
73