config.pb.go 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/transport/internet/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package internet is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/transport/internet/config.proto
  8. It has these top-level messages:
  9. NetworkSettings
  10. StreamConfig
  11. ProxyConfig
  12. */
  13. package internet
  14. import proto "github.com/golang/protobuf/proto"
  15. import fmt "fmt"
  16. import math "math"
  17. import v2ray_core_common_net "v2ray.com/core/common/net"
  18. import v2ray_core_common_loader "v2ray.com/core/common/loader"
  19. // Reference imports to suppress errors if they are not otherwise used.
  20. var _ = proto.Marshal
  21. var _ = fmt.Errorf
  22. var _ = math.Inf
  23. // This is a compile-time assertion to ensure that this generated file
  24. // is compatible with the proto package it is being compiled against.
  25. // A compilation error at this line likely means your copy of the
  26. // proto package needs to be updated.
  27. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  28. type NetworkSettings struct {
  29. // Type of network that this settings supports.
  30. Network v2ray_core_common_net.Network `protobuf:"varint,1,opt,name=network,enum=v2ray.core.common.net.Network" json:"network,omitempty"`
  31. // Specific settings.
  32. Settings *v2ray_core_common_loader.TypedSettings `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"`
  33. }
  34. func (m *NetworkSettings) Reset() { *m = NetworkSettings{} }
  35. func (m *NetworkSettings) String() string { return proto.CompactTextString(m) }
  36. func (*NetworkSettings) ProtoMessage() {}
  37. func (*NetworkSettings) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  38. func (m *NetworkSettings) GetSettings() *v2ray_core_common_loader.TypedSettings {
  39. if m != nil {
  40. return m.Settings
  41. }
  42. return nil
  43. }
  44. type StreamConfig struct {
  45. // Effective network.
  46. Network v2ray_core_common_net.Network `protobuf:"varint,1,opt,name=network,enum=v2ray.core.common.net.Network" json:"network,omitempty"`
  47. NetworkSettings []*NetworkSettings `protobuf:"bytes,2,rep,name=network_settings,json=networkSettings" json:"network_settings,omitempty"`
  48. // Type of security. Must be a message name of the settings proto.
  49. SecurityType string `protobuf:"bytes,3,opt,name=security_type,json=securityType" json:"security_type,omitempty"`
  50. SecuritySettings []*v2ray_core_common_loader.TypedSettings `protobuf:"bytes,4,rep,name=security_settings,json=securitySettings" json:"security_settings,omitempty"`
  51. }
  52. func (m *StreamConfig) Reset() { *m = StreamConfig{} }
  53. func (m *StreamConfig) String() string { return proto.CompactTextString(m) }
  54. func (*StreamConfig) ProtoMessage() {}
  55. func (*StreamConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  56. func (m *StreamConfig) GetNetworkSettings() []*NetworkSettings {
  57. if m != nil {
  58. return m.NetworkSettings
  59. }
  60. return nil
  61. }
  62. func (m *StreamConfig) GetSecuritySettings() []*v2ray_core_common_loader.TypedSettings {
  63. if m != nil {
  64. return m.SecuritySettings
  65. }
  66. return nil
  67. }
  68. type ProxyConfig struct {
  69. Tag string `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"`
  70. }
  71. func (m *ProxyConfig) Reset() { *m = ProxyConfig{} }
  72. func (m *ProxyConfig) String() string { return proto.CompactTextString(m) }
  73. func (*ProxyConfig) ProtoMessage() {}
  74. func (*ProxyConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
  75. func init() {
  76. proto.RegisterType((*NetworkSettings)(nil), "v2ray.core.transport.internet.NetworkSettings")
  77. proto.RegisterType((*StreamConfig)(nil), "v2ray.core.transport.internet.StreamConfig")
  78. proto.RegisterType((*ProxyConfig)(nil), "v2ray.core.transport.internet.ProxyConfig")
  79. }
  80. func init() { proto.RegisterFile("v2ray.com/core/transport/internet/config.proto", fileDescriptor0) }
  81. var fileDescriptor0 = []byte{
  82. // 317 bytes of a gzipped FileDescriptorProto
  83. 0x1f, 0x8b, 0x08, 0x00, 0x00,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3, 0xf5, 0x82, 0xe9, 0x37, 0xd6, 0xaa, 0x05, 0x2c, 0xf2, 0x14,
  95. 0x57, 0xf6, 0xd1, 0xb0, 0x31, 0x4e, 0x3e, 0x5b, 0xaa, 0x3f, 0x17, 0xc6, 0x28, 0x99, 0x95, 0x68,
  96. 0xfe, 0xd0, 0xe7, 0x4e, 0x0d, 0xeb, 0x71, 0xb9, 0xd1, 0xab, 0xed, 0xf5, 0x02, 0x80, 0x9d, 0xa4,
  97. 0x61, 0x8b, 0x49, 0x38, 0x30, 0x5b, 0x90, 0xce, 0xd5, 0x7e, 0x86, 0xfa, 0x85, 0x63, 0xc9, 0x97,
  98. 0x05, 0xcf, 0x51, 0x7b, 0xec, 0x78, 0xdd, 0xb0, 0x6f, 0x97, 0xc5, 0x75, 0xee, 0x42, 0x1d, 0x36,
  99. 0xa2, 0xa6, 0xc0, 0xbf, 0xb2, 0xc0, 0xaf, 0xc1, 0x0c, 0x6d, 0x82, 0xdd, 0x4c, 0x4e, 0x55, 0xef,
  100. 0x96, 0xe9, 0x3d, 0xaf, 0xf1, 0x0c, 0x55, 0x5b, 0xa2, 0x75, 0x89, 0xa6, 0x1b, 0x16, 0xe3, 0xf5,
  101. 0x85, 0x3a, 0xd3, 0x94, 0xec, 0xbe, 0xf0, 0xbe, 0x63, 0xa7, 0x87, 0xff, 0xe5, 0x57, 0xb8, 0xfc,
  102. 0x0a, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xb6, 0x2f, 0xcf, 0xad, 0x02, 0x00, 0x00,
  103. }