871 lines
30 KiB
Go
871 lines
30 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.19.6
|
|
// source: service_user_identity.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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 CreateUserIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrgType string `protobuf:"bytes,1,opt,name=orgType,proto3" json:"orgType,omitempty"`
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
RealName string `protobuf:"bytes,3,opt,name=realName,proto3" json:"realName,omitempty"`
|
|
Number string `protobuf:"bytes,4,opt,name=number,proto3" json:"number,omitempty"`
|
|
FileIds []int64 `protobuf:"varint,5,rep,packed,name=fileIds,proto3" json:"fileIds,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateUserIdentityRequest) Reset() {
|
|
*x = CreateUserIdentityRequest{}
|
|
mi := &file_service_user_identity_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateUserIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateUserIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateUserIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateUserIdentityRequest) GetOrgType() string {
|
|
if x != nil {
|
|
return x.OrgType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateUserIdentityRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateUserIdentityRequest) GetRealName() string {
|
|
if x != nil {
|
|
return x.RealName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateUserIdentityRequest) GetNumber() string {
|
|
if x != nil {
|
|
return x.Number
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateUserIdentityRequest) GetFileIds() []int64 {
|
|
if x != nil {
|
|
return x.FileIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateUserIdentityResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateUserIdentityResponse) Reset() {
|
|
*x = CreateUserIdentityResponse{}
|
|
mi := &file_service_user_identity_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateUserIdentityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateUserIdentityResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateUserIdentityResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateUserIdentityResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateUserIdentityResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateUserIdentityResponse) GetUserIdentityId() int64 {
|
|
if x != nil {
|
|
return x.UserIdentityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 查找单个实名认证信息
|
|
type FindEnabledUserIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityRequest) Reset() {
|
|
*x = FindEnabledUserIdentityRequest{}
|
|
mi := &file_service_user_identity_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledUserIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindEnabledUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledUserIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityRequest) GetUserIdentityId() int64 {
|
|
if x != nil {
|
|
return x.UserIdentityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindEnabledUserIdentityResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentity *UserIdentity `protobuf:"bytes,1,opt,name=userIdentity,proto3" json:"userIdentity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityResponse) Reset() {
|
|
*x = FindEnabledUserIdentityResponse{}
|
|
mi := &file_service_user_identity_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledUserIdentityResponse) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledUserIdentityResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindEnabledUserIdentityResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledUserIdentityResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityResponse) GetUserIdentity() *UserIdentity {
|
|
if x != nil {
|
|
return x.UserIdentity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查看某个类型的实名认证信息
|
|
type FindEnabledUserIdentityWithOrgTypeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户端不需要设置此参数
|
|
OrgType string `protobuf:"bytes,2,opt,name=orgType,proto3" json:"orgType,omitempty"` // 阻止类型
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeRequest) Reset() {
|
|
*x = FindEnabledUserIdentityWithOrgTypeRequest{}
|
|
mi := &file_service_user_identity_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledUserIdentityWithOrgTypeRequest) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindEnabledUserIdentityWithOrgTypeRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledUserIdentityWithOrgTypeRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeRequest) GetOrgType() string {
|
|
if x != nil {
|
|
return x.OrgType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FindEnabledUserIdentityWithOrgTypeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentity *UserIdentity `protobuf:"bytes,1,opt,name=userIdentity,proto3" json:"userIdentity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeResponse) Reset() {
|
|
*x = FindEnabledUserIdentityWithOrgTypeResponse{}
|
|
mi := &file_service_user_identity_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindEnabledUserIdentityWithOrgTypeResponse) ProtoMessage() {}
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindEnabledUserIdentityWithOrgTypeResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindEnabledUserIdentityWithOrgTypeResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeResponse) GetUserIdentity() *UserIdentity {
|
|
if x != nil {
|
|
return x.UserIdentity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 检查是否正在审核中
|
|
type CheckUserIdentityIsSubmittedRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CheckUserIdentityIsSubmittedRequest) Reset() {
|
|
*x = CheckUserIdentityIsSubmittedRequest{}
|
|
mi := &file_service_user_identity_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CheckUserIdentityIsSubmittedRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckUserIdentityIsSubmittedRequest) ProtoMessage() {}
|
|
|
|
func (x *CheckUserIdentityIsSubmittedRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CheckUserIdentityIsSubmittedRequest.ProtoReflect.Descriptor instead.
|
|
func (*CheckUserIdentityIsSubmittedRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CheckUserIdentityIsSubmittedRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CheckUserIdentityIsSubmittedResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IsSubmitted bool `protobuf:"varint,1,opt,name=isSubmitted,proto3" json:"isSubmitted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CheckUserIdentityIsSubmittedResponse) Reset() {
|
|
*x = CheckUserIdentityIsSubmittedResponse{}
|
|
mi := &file_service_user_identity_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CheckUserIdentityIsSubmittedResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckUserIdentityIsSubmittedResponse) ProtoMessage() {}
|
|
|
|
func (x *CheckUserIdentityIsSubmittedResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CheckUserIdentityIsSubmittedResponse.ProtoReflect.Descriptor instead.
|
|
func (*CheckUserIdentityIsSubmittedResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CheckUserIdentityIsSubmittedResponse) GetIsSubmitted() bool {
|
|
if x != nil {
|
|
return x.IsSubmitted
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 修改实名认证信息
|
|
type UpdateUserIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
RealName string `protobuf:"bytes,3,opt,name=realName,proto3" json:"realName,omitempty"`
|
|
Number string `protobuf:"bytes,4,opt,name=number,proto3" json:"number,omitempty"`
|
|
FileIds []int64 `protobuf:"varint,5,rep,packed,name=fileIds,proto3" json:"fileIds,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateUserIdentityRequest) Reset() {
|
|
*x = UpdateUserIdentityRequest{}
|
|
mi := &file_service_user_identity_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateUserIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateUserIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateUserIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *UpdateUserIdentityRequest) GetUserIdentityId() int64 {
|
|
if x != nil {
|
|
return x.UserIdentityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateUserIdentityRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateUserIdentityRequest) GetRealName() string {
|
|
if x != nil {
|
|
return x.RealName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateUserIdentityRequest) GetNumber() string {
|
|
if x != nil {
|
|
return x.Number
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateUserIdentityRequest) GetFileIds() []int64 {
|
|
if x != nil {
|
|
return x.FileIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 提交审核实名认证信息
|
|
type SubmitUserIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubmitUserIdentityRequest) Reset() {
|
|
*x = SubmitUserIdentityRequest{}
|
|
mi := &file_service_user_identity_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubmitUserIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubmitUserIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *SubmitUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubmitUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubmitUserIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *SubmitUserIdentityRequest) GetUserIdentityId() int64 {
|
|
if x != nil {
|
|
return x.UserIdentityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 取消提交身份审核认证信息
|
|
type CancelUserIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CancelUserIdentityRequest) Reset() {
|
|
*x = CancelUserIdentityRequest{}
|
|
mi := &file_service_user_identity_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CancelUserIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelUserIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *CancelUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CancelUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*CancelUserIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *CancelUserIdentityRequest) GetUserIdentityId() int64 {
|
|
if x != nil {
|
|
return x.UserIdentityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 重置用户实名认证信息
|
|
type ResetUserIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResetUserIdentityRequest) Reset() {
|
|
*x = ResetUserIdentityRequest{}
|
|
mi := &file_service_user_identity_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResetUserIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResetUserIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *ResetUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResetUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResetUserIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ResetUserIdentityRequest) GetUserIdentityId() int64 {
|
|
if x != nil {
|
|
return x.UserIdentityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 拒绝用户实名认证信息
|
|
type RejectUserIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RejectUserIdentityRequest) Reset() {
|
|
*x = RejectUserIdentityRequest{}
|
|
mi := &file_service_user_identity_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RejectUserIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RejectUserIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *RejectUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RejectUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*RejectUserIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *RejectUserIdentityRequest) GetUserIdentityId() int64 {
|
|
if x != nil {
|
|
return x.UserIdentityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RejectUserIdentityRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 通过用户实名认证信息
|
|
type VerifyUserIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VerifyUserIdentityRequest) Reset() {
|
|
*x = VerifyUserIdentityRequest{}
|
|
mi := &file_service_user_identity_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VerifyUserIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VerifyUserIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *VerifyUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_user_identity_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VerifyUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*VerifyUserIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *VerifyUserIdentityRequest) GetUserIdentityId() int64 {
|
|
if x != nil {
|
|
return x.UserIdentityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_service_user_identity_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_user_identity_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1bservice_user_identity.proto\x12\x02pb\x1a models/model_user_identity.proto\x1a\x19models/rpc_messages.proto\"\x97\x01\n" +
|
|
"\x19CreateUserIdentityRequest\x12\x18\n" +
|
|
"\aorgType\x18\x01 \x01(\tR\aorgType\x12\x12\n" +
|
|
"\x04type\x18\x02 \x01(\tR\x04type\x12\x1a\n" +
|
|
"\brealName\x18\x03 \x01(\tR\brealName\x12\x16\n" +
|
|
"\x06number\x18\x04 \x01(\tR\x06number\x12\x18\n" +
|
|
"\afileIds\x18\x05 \x03(\x03R\afileIds\"D\n" +
|
|
"\x1aCreateUserIdentityResponse\x12&\n" +
|
|
"\x0euserIdentityId\x18\x01 \x01(\x03R\x0euserIdentityId\"H\n" +
|
|
"\x1eFindEnabledUserIdentityRequest\x12&\n" +
|
|
"\x0euserIdentityId\x18\x01 \x01(\x03R\x0euserIdentityId\"W\n" +
|
|
"\x1fFindEnabledUserIdentityResponse\x124\n" +
|
|
"\fuserIdentity\x18\x01 \x01(\v2\x10.pb.UserIdentityR\fuserIdentity\"]\n" +
|
|
")FindEnabledUserIdentityWithOrgTypeRequest\x12\x16\n" +
|
|
"\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x18\n" +
|
|
"\aorgType\x18\x02 \x01(\tR\aorgType\"b\n" +
|
|
"*FindEnabledUserIdentityWithOrgTypeResponse\x124\n" +
|
|
"\fuserIdentity\x18\x01 \x01(\v2\x10.pb.UserIdentityR\fuserIdentity\"=\n" +
|
|
"#CheckUserIdentityIsSubmittedRequest\x12\x16\n" +
|
|
"\x06userId\x18\x01 \x01(\x03R\x06userId\"H\n" +
|
|
"$CheckUserIdentityIsSubmittedResponse\x12 \n" +
|
|
"\visSubmitted\x18\x01 \x01(\bR\visSubmitted\"\xa5\x01\n" +
|
|
"\x19UpdateUserIdentityRequest\x12&\n" +
|
|
"\x0euserIdentityId\x18\x01 \x01(\x03R\x0euserIdentityId\x12\x12\n" +
|
|
"\x04type\x18\x02 \x01(\tR\x04type\x12\x1a\n" +
|
|
"\brealName\x18\x03 \x01(\tR\brealName\x12\x16\n" +
|
|
"\x06number\x18\x04 \x01(\tR\x06number\x12\x18\n" +
|
|
"\afileIds\x18\x05 \x03(\x03R\afileIds\"C\n" +
|
|
"\x19SubmitUserIdentityRequest\x12&\n" +
|
|
"\x0euserIdentityId\x18\x01 \x01(\x03R\x0euserIdentityId\"C\n" +
|
|
"\x19CancelUserIdentityRequest\x12&\n" +
|
|
"\x0euserIdentityId\x18\x01 \x01(\x03R\x0euserIdentityId\"B\n" +
|
|
"\x18ResetUserIdentityRequest\x12&\n" +
|
|
"\x0euserIdentityId\x18\x01 \x01(\x03R\x0euserIdentityId\"[\n" +
|
|
"\x19RejectUserIdentityRequest\x12&\n" +
|
|
"\x0euserIdentityId\x18\x01 \x01(\x03R\x0euserIdentityId\x12\x16\n" +
|
|
"\x06reason\x18\x02 \x01(\tR\x06reason\"C\n" +
|
|
"\x19VerifyUserIdentityRequest\x12&\n" +
|
|
"\x0euserIdentityId\x18\x01 \x01(\x03R\x0euserIdentityId2\xe3\x06\n" +
|
|
"\x13UserIdentityService\x12S\n" +
|
|
"\x12createUserIdentity\x12\x1d.pb.CreateUserIdentityRequest\x1a\x1e.pb.CreateUserIdentityResponse\x12b\n" +
|
|
"\x17findEnabledUserIdentity\x12\".pb.FindEnabledUserIdentityRequest\x1a#.pb.FindEnabledUserIdentityResponse\x12\x83\x01\n" +
|
|
"\"findEnabledUserIdentityWithOrgType\x12-.pb.FindEnabledUserIdentityWithOrgTypeRequest\x1a..pb.FindEnabledUserIdentityWithOrgTypeResponse\x12q\n" +
|
|
"\x1ccheckUserIdentityIsSubmitted\x12'.pb.CheckUserIdentityIsSubmittedRequest\x1a(.pb.CheckUserIdentityIsSubmittedResponse\x12C\n" +
|
|
"\x12updateUserIdentity\x12\x1d.pb.UpdateUserIdentityRequest\x1a\x0e.pb.RPCSuccess\x12C\n" +
|
|
"\x12submitUserIdentity\x12\x1d.pb.SubmitUserIdentityRequest\x1a\x0e.pb.RPCSuccess\x12C\n" +
|
|
"\x12cancelUserIdentity\x12\x1d.pb.CancelUserIdentityRequest\x1a\x0e.pb.RPCSuccess\x12A\n" +
|
|
"\x11resetUserIdentity\x12\x1c.pb.ResetUserIdentityRequest\x1a\x0e.pb.RPCSuccess\x12C\n" +
|
|
"\x12rejectUserIdentity\x12\x1d.pb.RejectUserIdentityRequest\x1a\x0e.pb.RPCSuccess\x12C\n" +
|
|
"\x12verifyUserIdentity\x12\x1d.pb.VerifyUserIdentityRequest\x1a\x0e.pb.RPCSuccessB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_user_identity_proto_rawDescOnce sync.Once
|
|
file_service_user_identity_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_user_identity_proto_rawDescGZIP() []byte {
|
|
file_service_user_identity_proto_rawDescOnce.Do(func() {
|
|
file_service_user_identity_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_user_identity_proto_rawDesc), len(file_service_user_identity_proto_rawDesc)))
|
|
})
|
|
return file_service_user_identity_proto_rawDescData
|
|
}
|
|
|
|
var file_service_user_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
var file_service_user_identity_proto_goTypes = []any{
|
|
(*CreateUserIdentityRequest)(nil), // 0: pb.CreateUserIdentityRequest
|
|
(*CreateUserIdentityResponse)(nil), // 1: pb.CreateUserIdentityResponse
|
|
(*FindEnabledUserIdentityRequest)(nil), // 2: pb.FindEnabledUserIdentityRequest
|
|
(*FindEnabledUserIdentityResponse)(nil), // 3: pb.FindEnabledUserIdentityResponse
|
|
(*FindEnabledUserIdentityWithOrgTypeRequest)(nil), // 4: pb.FindEnabledUserIdentityWithOrgTypeRequest
|
|
(*FindEnabledUserIdentityWithOrgTypeResponse)(nil), // 5: pb.FindEnabledUserIdentityWithOrgTypeResponse
|
|
(*CheckUserIdentityIsSubmittedRequest)(nil), // 6: pb.CheckUserIdentityIsSubmittedRequest
|
|
(*CheckUserIdentityIsSubmittedResponse)(nil), // 7: pb.CheckUserIdentityIsSubmittedResponse
|
|
(*UpdateUserIdentityRequest)(nil), // 8: pb.UpdateUserIdentityRequest
|
|
(*SubmitUserIdentityRequest)(nil), // 9: pb.SubmitUserIdentityRequest
|
|
(*CancelUserIdentityRequest)(nil), // 10: pb.CancelUserIdentityRequest
|
|
(*ResetUserIdentityRequest)(nil), // 11: pb.ResetUserIdentityRequest
|
|
(*RejectUserIdentityRequest)(nil), // 12: pb.RejectUserIdentityRequest
|
|
(*VerifyUserIdentityRequest)(nil), // 13: pb.VerifyUserIdentityRequest
|
|
(*UserIdentity)(nil), // 14: pb.UserIdentity
|
|
(*RPCSuccess)(nil), // 15: pb.RPCSuccess
|
|
}
|
|
var file_service_user_identity_proto_depIdxs = []int32{
|
|
14, // 0: pb.FindEnabledUserIdentityResponse.userIdentity:type_name -> pb.UserIdentity
|
|
14, // 1: pb.FindEnabledUserIdentityWithOrgTypeResponse.userIdentity:type_name -> pb.UserIdentity
|
|
0, // 2: pb.UserIdentityService.createUserIdentity:input_type -> pb.CreateUserIdentityRequest
|
|
2, // 3: pb.UserIdentityService.findEnabledUserIdentity:input_type -> pb.FindEnabledUserIdentityRequest
|
|
4, // 4: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:input_type -> pb.FindEnabledUserIdentityWithOrgTypeRequest
|
|
6, // 5: pb.UserIdentityService.checkUserIdentityIsSubmitted:input_type -> pb.CheckUserIdentityIsSubmittedRequest
|
|
8, // 6: pb.UserIdentityService.updateUserIdentity:input_type -> pb.UpdateUserIdentityRequest
|
|
9, // 7: pb.UserIdentityService.submitUserIdentity:input_type -> pb.SubmitUserIdentityRequest
|
|
10, // 8: pb.UserIdentityService.cancelUserIdentity:input_type -> pb.CancelUserIdentityRequest
|
|
11, // 9: pb.UserIdentityService.resetUserIdentity:input_type -> pb.ResetUserIdentityRequest
|
|
12, // 10: pb.UserIdentityService.rejectUserIdentity:input_type -> pb.RejectUserIdentityRequest
|
|
13, // 11: pb.UserIdentityService.verifyUserIdentity:input_type -> pb.VerifyUserIdentityRequest
|
|
1, // 12: pb.UserIdentityService.createUserIdentity:output_type -> pb.CreateUserIdentityResponse
|
|
3, // 13: pb.UserIdentityService.findEnabledUserIdentity:output_type -> pb.FindEnabledUserIdentityResponse
|
|
5, // 14: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:output_type -> pb.FindEnabledUserIdentityWithOrgTypeResponse
|
|
7, // 15: pb.UserIdentityService.checkUserIdentityIsSubmitted:output_type -> pb.CheckUserIdentityIsSubmittedResponse
|
|
15, // 16: pb.UserIdentityService.updateUserIdentity:output_type -> pb.RPCSuccess
|
|
15, // 17: pb.UserIdentityService.submitUserIdentity:output_type -> pb.RPCSuccess
|
|
15, // 18: pb.UserIdentityService.cancelUserIdentity:output_type -> pb.RPCSuccess
|
|
15, // 19: pb.UserIdentityService.resetUserIdentity:output_type -> pb.RPCSuccess
|
|
15, // 20: pb.UserIdentityService.rejectUserIdentity:output_type -> pb.RPCSuccess
|
|
15, // 21: pb.UserIdentityService.verifyUserIdentity:output_type -> pb.RPCSuccess
|
|
12, // [12:22] is the sub-list for method output_type
|
|
2, // [2:12] is the sub-list for method input_type
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
0, // [0:2] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_service_user_identity_proto_init() }
|
|
func file_service_user_identity_proto_init() {
|
|
if File_service_user_identity_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_user_identity_proto_init()
|
|
file_models_rpc_messages_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_user_identity_proto_rawDesc), len(file_service_user_identity_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 14,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_user_identity_proto_goTypes,
|
|
DependencyIndexes: file_service_user_identity_proto_depIdxs,
|
|
MessageInfos: file_service_user_identity_proto_msgTypes,
|
|
}.Build()
|
|
File_service_user_identity_proto = out.File
|
|
file_service_user_identity_proto_goTypes = nil
|
|
file_service_user_identity_proto_depIdxs = nil
|
|
}
|