config.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v5.28.2
  5. // source: proxy/shadowsocks_2022/config.proto
  6. package shadowsocks_2022
  7. import (
  8. net "github.com/xtls/xray-core/common/net"
  9. protocol "github.com/xtls/xray-core/common/protocol"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type ServerConfig struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
  26. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
  27. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
  28. Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
  29. Network []net.Network `protobuf:"varint,5,rep,packed,name=network,proto3,enum=xray.common.net.Network" json:"network,omitempty"`
  30. }
  31. func (x *ServerConfig) Reset() {
  32. *x = ServerConfig{}
  33. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. func (x *ServerConfig) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*ServerConfig) ProtoMessage() {}
  41. func (x *ServerConfig) ProtoReflect() protoreflect.Message {
  42. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[0]
  43. if x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
  53. func (*ServerConfig) Descriptor() ([]byte, []int) {
  54. return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *ServerConfig) GetMethod() string {
  57. if x != nil {
  58. return x.Method
  59. }
  60. return ""
  61. }
  62. func (x *ServerConfig) GetKey() string {
  63. if x != nil {
  64. return x.Key
  65. }
  66. return ""
  67. }
  68. func (x *ServerConfig) GetEmail() string {
  69. if x != nil {
  70. return x.Email
  71. }
  72. return ""
  73. }
  74. func (x *ServerConfig) GetLevel() int32 {
  75. if x != nil {
  76. return x.Level
  77. }
  78. return 0
  79. }
  80. func (x *ServerConfig) GetNetwork() []net.Network {
  81. if x != nil {
  82. return x.Network
  83. }
  84. return nil
  85. }
  86. type MultiUserServerConfig struct {
  87. state protoimpl.MessageState
  88. sizeCache protoimpl.SizeCache
  89. unknownFields protoimpl.UnknownFields
  90. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
  91. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
  92. Users []*protocol.User `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
  93. Network []net.Network `protobuf:"varint,4,rep,packed,name=network,proto3,enum=xray.common.net.Network" json:"network,omitempty"`
  94. }
  95. func (x *MultiUserServerConfig) Reset() {
  96. *x = MultiUserServerConfig{}
  97. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[1]
  98. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  99. ms.StoreMessageInfo(mi)
  100. }
  101. func (x *MultiUserServerConfig) String() string {
  102. return protoimpl.X.MessageStringOf(x)
  103. }
  104. func (*MultiUserServerConfig) ProtoMessage() {}
  105. func (x *MultiUserServerConfig) ProtoReflect() protoreflect.Message {
  106. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[1]
  107. if x != nil {
  108. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  109. if ms.LoadMessageInfo() == nil {
  110. ms.StoreMessageInfo(mi)
  111. }
  112. return ms
  113. }
  114. return mi.MessageOf(x)
  115. }
  116. // Deprecated: Use MultiUserServerConfig.ProtoReflect.Descriptor instead.
  117. func (*MultiUserServerConfig) Descriptor() ([]byte, []int) {
  118. return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{1}
  119. }
  120. func (x *MultiUserServerConfig) GetMethod() string {
  121. if x != nil {
  122. return x.Method
  123. }
  124. return ""
  125. }
  126. func (x *MultiUserServerConfig) GetKey() string {
  127. if x != nil {
  128. return x.Key
  129. }
  130. return ""
  131. }
  132. func (x *MultiUserServerConfig) GetUsers() []*protocol.User {
  133. if x != nil {
  134. return x.Users
  135. }
  136. return nil
  137. }
  138. func (x *MultiUserServerConfig) GetNetwork() []net.Network {
  139. if x != nil {
  140. return x.Network
  141. }
  142. return nil
  143. }
  144. type RelayDestination struct {
  145. state protoimpl.MessageState
  146. sizeCache protoimpl.SizeCache
  147. unknownFields protoimpl.UnknownFields
  148. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  149. Address *net.IPOrDomain `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
  150. Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
  151. Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
  152. Level int32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"`
  153. }
  154. func (x *RelayDestination) Reset() {
  155. *x = RelayDestination{}
  156. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[2]
  157. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  158. ms.StoreMessageInfo(mi)
  159. }
  160. func (x *RelayDestination) String() string {
  161. return protoimpl.X.MessageStringOf(x)
  162. }
  163. func (*RelayDestination) ProtoMessage() {}
  164. func (x *RelayDestination) ProtoReflect() protoreflect.Message {
  165. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[2]
  166. if x != nil {
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. if ms.LoadMessageInfo() == nil {
  169. ms.StoreMessageInfo(mi)
  170. }
  171. return ms
  172. }
  173. return mi.MessageOf(x)
  174. }
  175. // Deprecated: Use RelayDestination.ProtoReflect.Descriptor instead.
  176. func (*RelayDestination) Descriptor() ([]byte, []int) {
  177. return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{2}
  178. }
  179. func (x *RelayDestination) GetKey() string {
  180. if x != nil {
  181. return x.Key
  182. }
  183. return ""
  184. }
  185. func (x *RelayDestination) GetAddress() *net.IPOrDomain {
  186. if x != nil {
  187. return x.Address
  188. }
  189. return nil
  190. }
  191. func (x *RelayDestination) GetPort() uint32 {
  192. if x != nil {
  193. return x.Port
  194. }
  195. return 0
  196. }
  197. func (x *RelayDestination) GetEmail() string {
  198. if x != nil {
  199. return x.Email
  200. }
  201. return ""
  202. }
  203. func (x *RelayDestination) GetLevel() int32 {
  204. if x != nil {
  205. return x.Level
  206. }
  207. return 0
  208. }
  209. type RelayServerConfig struct {
  210. state protoimpl.MessageState
  211. sizeCache protoimpl.SizeCache
  212. unknownFields protoimpl.UnknownFields
  213. Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
  214. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
  215. Destinations []*RelayDestination `protobuf:"bytes,3,rep,name=destinations,proto3" json:"destinations,omitempty"`
  216. Network []net.Network `protobuf:"varint,4,rep,packed,name=network,proto3,enum=xray.common.net.Network" json:"network,omitempty"`
  217. }
  218. func (x *RelayServerConfig) Reset() {
  219. *x = RelayServerConfig{}
  220. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[3]
  221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  222. ms.StoreMessageInfo(mi)
  223. }
  224. func (x *RelayServerConfig) String() string {
  225. return protoimpl.X.MessageStringOf(x)
  226. }
  227. func (*RelayServerConfig) ProtoMessage() {}
  228. func (x *RelayServerConfig) ProtoReflect() protoreflect.Message {
  229. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[3]
  230. if x != nil {
  231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  232. if ms.LoadMessageInfo() == nil {
  233. ms.StoreMessageInfo(mi)
  234. }
  235. return ms
  236. }
  237. return mi.MessageOf(x)
  238. }
  239. // Deprecated: Use RelayServerConfig.ProtoReflect.Descriptor instead.
  240. func (*RelayServerConfig) Descriptor() ([]byte, []int) {
  241. return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{3}
  242. }
  243. func (x *RelayServerConfig) GetMethod() string {
  244. if x != nil {
  245. return x.Method
  246. }
  247. return ""
  248. }
  249. func (x *RelayServerConfig) GetKey() string {
  250. if x != nil {
  251. return x.Key
  252. }
  253. return ""
  254. }
  255. func (x *RelayServerConfig) GetDestinations() []*RelayDestination {
  256. if x != nil {
  257. return x.Destinations
  258. }
  259. return nil
  260. }
  261. func (x *RelayServerConfig) GetNetwork() []net.Network {
  262. if x != nil {
  263. return x.Network
  264. }
  265. return nil
  266. }
  267. type Account struct {
  268. state protoimpl.MessageState
  269. sizeCache protoimpl.SizeCache
  270. unknownFields protoimpl.UnknownFields
  271. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  272. }
  273. func (x *Account) Reset() {
  274. *x = Account{}
  275. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[4]
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. ms.StoreMessageInfo(mi)
  278. }
  279. func (x *Account) String() string {
  280. return protoimpl.X.MessageStringOf(x)
  281. }
  282. func (*Account) ProtoMessage() {}
  283. func (x *Account) ProtoReflect() protoreflect.Message {
  284. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[4]
  285. if x != nil {
  286. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  287. if ms.LoadMessageInfo() == nil {
  288. ms.StoreMessageInfo(mi)
  289. }
  290. return ms
  291. }
  292. return mi.MessageOf(x)
  293. }
  294. // Deprecated: Use Account.ProtoReflect.Descriptor instead.
  295. func (*Account) Descriptor() ([]byte, []int) {
  296. return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{4}
  297. }
  298. func (x *Account) GetKey() string {
  299. if x != nil {
  300. return x.Key
  301. }
  302. return ""
  303. }
  304. type ClientConfig struct {
  305. state protoimpl.MessageState
  306. sizeCache protoimpl.SizeCache
  307. unknownFields protoimpl.UnknownFields
  308. Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  309. Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
  310. Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
  311. Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
  312. UdpOverTcp bool `protobuf:"varint,5,opt,name=udp_over_tcp,json=udpOverTcp,proto3" json:"udp_over_tcp,omitempty"`
  313. UdpOverTcpVersion uint32 `protobuf:"varint,6,opt,name=udp_over_tcp_version,json=udpOverTcpVersion,proto3" json:"udp_over_tcp_version,omitempty"`
  314. }
  315. func (x *ClientConfig) Reset() {
  316. *x = ClientConfig{}
  317. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[5]
  318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  319. ms.StoreMessageInfo(mi)
  320. }
  321. func (x *ClientConfig) String() string {
  322. return protoimpl.X.MessageStringOf(x)
  323. }
  324. func (*ClientConfig) ProtoMessage() {}
  325. func (x *ClientConfig) ProtoReflect() protoreflect.Message {
  326. mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[5]
  327. if x != nil {
  328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  329. if ms.LoadMessageInfo() == nil {
  330. ms.StoreMessageInfo(mi)
  331. }
  332. return ms
  333. }
  334. return mi.MessageOf(x)
  335. }
  336. // Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.
  337. func (*ClientConfig) Descriptor() ([]byte, []int) {
  338. return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{5}
  339. }
  340. func (x *ClientConfig) GetAddress() *net.IPOrDomain {
  341. if x != nil {
  342. return x.Address
  343. }
  344. return nil
  345. }
  346. func (x *ClientConfig) GetPort() uint32 {
  347. if x != nil {
  348. return x.Port
  349. }
  350. return 0
  351. }
  352. func (x *ClientConfig) GetMethod() string {
  353. if x != nil {
  354. return x.Method
  355. }
  356. return ""
  357. }
  358. func (x *ClientConfig) GetKey() string {
  359. if x != nil {
  360. return x.Key
  361. }
  362. return ""
  363. }
  364. func (x *ClientConfig) GetUdpOverTcp() bool {
  365. if x != nil {
  366. return x.UdpOverTcp
  367. }
  368. return false
  369. }
  370. func (x *ClientConfig) GetUdpOverTcpVersion() uint32 {
  371. if x != nil {
  372. return x.UdpOverTcpVersion
  373. }
  374. return 0
  375. }
  376. var File_proxy_shadowsocks_2022_config_proto protoreflect.FileDescriptor
  377. var file_proxy_shadowsocks_2022_config_proto_rawDesc = []byte{
  378. 0x0a, 0x23, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f,
  379. 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30, 0x32, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
  380. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78,
  381. 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30,
  382. 0x32, 0x32, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x6e,
  383. 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x6f,
  384. 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  385. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70,
  386. 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
  387. 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e,
  388. 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20,
  389. 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  390. 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  391. 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d,
  392. 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01,
  393. 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x32, 0x0a, 0x07, 0x6e, 0x65, 0x74,
  394. 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x78, 0x72, 0x61,
  395. 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74,
  396. 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0xa7, 0x01,
  397. 0x0a, 0x15, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65,
  398. 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
  399. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12,
  400. 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
  401. 0x79, 0x12, 0x30, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  402. 0x32, 0x1a, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
  403. 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73,
  404. 0x65, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x04,
  405. 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  406. 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07,
  407. 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6c, 0x61,
  408. 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03,
  409. 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35,
  410. 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  411. 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65,
  412. 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64,
  413. 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20,
  414. 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61,
  415. 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12,
  416. 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
  417. 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x53,
  418. 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d,
  419. 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74,
  420. 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  421. 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x51, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
  422. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x78, 0x72,
  423. 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73,
  424. 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30, 0x32, 0x32, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x44,
  425. 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74,
  426. 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77,
  427. 0x6f, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x78, 0x72, 0x61, 0x79,
  428. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77,
  429. 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x1b, 0x0a, 0x07,
  430. 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
  431. 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0xd6, 0x01, 0x0a, 0x0c, 0x43, 0x6c,
  432. 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35, 0x0a, 0x07, 0x61, 0x64,
  433. 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x78, 0x72,
  434. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50,
  435. 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
  436. 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
  437. 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
  438. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a,
  439. 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  440. 0x20, 0x0a, 0x0c, 0x75, 0x64, 0x70, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x63, 0x70, 0x18,
  441. 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x64, 0x70, 0x4f, 0x76, 0x65, 0x72, 0x54, 0x63,
  442. 0x70, 0x12, 0x2f, 0x0a, 0x14, 0x75, 0x64, 0x70, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x63,
  443. 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52,
  444. 0x11, 0x75, 0x64, 0x70, 0x4f, 0x76, 0x65, 0x72, 0x54, 0x63, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69,
  445. 0x6f, 0x6e, 0x42, 0x72, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70,
  446. 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73,
  447. 0x5f, 0x32, 0x30, 0x32, 0x32, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  448. 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f,
  449. 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73,
  450. 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30, 0x32, 0x32, 0xaa, 0x02, 0x1a, 0x58, 0x72, 0x61, 0x79,
  451. 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x53, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63,
  452. 0x6b, 0x73, 0x32, 0x30, 0x32, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  453. }
  454. var (
  455. file_proxy_shadowsocks_2022_config_proto_rawDescOnce sync.Once
  456. file_proxy_shadowsocks_2022_config_proto_rawDescData = file_proxy_shadowsocks_2022_config_proto_rawDesc
  457. )
  458. func file_proxy_shadowsocks_2022_config_proto_rawDescGZIP() []byte {
  459. file_proxy_shadowsocks_2022_config_proto_rawDescOnce.Do(func() {
  460. file_proxy_shadowsocks_2022_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_shadowsocks_2022_config_proto_rawDescData)
  461. })
  462. return file_proxy_shadowsocks_2022_config_proto_rawDescData
  463. }
  464. var file_proxy_shadowsocks_2022_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  465. var file_proxy_shadowsocks_2022_config_proto_goTypes = []any{
  466. (*ServerConfig)(nil), // 0: xray.proxy.shadowsocks_2022.ServerConfig
  467. (*MultiUserServerConfig)(nil), // 1: xray.proxy.shadowsocks_2022.MultiUserServerConfig
  468. (*RelayDestination)(nil), // 2: xray.proxy.shadowsocks_2022.RelayDestination
  469. (*RelayServerConfig)(nil), // 3: xray.proxy.shadowsocks_2022.RelayServerConfig
  470. (*Account)(nil), // 4: xray.proxy.shadowsocks_2022.Account
  471. (*ClientConfig)(nil), // 5: xray.proxy.shadowsocks_2022.ClientConfig
  472. (net.Network)(0), // 6: xray.common.net.Network
  473. (*protocol.User)(nil), // 7: xray.common.protocol.User
  474. (*net.IPOrDomain)(nil), // 8: xray.common.net.IPOrDomain
  475. }
  476. var file_proxy_shadowsocks_2022_config_proto_depIdxs = []int32{
  477. 6, // 0: xray.proxy.shadowsocks_2022.ServerConfig.network:type_name -> xray.common.net.Network
  478. 7, // 1: xray.proxy.shadowsocks_2022.MultiUserServerConfig.users:type_name -> xray.common.protocol.User
  479. 6, // 2: xray.proxy.shadowsocks_2022.MultiUserServerConfig.network:type_name -> xray.common.net.Network
  480. 8, // 3: xray.proxy.shadowsocks_2022.RelayDestination.address:type_name -> xray.common.net.IPOrDomain
  481. 2, // 4: xray.proxy.shadowsocks_2022.RelayServerConfig.destinations:type_name -> xray.proxy.shadowsocks_2022.RelayDestination
  482. 6, // 5: xray.proxy.shadowsocks_2022.RelayServerConfig.network:type_name -> xray.common.net.Network
  483. 8, // 6: xray.proxy.shadowsocks_2022.ClientConfig.address:type_name -> xray.common.net.IPOrDomain
  484. 7, // [7:7] is the sub-list for method output_type
  485. 7, // [7:7] is the sub-list for method input_type
  486. 7, // [7:7] is the sub-list for extension type_name
  487. 7, // [7:7] is the sub-list for extension extendee
  488. 0, // [0:7] is the sub-list for field type_name
  489. }
  490. func init() { file_proxy_shadowsocks_2022_config_proto_init() }
  491. func file_proxy_shadowsocks_2022_config_proto_init() {
  492. if File_proxy_shadowsocks_2022_config_proto != nil {
  493. return
  494. }
  495. type x struct{}
  496. out := protoimpl.TypeBuilder{
  497. File: protoimpl.DescBuilder{
  498. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  499. RawDescriptor: file_proxy_shadowsocks_2022_config_proto_rawDesc,
  500. NumEnums: 0,
  501. NumMessages: 6,
  502. NumExtensions: 0,
  503. NumServices: 0,
  504. },
  505. GoTypes: file_proxy_shadowsocks_2022_config_proto_goTypes,
  506. DependencyIndexes: file_proxy_shadowsocks_2022_config_proto_depIdxs,
  507. MessageInfos: file_proxy_shadowsocks_2022_config_proto_msgTypes,
  508. }.Build()
  509. File_proxy_shadowsocks_2022_config_proto = out.File
  510. file_proxy_shadowsocks_2022_config_proto_rawDesc = nil
  511. file_proxy_shadowsocks_2022_config_proto_goTypes = nil
  512. file_proxy_shadowsocks_2022_config_proto_depIdxs = nil
  513. }