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