google.golang.org/grpc@v1.72.2/interop/grpc_testing/stats.pb.go (about) 1 // Copyright 2015 gRPC authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.36.5 18 // protoc v5.27.1 19 // source: grpc/testing/stats.proto 20 21 package grpc_testing 22 23 import ( 24 core "google.golang.org/grpc/interop/grpc_testing/core" 25 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 26 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 27 reflect "reflect" 28 sync "sync" 29 unsafe "unsafe" 30 ) 31 32 const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37 ) 38 39 type ServerStats struct { 40 state protoimpl.MessageState `protogen:"open.v1"` 41 // wall clock time change in seconds since last reset 42 TimeElapsed float64 `protobuf:"fixed64,1,opt,name=time_elapsed,json=timeElapsed,proto3" json:"time_elapsed,omitempty"` 43 // change in user time (in seconds) used by the server since last reset 44 TimeUser float64 `protobuf:"fixed64,2,opt,name=time_user,json=timeUser,proto3" json:"time_user,omitempty"` 45 // change in server time (in seconds) used by the server process and all 46 // threads since last reset 47 TimeSystem float64 `protobuf:"fixed64,3,opt,name=time_system,json=timeSystem,proto3" json:"time_system,omitempty"` 48 // change in total cpu time of the server (data from proc/stat) 49 TotalCpuTime uint64 `protobuf:"varint,4,opt,name=total_cpu_time,json=totalCpuTime,proto3" json:"total_cpu_time,omitempty"` 50 // change in idle time of the server (data from proc/stat) 51 IdleCpuTime uint64 `protobuf:"varint,5,opt,name=idle_cpu_time,json=idleCpuTime,proto3" json:"idle_cpu_time,omitempty"` 52 // Number of polls called inside completion queue 53 CqPollCount uint64 `protobuf:"varint,6,opt,name=cq_poll_count,json=cqPollCount,proto3" json:"cq_poll_count,omitempty"` 54 // Core library stats 55 CoreStats *core.Stats `protobuf:"bytes,7,opt,name=core_stats,json=coreStats,proto3" json:"core_stats,omitempty"` 56 unknownFields protoimpl.UnknownFields 57 sizeCache protoimpl.SizeCache 58 } 59 60 func (x *ServerStats) Reset() { 61 *x = ServerStats{} 62 mi := &file_grpc_testing_stats_proto_msgTypes[0] 63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 64 ms.StoreMessageInfo(mi) 65 } 66 67 func (x *ServerStats) String() string { 68 return protoimpl.X.MessageStringOf(x) 69 } 70 71 func (*ServerStats) ProtoMessage() {} 72 73 func (x *ServerStats) ProtoReflect() protoreflect.Message { 74 mi := &file_grpc_testing_stats_proto_msgTypes[0] 75 if x != nil { 76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 77 if ms.LoadMessageInfo() == nil { 78 ms.StoreMessageInfo(mi) 79 } 80 return ms 81 } 82 return mi.MessageOf(x) 83 } 84 85 // Deprecated: Use ServerStats.ProtoReflect.Descriptor instead. 86 func (*ServerStats) Descriptor() ([]byte, []int) { 87 return file_grpc_testing_stats_proto_rawDescGZIP(), []int{0} 88 } 89 90 func (x *ServerStats) GetTimeElapsed() float64 { 91 if x != nil { 92 return x.TimeElapsed 93 } 94 return 0 95 } 96 97 func (x *ServerStats) GetTimeUser() float64 { 98 if x != nil { 99 return x.TimeUser 100 } 101 return 0 102 } 103 104 func (x *ServerStats) GetTimeSystem() float64 { 105 if x != nil { 106 return x.TimeSystem 107 } 108 return 0 109 } 110 111 func (x *ServerStats) GetTotalCpuTime() uint64 { 112 if x != nil { 113 return x.TotalCpuTime 114 } 115 return 0 116 } 117 118 func (x *ServerStats) GetIdleCpuTime() uint64 { 119 if x != nil { 120 return x.IdleCpuTime 121 } 122 return 0 123 } 124 125 func (x *ServerStats) GetCqPollCount() uint64 { 126 if x != nil { 127 return x.CqPollCount 128 } 129 return 0 130 } 131 132 func (x *ServerStats) GetCoreStats() *core.Stats { 133 if x != nil { 134 return x.CoreStats 135 } 136 return nil 137 } 138 139 // Histogram params based on grpc/support/histogram.c 140 type HistogramParams struct { 141 state protoimpl.MessageState `protogen:"open.v1"` 142 Resolution float64 `protobuf:"fixed64,1,opt,name=resolution,proto3" json:"resolution,omitempty"` // first bucket is [0, 1 + resolution) 143 MaxPossible float64 `protobuf:"fixed64,2,opt,name=max_possible,json=maxPossible,proto3" json:"max_possible,omitempty"` // use enough buckets to allow this value 144 unknownFields protoimpl.UnknownFields 145 sizeCache protoimpl.SizeCache 146 } 147 148 func (x *HistogramParams) Reset() { 149 *x = HistogramParams{} 150 mi := &file_grpc_testing_stats_proto_msgTypes[1] 151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 152 ms.StoreMessageInfo(mi) 153 } 154 155 func (x *HistogramParams) String() string { 156 return protoimpl.X.MessageStringOf(x) 157 } 158 159 func (*HistogramParams) ProtoMessage() {} 160 161 func (x *HistogramParams) ProtoReflect() protoreflect.Message { 162 mi := &file_grpc_testing_stats_proto_msgTypes[1] 163 if x != nil { 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 if ms.LoadMessageInfo() == nil { 166 ms.StoreMessageInfo(mi) 167 } 168 return ms 169 } 170 return mi.MessageOf(x) 171 } 172 173 // Deprecated: Use HistogramParams.ProtoReflect.Descriptor instead. 174 func (*HistogramParams) Descriptor() ([]byte, []int) { 175 return file_grpc_testing_stats_proto_rawDescGZIP(), []int{1} 176 } 177 178 func (x *HistogramParams) GetResolution() float64 { 179 if x != nil { 180 return x.Resolution 181 } 182 return 0 183 } 184 185 func (x *HistogramParams) GetMaxPossible() float64 { 186 if x != nil { 187 return x.MaxPossible 188 } 189 return 0 190 } 191 192 // Histogram data based on grpc/support/histogram.c 193 type HistogramData struct { 194 state protoimpl.MessageState `protogen:"open.v1"` 195 Bucket []uint32 `protobuf:"varint,1,rep,packed,name=bucket,proto3" json:"bucket,omitempty"` 196 MinSeen float64 `protobuf:"fixed64,2,opt,name=min_seen,json=minSeen,proto3" json:"min_seen,omitempty"` 197 MaxSeen float64 `protobuf:"fixed64,3,opt,name=max_seen,json=maxSeen,proto3" json:"max_seen,omitempty"` 198 Sum float64 `protobuf:"fixed64,4,opt,name=sum,proto3" json:"sum,omitempty"` 199 SumOfSquares float64 `protobuf:"fixed64,5,opt,name=sum_of_squares,json=sumOfSquares,proto3" json:"sum_of_squares,omitempty"` 200 Count float64 `protobuf:"fixed64,6,opt,name=count,proto3" json:"count,omitempty"` 201 unknownFields protoimpl.UnknownFields 202 sizeCache protoimpl.SizeCache 203 } 204 205 func (x *HistogramData) Reset() { 206 *x = HistogramData{} 207 mi := &file_grpc_testing_stats_proto_msgTypes[2] 208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 209 ms.StoreMessageInfo(mi) 210 } 211 212 func (x *HistogramData) String() string { 213 return protoimpl.X.MessageStringOf(x) 214 } 215 216 func (*HistogramData) ProtoMessage() {} 217 218 func (x *HistogramData) ProtoReflect() protoreflect.Message { 219 mi := &file_grpc_testing_stats_proto_msgTypes[2] 220 if x != nil { 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 222 if ms.LoadMessageInfo() == nil { 223 ms.StoreMessageInfo(mi) 224 } 225 return ms 226 } 227 return mi.MessageOf(x) 228 } 229 230 // Deprecated: Use HistogramData.ProtoReflect.Descriptor instead. 231 func (*HistogramData) Descriptor() ([]byte, []int) { 232 return file_grpc_testing_stats_proto_rawDescGZIP(), []int{2} 233 } 234 235 func (x *HistogramData) GetBucket() []uint32 { 236 if x != nil { 237 return x.Bucket 238 } 239 return nil 240 } 241 242 func (x *HistogramData) GetMinSeen() float64 { 243 if x != nil { 244 return x.MinSeen 245 } 246 return 0 247 } 248 249 func (x *HistogramData) GetMaxSeen() float64 { 250 if x != nil { 251 return x.MaxSeen 252 } 253 return 0 254 } 255 256 func (x *HistogramData) GetSum() float64 { 257 if x != nil { 258 return x.Sum 259 } 260 return 0 261 } 262 263 func (x *HistogramData) GetSumOfSquares() float64 { 264 if x != nil { 265 return x.SumOfSquares 266 } 267 return 0 268 } 269 270 func (x *HistogramData) GetCount() float64 { 271 if x != nil { 272 return x.Count 273 } 274 return 0 275 } 276 277 type RequestResultCount struct { 278 state protoimpl.MessageState `protogen:"open.v1"` 279 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` 280 Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` 281 unknownFields protoimpl.UnknownFields 282 sizeCache protoimpl.SizeCache 283 } 284 285 func (x *RequestResultCount) Reset() { 286 *x = RequestResultCount{} 287 mi := &file_grpc_testing_stats_proto_msgTypes[3] 288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 289 ms.StoreMessageInfo(mi) 290 } 291 292 func (x *RequestResultCount) String() string { 293 return protoimpl.X.MessageStringOf(x) 294 } 295 296 func (*RequestResultCount) ProtoMessage() {} 297 298 func (x *RequestResultCount) ProtoReflect() protoreflect.Message { 299 mi := &file_grpc_testing_stats_proto_msgTypes[3] 300 if x != nil { 301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 302 if ms.LoadMessageInfo() == nil { 303 ms.StoreMessageInfo(mi) 304 } 305 return ms 306 } 307 return mi.MessageOf(x) 308 } 309 310 // Deprecated: Use RequestResultCount.ProtoReflect.Descriptor instead. 311 func (*RequestResultCount) Descriptor() ([]byte, []int) { 312 return file_grpc_testing_stats_proto_rawDescGZIP(), []int{3} 313 } 314 315 func (x *RequestResultCount) GetStatusCode() int32 { 316 if x != nil { 317 return x.StatusCode 318 } 319 return 0 320 } 321 322 func (x *RequestResultCount) GetCount() int64 { 323 if x != nil { 324 return x.Count 325 } 326 return 0 327 } 328 329 type ClientStats struct { 330 state protoimpl.MessageState `protogen:"open.v1"` 331 // Latency histogram. Data points are in nanoseconds. 332 Latencies *HistogramData `protobuf:"bytes,1,opt,name=latencies,proto3" json:"latencies,omitempty"` 333 // See ServerStats for details. 334 TimeElapsed float64 `protobuf:"fixed64,2,opt,name=time_elapsed,json=timeElapsed,proto3" json:"time_elapsed,omitempty"` 335 TimeUser float64 `protobuf:"fixed64,3,opt,name=time_user,json=timeUser,proto3" json:"time_user,omitempty"` 336 TimeSystem float64 `protobuf:"fixed64,4,opt,name=time_system,json=timeSystem,proto3" json:"time_system,omitempty"` 337 // Number of failed requests (one row per status code seen) 338 RequestResults []*RequestResultCount `protobuf:"bytes,5,rep,name=request_results,json=requestResults,proto3" json:"request_results,omitempty"` 339 // Number of polls called inside completion queue 340 CqPollCount uint64 `protobuf:"varint,6,opt,name=cq_poll_count,json=cqPollCount,proto3" json:"cq_poll_count,omitempty"` 341 // Core library stats 342 CoreStats *core.Stats `protobuf:"bytes,7,opt,name=core_stats,json=coreStats,proto3" json:"core_stats,omitempty"` 343 unknownFields protoimpl.UnknownFields 344 sizeCache protoimpl.SizeCache 345 } 346 347 func (x *ClientStats) Reset() { 348 *x = ClientStats{} 349 mi := &file_grpc_testing_stats_proto_msgTypes[4] 350 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 351 ms.StoreMessageInfo(mi) 352 } 353 354 func (x *ClientStats) String() string { 355 return protoimpl.X.MessageStringOf(x) 356 } 357 358 func (*ClientStats) ProtoMessage() {} 359 360 func (x *ClientStats) ProtoReflect() protoreflect.Message { 361 mi := &file_grpc_testing_stats_proto_msgTypes[4] 362 if x != nil { 363 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 364 if ms.LoadMessageInfo() == nil { 365 ms.StoreMessageInfo(mi) 366 } 367 return ms 368 } 369 return mi.MessageOf(x) 370 } 371 372 // Deprecated: Use ClientStats.ProtoReflect.Descriptor instead. 373 func (*ClientStats) Descriptor() ([]byte, []int) { 374 return file_grpc_testing_stats_proto_rawDescGZIP(), []int{4} 375 } 376 377 func (x *ClientStats) GetLatencies() *HistogramData { 378 if x != nil { 379 return x.Latencies 380 } 381 return nil 382 } 383 384 func (x *ClientStats) GetTimeElapsed() float64 { 385 if x != nil { 386 return x.TimeElapsed 387 } 388 return 0 389 } 390 391 func (x *ClientStats) GetTimeUser() float64 { 392 if x != nil { 393 return x.TimeUser 394 } 395 return 0 396 } 397 398 func (x *ClientStats) GetTimeSystem() float64 { 399 if x != nil { 400 return x.TimeSystem 401 } 402 return 0 403 } 404 405 func (x *ClientStats) GetRequestResults() []*RequestResultCount { 406 if x != nil { 407 return x.RequestResults 408 } 409 return nil 410 } 411 412 func (x *ClientStats) GetCqPollCount() uint64 { 413 if x != nil { 414 return x.CqPollCount 415 } 416 return 0 417 } 418 419 func (x *ClientStats) GetCoreStats() *core.Stats { 420 if x != nil { 421 return x.CoreStats 422 } 423 return nil 424 } 425 426 var File_grpc_testing_stats_proto protoreflect.FileDescriptor 427 428 var file_grpc_testing_stats_proto_rawDesc = string([]byte{ 429 0x0a, 0x18, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x73, 430 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x72, 0x70, 0x63, 431 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x1a, 0x15, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x63, 432 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 433 0x8d, 0x02, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 434 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x18, 435 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x6c, 0x61, 0x70, 0x73, 436 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 437 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 438 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x03, 439 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 440 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x74, 0x69, 441 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 442 0x70, 0x75, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x64, 0x6c, 0x65, 0x5f, 0x63, 443 0x70, 0x75, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x69, 444 0x64, 0x6c, 0x65, 0x43, 0x70, 0x75, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x71, 445 0x5f, 0x70, 0x6f, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 446 0x04, 0x52, 0x0b, 0x63, 0x71, 0x50, 0x6f, 0x6c, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 447 0x0a, 0x0a, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 448 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 449 0x74, 0x61, 0x74, 0x73, 0x52, 0x09, 0x63, 0x6f, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 450 0x54, 0x0a, 0x0f, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x50, 0x61, 0x72, 0x61, 451 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 452 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 453 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x6f, 0x73, 0x73, 0x69, 0x62, 454 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x50, 0x6f, 0x73, 455 0x73, 0x69, 0x62, 0x6c, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x0d, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 456 0x72, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 457 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 458 0x19, 0x0a, 0x08, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 459 0x01, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 460 0x78, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x6d, 0x61, 461 0x78, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 462 0x28, 0x01, 0x52, 0x03, 0x73, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x75, 0x6d, 0x5f, 0x6f, 463 0x66, 0x5f, 0x73, 0x71, 0x75, 0x61, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 464 0x0c, 0x73, 0x75, 0x6d, 0x4f, 0x66, 0x53, 0x71, 0x75, 0x61, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 465 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x63, 0x6f, 466 0x75, 0x6e, 0x74, 0x22, 0x4b, 0x0a, 0x12, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 467 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 468 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 469 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 470 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 471 0x22, 0xc9, 0x02, 0x0a, 0x0b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 472 0x12, 0x39, 0x0a, 0x09, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 473 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 474 0x6e, 0x67, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 475 0x52, 0x09, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 476 0x69, 0x6d, 0x65, 0x5f, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 477 0x01, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x12, 0x1b, 478 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 479 0x01, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 480 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 481 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x49, 0x0a, 0x0f, 482 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 483 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 484 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x75, 485 0x6c, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 486 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x71, 0x5f, 0x70, 0x6f, 487 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 488 0x63, 0x71, 0x50, 0x6f, 0x6c, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x0a, 0x63, 489 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 490 0x10, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 491 0x73, 0x52, 0x09, 0x63, 0x6f, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x1f, 0x0a, 0x0f, 492 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x42, 493 0x0a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x62, 0x06, 0x70, 494 0x72, 0x6f, 0x74, 0x6f, 0x33, 495 }) 496 497 var ( 498 file_grpc_testing_stats_proto_rawDescOnce sync.Once 499 file_grpc_testing_stats_proto_rawDescData []byte 500 ) 501 502 func file_grpc_testing_stats_proto_rawDescGZIP() []byte { 503 file_grpc_testing_stats_proto_rawDescOnce.Do(func() { 504 file_grpc_testing_stats_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_grpc_testing_stats_proto_rawDesc), len(file_grpc_testing_stats_proto_rawDesc))) 505 }) 506 return file_grpc_testing_stats_proto_rawDescData 507 } 508 509 var file_grpc_testing_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 510 var file_grpc_testing_stats_proto_goTypes = []any{ 511 (*ServerStats)(nil), // 0: grpc.testing.ServerStats 512 (*HistogramParams)(nil), // 1: grpc.testing.HistogramParams 513 (*HistogramData)(nil), // 2: grpc.testing.HistogramData 514 (*RequestResultCount)(nil), // 3: grpc.testing.RequestResultCount 515 (*ClientStats)(nil), // 4: grpc.testing.ClientStats 516 (*core.Stats)(nil), // 5: grpc.core.Stats 517 } 518 var file_grpc_testing_stats_proto_depIdxs = []int32{ 519 5, // 0: grpc.testing.ServerStats.core_stats:type_name -> grpc.core.Stats 520 2, // 1: grpc.testing.ClientStats.latencies:type_name -> grpc.testing.HistogramData 521 3, // 2: grpc.testing.ClientStats.request_results:type_name -> grpc.testing.RequestResultCount 522 5, // 3: grpc.testing.ClientStats.core_stats:type_name -> grpc.core.Stats 523 4, // [4:4] is the sub-list for method output_type 524 4, // [4:4] is the sub-list for method input_type 525 4, // [4:4] is the sub-list for extension type_name 526 4, // [4:4] is the sub-list for extension extendee 527 0, // [0:4] is the sub-list for field type_name 528 } 529 530 func init() { file_grpc_testing_stats_proto_init() } 531 func file_grpc_testing_stats_proto_init() { 532 if File_grpc_testing_stats_proto != nil { 533 return 534 } 535 type x struct{} 536 out := protoimpl.TypeBuilder{ 537 File: protoimpl.DescBuilder{ 538 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 539 RawDescriptor: unsafe.Slice(unsafe.StringData(file_grpc_testing_stats_proto_rawDesc), len(file_grpc_testing_stats_proto_rawDesc)), 540 NumEnums: 0, 541 NumMessages: 5, 542 NumExtensions: 0, 543 NumServices: 0, 544 }, 545 GoTypes: file_grpc_testing_stats_proto_goTypes, 546 DependencyIndexes: file_grpc_testing_stats_proto_depIdxs, 547 MessageInfos: file_grpc_testing_stats_proto_msgTypes, 548 }.Build() 549 File_grpc_testing_stats_proto = out.File 550 file_grpc_testing_stats_proto_goTypes = nil 551 file_grpc_testing_stats_proto_depIdxs = nil 552 }