account.pb.go 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. package vmess
  2. import proto "github.com/golang/protobuf/proto"
  3. import fmt "fmt"
  4. import math "math"
  5. import v2ray_core_common_protocol "v2ray.com/core/common/protocol"
  6. // Reference imports to suppress errors if they are not otherwise used.
  7. var _ = proto.Marshal
  8. var _ = fmt.Errorf
  9. var _ = math.Inf
  10. // This is a compile-time assertion to ensure that this generated file
  11. // is compatible with the proto package it is being compiled against.
  12. // A compilation error at this line likely means your copy of the
  13. // proto package needs to be updated.
  14. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  15. type Multiplexing struct {
  16. Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
  17. }
  18. func (m *Multiplexing) Reset() { *m = Multiplexing{} }
  19. func (m *Multiplexing) String() string { return proto.CompactTextString(m) }
  20. func (*Multiplexing) ProtoMessage() {}
  21. func (*Multiplexing) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  22. func (m *Multiplexing) GetEnabled() bool {
  23. if m != nil {
  24. return m.Enabled
  25. }
  26. return false
  27. }
  28. type Account struct {
  29. // ID of the account, in the form of an UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57".
  30. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  31. // Number of alternative IDs. Client and server must share the same number.
  32. AlterId uint32 `protobuf:"varint,2,opt,name=alter_id,json=alterId" json:"alter_id,omitempty"`
  33. // Security settings. Only applies to client side.
  34. SecuritySettings *v2ray_core_common_protocol.SecurityConfig `protobuf:"bytes,3,opt,name=security_settings,json=securitySettings" json:"security_settings,omitempty"`
  35. Mux *Multiplexing `protobuf:"bytes,4,opt,name=mux" json:"mux,omitempty"`
  36. }
  37. func (m *Account) Reset() { *m = Account{} }
  38. func (m *Account) String() string { return proto.CompactTextString(m) }
  39. func (*Account) ProtoMessage() {}
  40. func (*Account) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  41. func (m *Account) GetId() string {
  42. if m != nil {
  43. return m.Id
  44. }
  45. return ""
  46. }
  47. func (m *Account) GetAlterId() uint32 {
  48. if m != nil {
  49. return m.AlterId
  50. }
  51. return 0
  52. }
  53. func (m *Account) GetSecuritySettings() *v2ray_core_common_protocol.SecurityConfig {
  54. if m != nil {
  55. return m.SecuritySettings
  56. }
  57. return nil
  58. }
  59. func (m *Account) GetMux() *Multiplexing {
  60. if m != nil {
  61. return m.Mux
  62. }
  63. return nil
  64. }
  65. func init() {
  66. proto.RegisterType((*Multiplexing)(nil), "v2ray.core.proxy.vmess.Multiplexing")
  67. proto.RegisterType((*Account)(nil), "v2ray.core.proxy.vmess.Account")
  68. }
  69. func init() { proto.RegisterFile("v2ray.com/core/proxy/vmess/account.proto", fileDescriptor0) }
  70. var fileDescriptor0 = []byte{
  71. // 295 bytes of a gzipped FileDescriptorProto
  72. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x90, 0x41, 0x4b, 0xf3, 0x30,
  73. 0x1c, 0xc6, 0x69, 0xf7, 0xbe, 0x6e, 0xc6, 0x29, 0x9a, 0xc3, 0xa8, 0x3b, 0x95, 0xe1, 0xa1, 0x88,
  74. 0x24, 0x50, 0xc1, 0xbb, 0xdb, 0x49, 0x41, 0x18, 0x19, 0x4c, 0xf0, 0x32, 0xb2, 0x34, 0xd6, 0x40,
  75. 0x93, 0x94, 0x24, 0x1d, 0xed, 0x57, 0xf2, 0x7b, 0xf8, 0xbd, 0xa4, 0x69, 0x0b, 0x43, 0xf4, 0xf8,
  76. 0x6f, 0x7f, 0xcf, 0xc3, 0xef, 0x09, 0x48, 0x0e, 0xa9, 0xa1, 0x0d, 0x62, 0x5a, 0x62, 0xa6, 0x0d,
  77. 0xc7, 0xa5, 0xd1, 0x75, 0x83, 0x0f, 0x92, 0x5b, 0x8b, 0x29, 0x63, 0xba, 0x52, 0x0e, 0x95, 0x46,
  78. 0x3b, 0x0d, 0x67, 0x03, 0x69, 0x38, 0xf2, 0x14, 0xf2, 0xd4, 0xfc, 0xee, 0x47, 0x03, 0xd3, 0x52,
  79. 0x6a, 0x85, 0x7d, 0x88, 0xe9, 0x02, 0x7f, 0x70, 0x9a, 0x71, 0x63, 0xbb, 0x96, 0x45, 0x02, 0xa6,
  80. 0x2f, 0x55, 0xe1, 0x44, 0x59, 0xf0, 0x5a, 0xa8, 0x1c, 0x46, 0x60, 0xcc, 0x15, 0xdd, 0x17, 0x3c,
  81. 0x8b, 0x82, 0x38, 0x48, 0x26, 0x64, 0x38, 0x17, 0x5f, 0x01, 0x18, 0x3f, 0x76, 0x06, 0xf0, 0x02,
  82. 0x84, 0xa2, 0x03, 0x4e, 0x49, 0x28, 0x32, 0x78, 0x0d, 0x26, 0xb4, 0x70, 0xdc, 0xec, 0x44, 0x16,
  83. 0x85, 0x71, 0x90, 0x9c, 0x93, 0xb1, 0xbf, 0x9f, 0x32, 0xf8, 0x0a, 0xae, 0x2c, 0x67, 0x95, 0x11,
  84. 0xae, 0xd9, 0x59, 0xee, 0x9c, 0x50, 0xb9, 0x8d, 0x46, 0x71, 0x90, 0x9c, 0xa5, 0xb7, 0xe8, 0x68,
  85. 0x42, 0xa7, 0x89, 0x06, 0x4d, 0xb4, 0xe9, 0x43, 0x2b, 0xad, 0xde, 0x45, 0x4e, 0x2e, 0x87, 0x92,
  86. 0x4d, 0xdf, 0x01, 0x1f, 0xc0, 0x48, 0x56, 0x75, 0xf4, 0xcf, 0x57, 0xdd, 0xa0, 0xdf, 0x5f, 0x03,
  87. 0x1d, 0x8f, 0x23, 0x6d, 0x60, 0xf9, 0x0c, 0xe6, 0x4c, 0xcb, 0x3f, 0xf8, 0xe5, 0xb4, 0x9f, 0xb8,
  88. 0x6e, 0x3d, 0xde, 0xfe, 0xfb, 0x8f, 0x9f, 0xe1, 0x6c, 0x9b, 0x12, 0xda, 0xa0, 0x55, 0x4b, 0xaf,
  89. 0x3d, 0xbd, 0x6d, 0x7f, 0xec, 0x4f, 0xbc, 0xee, 0xfd, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x90,
  90. 0xcb, 0xba, 0xdd, 0xb6, 0x01, 0x00, 0x00,
  91. }