// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.30.0 // protoc v3.17.3 // source: card/card_error.proto package card import ( _ "github.com/go-kratos/kratos/v2/errors" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type CardServiceErrorReason int32 const ( CardServiceErrorReason_UNKNOWN_ERROR CardServiceErrorReason = 0 CardServiceErrorReason_ACCOUNT_PASSWORD_FORMAT CardServiceErrorReason = 1 CardServiceErrorReason_ACCOUNT_NOTFOUND CardServiceErrorReason = 2 CardServiceErrorReason_ACCOUNT_EXIST CardServiceErrorReason = 3 CardServiceErrorReason_ACCOUNT_SYSTEM CardServiceErrorReason = 4 CardServiceErrorReason_ACCOUNT_UPDATE CardServiceErrorReason = 5 CardServiceErrorReason_USER_NOTFOUND CardServiceErrorReason = 6 CardServiceErrorReason_USER_EXIST CardServiceErrorReason = 7 CardServiceErrorReason_USER_SYSTEM CardServiceErrorReason = 8 CardServiceErrorReason_USER_UPDATE CardServiceErrorReason = 9 CardServiceErrorReason_UNAUTHORIZED CardServiceErrorReason = 10 CardServiceErrorReason_FORBIDDEN CardServiceErrorReason = 11 CardServiceErrorReason_ACCOUNT_PASSWORD CardServiceErrorReason = 12 CardServiceErrorReason_THIRD_WX CardServiceErrorReason = 13 CardServiceErrorReason_CARD_NOTFOUND CardServiceErrorReason = 14 CardServiceErrorReason_CARD_EXIST CardServiceErrorReason = 15 CardServiceErrorReason_CARD_SYSTEM CardServiceErrorReason = 16 CardServiceErrorReason_CARD_UPDATE CardServiceErrorReason = 17 CardServiceErrorReason_SHARE_TOKEN_NOTFOUND CardServiceErrorReason = 18 CardServiceErrorReason_SHARE_TOKEN_EXIST CardServiceErrorReason = 19 CardServiceErrorReason_SHARE_TOKEN_SYSTEM CardServiceErrorReason = 20 CardServiceErrorReason_CARD_USER_NOTFOUND CardServiceErrorReason = 21 CardServiceErrorReason_THIRD_ALIYUN CardServiceErrorReason = 22 CardServiceErrorReason_ENDPOINT_OSS_UPLOAD CardServiceErrorReason = 23 ) // Enum value maps for CardServiceErrorReason. var ( CardServiceErrorReason_name = map[int32]string{ 0: "UNKNOWN_ERROR", 1: "ACCOUNT_PASSWORD_FORMAT", 2: "ACCOUNT_NOTFOUND", 3: "ACCOUNT_EXIST", 4: "ACCOUNT_SYSTEM", 5: "ACCOUNT_UPDATE", 6: "USER_NOTFOUND", 7: "USER_EXIST", 8: "USER_SYSTEM", 9: "USER_UPDATE", 10: "UNAUTHORIZED", 11: "FORBIDDEN", 12: "ACCOUNT_PASSWORD", 13: "THIRD_WX", 14: "CARD_NOTFOUND", 15: "CARD_EXIST", 16: "CARD_SYSTEM", 17: "CARD_UPDATE", 18: "SHARE_TOKEN_NOTFOUND", 19: "SHARE_TOKEN_EXIST", 20: "SHARE_TOKEN_SYSTEM", 21: "CARD_USER_NOTFOUND", 22: "THIRD_ALIYUN", 23: "ENDPOINT_OSS_UPLOAD", } CardServiceErrorReason_value = map[string]int32{ "UNKNOWN_ERROR": 0, "ACCOUNT_PASSWORD_FORMAT": 1, "ACCOUNT_NOTFOUND": 2, "ACCOUNT_EXIST": 3, "ACCOUNT_SYSTEM": 4, "ACCOUNT_UPDATE": 5, "USER_NOTFOUND": 6, "USER_EXIST": 7, "USER_SYSTEM": 8, "USER_UPDATE": 9, "UNAUTHORIZED": 10, "FORBIDDEN": 11, "ACCOUNT_PASSWORD": 12, "THIRD_WX": 13, "CARD_NOTFOUND": 14, "CARD_EXIST": 15, "CARD_SYSTEM": 16, "CARD_UPDATE": 17, "SHARE_TOKEN_NOTFOUND": 18, "SHARE_TOKEN_EXIST": 19, "SHARE_TOKEN_SYSTEM": 20, "CARD_USER_NOTFOUND": 21, "THIRD_ALIYUN": 22, "ENDPOINT_OSS_UPLOAD": 23, } ) func (x CardServiceErrorReason) Enum() *CardServiceErrorReason { p := new(CardServiceErrorReason) *p = x return p } func (x CardServiceErrorReason) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (CardServiceErrorReason) Descriptor() protoreflect.EnumDescriptor { return file_card_card_error_proto_enumTypes[0].Descriptor() } func (CardServiceErrorReason) Type() protoreflect.EnumType { return &file_card_card_error_proto_enumTypes[0] } func (x CardServiceErrorReason) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use CardServiceErrorReason.Descriptor instead. func (CardServiceErrorReason) EnumDescriptor() ([]byte, []int) { return file_card_card_error_proto_rawDescGZIP(), []int{0} } var File_card_card_error_proto protoreflect.FileDescriptor var file_card_card_error_proto_rawDesc = []byte{ 0x0a, 0x15, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x63, 0x61, 0x72, 0x64, 0x1a, 0x1f, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x86, 0x04, 0x0a, 0x16, 0x43, 0x61, 0x72, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0x07, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x09, 0x12, 0x16, 0x0a, 0x0c, 0x55, 0x4e, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x5a, 0x45, 0x44, 0x10, 0x0a, 0x1a, 0x04, 0xa8, 0x45, 0x91, 0x03, 0x12, 0x13, 0x0a, 0x09, 0x46, 0x4f, 0x52, 0x42, 0x49, 0x44, 0x44, 0x45, 0x4e, 0x10, 0x0b, 0x1a, 0x04, 0xa8, 0x45, 0x93, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x0c, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x48, 0x49, 0x52, 0x44, 0x5f, 0x57, 0x58, 0x10, 0x0d, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x4e, 0x4f, 0x54, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x0e, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0x0f, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x10, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x11, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0x13, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x48, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x14, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x15, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x48, 0x49, 0x52, 0x44, 0x5f, 0x41, 0x4c, 0x49, 0x59, 0x55, 0x4e, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x4e, 0x44, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x4f, 0x53, 0x53, 0x5f, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x17, 0x1a, 0x04, 0xa0, 0x45, 0xf4, 0x03, 0x42, 0x2d, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x2e, 0x74, 0x74, 0x6d, 0x79, 0x6c, 0x69, 0x66, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x65, 0x75, 0x73, 0x7a, 0x68, 0x61, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x3b, 0x63, 0x61, 0x72, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_card_card_error_proto_rawDescOnce sync.Once file_card_card_error_proto_rawDescData = file_card_card_error_proto_rawDesc ) func file_card_card_error_proto_rawDescGZIP() []byte { file_card_card_error_proto_rawDescOnce.Do(func() { file_card_card_error_proto_rawDescData = protoimpl.X.CompressGZIP(file_card_card_error_proto_rawDescData) }) return file_card_card_error_proto_rawDescData } var file_card_card_error_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_card_card_error_proto_goTypes = []interface{}{ (CardServiceErrorReason)(0), // 0: card.CardServiceErrorReason } var file_card_card_error_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_card_card_error_proto_init() } func file_card_card_error_proto_init() { if File_card_card_error_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_card_card_error_proto_rawDesc, NumEnums: 1, NumMessages: 0, NumExtensions: 0, NumServices: 0, }, GoTypes: file_card_card_error_proto_goTypes, DependencyIndexes: file_card_card_error_proto_depIdxs, EnumInfos: file_card_card_error_proto_enumTypes, }.Build() File_card_card_error_proto = out.File file_card_card_error_proto_rawDesc = nil file_card_card_error_proto_goTypes = nil file_card_card_error_proto_depIdxs = nil }