mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-19 10:56:06 -05:00
58 lines
2.5 KiB
Go
58 lines
2.5 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: v2ray.com/core/common/protocol/user.proto
|
|
// DO NOT EDIT!
|
|
|
|
package protocol
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import v2ray_core_common_loader "v2ray.com/core/common/loader"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
type User struct {
|
|
Level uint32 `protobuf:"varint,1,opt,name=level" json:"level,omitempty"`
|
|
Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"`
|
|
// Protocol specific account information.
|
|
Account *v2ray_core_common_loader.TypedSettings `protobuf:"bytes,3,opt,name=account" json:"account,omitempty"`
|
|
}
|
|
|
|
func (m *User) Reset() { *m = User{} }
|
|
func (m *User) String() string { return proto.CompactTextString(m) }
|
|
func (*User) ProtoMessage() {}
|
|
func (*User) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
|
|
|
func (m *User) GetAccount() *v2ray_core_common_loader.TypedSettings {
|
|
if m != nil {
|
|
return m.Account
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*User)(nil), "v2ray.core.common.protocol.User")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("v2ray.com/core/common/protocol/user.proto", fileDescriptor2) }
|
|
|
|
var fileDescriptor2 = []byte{
|
|
// 200 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x8f, 0x3f, 0xef, 0x82, 0x30,
|
|
0x10, 0x86, 0xd3, 0xdf, 0x5f, 0xa9, 0x71, 0x21, 0x0e, 0x84, 0xc1, 0x10, 0x17, 0x70, 0x69, 0x13,
|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