• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Generated by the protocol buffer compiler.  DO NOT EDIT!
2# source: src/proto/grpc/core/stats.proto
3
4require 'google/protobuf'
5
6Google::Protobuf::DescriptorPool.generated_pool.build do
7  add_message "grpc.core.Bucket" do
8    optional :start, :double, 1
9    optional :count, :uint64, 2
10  end
11  add_message "grpc.core.Histogram" do
12    repeated :buckets, :message, 1, "grpc.core.Bucket"
13  end
14  add_message "grpc.core.Metric" do
15    optional :name, :string, 1
16    oneof :value do
17      optional :count, :uint64, 10
18      optional :histogram, :message, 11, "grpc.core.Histogram"
19    end
20  end
21  add_message "grpc.core.Stats" do
22    repeated :metrics, :message, 1, "grpc.core.Metric"
23  end
24end
25
26module Grpc
27  module Core
28    Bucket = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.core.Bucket").msgclass
29    Histogram = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.core.Histogram").msgclass
30    Metric = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.core.Metric").msgclass
31    Stats = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.core.Stats").msgclass
32  end
33end
34