google.models.health_models.proto Maven / Gradle / Ivy
The newest version!
syntax = "proto3";
import "scalapb/scalapb.proto";
import "scalapb/validate.proto";
import "validate/validate.proto";
package grpc.health.v1;
enum ServingStatus {
UNKNOWN = 0; // Default status. Indicates that no stats was returned.
SERVING = 1; // Service is in a healthy state.
NOT_SERVING = 2; // Service is unhealthy. Reason is implementation specific.
SERVICE_UNKNOWN = 3; // Used only by the Watch method.
}
option (scalapb.options) = {
[scalapb.validate.file] {
validate_at_construction: true
}
field_transformations: [
{
when: {options: {[validate.rules] {message: {required: true}}}}
set: {
[scalapb.field] {
required: true
}
}
}
]
};