config.pb.go 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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/log/command/config.proto
  6. package command
  7. import (
  8. proto "github.com/golang/protobuf/proto"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. // This is a compile-time assertion that a sufficiently up-to-date version
  21. // of the legacy proto package is being used.
  22. const _ = proto.ProtoPackageIsVersion4
  23. type Config struct {
  24. state protoimpl.MessageState
  25. sizeCache protoimpl.SizeCache
  26. unknownFields protoimpl.UnknownFields
  27. }
  28. func (x *Config) Reset() {
  29. *x = Config{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_app_log_command_config_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *Config) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*Config) ProtoMessage() {}
  40. func (x *Config) ProtoReflect() protoreflect.Message {
  41. mi := &file_app_log_command_config_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  52. func (*Config) Descriptor() ([]byte, []int) {
  53. return file_app_log_command_config_proto_rawDescGZIP(), []int{0}
  54. }
  55. type RestartLoggerRequest struct {
  56. state protoimpl.MessageState
  57. sizeCache protoimpl.SizeCache
  58. unknownFields protoimpl.UnknownFields
  59. }
  60. func (x *RestartLoggerRequest) Reset() {
  61. *x = RestartLoggerRequest{}
  62. if protoimpl.UnsafeEnabled {
  63. mi := &file_app_log_command_config_proto_msgTypes[1]
  64. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  65. ms.StoreMessageInfo(mi)
  66. }
  67. }
  68. func (x *RestartLoggerRequest) String() string {
  69. return protoimpl.X.MessageStringOf(x)
  70. }
  71. func (*RestartLoggerRequest) ProtoMessage() {}
  72. func (x *RestartLoggerRequest) ProtoReflect() protoreflect.Message {
  73. mi := &file_app_log_command_config_proto_msgTypes[1]
  74. if protoimpl.UnsafeEnabled && x != nil {
  75. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  76. if ms.LoadMessageInfo() == nil {
  77. ms.StoreMessageInfo(mi)
  78. }
  79. return ms
  80. }
  81. return mi.MessageOf(x)
  82. }
  83. // Deprecated: Use RestartLoggerRequest.ProtoReflect.Descriptor instead.
  84. func (*RestartLoggerRequest) Descriptor() ([]byte, []int) {
  85. return file_app_log_command_config_proto_rawDescGZIP(), []int{1}
  86. }
  87. type RestartLoggerResponse struct {
  88. state protoimpl.MessageState
  89. sizeCache protoimpl.SizeCache
  90. unknownFields protoimpl.UnknownFields
  91. }
  92. func (x *RestartLoggerResponse) Reset() {
  93. *x = RestartLoggerResponse{}
  94. if protoimpl.UnsafeEnabled {
  95. mi := &file_app_log_command_config_proto_msgTypes[2]
  96. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  97. ms.StoreMessageInfo(mi)
  98. }
  99. }
  100. func (x *RestartLoggerResponse) String() string {
  101. return protoimpl.X.MessageStringOf(x)
  102. }
  103. func (*RestartLoggerResponse) ProtoMessage() {}
  104. func (x *RestartLoggerResponse) ProtoReflect() protoreflect.Message {
  105. mi := &file_app_log_command_config_proto_msgTypes[2]
  106. if protoimpl.UnsafeEnabled && x != nil {
  107. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  108. if ms.LoadMessageInfo() == nil {
  109. ms.StoreMessageInfo(mi)
  110. }
  111. return ms
  112. }
  113. return mi.MessageOf(x)
  114. }
  115. // Deprecated: Use RestartLoggerResponse.ProtoReflect.Descriptor instead.
  116. func (*RestartLoggerResponse) Descriptor() ([]byte, []int) {
  117. return file_app_log_command_config_proto_rawDescGZIP(), []int{2}
  118. }
  119. var File_app_log_command_config_proto protoreflect.FileDescriptor
  120. var file_app_log_command_config_proto_rawDesc = []byte{
  121. 0x0a, 0x1c, 0x61, 0x70, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  122. 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14,
  123. 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d,
  124. 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x16,
  125. 0x0a, 0x14, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52,
  126. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72,
  127. 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32,
  128. 0x7b, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  129. 0x12, 0x6a, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x65,
  130. 0x72, 0x12, 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c, 0x6f, 0x67,
  131. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74,
  132. 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e,
  133. 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6d,
  134. 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x67,
  135. 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x61, 0x0a, 0x18,
  136. 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6c, 0x6f, 0x67,
  137. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68,
  138. 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79,
  139. 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x6c, 0x6f, 0x67,
  140. 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x14, 0x58, 0x72, 0x61, 0x79, 0x2e,
  141. 0x41, 0x70, 0x70, 0x2e, 0x4c, 0x6f, 0x67, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62,
  142. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  143. }
  144. var (
  145. file_app_log_command_config_proto_rawDescOnce sync.Once
  146. file_app_log_command_config_proto_rawDescData = file_app_log_command_config_proto_rawDesc
  147. )
  148. func file_app_log_command_config_proto_rawDescGZIP() []byte {
  149. file_app_log_command_config_proto_rawDescOnce.Do(func() {
  150. file_app_log_command_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_log_command_config_proto_rawDescData)
  151. })
  152. return file_app_log_command_config_proto_rawDescData
  153. }
  154. var file_app_log_command_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  155. var file_app_log_command_config_proto_goTypes = []interface{}{
  156. (*Config)(nil), // 0: xray.app.log.command.Config
  157. (*RestartLoggerRequest)(nil), // 1: xray.app.log.command.RestartLoggerRequest
  158. (*RestartLoggerResponse)(nil), // 2: xray.app.log.command.RestartLoggerResponse
  159. }
  160. var file_app_log_command_config_proto_depIdxs = []int32{
  161. 1, // 0: xray.app.log.command.LoggerService.RestartLogger:input_type -> xray.app.log.command.RestartLoggerRequest
  162. 2, // 1: xray.app.log.command.LoggerService.RestartLogger:output_type -> xray.app.log.command.RestartLoggerResponse
  163. 1, // [1:2] is the sub-list for method output_type
  164. 0, // [0:1] is the sub-list for method input_type
  165. 0, // [0:0] is the sub-list for extension type_name
  166. 0, // [0:0] is the sub-list for extension extendee
  167. 0, // [0:0] is the sub-list for field type_name
  168. }
  169. func init() { file_app_log_command_config_proto_init() }
  170. func file_app_log_command_config_proto_init() {
  171. if File_app_log_command_config_proto != nil {
  172. return
  173. }
  174. if !protoimpl.UnsafeEnabled {
  175. file_app_log_command_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  176. switch v := v.(*Config); i {
  177. case 0:
  178. return &v.state
  179. case 1:
  180. return &v.sizeCache
  181. case 2:
  182. return &v.unknownFields
  183. default:
  184. return nil
  185. }
  186. }
  187. file_app_log_command_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  188. switch v := v.(*RestartLoggerRequest); i {
  189. case 0:
  190. return &v.state
  191. case 1:
  192. return &v.sizeCache
  193. case 2:
  194. return &v.unknownFields
  195. default:
  196. return nil
  197. }
  198. }
  199. file_app_log_command_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  200. switch v := v.(*RestartLoggerResponse); i {
  201. case 0:
  202. return &v.state
  203. case 1:
  204. return &v.sizeCache
  205. case 2:
  206. return &v.unknownFields
  207. default:
  208. return nil
  209. }
  210. }
  211. }
  212. type x struct{}
  213. out := protoimpl.TypeBuilder{
  214. File: protoimpl.DescBuilder{
  215. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  216. RawDescriptor: file_app_log_command_config_proto_rawDesc,
  217. NumEnums: 0,
  218. NumMessages: 3,
  219. NumExtensions: 0,
  220. NumServices: 1,
  221. },
  222. GoTypes: file_app_log_command_config_proto_goTypes,
  223. DependencyIndexes: file_app_log_command_config_proto_depIdxs,
  224. MessageInfos: file_app_log_command_config_proto_msgTypes,
  225. }.Build()
  226. File_app_log_command_config_proto = out.File
  227. file_app_log_command_config_proto_rawDesc = nil
  228. file_app_log_command_config_proto_goTypes = nil
  229. file_app_log_command_config_proto_depIdxs = nil
  230. }