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