syntax = "proto3"; package inetmock.rpc; option csharp_namespace = "INetMock.Client.Rpc"; option go_package = "gitlab.com/inetmock/inetmock/internal/rpc"; option java_multiple_files = true; option java_outer_classname = "HealthProto"; option java_package = "com.github.baez90.inetmock.rpc"; service Health { rpc GetHealth(HealthRequest) returns (HealthResponse); } enum HealthState { HEALTHY = 0; INITIALIZING = 1; UNHEALTHY = 2; UNKNOWN = 3; } message HealthRequest { repeated string components = 1; } message ComponentHealth { HealthState State = 1; string message = 2; } message HealthResponse { HealthState overallHealthState = 1; map componentsHealth = 2; }