• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Generated by the protocol buffer compiler.  DO NOT EDIT!
2# source: src/proto/grpc/testing/stats.proto
3
4require 'google/protobuf'
5
6require 'src/proto/grpc/core/stats_pb'
7Google::Protobuf::DescriptorPool.generated_pool.build do
8  add_message "grpc.testing.ServerStats" do
9    optional :time_elapsed, :double, 1
10    optional :time_user, :double, 2
11    optional :time_system, :double, 3
12    optional :total_cpu_time, :uint64, 4
13    optional :idle_cpu_time, :uint64, 5
14    optional :cq_poll_count, :uint64, 6
15    optional :core_stats, :message, 7, "grpc.core.Stats"
16  end
17  add_message "grpc.testing.HistogramParams" do
18    optional :resolution, :double, 1
19    optional :max_possible, :double, 2
20  end
21  add_message "grpc.testing.HistogramData" do
22    repeated :bucket, :uint32, 1
23    optional :min_seen, :double, 2
24    optional :max_seen, :double, 3
25    optional :sum, :double, 4
26    optional :sum_of_squares, :double, 5
27    optional :count, :double, 6
28  end
29  add_message "grpc.testing.RequestResultCount" do
30    optional :status_code, :int32, 1
31    optional :count, :int64, 2
32  end
33  add_message "grpc.testing.ClientStats" do
34    optional :latencies, :message, 1, "grpc.testing.HistogramData"
35    optional :time_elapsed, :double, 2
36    optional :time_user, :double, 3
37    optional :time_system, :double, 4
38    repeated :request_results, :message, 5, "grpc.testing.RequestResultCount"
39    optional :cq_poll_count, :uint64, 6
40    optional :core_stats, :message, 7, "grpc.core.Stats"
41  end
42end
43
44module Grpc
45  module Testing
46    ServerStats = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ServerStats").msgclass
47    HistogramParams = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.HistogramParams").msgclass
48    HistogramData = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.HistogramData").msgclass
49    RequestResultCount = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.RequestResultCount").msgclass
50    ClientStats = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ClientStats").msgclass
51  end
52end
53