account.pb.go 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.11
  4. // protoc v6.33.5
  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. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type Reverse struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  23. unknownFields protoimpl.UnknownFields
  24. sizeCache protoimpl.SizeCache
  25. }
  26. func (x *Reverse) Reset() {
  27. *x = Reverse{}
  28. mi := &file_proxy_vless_account_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. func (x *Reverse) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*Reverse) ProtoMessage() {}
  36. func (x *Reverse) ProtoReflect() protoreflect.Message {
  37. mi := &file_proxy_vless_account_proto_msgTypes[0]
  38. if x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use Reverse.ProtoReflect.Descriptor instead.
  48. func (*Reverse) Descriptor() ([]byte, []int) {
  49. return file_proxy_vless_account_proto_rawDescGZIP(), []int{0}
  50. }
  51. func (x *Reverse) GetTag() string {
  52. if x != nil {
  53. return x.Tag
  54. }
  55. return ""
  56. }
  57. type Account struct {
  58. state protoimpl.MessageState `protogen:"open.v1"`
  59. // ID of the account, in the form of a UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57".
  60. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  61. // Flow settings. May be "xtls-rprx-vision".
  62. Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
  63. Encryption string `protobuf:"bytes,3,opt,name=encryption,proto3" json:"encryption,omitempty"`
  64. XorMode uint32 `protobuf:"varint,4,opt,name=xorMode,proto3" json:"xorMode,omitempty"`
  65. Seconds uint32 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"`
  66. Padding string `protobuf:"bytes,6,opt,name=padding,proto3" json:"padding,omitempty"`
  67. Reverse *Reverse `protobuf:"bytes,7,opt,name=reverse,proto3" json:"reverse,omitempty"`
  68. Testpre uint32 `protobuf:"varint,8,opt,name=testpre,proto3" json:"testpre,omitempty"`
  69. Testseed []uint32 `protobuf:"varint,9,rep,packed,name=testseed,proto3" json:"testseed,omitempty"`
  70. unknownFields protoimpl.UnknownFields
  71. sizeCache protoimpl.SizeCache
  72. }
  73. func (x *Account) Reset() {
  74. *x = Account{}
  75. mi := &file_proxy_vless_account_proto_msgTypes[1]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. func (x *Account) String() string {
  80. return protoimpl.X.MessageStringOf(x)
  81. }
  82. func (*Account) ProtoMessage() {}
  83. func (x *Account) ProtoReflect() protoreflect.Message {
  84. mi := &file_proxy_vless_account_proto_msgTypes[1]
  85. if x != nil {
  86. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  87. if ms.LoadMessageInfo() == nil {
  88. ms.StoreMessageInfo(mi)
  89. }
  90. return ms
  91. }
  92. return mi.MessageOf(x)
  93. }
  94. // Deprecated: Use Account.ProtoReflect.Descriptor instead.
  95. func (*Account) Descriptor() ([]byte, []int) {
  96. return file_proxy_vless_account_proto_rawDescGZIP(), []int{1}
  97. }
  98. func (x *Account) GetId() string {
  99. if x != nil {
  100. return x.Id
  101. }
  102. return ""
  103. }
  104. func (x *Account) GetFlow() string {
  105. if x != nil {
  106. return x.Flow
  107. }
  108. return ""
  109. }
  110. func (x *Account) GetEncryption() string {
  111. if x != nil {
  112. return x.Encryption
  113. }
  114. return ""
  115. }
  116. func (x *Account) GetXorMode() uint32 {
  117. if x != nil {
  118. return x.XorMode
  119. }
  120. return 0
  121. }
  122. func (x *Account) GetSeconds() uint32 {
  123. if x != nil {
  124. return x.Seconds
  125. }
  126. return 0
  127. }
  128. func (x *Account) GetPadding() string {
  129. if x != nil {
  130. return x.Padding
  131. }
  132. return ""
  133. }
  134. func (x *Account) GetReverse() *Reverse {
  135. if x != nil {
  136. return x.Reverse
  137. }
  138. return nil
  139. }
  140. func (x *Account) GetTestpre() uint32 {
  141. if x != nil {
  142. return x.Testpre
  143. }
  144. return 0
  145. }
  146. func (x *Account) GetTestseed() []uint32 {
  147. if x != nil {
  148. return x.Testseed
  149. }
  150. return nil
  151. }
  152. var File_proxy_vless_account_proto protoreflect.FileDescriptor
  153. const file_proxy_vless_account_proto_rawDesc = "" +
  154. "\n" +
  155. "\x19proxy/vless/account.proto\x12\x10xray.proxy.vless\"\x1b\n" +
  156. "\aReverse\x12\x10\n" +
  157. "\x03tag\x18\x01 \x01(\tR\x03tag\"\x86\x02\n" +
  158. "\aAccount\x12\x0e\n" +
  159. "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
  160. "\x04flow\x18\x02 \x01(\tR\x04flow\x12\x1e\n" +
  161. "\n" +
  162. "encryption\x18\x03 \x01(\tR\n" +
  163. "encryption\x12\x18\n" +
  164. "\axorMode\x18\x04 \x01(\rR\axorMode\x12\x18\n" +
  165. "\aseconds\x18\x05 \x01(\rR\aseconds\x12\x18\n" +
  166. "\apadding\x18\x06 \x01(\tR\apadding\x123\n" +
  167. "\areverse\x18\a \x01(\v2\x19.xray.proxy.vless.ReverseR\areverse\x12\x18\n" +
  168. "\atestpre\x18\b \x01(\rR\atestpre\x12\x1a\n" +
  169. "\btestseed\x18\t \x03(\rR\btestseedBR\n" +
  170. "\x14com.xray.proxy.vlessP\x01Z%github.com/xtls/xray-core/proxy/vless\xaa\x02\x10Xray.Proxy.Vlessb\x06proto3"
  171. var (
  172. file_proxy_vless_account_proto_rawDescOnce sync.Once
  173. file_proxy_vless_account_proto_rawDescData []byte
  174. )
  175. func file_proxy_vless_account_proto_rawDescGZIP() []byte {
  176. file_proxy_vless_account_proto_rawDescOnce.Do(func() {
  177. file_proxy_vless_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proxy_vless_account_proto_rawDesc), len(file_proxy_vless_account_proto_rawDesc)))
  178. })
  179. return file_proxy_vless_account_proto_rawDescData
  180. }
  181. var file_proxy_vless_account_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  182. var file_proxy_vless_account_proto_goTypes = []any{
  183. (*Reverse)(nil), // 0: xray.proxy.vless.Reverse
  184. (*Account)(nil), // 1: xray.proxy.vless.Account
  185. }
  186. var file_proxy_vless_account_proto_depIdxs = []int32{
  187. 0, // 0: xray.proxy.vless.Account.reverse:type_name -> xray.proxy.vless.Reverse
  188. 1, // [1:1] is the sub-list for method output_type
  189. 1, // [1:1] is the sub-list for method input_type
  190. 1, // [1:1] is the sub-list for extension type_name
  191. 1, // [1:1] is the sub-list for extension extendee
  192. 0, // [0:1] is the sub-list for field type_name
  193. }
  194. func init() { file_proxy_vless_account_proto_init() }
  195. func file_proxy_vless_account_proto_init() {
  196. if File_proxy_vless_account_proto != nil {
  197. return
  198. }
  199. type x struct{}
  200. out := protoimpl.TypeBuilder{
  201. File: protoimpl.DescBuilder{
  202. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  203. RawDescriptor: unsafe.Slice(unsafe.StringData(file_proxy_vless_account_proto_rawDesc), len(file_proxy_vless_account_proto_rawDesc)),
  204. NumEnums: 0,
  205. NumMessages: 2,
  206. NumExtensions: 0,
  207. NumServices: 0,
  208. },
  209. GoTypes: file_proxy_vless_account_proto_goTypes,
  210. DependencyIndexes: file_proxy_vless_account_proto_depIdxs,
  211. MessageInfos: file_proxy_vless_account_proto_msgTypes,
  212. }.Build()
  213. File_proxy_vless_account_proto = out.File
  214. file_proxy_vless_account_proto_goTypes = nil
  215. file_proxy_vless_account_proto_depIdxs = nil
  216. }