user.pb.go 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/common/protocol/user.proto
  3. // DO NOT EDIT!
  4. package protocol
  5. import proto "github.com/golang/protobuf/proto"
  6. import fmt "fmt"
  7. import math "math"
  8. import v2ray_core_common_serial "v2ray.com/core/common/serial"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. type User struct {
  14. Level uint32 `protobuf:"varint,1,opt,name=level" json:"level,omitempty"`
  15. Email string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"`
  16. // Protocol specific account information.
  17. Account *v2ray_core_common_serial.TypedMessage `protobuf:"bytes,3,opt,name=account" json:"account,omitempty"`
  18. }
  19. func (m *User) Reset() { *m = User{} }
  20. func (m *User) String() string { return proto.CompactTextString(m) }
  21. func (*User) ProtoMessage() {}
  22. func (*User) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
  23. func (m *User) GetLevel() uint32 {
  24. if m != nil {
  25. return m.Level
  26. }
  27. return 0
  28. }
  29. func (m *User) GetEmail() string {
  30. if m != nil {
  31. return m.Email
  32. }
  33. return ""
  34. }
  35. func (m *User) GetAccount() *v2ray_core_common_serial.TypedMessage {
  36. if m != nil {
  37. return m.Account
  38. }
  39. return nil
  40. }
  41. func init() {
  42. proto.RegisterType((*User)(nil), "v2ray.core.common.protocol.User")
  43. }
  44. func init() { proto.RegisterFile("v2ray.com/core/common/protocol/user.proto", fileDescriptor3) }
  45. var fileDescriptor3 = []byte{
  46. // 222 bytes of a gzipped FileDescriptorProto
  47. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x8f, 0xcf, 0x4a, 0xc4, 0x30,
  48. 0x10, 0xc6, 0xc9, 0xfa, 0x77, 0x23, 0x5e, 0x8a, 0x87, 0xd2, 0x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