account.pb.go 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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 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. mi := &file_proxy_vless_account_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. func (x *Account) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*Account) ProtoMessage() {}
  40. func (x *Account) ProtoReflect() protoreflect.Message {
  41. mi := &file_proxy_vless_account_proto_msgTypes[0]
  42. if x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use Account.ProtoReflect.Descriptor instead.
  52. func (*Account) Descriptor() ([]byte, []int) {
  53. return file_proxy_vless_account_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *Account) GetId() string {
  56. if x != nil {
  57. return x.Id
  58. }
  59. return ""
  60. }
  61. func (x *Account) GetFlow() string {
  62. if x != nil {
  63. return x.Flow
  64. }
  65. return ""
  66. }
  67. func (x *Account) GetEncryption() string {
  68. if x != nil {
  69. return x.Encryption
  70. }
  71. return ""
  72. }
  73. var File_proxy_vless_account_proto protoreflect.FileDescriptor
  74. var file_proxy_vless_account_proto_rawDesc = []byte{
  75. 0x0a, 0x19, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x61, 0x63,
  76. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x72, 0x61,
  77. 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x22, 0x4d, 0x0a,
  78. 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  79. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77,
  80. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1e, 0x0a, 0x0a,
  81. 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  82. 0x52, 0x0a, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x52, 0x0a, 0x14,
  83. 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76,
  84. 0x6c, 0x65, 0x73, 0x73, 0x50, 0x01, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  85. 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72,
  86. 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0xaa, 0x02, 0x10,
  87. 0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73, 0x73,
  88. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  89. }
  90. var (
  91. file_proxy_vless_account_proto_rawDescOnce sync.Once
  92. file_proxy_vless_account_proto_rawDescData = file_proxy_vless_account_proto_rawDesc
  93. )
  94. func file_proxy_vless_account_proto_rawDescGZIP() []byte {
  95. file_proxy_vless_account_proto_rawDescOnce.Do(func() {
  96. file_proxy_vless_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_account_proto_rawDescData)
  97. })
  98. return file_proxy_vless_account_proto_rawDescData
  99. }
  100. var file_proxy_vless_account_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  101. var file_proxy_vless_account_proto_goTypes = []any{
  102. (*Account)(nil), // 0: xray.proxy.vless.Account
  103. }
  104. var file_proxy_vless_account_proto_depIdxs = []int32{
  105. 0, // [0:0] is the sub-list for method output_type
  106. 0, // [0:0] is the sub-list for method input_type
  107. 0, // [0:0] is the sub-list for extension type_name
  108. 0, // [0:0] is the sub-list for extension extendee
  109. 0, // [0:0] is the sub-list for field type_name
  110. }
  111. func init() { file_proxy_vless_account_proto_init() }
  112. func file_proxy_vless_account_proto_init() {
  113. if File_proxy_vless_account_proto != nil {
  114. return
  115. }
  116. type x struct{}
  117. out := protoimpl.TypeBuilder{
  118. File: protoimpl.DescBuilder{
  119. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  120. RawDescriptor: file_proxy_vless_account_proto_rawDesc,
  121. NumEnums: 0,
  122. NumMessages: 1,
  123. NumExtensions: 0,
  124. NumServices: 0,
  125. },
  126. GoTypes: file_proxy_vless_account_proto_goTypes,
  127. DependencyIndexes: file_proxy_vless_account_proto_depIdxs,
  128. MessageInfos: file_proxy_vless_account_proto_msgTypes,
  129. }.Build()
  130. File_proxy_vless_account_proto = out.File
  131. file_proxy_vless_account_proto_rawDesc = nil
  132. file_proxy_vless_account_proto_goTypes = nil
  133. file_proxy_vless_account_proto_depIdxs = nil
  134. }