config.pb.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. package command
  2. import (
  3. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  4. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  5. reflect "reflect"
  6. sync "sync"
  7. unsafe "unsafe"
  8. )
  9. const (
  10. // Verify that this generated code is sufficiently up-to-date.
  11. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  12. // Verify that runtime/protoimpl is sufficiently up-to-date.
  13. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  14. )
  15. type Config struct {
  16. state protoimpl.MessageState `protogen:"open.v1"`
  17. unknownFields protoimpl.UnknownFields
  18. sizeCache protoimpl.SizeCache
  19. }
  20. func (x *Config) Reset() {
  21. *x = Config{}
  22. mi := &file_app_log_command_config_proto_msgTypes[0]
  23. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  24. ms.StoreMessageInfo(mi)
  25. }
  26. func (x *Config) String() string {
  27. return protoimpl.X.MessageStringOf(x)
  28. }
  29. func (*Config) ProtoMessage() {}
  30. func (x *Config) ProtoReflect() protoreflect.Message {
  31. mi := &file_app_log_command_config_proto_msgTypes[0]
  32. if x != nil {
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. if ms.LoadMessageInfo() == nil {
  35. ms.StoreMessageInfo(mi)
  36. }
  37. return ms
  38. }
  39. return mi.MessageOf(x)
  40. }
  41. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  42. func (*Config) Descriptor() ([]byte, []int) {
  43. return file_app_log_command_config_proto_rawDescGZIP(), []int{0}
  44. }
  45. type RestartLoggerRequest struct {
  46. state protoimpl.MessageState `protogen:"open.v1"`
  47. unknownFields protoimpl.UnknownFields
  48. sizeCache protoimpl.SizeCache
  49. }
  50. func (x *RestartLoggerRequest) Reset() {
  51. *x = RestartLoggerRequest{}
  52. mi := &file_app_log_command_config_proto_msgTypes[1]
  53. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  54. ms.StoreMessageInfo(mi)
  55. }
  56. func (x *RestartLoggerRequest) String() string {
  57. return protoimpl.X.MessageStringOf(x)
  58. }
  59. func (*RestartLoggerRequest) ProtoMessage() {}
  60. func (x *RestartLoggerRequest) ProtoReflect() protoreflect.Message {
  61. mi := &file_app_log_command_config_proto_msgTypes[1]
  62. if x != nil {
  63. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  64. if ms.LoadMessageInfo() == nil {
  65. ms.StoreMessageInfo(mi)
  66. }
  67. return ms
  68. }
  69. return mi.MessageOf(x)
  70. }
  71. // Deprecated: Use RestartLoggerRequest.ProtoReflect.Descriptor instead.
  72. func (*RestartLoggerRequest) Descriptor() ([]byte, []int) {
  73. return file_app_log_command_config_proto_rawDescGZIP(), []int{1}
  74. }
  75. type RestartLoggerResponse struct {
  76. state protoimpl.MessageState `protogen:"open.v1"`
  77. unknownFields protoimpl.UnknownFields
  78. sizeCache protoimpl.SizeCache
  79. }
  80. func (x *RestartLoggerResponse) Reset() {
  81. *x = RestartLoggerResponse{}
  82. mi := &file_app_log_command_config_proto_msgTypes[2]
  83. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  84. ms.StoreMessageInfo(mi)
  85. }
  86. func (x *RestartLoggerResponse) String() string {
  87. return protoimpl.X.MessageStringOf(x)
  88. }
  89. func (*RestartLoggerResponse) ProtoMessage() {}
  90. func (x *RestartLoggerResponse) ProtoReflect() protoreflect.Message {
  91. mi := &file_app_log_command_config_proto_msgTypes[2]
  92. if x != nil {
  93. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  94. if ms.LoadMessageInfo() == nil {
  95. ms.StoreMessageInfo(mi)
  96. }
  97. return ms
  98. }
  99. return mi.MessageOf(x)
  100. }
  101. // Deprecated: Use RestartLoggerResponse.ProtoReflect.Descriptor instead.
  102. func (*RestartLoggerResponse) Descriptor() ([]byte, []int) {
  103. return file_app_log_command_config_proto_rawDescGZIP(), []int{2}
  104. }
  105. type FollowLogRequest struct {
  106. state protoimpl.MessageState `protogen:"open.v1"`
  107. unknownFields protoimpl.UnknownFields
  108. sizeCache protoimpl.SizeCache
  109. }
  110. func (x *FollowLogRequest) Reset() {
  111. *x = FollowLogRequest{}
  112. mi := &file_app_log_command_config_proto_msgTypes[3]
  113. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  114. ms.StoreMessageInfo(mi)
  115. }
  116. func (x *FollowLogRequest) String() string {
  117. return protoimpl.X.MessageStringOf(x)
  118. }
  119. func (*FollowLogRequest) ProtoMessage() {}
  120. func (x *FollowLogRequest) ProtoReflect() protoreflect.Message {
  121. mi := &file_app_log_command_config_proto_msgTypes[3]
  122. if x != nil {
  123. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  124. if ms.LoadMessageInfo() == nil {
  125. ms.StoreMessageInfo(mi)
  126. }
  127. return ms
  128. }
  129. return mi.MessageOf(x)
  130. }
  131. // Deprecated: Use FollowLogRequest.ProtoReflect.Descriptor instead.
  132. func (*FollowLogRequest) Descriptor() ([]byte, []int) {
  133. return file_app_log_command_config_proto_rawDescGZIP(), []int{3}
  134. }
  135. type FollowLogResponse struct {
  136. state protoimpl.MessageState `protogen:"open.v1"`
  137. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
  138. unknownFields protoimpl.UnknownFields
  139. sizeCache protoimpl.SizeCache
  140. }
  141. func (x *FollowLogResponse) Reset() {
  142. *x = FollowLogResponse{}
  143. mi := &file_app_log_command_config_proto_msgTypes[4]
  144. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  145. ms.StoreMessageInfo(mi)
  146. }
  147. func (x *FollowLogResponse) String() string {
  148. return protoimpl.X.MessageStringOf(x)
  149. }
  150. func (*FollowLogResponse) ProtoMessage() {}
  151. func (x *FollowLogResponse) ProtoReflect() protoreflect.Message {
  152. mi := &file_app_log_command_config_proto_msgTypes[4]
  153. if x != nil {
  154. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  155. if ms.LoadMessageInfo() == nil {
  156. ms.StoreMessageInfo(mi)
  157. }
  158. return ms
  159. }
  160. return mi.MessageOf(x)
  161. }
  162. // Deprecated: Use FollowLogResponse.ProtoReflect.Descriptor instead.
  163. func (*FollowLogResponse) Descriptor() ([]byte, []int) {
  164. return file_app_log_command_config_proto_rawDescGZIP(), []int{4}
  165. }
  166. func (x *FollowLogResponse) GetMessage() string {
  167. if x != nil {
  168. return x.Message
  169. }
  170. return ""
  171. }
  172. var File_app_log_command_config_proto protoreflect.FileDescriptor
  173. var file_app_log_command_config_proto_rawDesc = string([]byte{
  174. 0x0a, 0x1c, 0x61, 0x70, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  175. 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a,
  176. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c,
  177. 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f,
  178. 0x6e, 0x66, 0x69, 0x67, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4c,
  179. 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15,
  180. 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x73,
  181. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x4c,
  182. 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2d, 0x0a, 0x11, 0x46, 0x6f, 0x6c,
  183. 0x6c, 0x6f, 0x77, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
  184. 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  185. 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xf5, 0x01, 0x0a, 0x0d, 0x4c, 0x6f, 0x67,
  186. 0x67, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x76, 0x0a, 0x0d, 0x52, 0x65,
  187. 0x73, 0x74, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x12, 0x30, 0x2e, 0x76, 0x32,
  188. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c, 0x6f, 0x67,
  189. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74,
  190. 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e,
  191. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c,
  192. 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61,
  193. 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  194. 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x09, 0x46, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x4c, 0x6f, 0x67, 0x12,
  195. 0x2c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  196. 0x2e, 0x6c, 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x46, 0x6f, 0x6c,
  197. 0x6c, 0x6f, 0x77, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e,
  198. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c,
  199. 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x46, 0x6f, 0x6c, 0x6c, 0x6f,
  200. 0x77, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01,
  201. 0x42, 0x6f, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  202. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
  203. 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
  204. 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72,
  205. 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x2f, 0x63, 0x6f, 0x6d,
  206. 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x1a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72,
  207. 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x4c, 0x6f, 0x67, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  208. 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  209. })
  210. var (
  211. file_app_log_command_config_proto_rawDescOnce sync.Once
  212. file_app_log_command_config_proto_rawDescData []byte
  213. )
  214. func file_app_log_command_config_proto_rawDescGZIP() []byte {
  215. file_app_log_command_config_proto_rawDescOnce.Do(func() {
  216. file_app_log_command_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_log_command_config_proto_rawDesc), len(file_app_log_command_config_proto_rawDesc)))
  217. })
  218. return file_app_log_command_config_proto_rawDescData
  219. }
  220. var file_app_log_command_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  221. var file_app_log_command_config_proto_goTypes = []any{
  222. (*Config)(nil), // 0: v2ray.core.app.log.command.Config
  223. (*RestartLoggerRequest)(nil), // 1: v2ray.core.app.log.command.RestartLoggerRequest
  224. (*RestartLoggerResponse)(nil), // 2: v2ray.core.app.log.command.RestartLoggerResponse
  225. (*FollowLogRequest)(nil), // 3: v2ray.core.app.log.command.FollowLogRequest
  226. (*FollowLogResponse)(nil), // 4: v2ray.core.app.log.command.FollowLogResponse
  227. }
  228. var file_app_log_command_config_proto_depIdxs = []int32{
  229. 1, // 0: v2ray.core.app.log.command.LoggerService.RestartLogger:input_type -> v2ray.core.app.log.command.RestartLoggerRequest
  230. 3, // 1: v2ray.core.app.log.command.LoggerService.FollowLog:input_type -> v2ray.core.app.log.command.FollowLogRequest
  231. 2, // 2: v2ray.core.app.log.command.LoggerService.RestartLogger:output_type -> v2ray.core.app.log.command.RestartLoggerResponse
  232. 4, // 3: v2ray.core.app.log.command.LoggerService.FollowLog:output_type -> v2ray.core.app.log.command.FollowLogResponse
  233. 2, // [2:4] is the sub-list for method output_type
  234. 0, // [0:2] is the sub-list for method input_type
  235. 0, // [0:0] is the sub-list for extension type_name
  236. 0, // [0:0] is the sub-list for extension extendee
  237. 0, // [0:0] is the sub-list for field type_name
  238. }
  239. func init() { file_app_log_command_config_proto_init() }
  240. func file_app_log_command_config_proto_init() {
  241. if File_app_log_command_config_proto != nil {
  242. return
  243. }
  244. type x struct{}
  245. out := protoimpl.TypeBuilder{
  246. File: protoimpl.DescBuilder{
  247. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  248. RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_log_command_config_proto_rawDesc), len(file_app_log_command_config_proto_rawDesc)),
  249. NumEnums: 0,
  250. NumMessages: 5,
  251. NumExtensions: 0,
  252. NumServices: 1,
  253. },
  254. GoTypes: file_app_log_command_config_proto_goTypes,
  255. DependencyIndexes: file_app_log_command_config_proto_depIdxs,
  256. MessageInfos: file_app_log_command_config_proto_msgTypes,
  257. }.Build()
  258. File_app_log_command_config_proto = out.File
  259. file_app_log_command_config_proto_goTypes = nil
  260. file_app_log_command_config_proto_depIdxs = nil
  261. }