github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/proxy/vless/account.pb.go (about)

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