config.pb.go 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.17.3
  5. // source: transport/internet/config.proto
  6. package internet
  7. import (
  8. _ "github.com/v2fly/v2ray-core/v4/common/protoext"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. anypb "google.golang.org/protobuf/types/known/anypb"
  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 TransportProtocol int32
  22. const (
  23. TransportProtocol_TCP TransportProtocol = 0
  24. TransportProtocol_UDP TransportProtocol = 1
  25. TransportProtocol_MKCP TransportProtocol = 2
  26. TransportProtocol_WebSocket TransportProtocol = 3
  27. TransportProtocol_HTTP TransportProtocol = 4
  28. TransportProtocol_DomainSocket TransportProtocol = 5
  29. )
  30. // Enum value maps for TransportProtocol.
  31. var (
  32. TransportProtocol_name = map[int32]string{
  33. 0: "TCP",
  34. 1: "UDP",
  35. 2: "MKCP",
  36. 3: "WebSocket",
  37. 4: "HTTP",
  38. 5: "DomainSocket",
  39. }
  40. TransportProtocol_value = map[string]int32{
  41. "TCP": 0,
  42. "UDP": 1,
  43. "MKCP": 2,
  44. "WebSocket": 3,
  45. "HTTP": 4,
  46. "DomainSocket": 5,
  47. }
  48. )
  49. func (x TransportProtocol) Enum() *TransportProtocol {
  50. p := new(TransportProtocol)
  51. *p = x
  52. return p
  53. }
  54. func (x TransportProtocol) String() string {
  55. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  56. }
  57. func (TransportProtocol) Descriptor() protoreflect.EnumDescriptor {
  58. return file_transport_internet_config_proto_enumTypes[0].Descriptor()
  59. }
  60. func (TransportProtocol) Type() protoreflect.EnumType {
  61. return &file_transport_internet_config_proto_enumTypes[0]
  62. }
  63. func (x TransportProtocol) Number() protoreflect.EnumNumber {
  64. return protoreflect.EnumNumber(x)
  65. }
  66. // Deprecated: Use TransportProtocol.Descriptor instead.
  67. func (TransportProtocol) EnumDescriptor() ([]byte, []int) {
  68. return file_transport_internet_config_proto_rawDescGZIP(), []int{0}
  69. }
  70. type SocketConfig_TCPFastOpenState int32
  71. const (
  72. // AsIs is to leave the current TFO state as is, unmodified.
  73. SocketConfig_AsIs SocketConfig_TCPFastOpenState = 0
  74. // Enable is for enabling TFO explictly.
  75. SocketConfig_Enable SocketConfig_TCPFastOpenState = 1
  76. // Disable is for disabling TFO explictly.
  77. SocketConfig_Disable SocketConfig_TCPFastOpenState = 2
  78. )
  79. // Enum value maps for SocketConfig_TCPFastOpenState.
  80. var (
  81. SocketConfig_TCPFastOpenState_name = map[int32]string{
  82. 0: "AsIs",
  83. 1: "Enable",
  84. 2: "Disable",
  85. }
  86. SocketConfig_TCPFastOpenState_value = map[string]int32{
  87. "AsIs": 0,
  88. "Enable": 1,
  89. "Disable": 2,
  90. }
  91. )
  92. func (x SocketConfig_TCPFastOpenState) Enum() *SocketConfig_TCPFastOpenState {
  93. p := new(SocketConfig_TCPFastOpenState)
  94. *p = x
  95. return p
  96. }
  97. func (x SocketConfig_TCPFastOpenState) String() string {
  98. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  99. }
  100. func (SocketConfig_TCPFastOpenState) Descriptor() protoreflect.EnumDescriptor {
  101. return file_transport_internet_config_proto_enumTypes[1].Descriptor()
  102. }
  103. func (SocketConfig_TCPFastOpenState) Type() protoreflect.EnumType {
  104. return &file_transport_internet_config_proto_enumTypes[1]
  105. }
  106. func (x SocketConfig_TCPFastOpenState) Number() protoreflect.EnumNumber {
  107. return protoreflect.EnumNumber(x)
  108. }
  109. // Deprecated: Use SocketConfig_TCPFastOpenState.Descriptor instead.
  110. func (SocketConfig_TCPFastOpenState) EnumDescriptor() ([]byte, []int) {
  111. return file_transport_internet_config_proto_rawDescGZIP(), []int{3, 0}
  112. }
  113. type SocketConfig_TProxyMode int32
  114. const (
  115. // TProxy is off.
  116. SocketConfig_Off SocketConfig_TProxyMode = 0
  117. // TProxy mode.
  118. SocketConfig_TProxy SocketConfig_TProxyMode = 1
  119. // Redirect mode.
  120. SocketConfig_Redirect SocketConfig_TProxyMode = 2
  121. )
  122. // Enum value maps for SocketConfig_TProxyMode.
  123. var (
  124. SocketConfig_TProxyMode_name = map[int32]string{
  125. 0: "Off",
  126. 1: "TProxy",
  127. 2: "Redirect",
  128. }
  129. SocketConfig_TProxyMode_value = map[string]int32{
  130. "Off": 0,
  131. "TProxy": 1,
  132. "Redirect": 2,
  133. }
  134. )
  135. func (x SocketConfig_TProxyMode) Enum() *SocketConfig_TProxyMode {
  136. p := new(SocketConfig_TProxyMode)
  137. *p = x
  138. return p
  139. }
  140. func (x SocketConfig_TProxyMode) String() string {
  141. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  142. }
  143. func (SocketConfig_TProxyMode) Descriptor() protoreflect.EnumDescriptor {
  144. return file_transport_internet_config_proto_enumTypes[2].Descriptor()
  145. }
  146. func (SocketConfig_TProxyMode) Type() protoreflect.EnumType {
  147. return &file_transport_internet_config_proto_enumTypes[2]
  148. }
  149. func (x SocketConfig_TProxyMode) Number() protoreflect.EnumNumber {
  150. return protoreflect.EnumNumber(x)
  151. }
  152. // Deprecated: Use SocketConfig_TProxyMode.Descriptor instead.
  153. func (SocketConfig_TProxyMode) EnumDescriptor() ([]byte, []int) {
  154. return file_transport_internet_config_proto_rawDescGZIP(), []int{3, 1}
  155. }
  156. type TransportConfig struct {
  157. state protoimpl.MessageState
  158. sizeCache protoimpl.SizeCache
  159. unknownFields protoimpl.UnknownFields
  160. // Type of network that this settings supports.
  161. // Deprecated. Use the string form below.
  162. //
  163. // Deprecated: Do not use.
  164. Protocol TransportProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=v2ray.core.transport.internet.TransportProtocol" json:"protocol,omitempty"`
  165. // Type of network that this settings supports.
  166. ProtocolName string `protobuf:"bytes,3,opt,name=protocol_name,json=protocolName,proto3" json:"protocol_name,omitempty"`
  167. // Specific settings. Must be of the transports.
  168. Settings *anypb.Any `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
  169. }
  170. func (x *TransportConfig) Reset() {
  171. *x = TransportConfig{}
  172. if protoimpl.UnsafeEnabled {
  173. mi := &file_transport_internet_config_proto_msgTypes[0]
  174. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  175. ms.StoreMessageInfo(mi)
  176. }
  177. }
  178. func (x *TransportConfig) String() string {
  179. return protoimpl.X.MessageStringOf(x)
  180. }
  181. func (*TransportConfig) ProtoMessage() {}
  182. func (x *TransportConfig) ProtoReflect() protoreflect.Message {
  183. mi := &file_transport_internet_config_proto_msgTypes[0]
  184. if protoimpl.UnsafeEnabled && x != nil {
  185. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  186. if ms.LoadMessageInfo() == nil {
  187. ms.StoreMessageInfo(mi)
  188. }
  189. return ms
  190. }
  191. return mi.MessageOf(x)
  192. }
  193. // Deprecated: Use TransportConfig.ProtoReflect.Descriptor instead.
  194. func (*TransportConfig) Descriptor() ([]byte, []int) {
  195. return file_transport_internet_config_proto_rawDescGZIP(), []int{0}
  196. }
  197. // Deprecated: Do not use.
  198. func (x *TransportConfig) GetProtocol() TransportProtocol {
  199. if x != nil {
  200. return x.Protocol
  201. }
  202. return TransportProtocol_TCP
  203. }
  204. func (x *TransportConfig) GetProtocolName() string {
  205. if x != nil {
  206. return x.ProtocolName
  207. }
  208. return ""
  209. }
  210. func (x *TransportConfig) GetSettings() *anypb.Any {
  211. if x != nil {
  212. return x.Settings
  213. }
  214. return nil
  215. }
  216. type StreamConfig struct {
  217. state protoimpl.MessageState
  218. sizeCache protoimpl.SizeCache
  219. unknownFields protoimpl.UnknownFields
  220. // Effective network. Deprecated. Use the string form below.
  221. //
  222. // Deprecated: Do not use.
  223. Protocol TransportProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=v2ray.core.transport.internet.TransportProtocol" json:"protocol,omitempty"`
  224. // Effective network.
  225. ProtocolName string `protobuf:"bytes,5,opt,name=protocol_name,json=protocolName,proto3" json:"protocol_name,omitempty"`
  226. TransportSettings []*TransportConfig `protobuf:"bytes,2,rep,name=transport_settings,json=transportSettings,proto3" json:"transport_settings,omitempty"`
  227. // Type of security. Must be a message name of the settings proto.
  228. SecurityType string `protobuf:"bytes,3,opt,name=security_type,json=securityType,proto3" json:"security_type,omitempty"`
  229. // Settings for transport security. For now the only choice is TLS.
  230. SecuritySettings []*anypb.Any `protobuf:"bytes,4,rep,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
  231. SocketSettings *SocketConfig `protobuf:"bytes,6,opt,name=socket_settings,json=socketSettings,proto3" json:"socket_settings,omitempty"`
  232. }
  233. func (x *StreamConfig) Reset() {
  234. *x = StreamConfig{}
  235. if protoimpl.UnsafeEnabled {
  236. mi := &file_transport_internet_config_proto_msgTypes[1]
  237. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  238. ms.StoreMessageInfo(mi)
  239. }
  240. }
  241. func (x *StreamConfig) String() string {
  242. return protoimpl.X.MessageStringOf(x)
  243. }
  244. func (*StreamConfig) ProtoMessage() {}
  245. func (x *StreamConfig) ProtoReflect() protoreflect.Message {
  246. mi := &file_transport_internet_config_proto_msgTypes[1]
  247. if protoimpl.UnsafeEnabled && x != nil {
  248. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  249. if ms.LoadMessageInfo() == nil {
  250. ms.StoreMessageInfo(mi)
  251. }
  252. return ms
  253. }
  254. return mi.MessageOf(x)
  255. }
  256. // Deprecated: Use StreamConfig.ProtoReflect.Descriptor instead.
  257. func (*StreamConfig) Descriptor() ([]byte, []int) {
  258. return file_transport_internet_config_proto_rawDescGZIP(), []int{1}
  259. }
  260. // Deprecated: Do not use.
  261. func (x *StreamConfig) GetProtocol() TransportProtocol {
  262. if x != nil {
  263. return x.Protocol
  264. }
  265. return TransportProtocol_TCP
  266. }
  267. func (x *StreamConfig) GetProtocolName() string {
  268. if x != nil {
  269. return x.ProtocolName
  270. }
  271. return ""
  272. }
  273. func (x *StreamConfig) GetTransportSettings() []*TransportConfig {
  274. if x != nil {
  275. return x.TransportSettings
  276. }
  277. return nil
  278. }
  279. func (x *StreamConfig) GetSecurityType() string {
  280. if x != nil {
  281. return x.SecurityType
  282. }
  283. return ""
  284. }
  285. func (x *StreamConfig) GetSecuritySettings() []*anypb.Any {
  286. if x != nil {
  287. return x.SecuritySettings
  288. }
  289. return nil
  290. }
  291. func (x *StreamConfig) GetSocketSettings() *SocketConfig {
  292. if x != nil {
  293. return x.SocketSettings
  294. }
  295. return nil
  296. }
  297. type ProxyConfig struct {
  298. state protoimpl.MessageState
  299. sizeCache protoimpl.SizeCache
  300. unknownFields protoimpl.UnknownFields
  301. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  302. TransportLayerProxy bool `protobuf:"varint,2,opt,name=transportLayerProxy,proto3" json:"transportLayerProxy,omitempty"`
  303. }
  304. func (x *ProxyConfig) Reset() {
  305. *x = ProxyConfig{}
  306. if protoimpl.UnsafeEnabled {
  307. mi := &file_transport_internet_config_proto_msgTypes[2]
  308. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  309. ms.StoreMessageInfo(mi)
  310. }
  311. }
  312. func (x *ProxyConfig) String() string {
  313. return protoimpl.X.MessageStringOf(x)
  314. }
  315. func (*ProxyConfig) ProtoMessage() {}
  316. func (x *ProxyConfig) ProtoReflect() protoreflect.Message {
  317. mi := &file_transport_internet_config_proto_msgTypes[2]
  318. if protoimpl.UnsafeEnabled && x != nil {
  319. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  320. if ms.LoadMessageInfo() == nil {
  321. ms.StoreMessageInfo(mi)
  322. }
  323. return ms
  324. }
  325. return mi.MessageOf(x)
  326. }
  327. // Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.
  328. func (*ProxyConfig) Descriptor() ([]byte, []int) {
  329. return file_transport_internet_config_proto_rawDescGZIP(), []int{2}
  330. }
  331. func (x *ProxyConfig) GetTag() string {
  332. if x != nil {
  333. return x.Tag
  334. }
  335. return ""
  336. }
  337. func (x *ProxyConfig) GetTransportLayerProxy() bool {
  338. if x != nil {
  339. return x.TransportLayerProxy
  340. }
  341. return false
  342. }
  343. // SocketConfig is options to be applied on network sockets.
  344. type SocketConfig struct {
  345. state protoimpl.MessageState
  346. sizeCache protoimpl.SizeCache
  347. unknownFields protoimpl.UnknownFields
  348. // Mark of the connection. If non-zero, the value will be set to SO_MARK.
  349. Mark int32 `protobuf:"varint,1,opt,name=mark,proto3" json:"mark,omitempty"`
  350. // TFO is the state of TFO settings.
  351. Tfo SocketConfig_TCPFastOpenState `protobuf:"varint,2,opt,name=tfo,proto3,enum=v2ray.core.transport.internet.SocketConfig_TCPFastOpenState" json:"tfo,omitempty"`
  352. // TProxy is for enabling TProxy socket option.
  353. Tproxy SocketConfig_TProxyMode `protobuf:"varint,3,opt,name=tproxy,proto3,enum=v2ray.core.transport.internet.SocketConfig_TProxyMode" json:"tproxy,omitempty"`
  354. // ReceiveOriginalDestAddress is for enabling IP_RECVORIGDSTADDR socket
  355. // option. This option is for UDP only.
  356. ReceiveOriginalDestAddress bool `protobuf:"varint,4,opt,name=receive_original_dest_address,json=receiveOriginalDestAddress,proto3" json:"receive_original_dest_address,omitempty"`
  357. BindAddress []byte `protobuf:"bytes,5,opt,name=bind_address,json=bindAddress,proto3" json:"bind_address,omitempty"`
  358. BindPort uint32 `protobuf:"varint,6,opt,name=bind_port,json=bindPort,proto3" json:"bind_port,omitempty"`
  359. AcceptProxyProtocol bool `protobuf:"varint,7,opt,name=accept_proxy_protocol,json=acceptProxyProtocol,proto3" json:"accept_proxy_protocol,omitempty"`
  360. TcpKeepAliveInterval int32 `protobuf:"varint,8,opt,name=tcp_keep_alive_interval,json=tcpKeepAliveInterval,proto3" json:"tcp_keep_alive_interval,omitempty"`
  361. }
  362. func (x *SocketConfig) Reset() {
  363. *x = SocketConfig{}
  364. if protoimpl.UnsafeEnabled {
  365. mi := &file_transport_internet_config_proto_msgTypes[3]
  366. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  367. ms.StoreMessageInfo(mi)
  368. }
  369. }
  370. func (x *SocketConfig) String() string {
  371. return protoimpl.X.MessageStringOf(x)
  372. }
  373. func (*SocketConfig) ProtoMessage() {}
  374. func (x *SocketConfig) ProtoReflect() protoreflect.Message {
  375. mi := &file_transport_internet_config_proto_msgTypes[3]
  376. if protoimpl.UnsafeEnabled && x != nil {
  377. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  378. if ms.LoadMessageInfo() == nil {
  379. ms.StoreMessageInfo(mi)
  380. }
  381. return ms
  382. }
  383. return mi.MessageOf(x)
  384. }
  385. // Deprecated: Use SocketConfig.ProtoReflect.Descriptor instead.
  386. func (*SocketConfig) Descriptor() ([]byte, []int) {
  387. return file_transport_internet_config_proto_rawDescGZIP(), []int{3}
  388. }
  389. func (x *SocketConfig) GetMark() int32 {
  390. if x != nil {
  391. return x.Mark
  392. }
  393. return 0
  394. }
  395. func (x *SocketConfig) GetTfo() SocketConfig_TCPFastOpenState {
  396. if x != nil {
  397. return x.Tfo
  398. }
  399. return SocketConfig_AsIs
  400. }
  401. func (x *SocketConfig) GetTproxy() SocketConfig_TProxyMode {
  402. if x != nil {
  403. return x.Tproxy
  404. }
  405. return SocketConfig_Off
  406. }
  407. func (x *SocketConfig) GetReceiveOriginalDestAddress() bool {
  408. if x != nil {
  409. return x.ReceiveOriginalDestAddress
  410. }
  411. return false
  412. }
  413. func (x *SocketConfig) GetBindAddress() []byte {
  414. if x != nil {
  415. return x.BindAddress
  416. }
  417. return nil
  418. }
  419. func (x *SocketConfig) GetBindPort() uint32 {
  420. if x != nil {
  421. return x.BindPort
  422. }
  423. return 0
  424. }
  425. func (x *SocketConfig) GetAcceptProxyProtocol() bool {
  426. if x != nil {
  427. return x.AcceptProxyProtocol
  428. }
  429. return false
  430. }
  431. func (x *SocketConfig) GetTcpKeepAliveInterval() int32 {
  432. if x != nil {
  433. return x.TcpKeepAliveInterval
  434. }
  435. return 0
  436. }
  437. type NoneSecurity struct {
  438. state protoimpl.MessageState
  439. sizeCache protoimpl.SizeCache
  440. unknownFields protoimpl.UnknownFields
  441. }
  442. func (x *NoneSecurity) Reset() {
  443. *x = NoneSecurity{}
  444. if protoimpl.UnsafeEnabled {
  445. mi := &file_transport_internet_config_proto_msgTypes[4]
  446. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  447. ms.StoreMessageInfo(mi)
  448. }
  449. }
  450. func (x *NoneSecurity) String() string {
  451. return protoimpl.X.MessageStringOf(x)
  452. }
  453. func (*NoneSecurity) ProtoMessage() {}
  454. func (x *NoneSecurity) ProtoReflect() protoreflect.Message {
  455. mi := &file_transport_internet_config_proto_msgTypes[4]
  456. if protoimpl.UnsafeEnabled && x != nil {
  457. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  458. if ms.LoadMessageInfo() == nil {
  459. ms.StoreMessageInfo(mi)
  460. }
  461. return ms
  462. }
  463. return mi.MessageOf(x)
  464. }
  465. // Deprecated: Use NoneSecurity.ProtoReflect.Descriptor instead.
  466. func (*NoneSecurity) Descriptor() ([]byte, []int) {
  467. return file_transport_internet_config_proto_rawDescGZIP(), []int{4}
  468. }
  469. var File_transport_internet_config_proto protoreflect.FileDescriptor
  470. var file_transport_internet_config_proto_rawDesc = []byte{
  471. 0x0a, 0x1f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  472. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  473. 0x6f, 0x12, 0x1d, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72,
  474. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
  475. 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  476. 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x63, 0x6f, 0x6d,
  477. 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74,
  478. 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x01,
  479. 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  480. 0x67, 0x12, 0x50, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20,
  481. 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
  482. 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
  483. 0x6e, 0x65, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f,
  484. 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  485. 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f,
  486. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74,
  487. 0x6f, 0x63, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74,
  488. 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
  489. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
  490. 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xa2, 0x03, 0x0a, 0x0c, 0x53,
  491. 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x08, 0x70,
  492. 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e,
  493. 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
  494. 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x54, 0x72,
  495. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42,
  496. 0x02, 0x18, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a,
  497. 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05,
  498. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4e, 0x61,
  499. 0x6d, 0x65, 0x12, 0x5d, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f,
  500. 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e,
  501. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  502. 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x54,
  503. 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11,
  504. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
  505. 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79,
  506. 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
  507. 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
  508. 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
  509. 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  510. 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
  511. 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x0f, 0x73, 0x6f, 0x63,
  512. 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x06, 0x20, 0x01,
  513. 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  514. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
  515. 0x65, 0x74, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
  516. 0x0e, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22,
  517. 0x51, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10,
  518. 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67,
  519. 0x12, 0x30, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x61, 0x79,
  520. 0x65, 0x72, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x74,
  521. 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f,
  522. 0x78, 0x79, 0x22, 0x98, 0x04, 0x0a, 0x0c, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e,
  523. 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
  524. 0x05, 0x52, 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x4e, 0x0a, 0x03, 0x74, 0x66, 0x6f, 0x18, 0x02,
  525. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  526. 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
  527. 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  528. 0x67, 0x2e, 0x54, 0x43, 0x50, 0x46, 0x61, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61,
  529. 0x74, 0x65, 0x52, 0x03, 0x74, 0x66, 0x6f, 0x12, 0x4e, 0x0a, 0x06, 0x74, 0x70, 0x72, 0x6f, 0x78,
  530. 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
  531. 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69,
  532. 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f,
  533. 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x52,
  534. 0x06, 0x74, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x41, 0x0a, 0x1d, 0x72, 0x65, 0x63, 0x65, 0x69,
  535. 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x65, 0x73, 0x74,
  536. 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a,
  537. 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x44,
  538. 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x69,
  539. 0x6e, 0x64, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c,
  540. 0x52, 0x0b, 0x62, 0x69, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a,
  541. 0x09, 0x62, 0x69, 0x6e, 0x64, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d,
  542. 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x63,
  543. 0x63, 0x65, 0x70, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  544. 0x63, 0x6f, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x63, 0x63, 0x65, 0x70,
  545. 0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x35,
  546. 0x0a, 0x17, 0x74, 0x63, 0x70, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65,
  547. 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52,
  548. 0x14, 0x74, 0x63, 0x70, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74,
  549. 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0x35, 0x0a, 0x10, 0x54, 0x43, 0x50, 0x46, 0x61, 0x73, 0x74,
  550. 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x73, 0x49,
  551. 0x73, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x10, 0x01, 0x12,
  552. 0x0b, 0x0a, 0x07, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x10, 0x02, 0x22, 0x2f, 0x0a, 0x0a,
  553. 0x54, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x66,
  554. 0x66, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x10, 0x01, 0x12,
  555. 0x0c, 0x0a, 0x08, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x10, 0x02, 0x22, 0x28, 0x0a,
  556. 0x0c, 0x4e, 0x6f, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x18, 0x82,
  557. 0xb5, 0x18, 0x0a, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x82, 0xb5, 0x18,
  558. 0x06, 0x12, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x2a, 0x5a, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73,
  559. 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x07, 0x0a, 0x03,
  560. 0x54, 0x43, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x01, 0x12, 0x08,
  561. 0x0a, 0x04, 0x4d, 0x4b, 0x43, 0x50, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x57, 0x65, 0x62, 0x53,
  562. 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10,
  563. 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x6f, 0x63, 0x6b, 0x65,
  564. 0x74, 0x10, 0x05, 0x42, 0x78, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  565. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
  566. 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68,
  567. 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72,
  568. 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73,
  569. 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0xaa, 0x02, 0x1d,
  570. 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,
  571. 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x62, 0x06, 0x70,
  572. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  573. }
  574. var (
  575. file_transport_internet_config_proto_rawDescOnce sync.Once
  576. file_transport_internet_config_proto_rawDescData = file_transport_internet_config_proto_rawDesc
  577. )
  578. func file_transport_internet_config_proto_rawDescGZIP() []byte {
  579. file_transport_internet_config_proto_rawDescOnce.Do(func() {
  580. file_transport_internet_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_config_proto_rawDescData)
  581. })
  582. return file_transport_internet_config_proto_rawDescData
  583. }
  584. var file_transport_internet_config_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
  585. var file_transport_internet_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  586. var file_transport_internet_config_proto_goTypes = []interface{}{
  587. (TransportProtocol)(0), // 0: v2ray.core.transport.internet.TransportProtocol
  588. (SocketConfig_TCPFastOpenState)(0), // 1: v2ray.core.transport.internet.SocketConfig.TCPFastOpenState
  589. (SocketConfig_TProxyMode)(0), // 2: v2ray.core.transport.internet.SocketConfig.TProxyMode
  590. (*TransportConfig)(nil), // 3: v2ray.core.transport.internet.TransportConfig
  591. (*StreamConfig)(nil), // 4: v2ray.core.transport.internet.StreamConfig
  592. (*ProxyConfig)(nil), // 5: v2ray.core.transport.internet.ProxyConfig
  593. (*SocketConfig)(nil), // 6: v2ray.core.transport.internet.SocketConfig
  594. (*NoneSecurity)(nil), // 7: v2ray.core.transport.internet.NoneSecurity
  595. (*anypb.Any)(nil), // 8: google.protobuf.Any
  596. }
  597. var file_transport_internet_config_proto_depIdxs = []int32{
  598. 0, // 0: v2ray.core.transport.internet.TransportConfig.protocol:type_name -> v2ray.core.transport.internet.TransportProtocol
  599. 8, // 1: v2ray.core.transport.internet.TransportConfig.settings:type_name -> google.protobuf.Any
  600. 0, // 2: v2ray.core.transport.internet.StreamConfig.protocol:type_name -> v2ray.core.transport.internet.TransportProtocol
  601. 3, // 3: v2ray.core.transport.internet.StreamConfig.transport_settings:type_name -> v2ray.core.transport.internet.TransportConfig
  602. 8, // 4: v2ray.core.transport.internet.StreamConfig.security_settings:type_name -> google.protobuf.Any
  603. 6, // 5: v2ray.core.transport.internet.StreamConfig.socket_settings:type_name -> v2ray.core.transport.internet.SocketConfig
  604. 1, // 6: v2ray.core.transport.internet.SocketConfig.tfo:type_name -> v2ray.core.transport.internet.SocketConfig.TCPFastOpenState
  605. 2, // 7: v2ray.core.transport.internet.SocketConfig.tproxy:type_name -> v2ray.core.transport.internet.SocketConfig.TProxyMode
  606. 8, // [8:8] is the sub-list for method output_type
  607. 8, // [8:8] is the sub-list for method input_type
  608. 8, // [8:8] is the sub-list for extension type_name
  609. 8, // [8:8] is the sub-list for extension extendee
  610. 0, // [0:8] is the sub-list for field type_name
  611. }
  612. func init() { file_transport_internet_config_proto_init() }
  613. func file_transport_internet_config_proto_init() {
  614. if File_transport_internet_config_proto != nil {
  615. return
  616. }
  617. if !protoimpl.UnsafeEnabled {
  618. file_transport_internet_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  619. switch v := v.(*TransportConfig); i {
  620. case 0:
  621. return &v.state
  622. case 1:
  623. return &v.sizeCache
  624. case 2:
  625. return &v.unknownFields
  626. default:
  627. return nil
  628. }
  629. }
  630. file_transport_internet_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  631. switch v := v.(*StreamConfig); i {
  632. case 0:
  633. return &v.state
  634. case 1:
  635. return &v.sizeCache
  636. case 2:
  637. return &v.unknownFields
  638. default:
  639. return nil
  640. }
  641. }
  642. file_transport_internet_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  643. switch v := v.(*ProxyConfig); i {
  644. case 0:
  645. return &v.state
  646. case 1:
  647. return &v.sizeCache
  648. case 2:
  649. return &v.unknownFields
  650. default:
  651. return nil
  652. }
  653. }
  654. file_transport_internet_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  655. switch v := v.(*SocketConfig); i {
  656. case 0:
  657. return &v.state
  658. case 1:
  659. return &v.sizeCache
  660. case 2:
  661. return &v.unknownFields
  662. default:
  663. return nil
  664. }
  665. }
  666. file_transport_internet_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  667. switch v := v.(*NoneSecurity); i {
  668. case 0:
  669. return &v.state
  670. case 1:
  671. return &v.sizeCache
  672. case 2:
  673. return &v.unknownFields
  674. default:
  675. return nil
  676. }
  677. }
  678. }
  679. type x struct{}
  680. out := protoimpl.TypeBuilder{
  681. File: protoimpl.DescBuilder{
  682. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  683. RawDescriptor: file_transport_internet_config_proto_rawDesc,
  684. NumEnums: 3,
  685. NumMessages: 5,
  686. NumExtensions: 0,
  687. NumServices: 0,
  688. },
  689. GoTypes: file_transport_internet_config_proto_goTypes,
  690. DependencyIndexes: file_transport_internet_config_proto_depIdxs,
  691. EnumInfos: file_transport_internet_config_proto_enumTypes,
  692. MessageInfos: file_transport_internet_config_proto_msgTypes,
  693. }.Build()
  694. File_transport_internet_config_proto = out.File
  695. file_transport_internet_config_proto_rawDesc = nil
  696. file_transport_internet_config_proto_goTypes = nil
  697. file_transport_internet_config_proto_depIdxs = nil
  698. }