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