mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-08 19:28:21 -05:00
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 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 []*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() []*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), "v2ray.core.proxy.vmess.inbound.DetourConfig")
|
|
proto.RegisterType((*DefaultConfig)(nil), "v2ray.core.proxy.vmess.inbound.DefaultConfig")
|
|
proto.RegisterType((*Config)(nil), "v2ray.core.proxy.vmess.inbound.Config")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("v2ray.com/core/proxy/vmess/inbound/config.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 283 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x90, 0x4f, 0x4b, 0xc3, 0x40,
|
|
0x10, 0xc5, 0x49, 0xab, 0x89, 0x4e, 0xac, 0x87, 0xe0, 0x21, 0x7a, 0x28, 0x21, 0xa7, 0x0a, 0xba,
|
|
0x0b, 0xd1, 0x93,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