mirror of https://github.com/v2ray/v2ray-core
114 lines
4.8 KiB
Go
114 lines
4.8 KiB
Go
|
// Code generated by protoc-gen-go.
|
||
|
// source: v2ray.com/core/proxy/vmess/inbound/config.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
/*
|
||
|
Package inbound is a generated protocol buffer package.
|
||
|
|
||
|
It is generated from these files:
|
||
|
v2ray.com/core/proxy/vmess/inbound/config.proto
|
||
|
|
||
|
It has these top-level messages:
|
||
|
DetourConfig
|
||
|
DefaultConfig
|
||
|
Config
|
||
|
*/
|
||
|
package inbound
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
import com_v2ray_core_common_protocol "v2ray.com/core/common/protocol"
|
||
|
|
||
|
// 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 DetourConfig struct {
|
||
|
To string `protobuf:"bytes,1,opt,name=to" json:"to,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *DetourConfig) Reset() { *m = DetourConfig{} }
|
||
|
func (m *DetourConfig) String() string { return proto.CompactTextString(m) }
|
||
|
func (*DetourConfig) ProtoMessage() {}
|
||
|
func (*DetourConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||
|
|
||
|
type DefaultConfig struct {
|
||
|
AlterId uint32 `protobuf:"varint,1,opt,name=alter_id,json=alterId" json:"alter_id,omitempty"`
|
||
|
Level uint32 `protobuf:"varint,2,opt,name=level" json:"level,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *DefaultConfig) Reset() { *m = DefaultConfig{} }
|
||
|
func (m *DefaultConfig) String() string { return proto.CompactTextString(m) }
|
||
|
func (*DefaultConfig) ProtoMessage() {}
|
||
|
func (*DefaultConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||
|
|
||
|
type Config struct {
|
||
|
User []*com_v2ray_core_common_protocol.User `protobuf:"bytes,1,rep,name=user" json:"user,omitempty"`
|
||
|
Default *DefaultConfig `protobuf:"bytes,2,opt,name=default" json:"default,omitempty"`
|
||
|
Detour *DetourConfig `protobuf:"bytes,3,opt,name=detour" json:"detour,omitempty"`
|
||
|
}
|
||
|
|
||
|
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{2} }
|
||
|
|
||
|
func (m *Config) GetUser() []*com_v2ray_core_common_protocol.User {
|
||
|
if m != nil {
|
||
|
return m.User
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Config) GetDefault() *DefaultConfig {
|
||
|
if m != nil {
|
||
|
return m.Default
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Config) GetDetour() *DetourConfig {
|
||
|
if m != nil {
|
||
|
return m.Detour
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*DetourConfig)(nil), "com.v2ray.core.proxy.vmess.inbound.DetourConfig")
|
||
|
proto.RegisterType((*DefaultConfig)(nil), "com.v2ray.core.proxy.vmess.inbound.DefaultConfig")
|
||
|
proto.RegisterType((*Config)(nil), "com.v2ray.core.proxy.vmess.inbound.Config")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("v2ray.com/core/proxy/vmess/inbound/config.proto", fileDescriptor0) }
|
||
|
|
||
|
var fileDescriptor0 = []byte{
|
||
|
// 274 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0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