| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- // Code generated by protoc-gen-go.
- // source: v2ray.com/core/transport/internet/config.proto
- // DO NOT EDIT!
- /*
- Package internet is a generated protocol buffer package.
- It is generated from these files:
- v2ray.com/core/transport/internet/config.proto
- It has these top-level messages:
- NetworkSettings
- StreamConfig
- ProxyConfig
- */
- package internet
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import v2ray_core_common_net "v2ray.com/core/common/net"
- import v2ray_core_common_serial "v2ray.com/core/common/serial"
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
- type NetworkSettings struct {
- // Type of network that this settings supports.
- Network v2ray_core_common_net.Network `protobuf:"varint,1,opt,name=network,enum=v2ray.core.common.net.Network" json:"network,omitempty"`
- // Specific settings.
- Settings *v2ray_core_common_serial.TypedMessage `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"`
- }
- func (m *NetworkSettings) Reset() { *m = NetworkSettings{} }
- func (m *NetworkSettings) String() string { return proto.CompactTextString(m) }
- func (*NetworkSettings) ProtoMessage() {}
- func (*NetworkSettings) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
- func (m *NetworkSettings) GetSettings() *v2ray_core_common_serial.TypedMessage {
- if m != nil {
- return m.Settings
- }
- return nil
- }
- type StreamConfig struct {
- // Effective network.
- Network v2ray_core_common_net.Network `protobuf:"varint,1,opt,name=network,enum=v2ray.core.common.net.Network" json:"network,omitempty"`
- NetworkSettings []*NetworkSettings `protobuf:"bytes,2,rep,name=network_settings,json=networkSettings" json:"network_settings,omitempty"`
- // Type of security. Must be a message name of the settings proto.
- SecurityType string `protobuf:"bytes,3,opt,name=security_type,json=securityType" json:"security_type,omitempty"`
- SecuritySettings []*v2ray_core_common_serial.TypedMessage `protobuf:"bytes,4,rep,name=security_settings,json=securitySettings" json:"security_settings,omitempty"`
- }
- func (m *StreamConfig) Reset() { *m = StreamConfig{} }
- func (m *StreamConfig) String() string { return proto.CompactTextString(m) }
- func (*StreamConfig) ProtoMessage() {}
- func (*StreamConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
- func (m *StreamConfig) GetNetworkSettings() []*NetworkSettings {
- if m != nil {
- return m.NetworkSettings
- }
- return nil
- }
- func (m *StreamConfig) GetSecuritySettings() []*v2ray_core_common_serial.TypedMessage {
- if m != nil {
- return m.SecuritySettings
- }
- return nil
- }
- type ProxyConfig struct {
- Tag string `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"`
- }
- func (m *ProxyConfig) Reset() { *m = ProxyConfig{} }
- func (m *ProxyConfig) String() string { return proto.CompactTextString(m) }
- func (*ProxyConfig) ProtoMessage() {}
- func (*ProxyConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
- func init() {
- proto.RegisterType((*NetworkSettings)(nil), "v2ray.core.transport.internet.NetworkSettings")
- proto.RegisterType((*StreamConfig)(nil), "v2ray.core.transport.internet.StreamConfig")
- proto.RegisterType((*ProxyConfig)(nil), "v2ray.core.transport.internet.ProxyConfig")
- }
- func init() { proto.RegisterFile("v2ray.com/core/transport/internet/config.proto", fileDescriptor0) }
- var fileDescriptor0 = []byte{
- // 325 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x92, 0xcf, 0x4a, 0xc3, 0x40,
- 0x10, 0xc6, 0x49, 0x2b, 0xda, 0x6e, 0xab, 0xad, 0x39, 0x95, 0x82, 0x5a, 0x2b, 0x68, 0x2e, 0x4e,
- 0x24, 0x5e, 0x3c, 0xd7, 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