github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/proxy/vmess/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.13.0
     5  // source: proxy/vmess/account.proto
     6  
     7  package vmess
     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  	protocol "v2ray.com/core/common/protocol"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  // This is a compile-time assertion that a sufficiently up-to-date version
    26  // of the legacy proto package is being used.
    27  const _ = proto.ProtoPackageIsVersion4
    28  
    29  type Account struct {
    30  	state         protoimpl.MessageState
    31  	sizeCache     protoimpl.SizeCache
    32  	unknownFields protoimpl.UnknownFields
    33  
    34  	// ID of the account, in the form of a UUID, e.g.,
    35  	// "66ad4540-b58c-4ad2-9926-ea63445a9b57".
    36  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    37  	// Number of alternative IDs. Client and server must share the same number.
    38  	AlterId uint32 `protobuf:"varint,2,opt,name=alter_id,json=alterId,proto3" json:"alter_id,omitempty"`
    39  	// Security settings. Only applies to client side.
    40  	SecuritySettings *protocol.SecurityConfig `protobuf:"bytes,3,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
    41  	// Define tests enabled for this account
    42  	TestsEnabled string `protobuf:"bytes,4,opt,name=tests_enabled,json=testsEnabled,proto3" json:"tests_enabled,omitempty"`
    43  }
    44  
    45  func (x *Account) Reset() {
    46  	*x = Account{}
    47  	if protoimpl.UnsafeEnabled {
    48  		mi := &file_proxy_vmess_account_proto_msgTypes[0]
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		ms.StoreMessageInfo(mi)
    51  	}
    52  }
    53  
    54  func (x *Account) String() string {
    55  	return protoimpl.X.MessageStringOf(x)
    56  }
    57  
    58  func (*Account) ProtoMessage() {}
    59  
    60  func (x *Account) ProtoReflect() protoreflect.Message {
    61  	mi := &file_proxy_vmess_account_proto_msgTypes[0]
    62  	if protoimpl.UnsafeEnabled && x != nil {
    63  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    64  		if ms.LoadMessageInfo() == nil {
    65  			ms.StoreMessageInfo(mi)
    66  		}
    67  		return ms
    68  	}
    69  	return mi.MessageOf(x)
    70  }
    71  
    72  // Deprecated: Use Account.ProtoReflect.Descriptor instead.
    73  func (*Account) Descriptor() ([]byte, []int) {
    74  	return file_proxy_vmess_account_proto_rawDescGZIP(), []int{0}
    75  }
    76  
    77  func (x *Account) GetId() string {
    78  	if x != nil {
    79  		return x.Id
    80  	}
    81  	return ""
    82  }
    83  
    84  func (x *Account) GetAlterId() uint32 {
    85  	if x != nil {
    86  		return x.AlterId
    87  	}
    88  	return 0
    89  }
    90  
    91  func (x *Account) GetSecuritySettings() *protocol.SecurityConfig {
    92  	if x != nil {
    93  		return x.SecuritySettings
    94  	}
    95  	return nil
    96  }
    97  
    98  func (x *Account) GetTestsEnabled() string {
    99  	if x != nil {
   100  		return x.TestsEnabled
   101  	}
   102  	return ""
   103  }
   104  
   105  var File_proxy_vmess_account_proto protoreflect.FileDescriptor
   106  
   107  var file_proxy_vmess_account_proto_rawDesc = []byte{
   108  	0x0a, 0x19, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6d, 0x65, 0x73, 0x73, 0x2f, 0x61, 0x63,
   109  	0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x76, 0x32, 0x72,
   110  	0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6d,
   111  	0x65, 0x73, 0x73, 0x1a, 0x1d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   112  	0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   113  	0x74, 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e,
   114  	0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19,
   115  	0x0a, 0x08, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
   116  	0x52, 0x07, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x57, 0x0a, 0x11, 0x73, 0x65, 0x63,
   117  	0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03,
   118  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
   119  	0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
   120  	0x6c, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   121  	0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
   122  	0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x65, 0x73, 0x74, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62,
   123  	0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x73,
   124  	0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, 0x53, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x76,
   125  	0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
   126  	0x76, 0x6d, 0x65, 0x73, 0x73, 0x50, 0x01, 0x5a, 0x1a, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
   127  	0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6d,
   128  	0x65, 0x73, 0x73, 0xaa, 0x02, 0x16, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65,
   129  	0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6d, 0x65, 0x73, 0x73, 0x62, 0x06, 0x70, 0x72,
   130  	0x6f, 0x74, 0x6f, 0x33,
   131  }
   132  
   133  var (
   134  	file_proxy_vmess_account_proto_rawDescOnce sync.Once
   135  	file_proxy_vmess_account_proto_rawDescData = file_proxy_vmess_account_proto_rawDesc
   136  )
   137  
   138  func file_proxy_vmess_account_proto_rawDescGZIP() []byte {
   139  	file_proxy_vmess_account_proto_rawDescOnce.Do(func() {
   140  		file_proxy_vmess_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_vmess_account_proto_rawDescData)
   141  	})
   142  	return file_proxy_vmess_account_proto_rawDescData
   143  }
   144  
   145  var file_proxy_vmess_account_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   146  var file_proxy_vmess_account_proto_goTypes = []interface{}{
   147  	(*Account)(nil),                 // 0: v2ray.core.proxy.vmess.Account
   148  	(*protocol.SecurityConfig)(nil), // 1: v2ray.core.common.protocol.SecurityConfig
   149  }
   150  var file_proxy_vmess_account_proto_depIdxs = []int32{
   151  	1, // 0: v2ray.core.proxy.vmess.Account.security_settings:type_name -> v2ray.core.common.protocol.SecurityConfig
   152  	1, // [1:1] is the sub-list for method output_type
   153  	1, // [1:1] is the sub-list for method input_type
   154  	1, // [1:1] is the sub-list for extension type_name
   155  	1, // [1:1] is the sub-list for extension extendee
   156  	0, // [0:1] is the sub-list for field type_name
   157  }
   158  
   159  func init() { file_proxy_vmess_account_proto_init() }
   160  func file_proxy_vmess_account_proto_init() {
   161  	if File_proxy_vmess_account_proto != nil {
   162  		return
   163  	}
   164  	if !protoimpl.UnsafeEnabled {
   165  		file_proxy_vmess_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   166  			switch v := v.(*Account); i {
   167  			case 0:
   168  				return &v.state
   169  			case 1:
   170  				return &v.sizeCache
   171  			case 2:
   172  				return &v.unknownFields
   173  			default:
   174  				return nil
   175  			}
   176  		}
   177  	}
   178  	type x struct{}
   179  	out := protoimpl.TypeBuilder{
   180  		File: protoimpl.DescBuilder{
   181  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   182  			RawDescriptor: file_proxy_vmess_account_proto_rawDesc,
   183  			NumEnums:      0,
   184  			NumMessages:   1,
   185  			NumExtensions: 0,
   186  			NumServices:   0,
   187  		},
   188  		GoTypes:           file_proxy_vmess_account_proto_goTypes,
   189  		DependencyIndexes: file_proxy_vmess_account_proto_depIdxs,
   190  		MessageInfos:      file_proxy_vmess_account_proto_msgTypes,
   191  	}.Build()
   192  	File_proxy_vmess_account_proto = out.File
   193  	file_proxy_vmess_account_proto_rawDesc = nil
   194  	file_proxy_vmess_account_proto_goTypes = nil
   195  	file_proxy_vmess_account_proto_depIdxs = nil
   196  }