1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-01 08:16:00 -04:00
v2fly/transport/internet/config.pb.go

110 lines
5.2 KiB
Go
Raw Normal View History

2016-10-02 17:43:58 -04:00
// Code generated by protoc-gen-go.
// source: v2ray.com/core/transport/internet/config.proto
// DO NOT EDIT!
2016-10-18 10:42:22 -04:00
/*
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
*/
2016-10-02 17:43:58 -04:00
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"
2016-10-16 08:22:21 -04:00
import v2ray_core_common_loader "v2ray.com/core/common/loader"
2016-10-02 17:43:58 -04:00
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
2016-10-18 10:42:22 -04:00
// 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
2016-10-02 17:43:58 -04:00
type NetworkSettings struct {
2016-10-18 10:42:22 -04:00
// 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.
2016-10-16 08:22:21 -04:00
Settings *v2ray_core_common_loader.TypedSettings `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"`
2016-10-02 17:43:58 -04:00
}
func (m *NetworkSettings) Reset() { *m = NetworkSettings{} }
func (m *NetworkSettings) String() string { return proto.CompactTextString(m) }
func (*NetworkSettings) ProtoMessage() {}
2016-10-18 10:42:22 -04:00
func (*NetworkSettings) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
2016-10-02 17:43:58 -04:00
2016-10-16 08:22:21 -04:00
func (m *NetworkSettings) GetSettings() *v2ray_core_common_loader.TypedSettings {
2016-10-02 17:43:58 -04:00
if m != nil {
return m.Settings
}
return nil
}
type StreamConfig struct {
2016-10-18 10:42:22 -04:00
// 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.
2016-10-16 08:22:21 -04:00
SecurityType string `protobuf:"bytes,3,opt,name=security_type,json=securityType" json:"security_type,omitempty"`
SecuritySettings []*v2ray_core_common_loader.TypedSettings `protobuf:"bytes,4,rep,name=security_settings,json=securitySettings" json:"security_settings,omitempty"`
2016-10-02 17:43:58 -04:00
}
func (m *StreamConfig) Reset() { *m = StreamConfig{} }
func (m *StreamConfig) String() string { return proto.CompactTextString(m) }
func (*StreamConfig) ProtoMessage() {}
2016-10-18 10:42:22 -04:00
func (*StreamConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
2016-10-02 17:43:58 -04:00
func (m *StreamConfig) GetNetworkSettings() []*NetworkSettings {
if m != nil {
return m.NetworkSettings
}
return nil
}
2016-10-16 08:22:21 -04:00
func (m *StreamConfig) GetSecuritySettings() []*v2ray_core_common_loader.TypedSettings {
2016-10-02 17:43:58 -04:00
if m != nil {
return m.SecuritySettings
}
return nil
}
func init() {
proto.RegisterType((*NetworkSettings)(nil), "v2ray.core.transport.internet.NetworkSettings")
proto.RegisterType((*StreamConfig)(nil), "v2ray.core.transport.internet.StreamConfig")
}
2016-10-18 10:42:22 -04:00
func init() { proto.RegisterFile("v2ray.com/core/transport/internet/config.proto", fileDescriptor0) }
2016-10-02 17:43:58 -04:00
2016-10-18 10:42:22 -04:00
var fileDescriptor0 = []byte{
2016-10-16 08:22:21 -04:00
// 296 bytes of a gzipped FileDescriptorProto
2016-10-02 17:43:58 -04:00
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0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