account.pb.go 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v5.28.2
  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 Reverse struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  24. }
  25. func (x *Reverse) Reset() {
  26. *x = Reverse{}
  27. mi := &file_proxy_vless_account_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *Reverse) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*Reverse) ProtoMessage() {}
  35. func (x *Reverse) ProtoReflect() protoreflect.Message {
  36. mi := &file_proxy_vless_account_proto_msgTypes[0]
  37. if x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use Reverse.ProtoReflect.Descriptor instead.
  47. func (*Reverse) Descriptor() ([]byte, []int) {
  48. return file_proxy_vless_account_proto_rawDescGZIP(), []int{0}
  49. }
  50. func (x *Reverse) GetTag() string {
  51. if x != nil {
  52. return x.Tag
  53. }
  54. return ""
  55. }
  56. type Account struct {
  57. state protoimpl.MessageState
  58. sizeCache protoimpl.SizeCache
  59. unknownFields protoimpl.UnknownFields
  60. // ID of the account, in the form of a UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57".
  61. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  62. // Flow settings. May be "xtls-rprx-vision".
  63. Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
  64. Encryption string `protobuf:"bytes,3,opt,name=encryption,proto3" json:"encryption,omitempty"`
  65. XorMode uint32 `protobuf:"varint,4,opt,name=xorMode,proto3" json:"xorMode,omitempty"`
  66. Seconds uint32 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"`
  67. Padding string `protobuf:"bytes,6,opt,name=padding,proto3" json:"padding,omitempty"`
  68. Reverse *Reverse `protobuf:"bytes,7,opt,name=reverse,proto3" json:"reverse,omitempty"`
  69. Testpre uint32 `protobuf:"varint,8,opt,name=testpre,proto3" json:"testpre,omitempty"`
  70. Testseed []uint32 `protobuf:"varint,9,rep,packed,name=testseed,proto3" json:"testseed,omitempty"`
  71. }
  72. func (x *Account) Reset() {
  73. *x = Account{}
  74. mi := &file_proxy_vless_account_proto_msgTypes[1]
  75. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  76. ms.StoreMessageInfo(mi)
  77. }
  78. func (x *Account) String() string {
  79. return protoimpl.X.MessageStringOf(x)
  80. }
  81. func (*Account) ProtoMessage() {}
  82. func (x *Account) ProtoReflect() protoreflect.Message {
  83. mi := &file_proxy_vless_account_proto_msgTypes[1]
  84. if x != nil {
  85. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  86. if ms.LoadMessageInfo() == nil {
  87. ms.StoreMessageInfo(mi)
  88. }
  89. return ms
  90. }
  91. return mi.MessageOf(x)
  92. }
  93. // Deprecated: Use Account.ProtoReflect.Descriptor instead.
  94. func (*Account) Descriptor() ([]byte, []int) {
  95. return file_proxy_vless_account_proto_rawDescGZIP(), []int{1}
  96. }
  97. func (x *Account) GetId() string {
  98. if x != nil {
  99. return x.Id
  100. }
  101. return ""
  102. }
  103. func (x *Account) GetFlow() string {
  104. if x != nil {
  105. return x.Flow
  106. }
  107. return ""
  108. }
  109. func (x *Account) GetEncryption() string {
  110. if x != nil {
  111. return x.Encryption
  112. }
  113. return ""
  114. }
  115. func (x *Account) GetXorMode() uint32 {
  116. if x != nil {
  117. return x.XorMode
  118. }
  119. return 0
  120. }
  121. func (x *Account) GetSeconds() uint32 {
  122. if x != nil {
  123. return x.Seconds
  124. }
  125. return 0
  126. }
  127. func (x *Account) GetPadding() string {
  128. if x != nil {
  129. return x.Padding
  130. }
  131. return ""
  132. }
  133. func (x *Account) GetReverse() *Reverse {
  134. if x != nil {
  135. return x.Reverse
  136. }
  137. return nil
  138. }
  139. func (x *Account) GetTestpre() uint32 {
  140. if x != nil {
  141. return x.Testpre
  142. }
  143. return 0
  144. }
  145. func (x *Account) GetTestseed() []uint32 {
  146. if x != nil {
  147. return x.Testseed
  148. }
  149. return nil
  150. }
  151. var File_proxy_vless_account_proto protoreflect.FileDescriptor
  152. var file_proxy_vless_account_proto_rawDesc = []byte{
  153. 0x0a, 0x19, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x61, 0x63,
  154. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x72, 0x61,
  155. 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x22, 0x1b, 0x0a,
  156. 0x07, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18,
  157. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0x86, 0x02, 0x0a, 0x07, 0x41,
  158. 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  159. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02,
  160. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e,
  161. 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  162. 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x78, 0x6f,
  163. 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x78, 0x6f, 0x72,
  164. 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18,
  165. 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x18,
  166. 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
  167. 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65,
  168. 0x72, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61, 0x79,
  169. 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x52, 0x65, 0x76,
  170. 0x65, 0x72, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x12, 0x18, 0x0a,
  171. 0x07, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07,
  172. 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, 0x73, 0x74, 0x73,
  173. 0x65, 0x65, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x65, 0x73, 0x74, 0x73,
  174. 0x65, 0x65, 0x64, 0x42, 0x52, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e,
  175. 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x50, 0x01, 0x5a, 0x25, 0x67,
  176. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78,
  177. 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76,
  178. 0x6c, 0x65, 0x73, 0x73, 0xaa, 0x02, 0x10, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78,
  179. 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  180. }
  181. var (
  182. file_proxy_vless_account_proto_rawDescOnce sync.Once
  183. file_proxy_vless_account_proto_rawDescData = file_proxy_vless_account_proto_rawDesc
  184. )
  185. func file_proxy_vless_account_proto_rawDescGZIP() []byte {
  186. file_proxy_vless_account_proto_rawDescOnce.Do(func() {
  187. file_proxy_vless_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_account_proto_rawDescData)
  188. })
  189. return file_proxy_vless_account_proto_rawDescData
  190. }
  191. var file_proxy_vless_account_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  192. var file_proxy_vless_account_proto_goTypes = []any{
  193. (*Reverse)(nil), // 0: xray.proxy.vless.Reverse
  194. (*Account)(nil), // 1: xray.proxy.vless.Account
  195. }
  196. var file_proxy_vless_account_proto_depIdxs = []int32{
  197. 0, // 0: xray.proxy.vless.Account.reverse:type_name -> xray.proxy.vless.Reverse
  198. 1, // [1:1] is the sub-list for method output_type
  199. 1, // [1:1] is the sub-list for method input_type
  200. 1, // [1:1] is the sub-list for extension type_name
  201. 1, // [1:1] is the sub-list for extension extendee
  202. 0, // [0:1] is the sub-list for field type_name
  203. }
  204. func init() { file_proxy_vless_account_proto_init() }
  205. func file_proxy_vless_account_proto_init() {
  206. if File_proxy_vless_account_proto != nil {
  207. return
  208. }
  209. type x struct{}
  210. out := protoimpl.TypeBuilder{
  211. File: protoimpl.DescBuilder{
  212. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  213. RawDescriptor: file_proxy_vless_account_proto_rawDesc,
  214. NumEnums: 0,
  215. NumMessages: 2,
  216. NumExtensions: 0,
  217. NumServices: 0,
  218. },
  219. GoTypes: file_proxy_vless_account_proto_goTypes,
  220. DependencyIndexes: file_proxy_vless_account_proto_depIdxs,
  221. MessageInfos: file_proxy_vless_account_proto_msgTypes,
  222. }.Build()
  223. File_proxy_vless_account_proto = out.File
  224. file_proxy_vless_account_proto_rawDesc = nil
  225. file_proxy_vless_account_proto_goTypes = nil
  226. file_proxy_vless_account_proto_depIdxs = nil
  227. }