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