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