service.pb.go 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573
  1. // Copyright 2019 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: profiling/proto/service.proto
  19. package proto
  20. import (
  21. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  22. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  23. reflect "reflect"
  24. sync "sync"
  25. )
  26. const (
  27. // Verify that this generated code is sufficiently up-to-date.
  28. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  29. // Verify that runtime/protoimpl is sufficiently up-to-date.
  30. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  31. )
  32. // EnableRequest defines the fields in a /Profiling/Enable method request to
  33. // toggle profiling on and off within a gRPC program.
  34. type EnableRequest struct {
  35. state protoimpl.MessageState
  36. sizeCache protoimpl.SizeCache
  37. unknownFields protoimpl.UnknownFields
  38. // Setting this to true will enable profiling. Setting this to false will
  39. // disable profiling.
  40. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  41. }
  42. func (x *EnableRequest) Reset() {
  43. *x = EnableRequest{}
  44. if protoimpl.UnsafeEnabled {
  45. mi := &file_profiling_proto_service_proto_msgTypes[0]
  46. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  47. ms.StoreMessageInfo(mi)
  48. }
  49. }
  50. func (x *EnableRequest) String() string {
  51. return protoimpl.X.MessageStringOf(x)
  52. }
  53. func (*EnableRequest) ProtoMessage() {}
  54. func (x *EnableRequest) ProtoReflect() protoreflect.Message {
  55. mi := &file_profiling_proto_service_proto_msgTypes[0]
  56. if protoimpl.UnsafeEnabled && x != nil {
  57. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  58. if ms.LoadMessageInfo() == nil {
  59. ms.StoreMessageInfo(mi)
  60. }
  61. return ms
  62. }
  63. return mi.MessageOf(x)
  64. }
  65. // Deprecated: Use EnableRequest.ProtoReflect.Descriptor instead.
  66. func (*EnableRequest) Descriptor() ([]byte, []int) {
  67. return file_profiling_proto_service_proto_rawDescGZIP(), []int{0}
  68. }
  69. func (x *EnableRequest) GetEnabled() bool {
  70. if x != nil {
  71. return x.Enabled
  72. }
  73. return false
  74. }
  75. // EnableResponse defines the fields in a /Profiling/Enable method response.
  76. type EnableResponse struct {
  77. state protoimpl.MessageState
  78. sizeCache protoimpl.SizeCache
  79. unknownFields protoimpl.UnknownFields
  80. }
  81. func (x *EnableResponse) Reset() {
  82. *x = EnableResponse{}
  83. if protoimpl.UnsafeEnabled {
  84. mi := &file_profiling_proto_service_proto_msgTypes[1]
  85. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  86. ms.StoreMessageInfo(mi)
  87. }
  88. }
  89. func (x *EnableResponse) String() string {
  90. return protoimpl.X.MessageStringOf(x)
  91. }
  92. func (*EnableResponse) ProtoMessage() {}
  93. func (x *EnableResponse) ProtoReflect() protoreflect.Message {
  94. mi := &file_profiling_proto_service_proto_msgTypes[1]
  95. if protoimpl.UnsafeEnabled && x != nil {
  96. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  97. if ms.LoadMessageInfo() == nil {
  98. ms.StoreMessageInfo(mi)
  99. }
  100. return ms
  101. }
  102. return mi.MessageOf(x)
  103. }
  104. // Deprecated: Use EnableResponse.ProtoReflect.Descriptor instead.
  105. func (*EnableResponse) Descriptor() ([]byte, []int) {
  106. return file_profiling_proto_service_proto_rawDescGZIP(), []int{1}
  107. }
  108. // GetStreamStatsRequest defines the fields in a /Profiling/GetStreamStats
  109. // method request to retrieve stream-level stats in a gRPC client/server.
  110. type GetStreamStatsRequest struct {
  111. state protoimpl.MessageState
  112. sizeCache protoimpl.SizeCache
  113. unknownFields protoimpl.UnknownFields
  114. }
  115. func (x *GetStreamStatsRequest) Reset() {
  116. *x = GetStreamStatsRequest{}
  117. if protoimpl.UnsafeEnabled {
  118. mi := &file_profiling_proto_service_proto_msgTypes[2]
  119. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  120. ms.StoreMessageInfo(mi)
  121. }
  122. }
  123. func (x *GetStreamStatsRequest) String() string {
  124. return protoimpl.X.MessageStringOf(x)
  125. }
  126. func (*GetStreamStatsRequest) ProtoMessage() {}
  127. func (x *GetStreamStatsRequest) ProtoReflect() protoreflect.Message {
  128. mi := &file_profiling_proto_service_proto_msgTypes[2]
  129. if protoimpl.UnsafeEnabled && x != nil {
  130. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  131. if ms.LoadMessageInfo() == nil {
  132. ms.StoreMessageInfo(mi)
  133. }
  134. return ms
  135. }
  136. return mi.MessageOf(x)
  137. }
  138. // Deprecated: Use GetStreamStatsRequest.ProtoReflect.Descriptor instead.
  139. func (*GetStreamStatsRequest) Descriptor() ([]byte, []int) {
  140. return file_profiling_proto_service_proto_rawDescGZIP(), []int{2}
  141. }
  142. // GetStreamStatsResponse defines the fields in a /Profiling/GetStreamStats
  143. // method response.
  144. type GetStreamStatsResponse struct {
  145. state protoimpl.MessageState
  146. sizeCache protoimpl.SizeCache
  147. unknownFields protoimpl.UnknownFields
  148. StreamStats []*Stat `protobuf:"bytes,1,rep,name=stream_stats,json=streamStats,proto3" json:"stream_stats,omitempty"`
  149. }
  150. func (x *GetStreamStatsResponse) Reset() {
  151. *x = GetStreamStatsResponse{}
  152. if protoimpl.UnsafeEnabled {
  153. mi := &file_profiling_proto_service_proto_msgTypes[3]
  154. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  155. ms.StoreMessageInfo(mi)
  156. }
  157. }
  158. func (x *GetStreamStatsResponse) String() string {
  159. return protoimpl.X.MessageStringOf(x)
  160. }
  161. func (*GetStreamStatsResponse) ProtoMessage() {}
  162. func (x *GetStreamStatsResponse) ProtoReflect() protoreflect.Message {
  163. mi := &file_profiling_proto_service_proto_msgTypes[3]
  164. if protoimpl.UnsafeEnabled && x != nil {
  165. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  166. if ms.LoadMessageInfo() == nil {
  167. ms.StoreMessageInfo(mi)
  168. }
  169. return ms
  170. }
  171. return mi.MessageOf(x)
  172. }
  173. // Deprecated: Use GetStreamStatsResponse.ProtoReflect.Descriptor instead.
  174. func (*GetStreamStatsResponse) Descriptor() ([]byte, []int) {
  175. return file_profiling_proto_service_proto_rawDescGZIP(), []int{3}
  176. }
  177. func (x *GetStreamStatsResponse) GetStreamStats() []*Stat {
  178. if x != nil {
  179. return x.StreamStats
  180. }
  181. return nil
  182. }
  183. // A Timer measures the start and end of execution of a component within
  184. // gRPC that's being profiled. It includes a tag and some additional metadata
  185. // to identify itself.
  186. type Timer struct {
  187. state protoimpl.MessageState
  188. sizeCache protoimpl.SizeCache
  189. unknownFields protoimpl.UnknownFields
  190. // tags is a comma-separated list of strings used to tag a timer.
  191. Tags string `protobuf:"bytes,1,opt,name=tags,proto3" json:"tags,omitempty"`
  192. // begin_sec and begin_nsec are the start epoch second and nanosecond,
  193. // respectively, of the component profiled by this timer in UTC. begin_nsec
  194. // must be a non-negative integer.
  195. BeginSec int64 `protobuf:"varint,2,opt,name=begin_sec,json=beginSec,proto3" json:"begin_sec,omitempty"`
  196. BeginNsec int32 `protobuf:"varint,3,opt,name=begin_nsec,json=beginNsec,proto3" json:"begin_nsec,omitempty"`
  197. // end_sec and end_nsec are the end epoch second and nanosecond,
  198. // respectively, of the component profiled by this timer in UTC. end_nsec
  199. // must be a non-negative integer.
  200. EndSec int64 `protobuf:"varint,4,opt,name=end_sec,json=endSec,proto3" json:"end_sec,omitempty"`
  201. EndNsec int32 `protobuf:"varint,5,opt,name=end_nsec,json=endNsec,proto3" json:"end_nsec,omitempty"`
  202. // go_id is the goroutine ID of the component being profiled.
  203. GoId int64 `protobuf:"varint,6,opt,name=go_id,json=goId,proto3" json:"go_id,omitempty"`
  204. }
  205. func (x *Timer) Reset() {
  206. *x = Timer{}
  207. if protoimpl.UnsafeEnabled {
  208. mi := &file_profiling_proto_service_proto_msgTypes[4]
  209. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  210. ms.StoreMessageInfo(mi)
  211. }
  212. }
  213. func (x *Timer) String() string {
  214. return protoimpl.X.MessageStringOf(x)
  215. }
  216. func (*Timer) ProtoMessage() {}
  217. func (x *Timer) ProtoReflect() protoreflect.Message {
  218. mi := &file_profiling_proto_service_proto_msgTypes[4]
  219. if protoimpl.UnsafeEnabled && x != nil {
  220. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  221. if ms.LoadMessageInfo() == nil {
  222. ms.StoreMessageInfo(mi)
  223. }
  224. return ms
  225. }
  226. return mi.MessageOf(x)
  227. }
  228. // Deprecated: Use Timer.ProtoReflect.Descriptor instead.
  229. func (*Timer) Descriptor() ([]byte, []int) {
  230. return file_profiling_proto_service_proto_rawDescGZIP(), []int{4}
  231. }
  232. func (x *Timer) GetTags() string {
  233. if x != nil {
  234. return x.Tags
  235. }
  236. return ""
  237. }
  238. func (x *Timer) GetBeginSec() int64 {
  239. if x != nil {
  240. return x.BeginSec
  241. }
  242. return 0
  243. }
  244. func (x *Timer) GetBeginNsec() int32 {
  245. if x != nil {
  246. return x.BeginNsec
  247. }
  248. return 0
  249. }
  250. func (x *Timer) GetEndSec() int64 {
  251. if x != nil {
  252. return x.EndSec
  253. }
  254. return 0
  255. }
  256. func (x *Timer) GetEndNsec() int32 {
  257. if x != nil {
  258. return x.EndNsec
  259. }
  260. return 0
  261. }
  262. func (x *Timer) GetGoId() int64 {
  263. if x != nil {
  264. return x.GoId
  265. }
  266. return 0
  267. }
  268. // A Stat is a collection of Timers along with some additional
  269. // metadata to tag and identify itself.
  270. type Stat struct {
  271. state protoimpl.MessageState
  272. sizeCache protoimpl.SizeCache
  273. unknownFields protoimpl.UnknownFields
  274. // tags is a comma-separated list of strings used to categorize a stat.
  275. Tags string `protobuf:"bytes,1,opt,name=tags,proto3" json:"tags,omitempty"`
  276. // timers is an array of Timers, each representing a different
  277. // (but possibly overlapping) component within this stat.
  278. Timers []*Timer `protobuf:"bytes,2,rep,name=timers,proto3" json:"timers,omitempty"`
  279. // metadata is an array of bytes used to uniquely identify a stat with an
  280. // undefined encoding format. For example, the Stats returned by the
  281. // /Profiling/GetStreamStats service use the metadata field to encode the
  282. // connection ID and the stream ID of each query.
  283. Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
  284. }
  285. func (x *Stat) Reset() {
  286. *x = Stat{}
  287. if protoimpl.UnsafeEnabled {
  288. mi := &file_profiling_proto_service_proto_msgTypes[5]
  289. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  290. ms.StoreMessageInfo(mi)
  291. }
  292. }
  293. func (x *Stat) String() string {
  294. return protoimpl.X.MessageStringOf(x)
  295. }
  296. func (*Stat) ProtoMessage() {}
  297. func (x *Stat) ProtoReflect() protoreflect.Message {
  298. mi := &file_profiling_proto_service_proto_msgTypes[5]
  299. if protoimpl.UnsafeEnabled && x != nil {
  300. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  301. if ms.LoadMessageInfo() == nil {
  302. ms.StoreMessageInfo(mi)
  303. }
  304. return ms
  305. }
  306. return mi.MessageOf(x)
  307. }
  308. // Deprecated: Use Stat.ProtoReflect.Descriptor instead.
  309. func (*Stat) Descriptor() ([]byte, []int) {
  310. return file_profiling_proto_service_proto_rawDescGZIP(), []int{5}
  311. }
  312. func (x *Stat) GetTags() string {
  313. if x != nil {
  314. return x.Tags
  315. }
  316. return ""
  317. }
  318. func (x *Stat) GetTimers() []*Timer {
  319. if x != nil {
  320. return x.Timers
  321. }
  322. return nil
  323. }
  324. func (x *Stat) GetMetadata() []byte {
  325. if x != nil {
  326. return x.Metadata
  327. }
  328. return nil
  329. }
  330. var File_profiling_proto_service_proto protoreflect.FileDescriptor
  331. var file_profiling_proto_service_proto_rawDesc = []byte{
  332. 0x0a, 0x1d, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
  333. 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  334. 0x19, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69,
  335. 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x29, 0x0a, 0x0d, 0x45, 0x6e,
  336. 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65,
  337. 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e,
  338. 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x10, 0x0a, 0x0e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52,
  339. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x74,
  340. 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  341. 0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61,
  342. 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0c, 0x73, 0x74,
  343. 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  344. 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69,
  345. 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x74, 0x61,
  346. 0x74, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0xa0,
  347. 0x01, 0x0a, 0x05, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73,
  348. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1b, 0x0a, 0x09,
  349. 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  350. 0x08, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x65, 0x67,
  351. 0x69, 0x6e, 0x5f, 0x6e, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62,
  352. 0x65, 0x67, 0x69, 0x6e, 0x4e, 0x73, 0x65, 0x63, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x5f,
  353. 0x73, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x53, 0x65,
  354. 0x63, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x6e, 0x73, 0x65, 0x63, 0x18, 0x05, 0x20,
  355. 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x4e, 0x73, 0x65, 0x63, 0x12, 0x13, 0x0a, 0x05,
  356. 0x67, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x67, 0x6f, 0x49,
  357. 0x64, 0x22, 0x70, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67,
  358. 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x38, 0x0a,
  359. 0x06, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e,
  360. 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e,
  361. 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x72, 0x52,
  362. 0x06, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
  363. 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
  364. 0x61, 0x74, 0x61, 0x32, 0xe1, 0x01, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e,
  365. 0x67, 0x12, 0x5d, 0x0a, 0x06, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x28, 0x2e, 0x67, 0x72,
  366. 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2e,
  367. 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65,
  368. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e,
  369. 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
  370. 0x61, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  371. 0x12, 0x75, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61,
  372. 0x74, 0x73, 0x12, 0x30, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
  373. 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47,
  374. 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71,
  375. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x6f, 0x2e, 0x70,
  376. 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
  377. 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
  378. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  379. 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x72, 0x70,
  380. 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
  381. 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  382. }
  383. var (
  384. file_profiling_proto_service_proto_rawDescOnce sync.Once
  385. file_profiling_proto_service_proto_rawDescData = file_profiling_proto_service_proto_rawDesc
  386. )
  387. func file_profiling_proto_service_proto_rawDescGZIP() []byte {
  388. file_profiling_proto_service_proto_rawDescOnce.Do(func() {
  389. file_profiling_proto_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_profiling_proto_service_proto_rawDescData)
  390. })
  391. return file_profiling_proto_service_proto_rawDescData
  392. }
  393. var file_profiling_proto_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  394. var file_profiling_proto_service_proto_goTypes = []interface{}{
  395. (*EnableRequest)(nil), // 0: grpc.go.profiling.v1alpha.EnableRequest
  396. (*EnableResponse)(nil), // 1: grpc.go.profiling.v1alpha.EnableResponse
  397. (*GetStreamStatsRequest)(nil), // 2: grpc.go.profiling.v1alpha.GetStreamStatsRequest
  398. (*GetStreamStatsResponse)(nil), // 3: grpc.go.profiling.v1alpha.GetStreamStatsResponse
  399. (*Timer)(nil), // 4: grpc.go.profiling.v1alpha.Timer
  400. (*Stat)(nil), // 5: grpc.go.profiling.v1alpha.Stat
  401. }
  402. var file_profiling_proto_service_proto_depIdxs = []int32{
  403. 5, // 0: grpc.go.profiling.v1alpha.GetStreamStatsResponse.stream_stats:type_name -> grpc.go.profiling.v1alpha.Stat
  404. 4, // 1: grpc.go.profiling.v1alpha.Stat.timers:type_name -> grpc.go.profiling.v1alpha.Timer
  405. 0, // 2: grpc.go.profiling.v1alpha.Profiling.Enable:input_type -> grpc.go.profiling.v1alpha.EnableRequest
  406. 2, // 3: grpc.go.profiling.v1alpha.Profiling.GetStreamStats:input_type -> grpc.go.profiling.v1alpha.GetStreamStatsRequest
  407. 1, // 4: grpc.go.profiling.v1alpha.Profiling.Enable:output_type -> grpc.go.profiling.v1alpha.EnableResponse
  408. 3, // 5: grpc.go.profiling.v1alpha.Profiling.GetStreamStats:output_type -> grpc.go.profiling.v1alpha.GetStreamStatsResponse
  409. 4, // [4:6] is the sub-list for method output_type
  410. 2, // [2:4] is the sub-list for method input_type
  411. 2, // [2:2] is the sub-list for extension type_name
  412. 2, // [2:2] is the sub-list for extension extendee
  413. 0, // [0:2] is the sub-list for field type_name
  414. }
  415. func init() { file_profiling_proto_service_proto_init() }
  416. func file_profiling_proto_service_proto_init() {
  417. if File_profiling_proto_service_proto != nil {
  418. return
  419. }
  420. if !protoimpl.UnsafeEnabled {
  421. file_profiling_proto_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  422. switch v := v.(*EnableRequest); i {
  423. case 0:
  424. return &v.state
  425. case 1:
  426. return &v.sizeCache
  427. case 2:
  428. return &v.unknownFields
  429. default:
  430. return nil
  431. }
  432. }
  433. file_profiling_proto_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  434. switch v := v.(*EnableResponse); i {
  435. case 0:
  436. return &v.state
  437. case 1:
  438. return &v.sizeCache
  439. case 2:
  440. return &v.unknownFields
  441. default:
  442. return nil
  443. }
  444. }
  445. file_profiling_proto_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  446. switch v := v.(*GetStreamStatsRequest); i {
  447. case 0:
  448. return &v.state
  449. case 1:
  450. return &v.sizeCache
  451. case 2:
  452. return &v.unknownFields
  453. default:
  454. return nil
  455. }
  456. }
  457. file_profiling_proto_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  458. switch v := v.(*GetStreamStatsResponse); i {
  459. case 0:
  460. return &v.state
  461. case 1:
  462. return &v.sizeCache
  463. case 2:
  464. return &v.unknownFields
  465. default:
  466. return nil
  467. }
  468. }
  469. file_profiling_proto_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  470. switch v := v.(*Timer); i {
  471. case 0:
  472. return &v.state
  473. case 1:
  474. return &v.sizeCache
  475. case 2:
  476. return &v.unknownFields
  477. default:
  478. return nil
  479. }
  480. }
  481. file_profiling_proto_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  482. switch v := v.(*Stat); 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. }
  494. type x struct{}
  495. out := protoimpl.TypeBuilder{
  496. File: protoimpl.DescBuilder{
  497. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  498. RawDescriptor: file_profiling_proto_service_proto_rawDesc,
  499. NumEnums: 0,
  500. NumMessages: 6,
  501. NumExtensions: 0,
  502. NumServices: 1,
  503. },
  504. GoTypes: file_profiling_proto_service_proto_goTypes,
  505. DependencyIndexes: file_profiling_proto_service_proto_depIdxs,
  506. MessageInfos: file_profiling_proto_service_proto_msgTypes,
  507. }.Build()
  508. File_profiling_proto_service_proto = out.File
  509. file_profiling_proto_service_proto_rawDesc = nil
  510. file_profiling_proto_service_proto_goTypes = nil
  511. file_profiling_proto_service_proto_depIdxs = nil
  512. }