config.pb.go 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.11
  4. // protoc v6.33.5
  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. unsafe "unsafe"
  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. type Config struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. unknownFields protoimpl.UnknownFields
  23. sizeCache protoimpl.SizeCache
  24. }
  25. func (x *Config) Reset() {
  26. *x = Config{}
  27. mi := &file_app_log_command_config_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *Config) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*Config) ProtoMessage() {}
  35. func (x *Config) ProtoReflect() protoreflect.Message {
  36. mi := &file_app_log_command_config_proto_msgTypes[0]
  37. if x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  47. func (*Config) Descriptor() ([]byte, []int) {
  48. return file_app_log_command_config_proto_rawDescGZIP(), []int{0}
  49. }
  50. type RestartLoggerRequest struct {
  51. state protoimpl.MessageState `protogen:"open.v1"`
  52. unknownFields protoimpl.UnknownFields
  53. sizeCache protoimpl.SizeCache
  54. }
  55. func (x *RestartLoggerRequest) Reset() {
  56. *x = RestartLoggerRequest{}
  57. mi := &file_app_log_command_config_proto_msgTypes[1]
  58. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  59. ms.StoreMessageInfo(mi)
  60. }
  61. func (x *RestartLoggerRequest) String() string {
  62. return protoimpl.X.MessageStringOf(x)
  63. }
  64. func (*RestartLoggerRequest) ProtoMessage() {}
  65. func (x *RestartLoggerRequest) ProtoReflect() protoreflect.Message {
  66. mi := &file_app_log_command_config_proto_msgTypes[1]
  67. if x != nil {
  68. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  69. if ms.LoadMessageInfo() == nil {
  70. ms.StoreMessageInfo(mi)
  71. }
  72. return ms
  73. }
  74. return mi.MessageOf(x)
  75. }
  76. // Deprecated: Use RestartLoggerRequest.ProtoReflect.Descriptor instead.
  77. func (*RestartLoggerRequest) Descriptor() ([]byte, []int) {
  78. return file_app_log_command_config_proto_rawDescGZIP(), []int{1}
  79. }
  80. type RestartLoggerResponse struct {
  81. state protoimpl.MessageState `protogen:"open.v1"`
  82. unknownFields protoimpl.UnknownFields
  83. sizeCache protoimpl.SizeCache
  84. }
  85. func (x *RestartLoggerResponse) Reset() {
  86. *x = RestartLoggerResponse{}
  87. mi := &file_app_log_command_config_proto_msgTypes[2]
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. ms.StoreMessageInfo(mi)
  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 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. var File_app_log_command_config_proto protoreflect.FileDescriptor
  111. const file_app_log_command_config_proto_rawDesc = "" +
  112. "\n" +
  113. "\x1capp/log/command/config.proto\x12\x14xray.app.log.command\"\b\n" +
  114. "\x06Config\"\x16\n" +
  115. "\x14RestartLoggerRequest\"\x17\n" +
  116. "\x15RestartLoggerResponse2{\n" +
  117. "\rLoggerService\x12j\n" +
  118. "\rRestartLogger\x12*.xray.app.log.command.RestartLoggerRequest\x1a+.xray.app.log.command.RestartLoggerResponse\"\x00B^\n" +
  119. "\x18com.xray.app.log.commandP\x01Z)github.com/xtls/xray-core/app/log/command\xaa\x02\x14Xray.App.Log.Commandb\x06proto3"
  120. var (
  121. file_app_log_command_config_proto_rawDescOnce sync.Once
  122. file_app_log_command_config_proto_rawDescData []byte
  123. )
  124. func file_app_log_command_config_proto_rawDescGZIP() []byte {
  125. file_app_log_command_config_proto_rawDescOnce.Do(func() {
  126. 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)))
  127. })
  128. return file_app_log_command_config_proto_rawDescData
  129. }
  130. var file_app_log_command_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  131. var file_app_log_command_config_proto_goTypes = []any{
  132. (*Config)(nil), // 0: xray.app.log.command.Config
  133. (*RestartLoggerRequest)(nil), // 1: xray.app.log.command.RestartLoggerRequest
  134. (*RestartLoggerResponse)(nil), // 2: xray.app.log.command.RestartLoggerResponse
  135. }
  136. var file_app_log_command_config_proto_depIdxs = []int32{
  137. 1, // 0: xray.app.log.command.LoggerService.RestartLogger:input_type -> xray.app.log.command.RestartLoggerRequest
  138. 2, // 1: xray.app.log.command.LoggerService.RestartLogger:output_type -> xray.app.log.command.RestartLoggerResponse
  139. 1, // [1:2] is the sub-list for method output_type
  140. 0, // [0:1] is the sub-list for method input_type
  141. 0, // [0:0] is the sub-list for extension type_name
  142. 0, // [0:0] is the sub-list for extension extendee
  143. 0, // [0:0] is the sub-list for field type_name
  144. }
  145. func init() { file_app_log_command_config_proto_init() }
  146. func file_app_log_command_config_proto_init() {
  147. if File_app_log_command_config_proto != nil {
  148. return
  149. }
  150. type x struct{}
  151. out := protoimpl.TypeBuilder{
  152. File: protoimpl.DescBuilder{
  153. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  154. RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_log_command_config_proto_rawDesc), len(file_app_log_command_config_proto_rawDesc)),
  155. NumEnums: 0,
  156. NumMessages: 3,
  157. NumExtensions: 0,
  158. NumServices: 1,
  159. },
  160. GoTypes: file_app_log_command_config_proto_goTypes,
  161. DependencyIndexes: file_app_log_command_config_proto_depIdxs,
  162. MessageInfos: file_app_log_command_config_proto_msgTypes,
  163. }.Build()
  164. File_app_log_command_config_proto = out.File
  165. file_app_log_command_config_proto_goTypes = nil
  166. file_app_log_command_config_proto_depIdxs = nil
  167. }