2016-12-16 09:39:47 -05:00
|
|
|
// Code generated by protoc-gen-go.
|
|
|
|
// source: v2ray.com/core/app/dispatcher/config.proto
|
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
/*
|
|
|
|
Package dispatcher is a generated protocol buffer package.
|
|
|
|
|
|
|
|
It is generated from these files:
|
|
|
|
v2ray.com/core/app/dispatcher/config.proto
|
|
|
|
|
|
|
|
It has these top-level messages:
|
|
|
|
Config
|
|
|
|
*/
|
|
|
|
package dispatcher
|
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
2016-12-23 10:54:15 -05:00
|
|
|
type Config_FixDestination int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
Config_Auto Config_FixDestination = 0
|
|
|
|
Config_Enabled Config_FixDestination = 1
|
|
|
|
Config_Disabled Config_FixDestination = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
var Config_FixDestination_name = map[int32]string{
|
|
|
|
0: "Auto",
|
|
|
|
1: "Enabled",
|
|
|
|
2: "Disabled",
|
|
|
|
}
|
|
|
|
var Config_FixDestination_value = map[string]int32{
|
|
|
|
"Auto": 0,
|
|
|
|
"Enabled": 1,
|
|
|
|
"Disabled": 2,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x Config_FixDestination) String() string {
|
|
|
|
return proto.EnumName(Config_FixDestination_name, int32(x))
|
|
|
|
}
|
|
|
|
func (Config_FixDestination) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
|
|
|
|
|
2016-12-16 09:39:47 -05:00
|
|
|
type Config struct {
|
2016-12-23 10:54:15 -05:00
|
|
|
FixDestination Config_FixDestination `protobuf:"varint,1,opt,name=fix_destination,json=fixDestination,enum=v2ray.core.app.dispatcher.Config_FixDestination" json:"fix_destination,omitempty"`
|
2016-12-16 09:39:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) Reset() { *m = Config{} }
|
|
|
|
func (m *Config) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Config) ProtoMessage() {}
|
|
|
|
func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
|
2016-12-23 10:54:15 -05:00
|
|
|
func (m *Config) GetFixDestination() Config_FixDestination {
|
|
|
|
if m != nil {
|
|
|
|
return m.FixDestination
|
|
|
|
}
|
|
|
|
return Config_Auto
|
|
|
|
}
|
|
|
|
|
2016-12-16 09:39:47 -05:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Config)(nil), "v2ray.core.app.dispatcher.Config")
|
2016-12-23 10:54:15 -05:00
|
|
|
proto.RegisterEnum("v2ray.core.app.dispatcher.Config_FixDestination", Config_FixDestination_name, Config_FixDestination_value)
|
2016-12-16 09:39:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("v2ray.com/core/app/dispatcher/config.proto", fileDescriptor0) }
|
|
|
|
|
|
|
|
var fileDescriptor0 = []byte{
|
2016-12-23 10:54:15 -05:00
|
|
|
// 218 bytes of a gzipped FileDescriptorProto
|
2016-12-16 09:39:47 -05:00
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xd2, 0x2a, 0x33, 0x2a, 0x4a,
|
|
|
|
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0x2c, 0x28, 0xd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0, 0xe5, 0x92, 0xd8, 0xc0, 0x81, 0x62, 0x0c, 0x08, 0x00, 0x00,
|
|
|
|
0xff, 0xff, 0x63, 0xfd, 0xa7, 0xdb, 0x42, 0x01, 0x00, 0x00,
|
2016-12-16 09:39:47 -05:00
|
|
|
}
|