| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- 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 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"`
- }
- 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{0} }
- 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 init() {
- proto.RegisterType((*Account)(nil), "v2ray.core.proxy.vmess.Account")
- }
- func init() { proto.RegisterFile("v2ray.com/core/proxy/vmess/account.proto", fileDescriptor0) }
- var fileDescriptor0 = []byte{
- // 250 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x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