hansken_extraction_plugin.framework.Health.proto Maven / Gradle / Ivy
syntax = "proto3";
// N.B.: This is the GRPC Health Checking Protocol as explained here: https://github.com/grpc/grpc/blob/master/doc/health-checking.md
//
// UPDATE NOTICE
//
// If you make changes to the proto definitions (add, update, delete)s, please
// also update VersionUtil.java and apiversion.properties as described in the
// projects README.md
package grpc.health.v1;
message HealthCheckRequest {
string service = 1;
}
message HealthCheckResponse {
enum ServingStatus {
UNKNOWN = 0;
SERVING = 1;
NOT_SERVING = 2;
SERVICE_UNKNOWN = 3; // Used only by the Watch method.
}
ServingStatus status = 1;
}
service Health {
rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
rpc Watch(HealthCheckRequest) returns (stream HealthCheckResponse);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy