config.pb.go 13 KB

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