config.pb.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  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: proxy/socks/config.proto
  6. package socks
  7. import (
  8. proto "github.com/golang/protobuf/proto"
  9. net "github.com/xtls/xray-core/common/net"
  10. protocol "github.com/xtls/xray-core/common/protocol"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. reflect "reflect"
  14. sync "sync"
  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. // This is a compile-time assertion that a sufficiently up-to-date version
  23. // of the legacy proto package is being used.
  24. const _ = proto.ProtoPackageIsVersion4
  25. // AuthType is the authentication type of Socks proxy.
  26. type AuthType int32
  27. const (
  28. // NO_AUTH is for anounymous authentication.
  29. AuthType_NO_AUTH AuthType = 0
  30. // PASSWORD is for username/password authentication.
  31. AuthType_PASSWORD AuthType = 1
  32. )
  33. // Enum value maps for AuthType.
  34. var (
  35. AuthType_name = map[int32]string{
  36. 0: "NO_AUTH",
  37. 1: "PASSWORD",
  38. }
  39. AuthType_value = map[string]int32{
  40. "NO_AUTH": 0,
  41. "PASSWORD": 1,
  42. }
  43. )
  44. func (x AuthType) Enum() *AuthType {
  45. p := new(AuthType)
  46. *p = x
  47. return p
  48. }
  49. func (x AuthType) String() string {
  50. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  51. }
  52. func (AuthType) Descriptor() protoreflect.EnumDescriptor {
  53. return file_proxy_socks_config_proto_enumTypes[0].Descriptor()
  54. }
  55. func (AuthType) Type() protoreflect.EnumType {
  56. return &file_proxy_socks_config_proto_enumTypes[0]
  57. }
  58. func (x AuthType) Number() protoreflect.EnumNumber {
  59. return protoreflect.EnumNumber(x)
  60. }
  61. // Deprecated: Use AuthType.Descriptor instead.
  62. func (AuthType) EnumDescriptor() ([]byte, []int) {
  63. return file_proxy_socks_config_proto_rawDescGZIP(), []int{0}
  64. }
  65. // Account represents a Socks account.
  66. type Account struct {
  67. state protoimpl.MessageState
  68. sizeCache protoimpl.SizeCache
  69. unknownFields protoimpl.UnknownFields
  70. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
  71. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
  72. }
  73. func (x *Account) Reset() {
  74. *x = Account{}
  75. if protoimpl.UnsafeEnabled {
  76. mi := &file_proxy_socks_config_proto_msgTypes[0]
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. ms.StoreMessageInfo(mi)
  79. }
  80. }
  81. func (x *Account) String() string {
  82. return protoimpl.X.MessageStringOf(x)
  83. }
  84. func (*Account) ProtoMessage() {}
  85. func (x *Account) ProtoReflect() protoreflect.Message {
  86. mi := &file_proxy_socks_config_proto_msgTypes[0]
  87. if protoimpl.UnsafeEnabled && x != nil {
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. if ms.LoadMessageInfo() == nil {
  90. ms.StoreMessageInfo(mi)
  91. }
  92. return ms
  93. }
  94. return mi.MessageOf(x)
  95. }
  96. // Deprecated: Use Account.ProtoReflect.Descriptor instead.
  97. func (*Account) Descriptor() ([]byte, []int) {
  98. return file_proxy_socks_config_proto_rawDescGZIP(), []int{0}
  99. }
  100. func (x *Account) GetUsername() string {
  101. if x != nil {
  102. return x.Username
  103. }
  104. return ""
  105. }
  106. func (x *Account) GetPassword() string {
  107. if x != nil {
  108. return x.Password
  109. }
  110. return ""
  111. }
  112. // ServerConfig is the protobuf config for Socks server.
  113. type ServerConfig struct {
  114. state protoimpl.MessageState
  115. sizeCache protoimpl.SizeCache
  116. unknownFields protoimpl.UnknownFields
  117. AuthType AuthType `protobuf:"varint,1,opt,name=auth_type,json=authType,proto3,enum=xray.proxy.socks.AuthType" json:"auth_type,omitempty"`
  118. Accounts map[string]string `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  119. Address *net.IPOrDomain `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
  120. UdpEnabled bool `protobuf:"varint,4,opt,name=udp_enabled,json=udpEnabled,proto3" json:"udp_enabled,omitempty"`
  121. // Deprecated: Do not use.
  122. Timeout uint32 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
  123. UserLevel uint32 `protobuf:"varint,6,opt,name=user_level,json=userLevel,proto3" json:"user_level,omitempty"`
  124. }
  125. func (x *ServerConfig) Reset() {
  126. *x = ServerConfig{}
  127. if protoimpl.UnsafeEnabled {
  128. mi := &file_proxy_socks_config_proto_msgTypes[1]
  129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  130. ms.StoreMessageInfo(mi)
  131. }
  132. }
  133. func (x *ServerConfig) String() string {
  134. return protoimpl.X.MessageStringOf(x)
  135. }
  136. func (*ServerConfig) ProtoMessage() {}
  137. func (x *ServerConfig) ProtoReflect() protoreflect.Message {
  138. mi := &file_proxy_socks_config_proto_msgTypes[1]
  139. if protoimpl.UnsafeEnabled && x != nil {
  140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  141. if ms.LoadMessageInfo() == nil {
  142. ms.StoreMessageInfo(mi)
  143. }
  144. return ms
  145. }
  146. return mi.MessageOf(x)
  147. }
  148. // Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
  149. func (*ServerConfig) Descriptor() ([]byte, []int) {
  150. return file_proxy_socks_config_proto_rawDescGZIP(), []int{1}
  151. }
  152. func (x *ServerConfig) GetAuthType() AuthType {
  153. if x != nil {
  154. return x.AuthType
  155. }
  156. return AuthType_NO_AUTH
  157. }
  158. func (x *ServerConfig) GetAccounts() map[string]string {
  159. if x != nil {
  160. return x.Accounts
  161. }
  162. return nil
  163. }
  164. func (x *ServerConfig) GetAddress() *net.IPOrDomain {
  165. if x != nil {
  166. return x.Address
  167. }
  168. return nil
  169. }
  170. func (x *ServerConfig) GetUdpEnabled() bool {
  171. if x != nil {
  172. return x.UdpEnabled
  173. }
  174. return false
  175. }
  176. // Deprecated: Do not use.
  177. func (x *ServerConfig) GetTimeout() uint32 {
  178. if x != nil {
  179. return x.Timeout
  180. }
  181. return 0
  182. }
  183. func (x *ServerConfig) GetUserLevel() uint32 {
  184. if x != nil {
  185. return x.UserLevel
  186. }
  187. return 0
  188. }
  189. // ClientConfig is the protobuf config for Socks client.
  190. type ClientConfig struct {
  191. state protoimpl.MessageState
  192. sizeCache protoimpl.SizeCache
  193. unknownFields protoimpl.UnknownFields
  194. // Sever is a list of Socks server addresses.
  195. Server []*protocol.ServerEndpoint `protobuf:"bytes,1,rep,name=server,proto3" json:"server,omitempty"`
  196. }
  197. func (x *ClientConfig) Reset() {
  198. *x = ClientConfig{}
  199. if protoimpl.UnsafeEnabled {
  200. mi := &file_proxy_socks_config_proto_msgTypes[2]
  201. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  202. ms.StoreMessageInfo(mi)
  203. }
  204. }
  205. func (x *ClientConfig) String() string {
  206. return protoimpl.X.MessageStringOf(x)
  207. }
  208. func (*ClientConfig) ProtoMessage() {}
  209. func (x *ClientConfig) ProtoReflect() protoreflect.Message {
  210. mi := &file_proxy_socks_config_proto_msgTypes[2]
  211. if protoimpl.UnsafeEnabled && x != nil {
  212. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  213. if ms.LoadMessageInfo() == nil {
  214. ms.StoreMessageInfo(mi)
  215. }
  216. return ms
  217. }
  218. return mi.MessageOf(x)
  219. }
  220. // Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.
  221. func (*ClientConfig) Descriptor() ([]byte, []int) {
  222. return file_proxy_socks_config_proto_rawDescGZIP(), []int{2}
  223. }
  224. func (x *ClientConfig) GetServer() []*protocol.ServerEndpoint {
  225. if x != nil {
  226. return x.Server
  227. }
  228. return nil
  229. }
  230. var File_proxy_socks_config_proto protoreflect.FileDescriptor
  231. var file_proxy_socks_config_proto_rawDesc = []byte{
  232. 0x0a, 0x18, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x2f, 0x63, 0x6f,
  233. 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x72, 0x61, 0x79,
  234. 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x1a, 0x18, 0x63, 0x6f,
  235. 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
  236. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70,
  237. 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73,
  238. 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x07, 0x41, 0x63, 0x63,
  239. 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
  240. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
  241. 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01,
  242. 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0xe3, 0x02, 0x0a,
  243. 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x37, 0x0a,
  244. 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
  245. 0x32, 0x1a, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x6f,
  246. 0x63, 0x6b, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75,
  247. 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x48, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
  248. 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e,
  249. 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76,
  250. 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  251. 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
  252. 0x12, 0x35, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  253. 0x0b, 0x32, 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  254. 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07,
  255. 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x64, 0x70, 0x5f, 0x65,
  256. 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x64,
  257. 0x70, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65,
  258. 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x74,
  259. 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6c,
  260. 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72,
  261. 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x1a, 0x3b, 0x0a, 0x0d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  262. 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
  263. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  264. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
  265. 0x38, 0x01, 0x22, 0x4c, 0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66,
  266. 0x69, 0x67, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03,
  267. 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  268. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
  269. 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
  270. 0x2a, 0x25, 0x0a, 0x08, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07,
  271. 0x4e, 0x4f, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x41, 0x53,
  272. 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x42, 0x52, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x78,
  273. 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x50,
  274. 0x01, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74,
  275. 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f,
  276. 0x78, 0x79, 0x2f, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0xaa, 0x02, 0x10, 0x58, 0x72, 0x61, 0x79, 0x2e,
  277. 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
  278. 0x74, 0x6f, 0x33,
  279. }
  280. var (
  281. file_proxy_socks_config_proto_rawDescOnce sync.Once
  282. file_proxy_socks_config_proto_rawDescData = file_proxy_socks_config_proto_rawDesc
  283. )
  284. func file_proxy_socks_config_proto_rawDescGZIP() []byte {
  285. file_proxy_socks_config_proto_rawDescOnce.Do(func() {
  286. file_proxy_socks_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_socks_config_proto_rawDescData)
  287. })
  288. return file_proxy_socks_config_proto_rawDescData
  289. }
  290. var file_proxy_socks_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  291. var file_proxy_socks_config_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  292. var file_proxy_socks_config_proto_goTypes = []interface{}{
  293. (AuthType)(0), // 0: xray.proxy.socks.AuthType
  294. (*Account)(nil), // 1: xray.proxy.socks.Account
  295. (*ServerConfig)(nil), // 2: xray.proxy.socks.ServerConfig
  296. (*ClientConfig)(nil), // 3: xray.proxy.socks.ClientConfig
  297. nil, // 4: xray.proxy.socks.ServerConfig.AccountsEntry
  298. (*net.IPOrDomain)(nil), // 5: xray.common.net.IPOrDomain
  299. (*protocol.ServerEndpoint)(nil), // 6: xray.common.protocol.ServerEndpoint
  300. }
  301. var file_proxy_socks_config_proto_depIdxs = []int32{
  302. 0, // 0: xray.proxy.socks.ServerConfig.auth_type:type_name -> xray.proxy.socks.AuthType
  303. 4, // 1: xray.proxy.socks.ServerConfig.accounts:type_name -> xray.proxy.socks.ServerConfig.AccountsEntry
  304. 5, // 2: xray.proxy.socks.ServerConfig.address:type_name -> xray.common.net.IPOrDomain
  305. 6, // 3: xray.proxy.socks.ClientConfig.server:type_name -> xray.common.protocol.ServerEndpoint
  306. 4, // [4:4] is the sub-list for method output_type
  307. 4, // [4:4] is the sub-list for method input_type
  308. 4, // [4:4] is the sub-list for extension type_name
  309. 4, // [4:4] is the sub-list for extension extendee
  310. 0, // [0:4] is the sub-list for field type_name
  311. }
  312. func init() { file_proxy_socks_config_proto_init() }
  313. func file_proxy_socks_config_proto_init() {
  314. if File_proxy_socks_config_proto != nil {
  315. return
  316. }
  317. if !protoimpl.UnsafeEnabled {
  318. file_proxy_socks_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  319. switch v := v.(*Account); i {
  320. case 0:
  321. return &v.state
  322. case 1:
  323. return &v.sizeCache
  324. case 2:
  325. return &v.unknownFields
  326. default:
  327. return nil
  328. }
  329. }
  330. file_proxy_socks_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  331. switch v := v.(*ServerConfig); i {
  332. case 0:
  333. return &v.state
  334. case 1:
  335. return &v.sizeCache
  336. case 2:
  337. return &v.unknownFields
  338. default:
  339. return nil
  340. }
  341. }
  342. file_proxy_socks_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  343. switch v := v.(*ClientConfig); i {
  344. case 0:
  345. return &v.state
  346. case 1:
  347. return &v.sizeCache
  348. case 2:
  349. return &v.unknownFields
  350. default:
  351. return nil
  352. }
  353. }
  354. }
  355. type x struct{}
  356. out := protoimpl.TypeBuilder{
  357. File: protoimpl.DescBuilder{
  358. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  359. RawDescriptor: file_proxy_socks_config_proto_rawDesc,
  360. NumEnums: 1,
  361. NumMessages: 4,
  362. NumExtensions: 0,
  363. NumServices: 0,
  364. },
  365. GoTypes: file_proxy_socks_config_proto_goTypes,
  366. DependencyIndexes: file_proxy_socks_config_proto_depIdxs,
  367. EnumInfos: file_proxy_socks_config_proto_enumTypes,
  368. MessageInfos: file_proxy_socks_config_proto_msgTypes,
  369. }.Build()
  370. File_proxy_socks_config_proto = out.File
  371. file_proxy_socks_config_proto_rawDesc = nil
  372. file_proxy_socks_config_proto_goTypes = nil
  373. file_proxy_socks_config_proto_depIdxs = nil
  374. }