OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / grpc / benchmark / grpc_testing / stats.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: stats.proto
3
4 package grpc_testing
5
6 import proto "github.com/golang/protobuf/proto"
7 import fmt "fmt"
8 import math "math"
9
10 // Reference imports to suppress errors if they are not otherwise used.
11 var _ = proto.Marshal
12 var _ = fmt.Errorf
13 var _ = math.Inf
14
15 type ServerStats struct {
16         // wall clock time change in seconds since last reset
17         TimeElapsed float64 `protobuf:"fixed64,1,opt,name=time_elapsed,json=timeElapsed" json:"time_elapsed,omitempty"`
18         // change in user time (in seconds) used by the server since last reset
19         TimeUser float64 `protobuf:"fixed64,2,opt,name=time_user,json=timeUser" json:"time_user,omitempty"`
20         // change in server time (in seconds) used by the server process and all
21         // threads since last reset
22         TimeSystem float64 `protobuf:"fixed64,3,opt,name=time_system,json=timeSystem" json:"time_system,omitempty"`
23 }
24
25 func (m *ServerStats) Reset()                    { *m = ServerStats{} }
26 func (m *ServerStats) String() string            { return proto.CompactTextString(m) }
27 func (*ServerStats) ProtoMessage()               {}
28 func (*ServerStats) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
29
30 func (m *ServerStats) GetTimeElapsed() float64 {
31         if m != nil {
32                 return m.TimeElapsed
33         }
34         return 0
35 }
36
37 func (m *ServerStats) GetTimeUser() float64 {
38         if m != nil {
39                 return m.TimeUser
40         }
41         return 0
42 }
43
44 func (m *ServerStats) GetTimeSystem() float64 {
45         if m != nil {
46                 return m.TimeSystem
47         }
48         return 0
49 }
50
51 // Histogram params based on grpc/support/histogram.c
52 type HistogramParams struct {
53         Resolution  float64 `protobuf:"fixed64,1,opt,name=resolution" json:"resolution,omitempty"`
54         MaxPossible float64 `protobuf:"fixed64,2,opt,name=max_possible,json=maxPossible" json:"max_possible,omitempty"`
55 }
56
57 func (m *HistogramParams) Reset()                    { *m = HistogramParams{} }
58 func (m *HistogramParams) String() string            { return proto.CompactTextString(m) }
59 func (*HistogramParams) ProtoMessage()               {}
60 func (*HistogramParams) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
61
62 func (m *HistogramParams) GetResolution() float64 {
63         if m != nil {
64                 return m.Resolution
65         }
66         return 0
67 }
68
69 func (m *HistogramParams) GetMaxPossible() float64 {
70         if m != nil {
71                 return m.MaxPossible
72         }
73         return 0
74 }
75
76 // Histogram data based on grpc/support/histogram.c
77 type HistogramData struct {
78         Bucket       []uint32 `protobuf:"varint,1,rep,packed,name=bucket" json:"bucket,omitempty"`
79         MinSeen      float64  `protobuf:"fixed64,2,opt,name=min_seen,json=minSeen" json:"min_seen,omitempty"`
80         MaxSeen      float64  `protobuf:"fixed64,3,opt,name=max_seen,json=maxSeen" json:"max_seen,omitempty"`
81         Sum          float64  `protobuf:"fixed64,4,opt,name=sum" json:"sum,omitempty"`
82         SumOfSquares float64  `protobuf:"fixed64,5,opt,name=sum_of_squares,json=sumOfSquares" json:"sum_of_squares,omitempty"`
83         Count        float64  `protobuf:"fixed64,6,opt,name=count" json:"count,omitempty"`
84 }
85
86 func (m *HistogramData) Reset()                    { *m = HistogramData{} }
87 func (m *HistogramData) String() string            { return proto.CompactTextString(m) }
88 func (*HistogramData) ProtoMessage()               {}
89 func (*HistogramData) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2} }
90
91 func (m *HistogramData) GetBucket() []uint32 {
92         if m != nil {
93                 return m.Bucket
94         }
95         return nil
96 }
97
98 func (m *HistogramData) GetMinSeen() float64 {
99         if m != nil {
100                 return m.MinSeen
101         }
102         return 0
103 }
104
105 func (m *HistogramData) GetMaxSeen() float64 {
106         if m != nil {
107                 return m.MaxSeen
108         }
109         return 0
110 }
111
112 func (m *HistogramData) GetSum() float64 {
113         if m != nil {
114                 return m.Sum
115         }
116         return 0
117 }
118
119 func (m *HistogramData) GetSumOfSquares() float64 {
120         if m != nil {
121                 return m.SumOfSquares
122         }
123         return 0
124 }
125
126 func (m *HistogramData) GetCount() float64 {
127         if m != nil {
128                 return m.Count
129         }
130         return 0
131 }
132
133 type ClientStats struct {
134         // Latency histogram. Data points are in nanoseconds.
135         Latencies *HistogramData `protobuf:"bytes,1,opt,name=latencies" json:"latencies,omitempty"`
136         // See ServerStats for details.
137         TimeElapsed float64 `protobuf:"fixed64,2,opt,name=time_elapsed,json=timeElapsed" json:"time_elapsed,omitempty"`
138         TimeUser    float64 `protobuf:"fixed64,3,opt,name=time_user,json=timeUser" json:"time_user,omitempty"`
139         TimeSystem  float64 `protobuf:"fixed64,4,opt,name=time_system,json=timeSystem" json:"time_system,omitempty"`
140 }
141
142 func (m *ClientStats) Reset()                    { *m = ClientStats{} }
143 func (m *ClientStats) String() string            { return proto.CompactTextString(m) }
144 func (*ClientStats) ProtoMessage()               {}
145 func (*ClientStats) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
146
147 func (m *ClientStats) GetLatencies() *HistogramData {
148         if m != nil {
149                 return m.Latencies
150         }
151         return nil
152 }
153
154 func (m *ClientStats) GetTimeElapsed() float64 {
155         if m != nil {
156                 return m.TimeElapsed
157         }
158         return 0
159 }
160
161 func (m *ClientStats) GetTimeUser() float64 {
162         if m != nil {
163                 return m.TimeUser
164         }
165         return 0
166 }
167
168 func (m *ClientStats) GetTimeSystem() float64 {
169         if m != nil {
170                 return m.TimeSystem
171         }
172         return 0
173 }
174
175 func init() {
176         proto.RegisterType((*ServerStats)(nil), "grpc.testing.ServerStats")
177         proto.RegisterType((*HistogramParams)(nil), "grpc.testing.HistogramParams")
178         proto.RegisterType((*HistogramData)(nil), "grpc.testing.HistogramData")
179         proto.RegisterType((*ClientStats)(nil), "grpc.testing.ClientStats")
180 }
181
182 func init() { proto.RegisterFile("stats.proto", fileDescriptor4) }
183
184 var fileDescriptor4 = []byte{
185         // 341 bytes of a gzipped FileDescriptorProto
186         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4a, 0xeb, 0x40,
187         0x14, 0x86, 0x49, 0xd3, 0xf6, 0xb6, 0x27, 0xed, 0xbd, 0x97, 0x41, 0x24, 0x52, 0xd0, 0x1a, 0x5c,
188         0x74, 0x95, 0x85, 0xae, 0x5c, 0xab, 0xe0, 0xce, 0xd2, 0xe8, 0x3a, 0x4c, 0xe3, 0x69, 0x19, 0xcc,
189         0xcc, 0xc4, 0x39, 0x33, 0x12, 0x1f, 0x49, 0x7c, 0x49, 0xc9, 0x24, 0x68, 0x55, 0xd0, 0x5d, 0xe6,
190         0xfb, 0x7e, 0xe6, 0xe4, 0xe4, 0x0f, 0x44, 0x64, 0xb9, 0xa5, 0xb4, 0x32, 0xda, 0x6a, 0x36, 0xd9,
191         0x9a, 0xaa, 0x48, 0x2d, 0x92, 0x15, 0x6a, 0x9b, 0x28, 0x88, 0x32, 0x34, 0x4f, 0x68, 0xb2, 0x26,
192         0xc2, 0x8e, 0x61, 0x62, 0x85, 0xc4, 0x1c, 0x4b, 0x5e, 0x11, 0xde, 0xc7, 0xc1, 0x3c, 0x58, 0x04,
193         0xab, 0xa8, 0x61, 0x57, 0x2d, 0x62, 0x33, 0x18, 0xfb, 0x88, 0x23, 0x34, 0x71, 0xcf, 0xfb, 0x51,
194         0x03, 0xee, 0x08, 0x0d, 0x3b, 0x02, 0x9f, 0xcd, 0xe9, 0x99, 0x2c, 0xca, 0x38, 0xf4, 0x1a, 0x1a,
195         0x94, 0x79, 0x92, 0xdc, 0xc2, 0xbf, 0x6b, 0x41, 0x56, 0x6f, 0x0d, 0x97, 0x4b, 0x6e, 0xb8, 0x24,
196         0x76, 0x08, 0x60, 0x90, 0x74, 0xe9, 0xac, 0xd0, 0xaa, 0x9b, 0xb8, 0x43, 0x9a, 0x77, 0x92, 0xbc,
197         0xce, 0x2b, 0x4d, 0x24, 0xd6, 0x25, 0x76, 0x33, 0x23, 0xc9, 0xeb, 0x65, 0x87, 0x92, 0xd7, 0x00,
198         0xa6, 0xef, 0xd7, 0x5e, 0x72, 0xcb, 0xd9, 0x3e, 0x0c, 0xd7, 0xae, 0x78, 0x40, 0x1b, 0x07, 0xf3,
199         0x70, 0x31, 0x5d, 0x75, 0x27, 0x76, 0x00, 0x23, 0x29, 0x54, 0x4e, 0x88, 0xaa, 0xbb, 0xe8, 0x8f,
200         0x14, 0x2a, 0x43, 0x54, 0x5e, 0xf1, 0xba, 0x55, 0x61, 0xa7, 0x78, 0xed, 0xd5, 0x7f, 0x08, 0xc9,
201         0xc9, 0xb8, 0xef, 0x69, 0xf3, 0xc8, 0x4e, 0xe0, 0x2f, 0x39, 0x99, 0xeb, 0x4d, 0x4e, 0x8f, 0x8e,
202         0x1b, 0xa4, 0x78, 0xe0, 0xe5, 0x84, 0x9c, 0xbc, 0xd9, 0x64, 0x2d, 0x63, 0x7b, 0x30, 0x28, 0xb4,
203         0x53, 0x36, 0x1e, 0x7a, 0xd9, 0x1e, 0x92, 0x97, 0x00, 0xa2, 0x8b, 0x52, 0xa0, 0xb2, 0xed, 0x47,
204         0x3f, 0x87, 0x71, 0xc9, 0x2d, 0xaa, 0x42, 0x20, 0xf9, 0xfd, 0xa3, 0xd3, 0x59, 0xba, 0xdb, 0x52,
205         0xfa, 0x69, 0xb7, 0xd5, 0x47, 0xfa, 0x5b, 0x5f, 0xbd, 0x5f, 0xfa, 0x0a, 0x7f, 0xee, 0xab, 0xff,
206         0xb5, 0xaf, 0xf5, 0xd0, 0xff, 0x34, 0x67, 0x6f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xea, 0x75, 0x34,
207         0x90, 0x43, 0x02, 0x00, 0x00,
208 }