parent
49d297a29c
commit
aea13f1c85
17 changed files with 81 additions and 82 deletions
@ -1,4 +1,4 @@ |
||||
# Copyright 2015, Google Inc. |
||||
# Copyright 2015-2016, Google Inc. |
||||
# All rights reserved. |
||||
# |
||||
# Redistribution and use in source and binary forms, with or without |
@ -0,0 +1,29 @@ |
||||
# Generated by the protocol buffer compiler. DO NOT EDIT! |
||||
# source: grpc/health/v1/health.proto |
||||
|
||||
require 'google/protobuf' |
||||
|
||||
Google::Protobuf::DescriptorPool.generated_pool.build do |
||||
add_message "grpc.health.v1.HealthCheckRequest" do |
||||
optional :host, :string, 1 |
||||
optional :service, :string, 2 |
||||
end |
||||
add_message "grpc.health.v1.HealthCheckResponse" do |
||||
optional :status, :enum, 1, "grpc.health.v1.HealthCheckResponse.ServingStatus" |
||||
end |
||||
add_enum "grpc.health.v1.HealthCheckResponse.ServingStatus" do |
||||
value :UNKNOWN, 0 |
||||
value :SERVING, 1 |
||||
value :NOT_SERVING, 2 |
||||
end |
||||
end |
||||
|
||||
module Grpc |
||||
module Health |
||||
module V1 |
||||
HealthCheckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1.HealthCheckRequest").msgclass |
||||
HealthCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1.HealthCheckResponse").msgclass |
||||
HealthCheckResponse::ServingStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1.HealthCheckResponse.ServingStatus").enummodule |
||||
end |
||||
end |
||||
end |
@ -1,29 +0,0 @@ |
||||
# Generated by the protocol buffer compiler. DO NOT EDIT! |
||||
# source: grpc/health/v1alpha/health.proto |
||||
|
||||
require 'google/protobuf' |
||||
|
||||
Google::Protobuf::DescriptorPool.generated_pool.build do |
||||
add_message "grpc.health.v1alpha.HealthCheckRequest" do |
||||
optional :host, :string, 1 |
||||
optional :service, :string, 2 |
||||
end |
||||
add_message "grpc.health.v1alpha.HealthCheckResponse" do |
||||
optional :status, :enum, 1, "grpc.health.v1alpha.HealthCheckResponse.ServingStatus" |
||||
end |
||||
add_enum "grpc.health.v1alpha.HealthCheckResponse.ServingStatus" do |
||||
value :UNKNOWN, 0 |
||||
value :SERVING, 1 |
||||
value :NOT_SERVING, 2 |
||||
end |
||||
end |
||||
|
||||
module Grpc |
||||
module Health |
||||
module V1alpha |
||||
HealthCheckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1alpha.HealthCheckRequest").msgclass |
||||
HealthCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1alpha.HealthCheckResponse").msgclass |
||||
HealthCheckResponse::ServingStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1alpha.HealthCheckResponse.ServingStatus").enummodule |
||||
end |
||||
end |
||||
end |
Loading…
Reference in new issue