mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-17 18:06:15 -05:00
152 lines
6.4 KiB
Go
152 lines
6.4 KiB
Go
// 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) GetNetwork() v2ray_core_common_net.Network {
|
|
if m != nil {
|
|
return m.Network
|
|
}
|
|
return v2ray_core_common_net.Network_Unknown
|
|
}
|
|
|
|
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) GetNetwork() v2ray_core_common_net.Network {
|
|
if m != nil {
|
|
return m.Network
|
|
}
|
|
return v2ray_core_common_net.Network_Unknown
|
|
}
|
|
|
|
func (m *StreamConfig) GetNetworkSettings() []*NetworkSettings {
|
|
if m != nil {
|
|
return m.NetworkSettings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StreamConfig) GetSecurityType() string {
|
|
if m != nil {
|
|
return m.SecurityType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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 (m *ProxyConfig) GetTag() string {
|
|
if m != nil {
|
|
return m.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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{
|
|
// 344 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, 0x42, 0xb5, 0x56, 0xd0, 0x9c, 0x26,
|
|
0x12, 0x2f, 0x9e, 0xdb, 0x93, 0x87, 0x8a, 0xa4, 0x45, 0xd0, 0x4b, 0x59, 0xe3, 0x18, 0x82, 0x66,
|
|
0xb7, 0xec, 0x8e, 0x7f, 0xf2, 0x14, 0x3e, 0x81, 0x2f, 0xe0, 0x53, 0x4a, 0x92, 0xdd, 0x50, 0x4a,
|
|
0x29, 0x82, 0xb7, 0x21, 0xf9, 0xe6, 0xcb, 0x6f, 0x7e, 0x84, 0xc1, 0x7b, 0xa0, 0x78, 0x06, 0x91,
|
|
0x4c, 0xfd, 0x48, 0x2a, 0xf4, 0x49, 0x71, 0xa1, 0x97, 0x52, 0x91, 0x9f, 0x08, 0x42, 0x25, 0x90,
|
|
0xfc, 0x48, 0x8a, 0xe7, 0x24, 0x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