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