github.com/xraypb/Xray-core@v1.8.1/proxy/vless/account.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.21.12
     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. May be "xtls-rprx-vision".
    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, 0x10, 0x78, 0x72, 0x61,
    94  	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x22, 0x4d, 0x0a,
    95  	0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
    96  	0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77,
    97  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1e, 0x0a, 0x0a,
    98  	0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
    99  	0x52, 0x0a, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x52, 0x0a, 0x14,
   100  	0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76,
   101  	0x6c, 0x65, 0x73, 0x73, 0x50, 0x01, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
   102  	0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72,
   103  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0xaa, 0x02, 0x10,
   104  	0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73, 0x73,
   105  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   106  }
   107  
   108  var (
   109  	file_proxy_vless_account_proto_rawDescOnce sync.Once
   110  	file_proxy_vless_account_proto_rawDescData = file_proxy_vless_account_proto_rawDesc
   111  )
   112  
   113  func file_proxy_vless_account_proto_rawDescGZIP() []byte {
   114  	file_proxy_vless_account_proto_rawDescOnce.Do(func() {
   115  		file_proxy_vless_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vless_account_proto_rawDescData)
   116  	})
   117  	return file_proxy_vless_account_proto_rawDescData
   118  }
   119  
   120  var file_proxy_vless_account_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   121  var file_proxy_vless_account_proto_goTypes = []interface{}{
   122  	(*Account)(nil), // 0: xray.proxy.vless.Account
   123  }
   124  var file_proxy_vless_account_proto_depIdxs = []int32{
   125  	0, // [0:0] is the sub-list for method output_type
   126  	0, // [0:0] is the sub-list for method input_type
   127  	0, // [0:0] is the sub-list for extension type_name
   128  	0, // [0:0] is the sub-list for extension extendee
   129  	0, // [0:0] is the sub-list for field type_name
   130  }
   131  
   132  func init() { file_proxy_vless_account_proto_init() }
   133  func file_proxy_vless_account_proto_init() {
   134  	if File_proxy_vless_account_proto != nil {
   135  		return
   136  	}
   137  	if !protoimpl.UnsafeEnabled {
   138  		file_proxy_vless_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   139  			switch v := v.(*Account); i {
   140  			case 0:
   141  				return &v.state
   142  			case 1:
   143  				return &v.sizeCache
   144  			case 2:
   145  				return &v.unknownFields
   146  			default:
   147  				return nil
   148  			}
   149  		}
   150  	}
   151  	type x struct{}
   152  	out := protoimpl.TypeBuilder{
   153  		File: protoimpl.DescBuilder{
   154  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   155  			RawDescriptor: file_proxy_vless_account_proto_rawDesc,
   156  			NumEnums:      0,
   157  			NumMessages:   1,
   158  			NumExtensions: 0,
   159  			NumServices:   0,
   160  		},
   161  		GoTypes:           file_proxy_vless_account_proto_goTypes,
   162  		DependencyIndexes: file_proxy_vless_account_proto_depIdxs,
   163  		MessageInfos:      file_proxy_vless_account_proto_msgTypes,
   164  	}.Build()
   165  	File_proxy_vless_account_proto = out.File
   166  	file_proxy_vless_account_proto_rawDesc = nil
   167  	file_proxy_vless_account_proto_goTypes = nil
   168  	file_proxy_vless_account_proto_depIdxs = nil
   169  }