github.com/v2fly/v2ray-core/v4@v4.45.2/proxy/vless/account.pb.go (about)

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