account.pb.go 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. }
  70. func (x *Account) Reset() {
  71. *x = Account{}
  72. mi := &file_proxy_vless_account_proto_msgTypes[1]
  73. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  74. ms.StoreMessageInfo(mi)
  75. }
  76. func (x *Account) String() string {
  77. return protoimpl.X.MessageStringOf(x)
  78. }
  79. func (*Account) ProtoMessage() {}
  80. func (x *Account) ProtoReflect() protoreflect.Message {
  81. mi := &file_proxy_vless_account_proto_msgTypes[1]
  82. if x != nil {
  83. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  84. if ms.LoadMessageInfo() == nil {
  85. ms.StoreMessageInfo(mi)
  86. }
  87. return ms
  88. }
  89. return mi.MessageOf(x)
  90. }
  91. // Deprecated: Use Account.ProtoReflect.Descriptor instead.
  92. func (*Account) Descriptor() ([]byte, []int) {
  93. return file_proxy_vless_account_proto_rawDescGZIP(), []int{1}
  94. }
  95. func (x *Account) GetId() string {
  96. if x != nil {
  97. return x.Id
  98. }
  99. return ""
  100. }
  101. func (x *Account) GetFlow() string {
  102. if x != nil {
  103. return x.Flow
  104. }
  105. return ""
  106. }
  107. func (x *Account) GetEncryption() string {
  108. if x != nil {
  109. return x.Encryption
  110. }
  111. return ""
  112. }
  113. func (x *Account) GetXorMode() uint32 {
  114. if x != nil {
  115. return x.XorMode
  116. }
  117. return 0
  118. }
  119. func (x *Account) GetSeconds() uint32 {
  120. if x != nil {
  121. return x.Seconds
  122. }
  123. return 0
  124. }
  125. func (x *Account) GetPadding() string {
  126. if x != nil {
  127. return x.Padding
  128. }
  129. return ""
  130. }
  131. func (x *Account) GetReverse() *Reverse {
  132. if x != nil {
  133. return x.Reverse
  134. }
  135. return nil
  136. }
  137. var File_proxy_vless_account_proto protoreflect.FileDescriptor
  138. var file_proxy_vless_account_proto_rawDesc = []byte{
  139. 0x0a, 0x19, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x61, 0x63,
  140. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x72, 0x61,
  141. 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x22, 0x1b, 0x0a,
  142. 0x07, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18,
  143. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0xd0, 0x01, 0x0a, 0x07, 0x41,
  144. 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  145. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02,
  146. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e,
  147. 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  148. 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x78, 0x6f,
  149. 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x78, 0x6f, 0x72,
  150. 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18,
  151. 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x18,
  152. 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
  153. 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65,
  154. 0x72, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61, 0x79,
  155. 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x52, 0x65, 0x76,
  156. 0x65, 0x72, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x42, 0x52, 0x0a,
  157. 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
  158. 0x76, 0x6c, 0x65, 0x73, 0x73, 0x50, 0x01, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  159. 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f,
  160. 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0xaa, 0x02,
  161. 0x10, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73,
  162. 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  163. }
  164. var (
  165. file_proxy_vless_account_proto_rawDescOnce sync.Once
  166. file_proxy_vless_account_proto_rawDescData = file_proxy_vless_account_proto_rawDesc
  167. )
  168. func file_proxy_vless_account_proto_rawDescGZIP() []byte {
  169. file_proxy_vless_account_proto_rawDescOnce.Do(func() {
  170. file_proxy_vless_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_account_proto_rawDescData)
  171. })
  172. return file_proxy_vless_account_proto_rawDescData
  173. }
  174. var file_proxy_vless_account_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  175. var file_proxy_vless_account_proto_goTypes = []any{
  176. (*Reverse)(nil), // 0: xray.proxy.vless.Reverse
  177. (*Account)(nil), // 1: xray.proxy.vless.Account
  178. }
  179. var file_proxy_vless_account_proto_depIdxs = []int32{
  180. 0, // 0: xray.proxy.vless.Account.reverse:type_name -> xray.proxy.vless.Reverse
  181. 1, // [1:1] is the sub-list for method output_type
  182. 1, // [1:1] is the sub-list for method input_type
  183. 1, // [1:1] is the sub-list for extension type_name
  184. 1, // [1:1] is the sub-list for extension extendee
  185. 0, // [0:1] is the sub-list for field type_name
  186. }
  187. func init() { file_proxy_vless_account_proto_init() }
  188. func file_proxy_vless_account_proto_init() {
  189. if File_proxy_vless_account_proto != nil {
  190. return
  191. }
  192. type x struct{}
  193. out := protoimpl.TypeBuilder{
  194. File: protoimpl.DescBuilder{
  195. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  196. RawDescriptor: file_proxy_vless_account_proto_rawDesc,
  197. NumEnums: 0,
  198. NumMessages: 2,
  199. NumExtensions: 0,
  200. NumServices: 0,
  201. },
  202. GoTypes: file_proxy_vless_account_proto_goTypes,
  203. DependencyIndexes: file_proxy_vless_account_proto_depIdxs,
  204. MessageInfos: file_proxy_vless_account_proto_msgTypes,
  205. }.Build()
  206. File_proxy_vless_account_proto = out.File
  207. file_proxy_vless_account_proto_rawDesc = nil
  208. file_proxy_vless_account_proto_goTypes = nil
  209. file_proxy_vless_account_proto_depIdxs = nil
  210. }