aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/pb/grpc/health/v1/health_services.rb
blob: cb79b20437f573b40f9c3f6265eec722db4e87c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: grpc/health/v1/health.proto for package 'grpc.health.v1'

require 'grpc'
require 'grpc/health/v1/health'

module Grpc
  module Health
    module V1
      module Health

        # TODO: add proto service documentation here
        class Service

          include GRPC::GenericService

          self.marshal_class_method = :encode
          self.unmarshal_class_method = :decode
          self.service_name = 'grpc.health.v1.Health'

          rpc :Check, HealthCheckRequest, HealthCheckResponse
        end

        Stub = Service.rpc_stub_class
      end
    end
  end
end