account.pb.go 7.6 KB

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