| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.8
- // protoc v6.32.0
- // source: command.proto
- package command
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type GetStatsRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // Name of the stat counter.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Whether or not to reset the counter to fetching its value.
- Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetStatsRequest) Reset() {
- *x = GetStatsRequest{}
- mi := &file_command_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetStatsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetStatsRequest) ProtoMessage() {}
- func (x *GetStatsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetStatsRequest.ProtoReflect.Descriptor instead.
- func (*GetStatsRequest) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{0}
- }
- func (x *GetStatsRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *GetStatsRequest) GetReset_() bool {
- if x != nil {
- return x.Reset_
- }
- return false
- }
- type Stat struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Stat) Reset() {
- *x = Stat{}
- mi := &file_command_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Stat) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Stat) ProtoMessage() {}
- func (x *Stat) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Stat.ProtoReflect.Descriptor instead.
- func (*Stat) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{1}
- }
- func (x *Stat) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *Stat) GetValue() int64 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- type GetStatsResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Stat *Stat `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetStatsResponse) Reset() {
- *x = GetStatsResponse{}
- mi := &file_command_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetStatsResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetStatsResponse) ProtoMessage() {}
- func (x *GetStatsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetStatsResponse.ProtoReflect.Descriptor instead.
- func (*GetStatsResponse) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{2}
- }
- func (x *GetStatsResponse) GetStat() *Stat {
- if x != nil {
- return x.Stat
- }
- return nil
- }
- type QueryStatsRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
- Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *QueryStatsRequest) Reset() {
- *x = QueryStatsRequest{}
- mi := &file_command_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *QueryStatsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*QueryStatsRequest) ProtoMessage() {}
- func (x *QueryStatsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use QueryStatsRequest.ProtoReflect.Descriptor instead.
- func (*QueryStatsRequest) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{3}
- }
- func (x *QueryStatsRequest) GetPattern() string {
- if x != nil {
- return x.Pattern
- }
- return ""
- }
- func (x *QueryStatsRequest) GetReset_() bool {
- if x != nil {
- return x.Reset_
- }
- return false
- }
- type QueryStatsResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Stat []*Stat `protobuf:"bytes,1,rep,name=stat,proto3" json:"stat,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *QueryStatsResponse) Reset() {
- *x = QueryStatsResponse{}
- mi := &file_command_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *QueryStatsResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*QueryStatsResponse) ProtoMessage() {}
- func (x *QueryStatsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use QueryStatsResponse.ProtoReflect.Descriptor instead.
- func (*QueryStatsResponse) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{4}
- }
- func (x *QueryStatsResponse) GetStat() []*Stat {
- if x != nil {
- return x.Stat
- }
- return nil
- }
- type SysStatsRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SysStatsRequest) Reset() {
- *x = SysStatsRequest{}
- mi := &file_command_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SysStatsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SysStatsRequest) ProtoMessage() {}
- func (x *SysStatsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SysStatsRequest.ProtoReflect.Descriptor instead.
- func (*SysStatsRequest) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{5}
- }
- type SysStatsResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- NumGoroutine uint32 `protobuf:"varint,1,opt,name=NumGoroutine,proto3" json:"NumGoroutine,omitempty"`
- NumGC uint32 `protobuf:"varint,2,opt,name=NumGC,proto3" json:"NumGC,omitempty"`
- Alloc uint64 `protobuf:"varint,3,opt,name=Alloc,proto3" json:"Alloc,omitempty"`
- TotalAlloc uint64 `protobuf:"varint,4,opt,name=TotalAlloc,proto3" json:"TotalAlloc,omitempty"`
- Sys uint64 `protobuf:"varint,5,opt,name=Sys,proto3" json:"Sys,omitempty"`
- Mallocs uint64 `protobuf:"varint,6,opt,name=Mallocs,proto3" json:"Mallocs,omitempty"`
- Frees uint64 `protobuf:"varint,7,opt,name=Frees,proto3" json:"Frees,omitempty"`
- LiveObjects uint64 `protobuf:"varint,8,opt,name=LiveObjects,proto3" json:"LiveObjects,omitempty"`
- PauseTotalNs uint64 `protobuf:"varint,9,opt,name=PauseTotalNs,proto3" json:"PauseTotalNs,omitempty"`
- Uptime uint32 `protobuf:"varint,10,opt,name=Uptime,proto3" json:"Uptime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SysStatsResponse) Reset() {
- *x = SysStatsResponse{}
- mi := &file_command_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SysStatsResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SysStatsResponse) ProtoMessage() {}
- func (x *SysStatsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SysStatsResponse.ProtoReflect.Descriptor instead.
- func (*SysStatsResponse) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{6}
- }
- func (x *SysStatsResponse) GetNumGoroutine() uint32 {
- if x != nil {
- return x.NumGoroutine
- }
- return 0
- }
- func (x *SysStatsResponse) GetNumGC() uint32 {
- if x != nil {
- return x.NumGC
- }
- return 0
- }
- func (x *SysStatsResponse) GetAlloc() uint64 {
- if x != nil {
- return x.Alloc
- }
- return 0
- }
- func (x *SysStatsResponse) GetTotalAlloc() uint64 {
- if x != nil {
- return x.TotalAlloc
- }
- return 0
- }
- func (x *SysStatsResponse) GetSys() uint64 {
- if x != nil {
- return x.Sys
- }
- return 0
- }
- func (x *SysStatsResponse) GetMallocs() uint64 {
- if x != nil {
- return x.Mallocs
- }
- return 0
- }
- func (x *SysStatsResponse) GetFrees() uint64 {
- if x != nil {
- return x.Frees
- }
- return 0
- }
- func (x *SysStatsResponse) GetLiveObjects() uint64 {
- if x != nil {
- return x.LiveObjects
- }
- return 0
- }
- func (x *SysStatsResponse) GetPauseTotalNs() uint64 {
- if x != nil {
- return x.PauseTotalNs
- }
- return 0
- }
- func (x *SysStatsResponse) GetUptime() uint32 {
- if x != nil {
- return x.Uptime
- }
- return 0
- }
- type GetStatsOnlineIpListResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Ips map[string]int64 `protobuf:"bytes,2,rep,name=ips,proto3" json:"ips,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetStatsOnlineIpListResponse) Reset() {
- *x = GetStatsOnlineIpListResponse{}
- mi := &file_command_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetStatsOnlineIpListResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetStatsOnlineIpListResponse) ProtoMessage() {}
- func (x *GetStatsOnlineIpListResponse) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetStatsOnlineIpListResponse.ProtoReflect.Descriptor instead.
- func (*GetStatsOnlineIpListResponse) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{7}
- }
- func (x *GetStatsOnlineIpListResponse) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *GetStatsOnlineIpListResponse) GetIps() map[string]int64 {
- if x != nil {
- return x.Ips
- }
- return nil
- }
- type GetAllOnlineUsersRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetAllOnlineUsersRequest) Reset() {
- *x = GetAllOnlineUsersRequest{}
- mi := &file_command_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetAllOnlineUsersRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAllOnlineUsersRequest) ProtoMessage() {}
- func (x *GetAllOnlineUsersRequest) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAllOnlineUsersRequest.ProtoReflect.Descriptor instead.
- func (*GetAllOnlineUsersRequest) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{8}
- }
- type GetAllOnlineUsersResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetAllOnlineUsersResponse) Reset() {
- *x = GetAllOnlineUsersResponse{}
- mi := &file_command_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetAllOnlineUsersResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAllOnlineUsersResponse) ProtoMessage() {}
- func (x *GetAllOnlineUsersResponse) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAllOnlineUsersResponse.ProtoReflect.Descriptor instead.
- func (*GetAllOnlineUsersResponse) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{9}
- }
- func (x *GetAllOnlineUsersResponse) GetUsers() []string {
- if x != nil {
- return x.Users
- }
- return nil
- }
- type Config struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Config) Reset() {
- *x = Config{}
- mi := &file_command_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Config) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Config) ProtoMessage() {}
- func (x *Config) ProtoReflect() protoreflect.Message {
- mi := &file_command_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Config.ProtoReflect.Descriptor instead.
- func (*Config) Descriptor() ([]byte, []int) {
- return file_command_proto_rawDescGZIP(), []int{10}
- }
- var File_command_proto protoreflect.FileDescriptor
- const file_command_proto_rawDesc = "" +
- "\n" +
- "\rcommand.proto\x12\x16xray.app.stats.command\";\n" +
- "\x0fGetStatsRequest\x12\x12\n" +
- "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
- "\x05reset\x18\x02 \x01(\bR\x05reset\"0\n" +
- "\x04Stat\x12\x12\n" +
- "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
- "\x05value\x18\x02 \x01(\x03R\x05value\"D\n" +
- "\x10GetStatsResponse\x120\n" +
- "\x04stat\x18\x01 \x01(\v2\x1c.xray.app.stats.command.StatR\x04stat\"C\n" +
- "\x11QueryStatsRequest\x12\x18\n" +
- "\apattern\x18\x01 \x01(\tR\apattern\x12\x14\n" +
- "\x05reset\x18\x02 \x01(\bR\x05reset\"F\n" +
- "\x12QueryStatsResponse\x120\n" +
- "\x04stat\x18\x01 \x03(\v2\x1c.xray.app.stats.command.StatR\x04stat\"\x11\n" +
- "\x0fSysStatsRequest\"\xa2\x02\n" +
- "\x10SysStatsResponse\x12\"\n" +
- "\fNumGoroutine\x18\x01 \x01(\rR\fNumGoroutine\x12\x14\n" +
- "\x05NumGC\x18\x02 \x01(\rR\x05NumGC\x12\x14\n" +
- "\x05Alloc\x18\x03 \x01(\x04R\x05Alloc\x12\x1e\n" +
- "\n" +
- "TotalAlloc\x18\x04 \x01(\x04R\n" +
- "TotalAlloc\x12\x10\n" +
- "\x03Sys\x18\x05 \x01(\x04R\x03Sys\x12\x18\n" +
- "\aMallocs\x18\x06 \x01(\x04R\aMallocs\x12\x14\n" +
- "\x05Frees\x18\a \x01(\x04R\x05Frees\x12 \n" +
- "\vLiveObjects\x18\b \x01(\x04R\vLiveObjects\x12\"\n" +
- "\fPauseTotalNs\x18\t \x01(\x04R\fPauseTotalNs\x12\x16\n" +
- "\x06Uptime\x18\n" +
- " \x01(\rR\x06Uptime\"\xbb\x01\n" +
- "\x1cGetStatsOnlineIpListResponse\x12\x12\n" +
- "\x04name\x18\x01 \x01(\tR\x04name\x12O\n" +
- "\x03ips\x18\x02 \x03(\v2=.xray.app.stats.command.GetStatsOnlineIpListResponse.IpsEntryR\x03ips\x1a6\n" +
- "\bIpsEntry\x12\x10\n" +
- "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
- "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\x1a\n" +
- "\x18GetAllOnlineUsersRequest\"1\n" +
- "\x19GetAllOnlineUsersResponse\x12\x14\n" +
- "\x05users\x18\x01 \x03(\tR\x05users\"\b\n" +
- "\x06Config2\x96\x05\n" +
- "\fStatsService\x12_\n" +
- "\bGetStats\x12'.xray.app.stats.command.GetStatsRequest\x1a(.xray.app.stats.command.GetStatsResponse\"\x00\x12e\n" +
- "\x0eGetStatsOnline\x12'.xray.app.stats.command.GetStatsRequest\x1a(.xray.app.stats.command.GetStatsResponse\"\x00\x12e\n" +
- "\n" +
- "QueryStats\x12).xray.app.stats.command.QueryStatsRequest\x1a*.xray.app.stats.command.QueryStatsResponse\"\x00\x12b\n" +
- "\vGetSysStats\x12'.xray.app.stats.command.SysStatsRequest\x1a(.xray.app.stats.command.SysStatsResponse\"\x00\x12w\n" +
- "\x14GetStatsOnlineIpList\x12'.xray.app.stats.command.GetStatsRequest\x1a4.xray.app.stats.command.GetStatsOnlineIpListResponse\"\x00\x12z\n" +
- "\x11GetAllOnlineUsers\x120.xray.app.stats.command.GetAllOnlineUsersRequest\x1a1.xray.app.stats.command.GetAllOnlineUsersResponse\"\x00Bd\n" +
- "\x1acom.xray.app.stats.commandP\x01Z+github.com/xtls/xray-core/app/stats/command\xaa\x02\x16Xray.App.Stats.Commandb\x06proto3"
- var (
- file_command_proto_rawDescOnce sync.Once
- file_command_proto_rawDescData []byte
- )
- func file_command_proto_rawDescGZIP() []byte {
- file_command_proto_rawDescOnce.Do(func() {
- file_command_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_command_proto_rawDesc), len(file_command_proto_rawDesc)))
- })
- return file_command_proto_rawDescData
- }
- var file_command_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
- var file_command_proto_goTypes = []any{
- (*GetStatsRequest)(nil), // 0: xray.app.stats.command.GetStatsRequest
- (*Stat)(nil), // 1: xray.app.stats.command.Stat
- (*GetStatsResponse)(nil), // 2: xray.app.stats.command.GetStatsResponse
- (*QueryStatsRequest)(nil), // 3: xray.app.stats.command.QueryStatsRequest
- (*QueryStatsResponse)(nil), // 4: xray.app.stats.command.QueryStatsResponse
- (*SysStatsRequest)(nil), // 5: xray.app.stats.command.SysStatsRequest
- (*SysStatsResponse)(nil), // 6: xray.app.stats.command.SysStatsResponse
- (*GetStatsOnlineIpListResponse)(nil), // 7: xray.app.stats.command.GetStatsOnlineIpListResponse
- (*GetAllOnlineUsersRequest)(nil), // 8: xray.app.stats.command.GetAllOnlineUsersRequest
- (*GetAllOnlineUsersResponse)(nil), // 9: xray.app.stats.command.GetAllOnlineUsersResponse
- (*Config)(nil), // 10: xray.app.stats.command.Config
- nil, // 11: xray.app.stats.command.GetStatsOnlineIpListResponse.IpsEntry
- }
- var file_command_proto_depIdxs = []int32{
- 1, // 0: xray.app.stats.command.GetStatsResponse.stat:type_name -> xray.app.stats.command.Stat
- 1, // 1: xray.app.stats.command.QueryStatsResponse.stat:type_name -> xray.app.stats.command.Stat
- 11, // 2: xray.app.stats.command.GetStatsOnlineIpListResponse.ips:type_name -> xray.app.stats.command.GetStatsOnlineIpListResponse.IpsEntry
- 0, // 3: xray.app.stats.command.StatsService.GetStats:input_type -> xray.app.stats.command.GetStatsRequest
- 0, // 4: xray.app.stats.command.StatsService.GetStatsOnline:input_type -> xray.app.stats.command.GetStatsRequest
- 3, // 5: xray.app.stats.command.StatsService.QueryStats:input_type -> xray.app.stats.command.QueryStatsRequest
- 5, // 6: xray.app.stats.command.StatsService.GetSysStats:input_type -> xray.app.stats.command.SysStatsRequest
- 0, // 7: xray.app.stats.command.StatsService.GetStatsOnlineIpList:input_type -> xray.app.stats.command.GetStatsRequest
- 8, // 8: xray.app.stats.command.StatsService.GetAllOnlineUsers:input_type -> xray.app.stats.command.GetAllOnlineUsersRequest
- 2, // 9: xray.app.stats.command.StatsService.GetStats:output_type -> xray.app.stats.command.GetStatsResponse
- 2, // 10: xray.app.stats.command.StatsService.GetStatsOnline:output_type -> xray.app.stats.command.GetStatsResponse
- 4, // 11: xray.app.stats.command.StatsService.QueryStats:output_type -> xray.app.stats.command.QueryStatsResponse
- 6, // 12: xray.app.stats.command.StatsService.GetSysStats:output_type -> xray.app.stats.command.SysStatsResponse
- 7, // 13: xray.app.stats.command.StatsService.GetStatsOnlineIpList:output_type -> xray.app.stats.command.GetStatsOnlineIpListResponse
- 9, // 14: xray.app.stats.command.StatsService.GetAllOnlineUsers:output_type -> xray.app.stats.command.GetAllOnlineUsersResponse
- 9, // [9:15] is the sub-list for method output_type
- 3, // [3:9] is the sub-list for method input_type
- 3, // [3:3] is the sub-list for extension type_name
- 3, // [3:3] is the sub-list for extension extendee
- 0, // [0:3] is the sub-list for field type_name
- }
- func init() { file_command_proto_init() }
- func file_command_proto_init() {
- if File_command_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_command_proto_rawDesc), len(file_command_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 12,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_command_proto_goTypes,
- DependencyIndexes: file_command_proto_depIdxs,
- MessageInfos: file_command_proto_msgTypes,
- }.Build()
- File_command_proto = out.File
- file_command_proto_goTypes = nil
- file_command_proto_depIdxs = nil
- }
|