syntax = "proto3"; package common.healthcheck.v1beta; // Google API import "google/api/field_behavior.proto"; // HealthCheckRequest represents a request to health check a service message HealthCheckRequest { // Service name to check for its readiness status optional string service = 1 [(google.api.field_behavior) = OPTIONAL]; } // HealthCheckResponse represents a response for a service heath status message HealthCheckResponse { // ServingStatus enumerates the status of a queried service enum ServingStatus { // Serving status: UNSPECIFIED SERVING_STATUS_UNSPECIFIED = 0; // Serving status: SERVING SERVING_STATUS_SERVING = 1; // Serving status: NOT SERVING SERVING_STATUS_NOT_SERVING = 2; } // Status is the instance of the enum type ServingStatus ServingStatus status = 1; }