diff --git a/health/grpc_health_v1alpha/health.proto b/health/grpc_health_v1alpha/health.proto index de7c0458..07615ba5 100644 --- a/health/grpc_health_v1alpha/health.proto +++ b/health/grpc_health_v1alpha/health.proto @@ -5,15 +5,17 @@ package grpc.health.v1alpha; message HealthCheckRequest { string host = 1; string service = 2; - } +} + message HealthCheckResponse { enum ServingStatus { UNKNOWN = 0; SERVING = 1; NOT_SERVING = 2; - } - ServingStatus status = 1; } + ServingStatus status = 1; +} + service HealthCheck{ - rpc Check( HealthCheckRequest) returns ( HealthCheckResponse); - } + rpc Check(HealthCheckRequest) returns (HealthCheckResponse); +}