1# Generated by the protocol buffer compiler. DO NOT EDIT! 2# source: grpc/health/v1/health.proto 3 4require 'google/protobuf' 5 6Google::Protobuf::DescriptorPool.generated_pool.build do 7 add_file("grpc/health/v1/health.proto", :syntax => :proto3) do 8 add_message "grpc.health.v1.HealthCheckRequest" do 9 optional :service, :string, 1 10 end 11 add_message "grpc.health.v1.HealthCheckResponse" do 12 optional :status, :enum, 1, "grpc.health.v1.HealthCheckResponse.ServingStatus" 13 end 14 add_enum "grpc.health.v1.HealthCheckResponse.ServingStatus" do 15 value :UNKNOWN, 0 16 value :SERVING, 1 17 value :NOT_SERVING, 2 18 value :SERVICE_UNKNOWN, 3 19 end 20 end 21end 22 23module Grpc 24 module Health 25 module V1 26 HealthCheckRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1.HealthCheckRequest").msgclass 27 HealthCheckResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1.HealthCheckResponse").msgclass 28 HealthCheckResponse::ServingStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1.HealthCheckResponse.ServingStatus").enummodule 29 end 30 end 31end 32