// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.30.0 // protoc v3.17.3 // source: card/common/card.proto package common import ( 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 CardStatus int32 const ( CardStatus_CARD_STATUS_UNDEFINED CardStatus = 0 CardStatus_CARD_STATUS_NORMAL CardStatus = 1 CardStatus_CARD_STATUS_DELETED CardStatus = 2 ) // Enum value maps for CardStatus. var ( CardStatus_name = map[int32]string{ 0: "CARD_STATUS_UNDEFINED", 1: "CARD_STATUS_NORMAL", 2: "CARD_STATUS_DELETED", } CardStatus_value = map[string]int32{ "CARD_STATUS_UNDEFINED": 0, "CARD_STATUS_NORMAL": 1, "CARD_STATUS_DELETED": 2, } ) func (x CardStatus) Enum() *CardStatus { p := new(CardStatus) *p = x return p } func (x CardStatus) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (CardStatus) Descriptor() protoreflect.EnumDescriptor { return file_card_common_card_proto_enumTypes[0].Descriptor() } func (CardStatus) Type() protoreflect.EnumType { return &file_card_common_card_proto_enumTypes[0] } func (x CardStatus) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use CardStatus.Descriptor instead. func (CardStatus) EnumDescriptor() ([]byte, []int) { return file_card_common_card_proto_rawDescGZIP(), []int{0} } type CardType int32 const ( CardType_CARD_TYPE_UNDEFINED CardType = 0 CardType_CARD_TYPE_SELF CardType = 1 CardType_CARD_TYPE_OTHER CardType = 2 ) // Enum value maps for CardType. var ( CardType_name = map[int32]string{ 0: "CARD_TYPE_UNDEFINED", 1: "CARD_TYPE_SELF", 2: "CARD_TYPE_OTHER", } CardType_value = map[string]int32{ "CARD_TYPE_UNDEFINED": 0, "CARD_TYPE_SELF": 1, "CARD_TYPE_OTHER": 2, } ) func (x CardType) Enum() *CardType { p := new(CardType) *p = x return p } func (x CardType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (CardType) Descriptor() protoreflect.EnumDescriptor { return file_card_common_card_proto_enumTypes[1].Descriptor() } func (CardType) Type() protoreflect.EnumType { return &file_card_common_card_proto_enumTypes[1] } func (x CardType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use CardType.Descriptor instead. func (CardType) EnumDescriptor() ([]byte, []int) { return file_card_common_card_proto_rawDescGZIP(), []int{1} } type CardTemplateBody struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Body *CardTemplateBaseBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` } func (x *CardTemplateBody) Reset() { *x = CardTemplateBody{} if protoimpl.UnsafeEnabled { mi := &file_card_common_card_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CardTemplateBody) String() string { return protoimpl.X.MessageStringOf(x) } func (*CardTemplateBody) ProtoMessage() {} func (x *CardTemplateBody) ProtoReflect() protoreflect.Message { mi := &file_card_common_card_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CardTemplateBody.ProtoReflect.Descriptor instead. func (*CardTemplateBody) Descriptor() ([]byte, []int) { return file_card_common_card_proto_rawDescGZIP(), []int{0} } func (x *CardTemplateBody) GetId() uint32 { if x != nil { return x.Id } return 0 } func (x *CardTemplateBody) GetBody() *CardTemplateBaseBody { if x != nil { return x.Body } return nil } type CardSupplementBody struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Body *CardSupplementBaseBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` } func (x *CardSupplementBody) Reset() { *x = CardSupplementBody{} if protoimpl.UnsafeEnabled { mi := &file_card_common_card_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CardSupplementBody) String() string { return protoimpl.X.MessageStringOf(x) } func (*CardSupplementBody) ProtoMessage() {} func (x *CardSupplementBody) ProtoReflect() protoreflect.Message { mi := &file_card_common_card_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CardSupplementBody.ProtoReflect.Descriptor instead. func (*CardSupplementBody) Descriptor() ([]byte, []int) { return file_card_common_card_proto_rawDescGZIP(), []int{1} } func (x *CardSupplementBody) GetId() uint32 { if x != nil { return x.Id } return 0 } func (x *CardSupplementBody) GetBody() *CardSupplementBaseBody { if x != nil { return x.Body } return nil } type CardSupplementBaseBody struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` KeyName string `protobuf:"bytes,2,opt,name=key_name,json=keyName,proto3" json:"key_name,omitempty"` KeyValue string `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` } func (x *CardSupplementBaseBody) Reset() { *x = CardSupplementBaseBody{} if protoimpl.UnsafeEnabled { mi := &file_card_common_card_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CardSupplementBaseBody) String() string { return protoimpl.X.MessageStringOf(x) } func (*CardSupplementBaseBody) ProtoMessage() {} func (x *CardSupplementBaseBody) ProtoReflect() protoreflect.Message { mi := &file_card_common_card_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CardSupplementBaseBody.ProtoReflect.Descriptor instead. func (*CardSupplementBaseBody) Descriptor() ([]byte, []int) { return file_card_common_card_proto_rawDescGZIP(), []int{2} } func (x *CardSupplementBaseBody) GetCardId() uint32 { if x != nil { return x.CardId } return 0 } func (x *CardSupplementBaseBody) GetKeyName() string { if x != nil { return x.KeyName } return "" } func (x *CardSupplementBaseBody) GetKeyValue() string { if x != nil { return x.KeyValue } return "" } type CardTemplateBaseBody struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TitleColor string `protobuf:"bytes,2,opt,name=title_color,json=titleColor,proto3" json:"title_color,omitempty"` SubtitleColor string `protobuf:"bytes,3,opt,name=subtitle_color,json=subtitleColor,proto3" json:"subtitle_color,omitempty"` ContactColor string `protobuf:"bytes,4,opt,name=contact_color,json=contactColor,proto3" json:"contact_color,omitempty"` BackgroundImg string `protobuf:"bytes,5,opt,name=background_img,json=backgroundImg,proto3" json:"background_img,omitempty"` } func (x *CardTemplateBaseBody) Reset() { *x = CardTemplateBaseBody{} if protoimpl.UnsafeEnabled { mi := &file_card_common_card_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CardTemplateBaseBody) String() string { return protoimpl.X.MessageStringOf(x) } func (*CardTemplateBaseBody) ProtoMessage() {} func (x *CardTemplateBaseBody) ProtoReflect() protoreflect.Message { mi := &file_card_common_card_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CardTemplateBaseBody.ProtoReflect.Descriptor instead. func (*CardTemplateBaseBody) Descriptor() ([]byte, []int) { return file_card_common_card_proto_rawDescGZIP(), []int{3} } func (x *CardTemplateBaseBody) GetName() string { if x != nil { return x.Name } return "" } func (x *CardTemplateBaseBody) GetTitleColor() string { if x != nil { return x.TitleColor } return "" } func (x *CardTemplateBaseBody) GetSubtitleColor() string { if x != nil { return x.SubtitleColor } return "" } func (x *CardTemplateBaseBody) GetContactColor() string { if x != nil { return x.ContactColor } return "" } func (x *CardTemplateBaseBody) GetBackgroundImg() string { if x != nil { return x.BackgroundImg } return "" } type CardBody struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Body *CardBaseBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` } func (x *CardBody) Reset() { *x = CardBody{} if protoimpl.UnsafeEnabled { mi := &file_card_common_card_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CardBody) String() string { return protoimpl.X.MessageStringOf(x) } func (*CardBody) ProtoMessage() {} func (x *CardBody) ProtoReflect() protoreflect.Message { mi := &file_card_common_card_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CardBody.ProtoReflect.Descriptor instead. func (*CardBody) Descriptor() ([]byte, []int) { return file_card_common_card_proto_rawDescGZIP(), []int{4} } func (x *CardBody) GetId() uint32 { if x != nil { return x.Id } return 0 } func (x *CardBody) GetBody() *CardBaseBody { if x != nil { return x.Body } return nil } type CardBaseBody struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` CompanyName string `protobuf:"bytes,3,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"` CompanyShortName string `protobuf:"bytes,4,opt,name=company_short_name,json=companyShortName,proto3" json:"company_short_name,omitempty"` TemplateId uint32 `protobuf:"varint,5,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` UserId uint32 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Status CardStatus `protobuf:"varint,7,opt,name=status,proto3,enum=common.CardStatus" json:"status,omitempty"` SearchKey string `protobuf:"bytes,8,opt,name=search_key,json=searchKey,proto3" json:"search_key,omitempty"` Type CardType `protobuf:"varint,9,opt,name=type,proto3,enum=common.CardType" json:"type,omitempty"` Created uint64 `protobuf:"varint,10,opt,name=created,proto3" json:"created,omitempty"` } func (x *CardBaseBody) Reset() { *x = CardBaseBody{} if protoimpl.UnsafeEnabled { mi := &file_card_common_card_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CardBaseBody) String() string { return protoimpl.X.MessageStringOf(x) } func (*CardBaseBody) ProtoMessage() {} func (x *CardBaseBody) ProtoReflect() protoreflect.Message { mi := &file_card_common_card_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CardBaseBody.ProtoReflect.Descriptor instead. func (*CardBaseBody) Descriptor() ([]byte, []int) { return file_card_common_card_proto_rawDescGZIP(), []int{5} } func (x *CardBaseBody) GetName() string { if x != nil { return x.Name } return "" } func (x *CardBaseBody) GetTitle() string { if x != nil { return x.Title } return "" } func (x *CardBaseBody) GetCompanyName() string { if x != nil { return x.CompanyName } return "" } func (x *CardBaseBody) GetCompanyShortName() string { if x != nil { return x.CompanyShortName } return "" } func (x *CardBaseBody) GetTemplateId() uint32 { if x != nil { return x.TemplateId } return 0 } func (x *CardBaseBody) GetUserId() uint32 { if x != nil { return x.UserId } return 0 } func (x *CardBaseBody) GetStatus() CardStatus { if x != nil { return x.Status } return CardStatus_CARD_STATUS_UNDEFINED } func (x *CardBaseBody) GetSearchKey() string { if x != nil { return x.SearchKey } return "" } func (x *CardBaseBody) GetType() CardType { if x != nil { return x.Type } return CardType_CARD_TYPE_UNDEFINED } func (x *CardBaseBody) GetCreated() uint64 { if x != nil { return x.Created } return 0 } type CardUser struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CardId uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` } func (x *CardUser) Reset() { *x = CardUser{} if protoimpl.UnsafeEnabled { mi := &file_card_common_card_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CardUser) String() string { return protoimpl.X.MessageStringOf(x) } func (*CardUser) ProtoMessage() {} func (x *CardUser) ProtoReflect() protoreflect.Message { mi := &file_card_common_card_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CardUser.ProtoReflect.Descriptor instead. func (*CardUser) Descriptor() ([]byte, []int) { return file_card_common_card_proto_rawDescGZIP(), []int{6} } func (x *CardUser) GetUserId() uint32 { if x != nil { return x.UserId } return 0 } func (x *CardUser) GetCardId() uint32 { if x != nil { return x.CardId } return 0 } type CardFilterBody struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` CompanyName string `protobuf:"bytes,3,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"` CompanyShortName string `protobuf:"bytes,4,opt,name=company_short_name,json=companyShortName,proto3" json:"company_short_name,omitempty"` SearchKey string `protobuf:"bytes,5,opt,name=search_key,json=searchKey,proto3" json:"search_key,omitempty"` UserId uint32 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Type CardType `protobuf:"varint,7,opt,name=type,proto3,enum=common.CardType" json:"type,omitempty"` Status CardStatus `protobuf:"varint,8,opt,name=status,proto3,enum=common.CardStatus" json:"status,omitempty"` } func (x *CardFilterBody) Reset() { *x = CardFilterBody{} if protoimpl.UnsafeEnabled { mi := &file_card_common_card_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CardFilterBody) String() string { return protoimpl.X.MessageStringOf(x) } func (*CardFilterBody) ProtoMessage() {} func (x *CardFilterBody) ProtoReflect() protoreflect.Message { mi := &file_card_common_card_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CardFilterBody.ProtoReflect.Descriptor instead. func (*CardFilterBody) Descriptor() ([]byte, []int) { return file_card_common_card_proto_rawDescGZIP(), []int{7} } func (x *CardFilterBody) GetName() string { if x != nil { return x.Name } return "" } func (x *CardFilterBody) GetTitle() string { if x != nil { return x.Title } return "" } func (x *CardFilterBody) GetCompanyName() string { if x != nil { return x.CompanyName } return "" } func (x *CardFilterBody) GetCompanyShortName() string { if x != nil { return x.CompanyShortName } return "" } func (x *CardFilterBody) GetSearchKey() string { if x != nil { return x.SearchKey } return "" } func (x *CardFilterBody) GetUserId() uint32 { if x != nil { return x.UserId } return 0 } func (x *CardFilterBody) GetType() CardType { if x != nil { return x.Type } return CardType_CARD_TYPE_UNDEFINED } func (x *CardFilterBody) GetStatus() CardStatus { if x != nil { return x.Status } return CardStatus_CARD_STATUS_UNDEFINED } var File_card_common_card_proto protoreflect.FileDescriptor var file_card_common_card_proto_rawDesc = []byte{ 0x0a, 0x16, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x54, 0x0a, 0x10, 0x43, 0x61, 0x72, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x58, 0x0a, 0x12, 0x43, 0x61, 0x72, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x69, 0x0a, 0x16, 0x43, 0x61, 0x72, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x14, 0x43, 0x61, 0x72, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x6d, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x6d, 0x67, 0x22, 0x44, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0xce, 0x02, 0x0a, 0x0c, 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3c, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0x95, 0x02, 0x0a, 0x0e, 0x43, 0x61, 0x72, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x58, 0x0a, 0x0a, 0x43, 0x61, 0x72, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x2a, 0x4c, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x02, 0x42, 0x3a, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x01, 0x5a, 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, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_card_common_card_proto_rawDescOnce sync.Once file_card_common_card_proto_rawDescData = file_card_common_card_proto_rawDesc ) func file_card_common_card_proto_rawDescGZIP() []byte { file_card_common_card_proto_rawDescOnce.Do(func() { file_card_common_card_proto_rawDescData = protoimpl.X.CompressGZIP(file_card_common_card_proto_rawDescData) }) return file_card_common_card_proto_rawDescData } var file_card_common_card_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_card_common_card_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_card_common_card_proto_goTypes = []interface{}{ (CardStatus)(0), // 0: common.CardStatus (CardType)(0), // 1: common.CardType (*CardTemplateBody)(nil), // 2: common.CardTemplateBody (*CardSupplementBody)(nil), // 3: common.CardSupplementBody (*CardSupplementBaseBody)(nil), // 4: common.CardSupplementBaseBody (*CardTemplateBaseBody)(nil), // 5: common.CardTemplateBaseBody (*CardBody)(nil), // 6: common.CardBody (*CardBaseBody)(nil), // 7: common.CardBaseBody (*CardUser)(nil), // 8: common.CardUser (*CardFilterBody)(nil), // 9: common.CardFilterBody } var file_card_common_card_proto_depIdxs = []int32{ 5, // 0: common.CardTemplateBody.body:type_name -> common.CardTemplateBaseBody 4, // 1: common.CardSupplementBody.body:type_name -> common.CardSupplementBaseBody 7, // 2: common.CardBody.body:type_name -> common.CardBaseBody 0, // 3: common.CardBaseBody.status:type_name -> common.CardStatus 1, // 4: common.CardBaseBody.type:type_name -> common.CardType 1, // 5: common.CardFilterBody.type:type_name -> common.CardType 0, // 6: common.CardFilterBody.status:type_name -> common.CardStatus 7, // [7:7] is the sub-list for method output_type 7, // [7:7] is the sub-list for method input_type 7, // [7:7] is the sub-list for extension type_name 7, // [7:7] is the sub-list for extension extendee 0, // [0:7] is the sub-list for field type_name } func init() { file_card_common_card_proto_init() } func file_card_common_card_proto_init() { if File_card_common_card_proto != nil { return } if !protoimpl.UnsafeEnabled { file_card_common_card_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CardTemplateBody); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_card_common_card_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CardSupplementBody); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_card_common_card_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CardSupplementBaseBody); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_card_common_card_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CardTemplateBaseBody); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_card_common_card_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CardBody); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_card_common_card_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CardBaseBody); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_card_common_card_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CardUser); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_card_common_card_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CardFilterBody); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_card_common_card_proto_rawDesc, NumEnums: 2, NumMessages: 8, NumExtensions: 0, NumServices: 0, }, GoTypes: file_card_common_card_proto_goTypes, DependencyIndexes: file_card_common_card_proto_depIdxs, EnumInfos: file_card_common_card_proto_enumTypes, MessageInfos: file_card_common_card_proto_msgTypes, }.Build() File_card_common_card_proto = out.File file_card_common_card_proto_rawDesc = nil file_card_common_card_proto_goTypes = nil file_card_common_card_proto_depIdxs = nil }