github.com/eagleql/xray-core@v1.4.4/proxy/vless/account.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.14.0 5 // source: proxy/vless/account.proto 6 7 package vless 8 9 import ( 10 proto "github.com/golang/protobuf/proto" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 // This is a compile-time assertion that a sufficiently up-to-date version 25 // of the legacy proto package is being used. 26 const _ = proto.ProtoPackageIsVersion4 27 28 type Account struct { 29 state protoimpl.MessageState 30 sizeCache protoimpl.SizeCache 31 unknownFields protoimpl.UnknownFields 32 33 // ID of the account, in the form of a UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57". 34 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 35 // Flow settings. May be "xtls-rprx-direct". 36 Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"` 37 // Encryption settings. Only applies to client side, and only accepts "none" for now. 38 Encryption string `protobuf:"bytes,3,opt,name=encryption,proto3" json:"encryption,omitempty"` 39 } 40 41 func (x *Account) Reset() { 42 *x = Account{} 43 if protoimpl.UnsafeEnabled { 44 mi := &file_proxy_vless_account_proto_msgTypes[0] 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 ms.StoreMessageInfo(mi) 47 } 48 } 49 50 func (x *Account) String() string { 51 return protoimpl.X.MessageStringOf(x) 52 } 53 54 func (*Account) ProtoMessage() {} 55 56 func (x *Account) ProtoReflect() protoreflect.Message { 57 mi := &file_proxy_vless_account_proto_msgTypes[0] 58 if protoimpl.UnsafeEnabled && x != nil { 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 if ms.LoadMessageInfo() == nil { 61 ms.StoreMessageInfo(mi) 62 } 63 return ms 64 } 65 return mi.MessageOf(x) 66 } 67 68 // Deprecated: Use Account.ProtoReflect.Descriptor instead. 69 func (*Account) Descriptor() ([]byte, []int) { 70 return file_proxy_vless_account_proto_rawDescGZIP(), []int{0} 71 } 72 73 func (x *Account) GetId() string { 74 if x != nil { 75 return x.Id 76 } 77 return "" 78 } 79 80 func (x *Account) GetFlow() string { 81 if x != nil { 82 return x.Flow 83 } 84 return "" 85 } 86 87 func (x *Account) GetEncryption() string { 88 if x != nil { 89 return x.Encryption 90 } 91 return "" 92 } 93 94 var File_proxy_vless_account_proto protoreflect.FileDescriptor 95 96 var file_proxy_vless_account_proto_rawDesc = []byte{ 97 0x0a, 0x19, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x61, 0x63, 98 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x72, 0x61, 99 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x22, 0x4d, 0x0a, 100 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 101 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77, 102 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1e, 0x0a, 0x0a, 103 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 104 0x52, 0x0a, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x52, 0x0a, 0x14, 105 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 106 0x6c, 0x65, 0x73, 0x73, 0x50, 0x01, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 107 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 108 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0xaa, 0x02, 0x10, 109 0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73, 0x73, 110 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 111 } 112 113 var ( 114 file_proxy_vless_account_proto_rawDescOnce sync.Once 115 file_proxy_vless_account_proto_rawDescData = file_proxy_vless_account_proto_rawDesc 116 ) 117 118 func file_proxy_vless_account_proto_rawDescGZIP() []byte { 119 file_proxy_vless_account_proto_rawDescOnce.Do(func() { 120 file_proxy_vless_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_account_proto_rawDescData) 121 }) 122 return file_proxy_vless_account_proto_rawDescData 123 } 124 125 var file_proxy_vless_account_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 126 var file_proxy_vless_account_proto_goTypes = []interface{}{ 127 (*Account)(nil), // 0: xray.proxy.vless.Account 128 } 129 var file_proxy_vless_account_proto_depIdxs = []int32{ 130 0, // [0:0] is the sub-list for method output_type 131 0, // [0:0] is the sub-list for method input_type 132 0, // [0:0] is the sub-list for extension type_name 133 0, // [0:0] is the sub-list for extension extendee 134 0, // [0:0] is the sub-list for field type_name 135 } 136 137 func init() { file_proxy_vless_account_proto_init() } 138 func file_proxy_vless_account_proto_init() { 139 if File_proxy_vless_account_proto != nil { 140 return 141 } 142 if !protoimpl.UnsafeEnabled { 143 file_proxy_vless_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 144 switch v := v.(*Account); i { 145 case 0: 146 return &v.state 147 case 1: 148 return &v.sizeCache 149 case 2: 150 return &v.unknownFields 151 default: 152 return nil 153 } 154 } 155 } 156 type x struct{} 157 out := protoimpl.TypeBuilder{ 158 File: protoimpl.DescBuilder{ 159 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 160 RawDescriptor: file_proxy_vless_account_proto_rawDesc, 161 NumEnums: 0, 162 NumMessages: 1, 163 NumExtensions: 0, 164 NumServices: 0, 165 }, 166 GoTypes: file_proxy_vless_account_proto_goTypes, 167 DependencyIndexes: file_proxy_vless_account_proto_depIdxs, 168 MessageInfos: file_proxy_vless_account_proto_msgTypes, 169 }.Build() 170 File_proxy_vless_account_proto = out.File 171 file_proxy_vless_account_proto_rawDesc = nil 172 file_proxy_vless_account_proto_goTypes = nil 173 file_proxy_vless_account_proto_depIdxs = nil 174 }