| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 | 
							- package vmess
 
- 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 Multiplexing struct {
 
- 	Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
 
- }
 
- func (m *Multiplexing) Reset()                    { *m = Multiplexing{} }
 
- func (m *Multiplexing) String() string            { return proto.CompactTextString(m) }
 
- func (*Multiplexing) ProtoMessage()               {}
 
- func (*Multiplexing) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
 
- func (m *Multiplexing) GetEnabled() bool {
 
- 	if m != nil {
 
- 		return m.Enabled
 
- 	}
 
- 	return false
 
- }
 
- type Account struct {
 
- 	// ID of the account, in the form of an UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57".
 
- 	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
 
- 	// Number of alternative IDs. Client and server must share the same number.
 
- 	AlterId uint32 `protobuf:"varint,2,opt,name=alter_id,json=alterId" json:"alter_id,omitempty"`
 
- 	// Security settings. Only applies to client side.
 
- 	SecuritySettings *v2ray_core_common_protocol.SecurityConfig `protobuf:"bytes,3,opt,name=security_settings,json=securitySettings" json:"security_settings,omitempty"`
 
- 	Mux              *Multiplexing                              `protobuf:"bytes,4,opt,name=mux" json:"mux,omitempty"`
 
- }
 
- func (m *Account) Reset()                    { *m = Account{} }
 
- func (m *Account) String() string            { return proto.CompactTextString(m) }
 
- func (*Account) ProtoMessage()               {}
 
- func (*Account) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
 
- func (m *Account) GetId() string {
 
- 	if m != nil {
 
- 		return m.Id
 
- 	}
 
- 	return ""
 
- }
 
- func (m *Account) GetAlterId() uint32 {
 
- 	if m != nil {
 
- 		return m.AlterId
 
- 	}
 
- 	return 0
 
- }
 
- func (m *Account) GetSecuritySettings() *v2ray_core_common_protocol.SecurityConfig {
 
- 	if m != nil {
 
- 		return m.SecuritySettings
 
- 	}
 
- 	return nil
 
- }
 
- func (m *Account) GetMux() *Multiplexing {
 
- 	if m != nil {
 
- 		return m.Mux
 
- 	}
 
- 	return nil
 
- }
 
- func init() {
 
- 	proto.RegisterType((*Multiplexing)(nil), "v2ray.core.proxy.vmess.Multiplexing")
 
- 	proto.RegisterType((*Account)(nil), "v2ray.core.proxy.vmess.Account")
 
- }
 
- func init() { proto.RegisterFile("v2ray.com/core/proxy/vmess/account.proto", fileDescriptor0) }
 
- var fileDescriptor0 = []byte{
 
- 	// 295 bytes of a gzipped FileDescriptorProto
 
- 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x90, 0x41, 0x4b, 0xf3, 0x30,
 
- 	0x1c, 0xc6, 0x69, 0xf7, 0xbe, 0x6e, 0xc6, 0x29, 0x9a, 0xc3, 0xa8, 0x3b, 0x95, 0xe1, 0xa1, 0x88,
 
- 	0x24, 0x50, 0xc1, 0xbb, 0xdb, 0x49, 0x41, 0x18, 0x19, 0x4c, 0xf0, 0x32, 0xb2, 0x34, 0xd6, 0x40,
 
- 	0x93, 0x94, 0x24, 0x1d, 0xed, 0x57, 0xf2, 0x7b, 0xf8, 0xbd, 0xa4, 0x69, 0x0b, 0x43, 0xf4, 0xf8,
 
- 	0x6f, 0x7f, 0xcf, 0xc3, 0xef, 0x09, 0x48, 0x0e, 0xa9, 0xa1, 0x0d, 0x62, 0x5a, 0x62, 0xa6, 0x0d,
 
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