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