config.pb.go 13 KB

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