github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/app/stats/command/command.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0 4 // protoc v4.23.1 5 // source: app/stats/command/command.proto 6 7 package command 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type GetStatsRequest struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 // Name of the stat counter. 29 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 30 // Whether or not to reset the counter to fetching its value. 31 Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"` 32 } 33 34 func (x *GetStatsRequest) Reset() { 35 *x = GetStatsRequest{} 36 if protoimpl.UnsafeEnabled { 37 mi := &file_app_stats_command_command_proto_msgTypes[0] 38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 39 ms.StoreMessageInfo(mi) 40 } 41 } 42 43 func (x *GetStatsRequest) String() string { 44 return protoimpl.X.MessageStringOf(x) 45 } 46 47 func (*GetStatsRequest) ProtoMessage() {} 48 49 func (x *GetStatsRequest) ProtoReflect() protoreflect.Message { 50 mi := &file_app_stats_command_command_proto_msgTypes[0] 51 if protoimpl.UnsafeEnabled && x != nil { 52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 53 if ms.LoadMessageInfo() == nil { 54 ms.StoreMessageInfo(mi) 55 } 56 return ms 57 } 58 return mi.MessageOf(x) 59 } 60 61 // Deprecated: Use GetStatsRequest.ProtoReflect.Descriptor instead. 62 func (*GetStatsRequest) Descriptor() ([]byte, []int) { 63 return file_app_stats_command_command_proto_rawDescGZIP(), []int{0} 64 } 65 66 func (x *GetStatsRequest) GetName() string { 67 if x != nil { 68 return x.Name 69 } 70 return "" 71 } 72 73 func (x *GetStatsRequest) GetReset_() bool { 74 if x != nil { 75 return x.Reset_ 76 } 77 return false 78 } 79 80 type Stat struct { 81 state protoimpl.MessageState 82 sizeCache protoimpl.SizeCache 83 unknownFields protoimpl.UnknownFields 84 85 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 86 Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` 87 } 88 89 func (x *Stat) Reset() { 90 *x = Stat{} 91 if protoimpl.UnsafeEnabled { 92 mi := &file_app_stats_command_command_proto_msgTypes[1] 93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 94 ms.StoreMessageInfo(mi) 95 } 96 } 97 98 func (x *Stat) String() string { 99 return protoimpl.X.MessageStringOf(x) 100 } 101 102 func (*Stat) ProtoMessage() {} 103 104 func (x *Stat) ProtoReflect() protoreflect.Message { 105 mi := &file_app_stats_command_command_proto_msgTypes[1] 106 if protoimpl.UnsafeEnabled && x != nil { 107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 108 if ms.LoadMessageInfo() == nil { 109 ms.StoreMessageInfo(mi) 110 } 111 return ms 112 } 113 return mi.MessageOf(x) 114 } 115 116 // Deprecated: Use Stat.ProtoReflect.Descriptor instead. 117 func (*Stat) Descriptor() ([]byte, []int) { 118 return file_app_stats_command_command_proto_rawDescGZIP(), []int{1} 119 } 120 121 func (x *Stat) GetName() string { 122 if x != nil { 123 return x.Name 124 } 125 return "" 126 } 127 128 func (x *Stat) GetValue() int64 { 129 if x != nil { 130 return x.Value 131 } 132 return 0 133 } 134 135 type GetStatsResponse struct { 136 state protoimpl.MessageState 137 sizeCache protoimpl.SizeCache 138 unknownFields protoimpl.UnknownFields 139 140 Stat *Stat `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"` 141 } 142 143 func (x *GetStatsResponse) Reset() { 144 *x = GetStatsResponse{} 145 if protoimpl.UnsafeEnabled { 146 mi := &file_app_stats_command_command_proto_msgTypes[2] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 148 ms.StoreMessageInfo(mi) 149 } 150 } 151 152 func (x *GetStatsResponse) String() string { 153 return protoimpl.X.MessageStringOf(x) 154 } 155 156 func (*GetStatsResponse) ProtoMessage() {} 157 158 func (x *GetStatsResponse) ProtoReflect() protoreflect.Message { 159 mi := &file_app_stats_command_command_proto_msgTypes[2] 160 if protoimpl.UnsafeEnabled && x != nil { 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 162 if ms.LoadMessageInfo() == nil { 163 ms.StoreMessageInfo(mi) 164 } 165 return ms 166 } 167 return mi.MessageOf(x) 168 } 169 170 // Deprecated: Use GetStatsResponse.ProtoReflect.Descriptor instead. 171 func (*GetStatsResponse) Descriptor() ([]byte, []int) { 172 return file_app_stats_command_command_proto_rawDescGZIP(), []int{2} 173 } 174 175 func (x *GetStatsResponse) GetStat() *Stat { 176 if x != nil { 177 return x.Stat 178 } 179 return nil 180 } 181 182 type QueryStatsRequest struct { 183 state protoimpl.MessageState 184 sizeCache protoimpl.SizeCache 185 unknownFields protoimpl.UnknownFields 186 187 Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` 188 Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"` 189 } 190 191 func (x *QueryStatsRequest) Reset() { 192 *x = QueryStatsRequest{} 193 if protoimpl.UnsafeEnabled { 194 mi := &file_app_stats_command_command_proto_msgTypes[3] 195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 196 ms.StoreMessageInfo(mi) 197 } 198 } 199 200 func (x *QueryStatsRequest) String() string { 201 return protoimpl.X.MessageStringOf(x) 202 } 203 204 func (*QueryStatsRequest) ProtoMessage() {} 205 206 func (x *QueryStatsRequest) ProtoReflect() protoreflect.Message { 207 mi := &file_app_stats_command_command_proto_msgTypes[3] 208 if protoimpl.UnsafeEnabled && x != nil { 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 if ms.LoadMessageInfo() == nil { 211 ms.StoreMessageInfo(mi) 212 } 213 return ms 214 } 215 return mi.MessageOf(x) 216 } 217 218 // Deprecated: Use QueryStatsRequest.ProtoReflect.Descriptor instead. 219 func (*QueryStatsRequest) Descriptor() ([]byte, []int) { 220 return file_app_stats_command_command_proto_rawDescGZIP(), []int{3} 221 } 222 223 func (x *QueryStatsRequest) GetPattern() string { 224 if x != nil { 225 return x.Pattern 226 } 227 return "" 228 } 229 230 func (x *QueryStatsRequest) GetReset_() bool { 231 if x != nil { 232 return x.Reset_ 233 } 234 return false 235 } 236 237 type QueryStatsResponse struct { 238 state protoimpl.MessageState 239 sizeCache protoimpl.SizeCache 240 unknownFields protoimpl.UnknownFields 241 242 Stat []*Stat `protobuf:"bytes,1,rep,name=stat,proto3" json:"stat,omitempty"` 243 } 244 245 func (x *QueryStatsResponse) Reset() { 246 *x = QueryStatsResponse{} 247 if protoimpl.UnsafeEnabled { 248 mi := &file_app_stats_command_command_proto_msgTypes[4] 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 ms.StoreMessageInfo(mi) 251 } 252 } 253 254 func (x *QueryStatsResponse) String() string { 255 return protoimpl.X.MessageStringOf(x) 256 } 257 258 func (*QueryStatsResponse) ProtoMessage() {} 259 260 func (x *QueryStatsResponse) ProtoReflect() protoreflect.Message { 261 mi := &file_app_stats_command_command_proto_msgTypes[4] 262 if protoimpl.UnsafeEnabled && x != nil { 263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 264 if ms.LoadMessageInfo() == nil { 265 ms.StoreMessageInfo(mi) 266 } 267 return ms 268 } 269 return mi.MessageOf(x) 270 } 271 272 // Deprecated: Use QueryStatsResponse.ProtoReflect.Descriptor instead. 273 func (*QueryStatsResponse) Descriptor() ([]byte, []int) { 274 return file_app_stats_command_command_proto_rawDescGZIP(), []int{4} 275 } 276 277 func (x *QueryStatsResponse) GetStat() []*Stat { 278 if x != nil { 279 return x.Stat 280 } 281 return nil 282 } 283 284 type SysStatsRequest struct { 285 state protoimpl.MessageState 286 sizeCache protoimpl.SizeCache 287 unknownFields protoimpl.UnknownFields 288 } 289 290 func (x *SysStatsRequest) Reset() { 291 *x = SysStatsRequest{} 292 if protoimpl.UnsafeEnabled { 293 mi := &file_app_stats_command_command_proto_msgTypes[5] 294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 295 ms.StoreMessageInfo(mi) 296 } 297 } 298 299 func (x *SysStatsRequest) String() string { 300 return protoimpl.X.MessageStringOf(x) 301 } 302 303 func (*SysStatsRequest) ProtoMessage() {} 304 305 func (x *SysStatsRequest) ProtoReflect() protoreflect.Message { 306 mi := &file_app_stats_command_command_proto_msgTypes[5] 307 if protoimpl.UnsafeEnabled && x != nil { 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 309 if ms.LoadMessageInfo() == nil { 310 ms.StoreMessageInfo(mi) 311 } 312 return ms 313 } 314 return mi.MessageOf(x) 315 } 316 317 // Deprecated: Use SysStatsRequest.ProtoReflect.Descriptor instead. 318 func (*SysStatsRequest) Descriptor() ([]byte, []int) { 319 return file_app_stats_command_command_proto_rawDescGZIP(), []int{5} 320 } 321 322 type SysStatsResponse struct { 323 state protoimpl.MessageState 324 sizeCache protoimpl.SizeCache 325 unknownFields protoimpl.UnknownFields 326 327 NumGoroutine uint32 `protobuf:"varint,1,opt,name=NumGoroutine,proto3" json:"NumGoroutine,omitempty"` 328 NumGC uint32 `protobuf:"varint,2,opt,name=NumGC,proto3" json:"NumGC,omitempty"` 329 Alloc uint64 `protobuf:"varint,3,opt,name=Alloc,proto3" json:"Alloc,omitempty"` 330 TotalAlloc uint64 `protobuf:"varint,4,opt,name=TotalAlloc,proto3" json:"TotalAlloc,omitempty"` 331 Sys uint64 `protobuf:"varint,5,opt,name=Sys,proto3" json:"Sys,omitempty"` 332 Mallocs uint64 `protobuf:"varint,6,opt,name=Mallocs,proto3" json:"Mallocs,omitempty"` 333 Frees uint64 `protobuf:"varint,7,opt,name=Frees,proto3" json:"Frees,omitempty"` 334 LiveObjects uint64 `protobuf:"varint,8,opt,name=LiveObjects,proto3" json:"LiveObjects,omitempty"` 335 PauseTotalNs uint64 `protobuf:"varint,9,opt,name=PauseTotalNs,proto3" json:"PauseTotalNs,omitempty"` 336 Uptime uint32 `protobuf:"varint,10,opt,name=Uptime,proto3" json:"Uptime,omitempty"` 337 } 338 339 func (x *SysStatsResponse) Reset() { 340 *x = SysStatsResponse{} 341 if protoimpl.UnsafeEnabled { 342 mi := &file_app_stats_command_command_proto_msgTypes[6] 343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 344 ms.StoreMessageInfo(mi) 345 } 346 } 347 348 func (x *SysStatsResponse) String() string { 349 return protoimpl.X.MessageStringOf(x) 350 } 351 352 func (*SysStatsResponse) ProtoMessage() {} 353 354 func (x *SysStatsResponse) ProtoReflect() protoreflect.Message { 355 mi := &file_app_stats_command_command_proto_msgTypes[6] 356 if protoimpl.UnsafeEnabled && x != nil { 357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 358 if ms.LoadMessageInfo() == nil { 359 ms.StoreMessageInfo(mi) 360 } 361 return ms 362 } 363 return mi.MessageOf(x) 364 } 365 366 // Deprecated: Use SysStatsResponse.ProtoReflect.Descriptor instead. 367 func (*SysStatsResponse) Descriptor() ([]byte, []int) { 368 return file_app_stats_command_command_proto_rawDescGZIP(), []int{6} 369 } 370 371 func (x *SysStatsResponse) GetNumGoroutine() uint32 { 372 if x != nil { 373 return x.NumGoroutine 374 } 375 return 0 376 } 377 378 func (x *SysStatsResponse) GetNumGC() uint32 { 379 if x != nil { 380 return x.NumGC 381 } 382 return 0 383 } 384 385 func (x *SysStatsResponse) GetAlloc() uint64 { 386 if x != nil { 387 return x.Alloc 388 } 389 return 0 390 } 391 392 func (x *SysStatsResponse) GetTotalAlloc() uint64 { 393 if x != nil { 394 return x.TotalAlloc 395 } 396 return 0 397 } 398 399 func (x *SysStatsResponse) GetSys() uint64 { 400 if x != nil { 401 return x.Sys 402 } 403 return 0 404 } 405 406 func (x *SysStatsResponse) GetMallocs() uint64 { 407 if x != nil { 408 return x.Mallocs 409 } 410 return 0 411 } 412 413 func (x *SysStatsResponse) GetFrees() uint64 { 414 if x != nil { 415 return x.Frees 416 } 417 return 0 418 } 419 420 func (x *SysStatsResponse) GetLiveObjects() uint64 { 421 if x != nil { 422 return x.LiveObjects 423 } 424 return 0 425 } 426 427 func (x *SysStatsResponse) GetPauseTotalNs() uint64 { 428 if x != nil { 429 return x.PauseTotalNs 430 } 431 return 0 432 } 433 434 func (x *SysStatsResponse) GetUptime() uint32 { 435 if x != nil { 436 return x.Uptime 437 } 438 return 0 439 } 440 441 type Config struct { 442 state protoimpl.MessageState 443 sizeCache protoimpl.SizeCache 444 unknownFields protoimpl.UnknownFields 445 } 446 447 func (x *Config) Reset() { 448 *x = Config{} 449 if protoimpl.UnsafeEnabled { 450 mi := &file_app_stats_command_command_proto_msgTypes[7] 451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 452 ms.StoreMessageInfo(mi) 453 } 454 } 455 456 func (x *Config) String() string { 457 return protoimpl.X.MessageStringOf(x) 458 } 459 460 func (*Config) ProtoMessage() {} 461 462 func (x *Config) ProtoReflect() protoreflect.Message { 463 mi := &file_app_stats_command_command_proto_msgTypes[7] 464 if protoimpl.UnsafeEnabled && x != nil { 465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 466 if ms.LoadMessageInfo() == nil { 467 ms.StoreMessageInfo(mi) 468 } 469 return ms 470 } 471 return mi.MessageOf(x) 472 } 473 474 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 475 func (*Config) Descriptor() ([]byte, []int) { 476 return file_app_stats_command_command_proto_rawDescGZIP(), []int{7} 477 } 478 479 var File_app_stats_command_command_proto protoreflect.FileDescriptor 480 481 var file_app_stats_command_command_proto_rawDesc = []byte{ 482 0x0a, 0x1f, 0x61, 0x70, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 483 0x61, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 484 0x6f, 0x12, 0x16, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 485 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x3b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 486 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 487 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 488 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 489 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x22, 0x30, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x12, 490 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 491 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 492 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x44, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 493 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 494 0x73, 0x74, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x78, 0x72, 0x61, 495 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 496 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x22, 0x43, 497 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 498 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x01, 499 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x14, 0x0a, 500 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 501 0x73, 0x65, 0x74, 0x22, 0x46, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 502 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x73, 0x74, 0x61, 503 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 504 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 505 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x53, 506 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa2, 507 0x02, 0x0a, 0x10, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 508 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x4e, 0x75, 0x6d, 0x47, 0x6f, 0x72, 0x6f, 0x75, 0x74, 509 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x4e, 0x75, 0x6d, 0x47, 0x6f, 510 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4e, 0x75, 0x6d, 0x47, 0x43, 511 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x4e, 0x75, 0x6d, 0x47, 0x43, 0x12, 0x14, 0x0a, 512 0x05, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x41, 0x6c, 513 0x6c, 0x6f, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 514 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 515 0x6c, 0x6f, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x79, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 516 0x52, 0x03, 0x53, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x73, 517 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x4d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x73, 0x12, 518 0x14, 0x0a, 0x05, 0x46, 0x72, 0x65, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 519 0x46, 0x72, 0x65, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4c, 0x69, 0x76, 0x65, 0x4f, 0x62, 0x6a, 520 0x65, 0x63, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x4c, 0x69, 0x76, 0x65, 521 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x61, 0x75, 0x73, 0x65, 522 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x50, 523 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x55, 524 0x70, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x70, 0x74, 525 0x69, 0x6d, 0x65, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0xba, 0x02, 526 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, 527 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x78, 0x72, 0x61, 528 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 529 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 530 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 531 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 532 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 533 0x65, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x29, 0x2e, 534 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 535 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 536 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 537 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 538 0x64, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 539 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 540 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 541 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53, 542 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 543 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 544 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 545 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x64, 0x0a, 0x1a, 0x63, 0x6f, 546 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 547 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 548 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 549 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 550 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x16, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x41, 551 0x70, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 552 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 553 } 554 555 var ( 556 file_app_stats_command_command_proto_rawDescOnce sync.Once 557 file_app_stats_command_command_proto_rawDescData = file_app_stats_command_command_proto_rawDesc 558 ) 559 560 func file_app_stats_command_command_proto_rawDescGZIP() []byte { 561 file_app_stats_command_command_proto_rawDescOnce.Do(func() { 562 file_app_stats_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_stats_command_command_proto_rawDescData) 563 }) 564 return file_app_stats_command_command_proto_rawDescData 565 } 566 567 var file_app_stats_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 568 var file_app_stats_command_command_proto_goTypes = []interface{}{ 569 (*GetStatsRequest)(nil), // 0: xray.app.stats.command.GetStatsRequest 570 (*Stat)(nil), // 1: xray.app.stats.command.Stat 571 (*GetStatsResponse)(nil), // 2: xray.app.stats.command.GetStatsResponse 572 (*QueryStatsRequest)(nil), // 3: xray.app.stats.command.QueryStatsRequest 573 (*QueryStatsResponse)(nil), // 4: xray.app.stats.command.QueryStatsResponse 574 (*SysStatsRequest)(nil), // 5: xray.app.stats.command.SysStatsRequest 575 (*SysStatsResponse)(nil), // 6: xray.app.stats.command.SysStatsResponse 576 (*Config)(nil), // 7: xray.app.stats.command.Config 577 } 578 var file_app_stats_command_command_proto_depIdxs = []int32{ 579 1, // 0: xray.app.stats.command.GetStatsResponse.stat:type_name -> xray.app.stats.command.Stat 580 1, // 1: xray.app.stats.command.QueryStatsResponse.stat:type_name -> xray.app.stats.command.Stat 581 0, // 2: xray.app.stats.command.StatsService.GetStats:input_type -> xray.app.stats.command.GetStatsRequest 582 3, // 3: xray.app.stats.command.StatsService.QueryStats:input_type -> xray.app.stats.command.QueryStatsRequest 583 5, // 4: xray.app.stats.command.StatsService.GetSysStats:input_type -> xray.app.stats.command.SysStatsRequest 584 2, // 5: xray.app.stats.command.StatsService.GetStats:output_type -> xray.app.stats.command.GetStatsResponse 585 4, // 6: xray.app.stats.command.StatsService.QueryStats:output_type -> xray.app.stats.command.QueryStatsResponse 586 6, // 7: xray.app.stats.command.StatsService.GetSysStats:output_type -> xray.app.stats.command.SysStatsResponse 587 5, // [5:8] is the sub-list for method output_type 588 2, // [2:5] is the sub-list for method input_type 589 2, // [2:2] is the sub-list for extension type_name 590 2, // [2:2] is the sub-list for extension extendee 591 0, // [0:2] is the sub-list for field type_name 592 } 593 594 func init() { file_app_stats_command_command_proto_init() } 595 func file_app_stats_command_command_proto_init() { 596 if File_app_stats_command_command_proto != nil { 597 return 598 } 599 if !protoimpl.UnsafeEnabled { 600 file_app_stats_command_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 601 switch v := v.(*GetStatsRequest); i { 602 case 0: 603 return &v.state 604 case 1: 605 return &v.sizeCache 606 case 2: 607 return &v.unknownFields 608 default: 609 return nil 610 } 611 } 612 file_app_stats_command_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 613 switch v := v.(*Stat); i { 614 case 0: 615 return &v.state 616 case 1: 617 return &v.sizeCache 618 case 2: 619 return &v.unknownFields 620 default: 621 return nil 622 } 623 } 624 file_app_stats_command_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 625 switch v := v.(*GetStatsResponse); i { 626 case 0: 627 return &v.state 628 case 1: 629 return &v.sizeCache 630 case 2: 631 return &v.unknownFields 632 default: 633 return nil 634 } 635 } 636 file_app_stats_command_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 637 switch v := v.(*QueryStatsRequest); i { 638 case 0: 639 return &v.state 640 case 1: 641 return &v.sizeCache 642 case 2: 643 return &v.unknownFields 644 default: 645 return nil 646 } 647 } 648 file_app_stats_command_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 649 switch v := v.(*QueryStatsResponse); i { 650 case 0: 651 return &v.state 652 case 1: 653 return &v.sizeCache 654 case 2: 655 return &v.unknownFields 656 default: 657 return nil 658 } 659 } 660 file_app_stats_command_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 661 switch v := v.(*SysStatsRequest); i { 662 case 0: 663 return &v.state 664 case 1: 665 return &v.sizeCache 666 case 2: 667 return &v.unknownFields 668 default: 669 return nil 670 } 671 } 672 file_app_stats_command_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 673 switch v := v.(*SysStatsResponse); i { 674 case 0: 675 return &v.state 676 case 1: 677 return &v.sizeCache 678 case 2: 679 return &v.unknownFields 680 default: 681 return nil 682 } 683 } 684 file_app_stats_command_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 685 switch v := v.(*Config); i { 686 case 0: 687 return &v.state 688 case 1: 689 return &v.sizeCache 690 case 2: 691 return &v.unknownFields 692 default: 693 return nil 694 } 695 } 696 } 697 type x struct{} 698 out := protoimpl.TypeBuilder{ 699 File: protoimpl.DescBuilder{ 700 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 701 RawDescriptor: file_app_stats_command_command_proto_rawDesc, 702 NumEnums: 0, 703 NumMessages: 8, 704 NumExtensions: 0, 705 NumServices: 1, 706 }, 707 GoTypes: file_app_stats_command_command_proto_goTypes, 708 DependencyIndexes: file_app_stats_command_command_proto_depIdxs, 709 MessageInfos: file_app_stats_command_command_proto_msgTypes, 710 }.Build() 711 File_app_stats_command_command_proto = out.File 712 file_app_stats_command_command_proto_rawDesc = nil 713 file_app_stats_command_command_proto_goTypes = nil 714 file_app_stats_command_command_proto_depIdxs = nil 715 }