account.pb.go 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.12
  5. // source: proxy/vless/account.proto
  6. package vless
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Account struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. // ID of the account, in the form of a UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57".
  24. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  25. // Flow settings. May be "xtls-rprx-vision".
  26. Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
  27. // Encryption settings. Only applies to client side, and only accepts "none" for now.
  28. Encryption string `protobuf:"bytes,3,opt,name=encryption,proto3" json:"encryption,omitempty"`
  29. }
  30. func (x *Account) Reset() {
  31. *x = Account{}
  32. if protoimpl.UnsafeEnabled {
  33. mi := &file_proxy_vless_account_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. }
  38. func (x *Account) String() string {
  39. return protoimpl.X.MessageStringOf(x)
  40. }
  41. func (*Account) ProtoMessage() {}
  42. func (x *Account) ProtoReflect() protoreflect.Message {
  43. mi := &file_proxy_vless_account_proto_msgTypes[0]
  44. if protoimpl.UnsafeEnabled && x != nil {
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. if ms.LoadMessageInfo() == nil {
  47. ms.StoreMessageInfo(mi)
  48. }
  49. return ms
  50. }
  51. return mi.MessageOf(x)
  52. }
  53. // Deprecated: Use Account.ProtoReflect.Descriptor instead.
  54. func (*Account) Descriptor() ([]byte, []int) {
  55. return file_proxy_vless_account_proto_rawDescGZIP(), []int{0}
  56. }
  57. func (x *Account) GetId() string {
  58. if x != nil {
  59. return x.Id
  60. }
  61. return ""
  62. }
  63. func (x *Account) GetFlow() string {
  64. if x != nil {
  65. return x.Flow
  66. }
  67. return ""
  68. }
  69. func (x *Account) GetEncryption() string {
  70. if x != nil {
  71. return x.Encryption
  72. }
  73. return ""
  74. }
  75. var File_proxy_vless_account_proto protoreflect.FileDescriptor
  76. var file_proxy_vless_account_proto_rawDesc = []byte{
  77. 0x0a, 0x19, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x61, 0x63,
  78. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x72, 0x61,
  79. 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x22, 0x4d, 0x0a,
  80. 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  81. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77,
  82. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1e, 0x0a, 0x0a,
  83. 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  84. 0x52, 0x0a, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x52, 0x0a, 0x14,
  85. 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76,
  86. 0x6c, 0x65, 0x73, 0x73, 0x50, 0x01, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  87. 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72,
  88. 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0xaa, 0x02, 0x10,
  89. 0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73, 0x73,
  90. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  91. }
  92. var (
  93. file_proxy_vless_account_proto_rawDescOnce sync.Once
  94. file_proxy_vless_account_proto_rawDescData = file_proxy_vless_account_proto_rawDesc
  95. )
  96. func file_proxy_vless_account_proto_rawDescGZIP() []byte {
  97. file_proxy_vless_account_proto_rawDescOnce.Do(func() {
  98. file_proxy_vless_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_account_proto_rawDescData)
  99. })
  100. return file_proxy_vless_account_proto_rawDescData
  101. }
  102. var file_proxy_vless_account_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  103. var file_proxy_vless_account_proto_goTypes = []interface{}{
  104. (*Account)(nil), // 0: xray.proxy.vless.Account
  105. }
  106. var file_proxy_vless_account_proto_depIdxs = []int32{
  107. 0, // [0:0] is the sub-list for method output_type
  108. 0, // [0:0] is the sub-list for method input_type
  109. 0, // [0:0] is the sub-list for extension type_name
  110. 0, // [0:0] is the sub-list for extension extendee
  111. 0, // [0:0] is the sub-list for field type_name
  112. }
  113. func init() { file_proxy_vless_account_proto_init() }
  114. func file_proxy_vless_account_proto_init() {
  115. if File_proxy_vless_account_proto != nil {
  116. return
  117. }
  118. if !protoimpl.UnsafeEnabled {
  119. file_proxy_vless_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  120. switch v := v.(*Account); i {
  121. case 0:
  122. return &v.state
  123. case 1:
  124. return &v.sizeCache
  125. case 2:
  126. return &v.unknownFields
  127. default:
  128. return nil
  129. }
  130. }
  131. }
  132. type x struct{}
  133. out := protoimpl.TypeBuilder{
  134. File: protoimpl.DescBuilder{
  135. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  136. RawDescriptor: file_proxy_vless_account_proto_rawDesc,
  137. NumEnums: 0,
  138. NumMessages: 1,
  139. NumExtensions: 0,
  140. NumServices: 0,
  141. },
  142. GoTypes: file_proxy_vless_account_proto_goTypes,
  143. DependencyIndexes: file_proxy_vless_account_proto_depIdxs,
  144. MessageInfos: file_proxy_vless_account_proto_msgTypes,
  145. }.Build()
  146. File_proxy_vless_account_proto = out.File
  147. file_proxy_vless_account_proto_rawDesc = nil
  148. file_proxy_vless_account_proto_goTypes = nil
  149. file_proxy_vless_account_proto_depIdxs = nil
  150. }