aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/pb/grpc/testing/metrics_services.rb
blob: f5778bbbb191429587357c33726e19290382142a (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
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: grpc/testing/metrics.proto for package 'grpc.testing'

require 'grpc'
require 'grpc/testing/metrics'

module Grpc
  module Testing
    module MetricsService

      # 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.testing.MetricsService'

        rpc :GetAllGauges, EmptyMessage, stream(GaugeResponse)
        rpc :GetGauge, GaugeRequest, GaugeResponse
      end

      Stub = Service.rpc_stub_class
    end
  end
end