stats.pb.go 22 KB

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