1528 lines
45 KiB
Go
1528 lines
45 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.19.4
|
|
// source: user/user.proto
|
|
|
|
package user
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
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 Response struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Response) Reset() {
|
|
*x = Response{}
|
|
mi := &file_user_user_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Response) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
func (x *Response) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 Response.ProtoReflect.Descriptor instead.
|
|
func (*Response) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Response) GetCode() int32 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Response) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Response) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LoginReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClientCode string `protobuf:"bytes,1,opt,name=client_code,json=clientCode,proto3" json:"client_code,omitempty"`
|
|
GrantType string `protobuf:"bytes,2,opt,name=grant_type,json=grantType,proto3" json:"grant_type,omitempty"`
|
|
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
|
|
Mobile string `protobuf:"bytes,4,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
|
|
SmsCode string `protobuf:"bytes,6,opt,name=sms_code,json=smsCode,proto3" json:"sms_code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginReq) Reset() {
|
|
*x = LoginReq{}
|
|
mi := &file_user_user_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginReq) ProtoMessage() {}
|
|
|
|
func (x *LoginReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 LoginReq.ProtoReflect.Descriptor instead.
|
|
func (*LoginReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *LoginReq) GetClientCode() string {
|
|
if x != nil {
|
|
return x.ClientCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginReq) GetGrantType() string {
|
|
if x != nil {
|
|
return x.GrantType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginReq) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginReq) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginReq) GetSmsCode() string {
|
|
if x != nil {
|
|
return x.SmsCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserItemsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
|
|
Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserItemsReq) Reset() {
|
|
*x = UserItemsReq{}
|
|
mi := &file_user_user_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserItemsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserItemsReq) ProtoMessage() {}
|
|
|
|
func (x *UserItemsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 UserItemsReq.ProtoReflect.Descriptor instead.
|
|
func (*UserItemsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UserItemsReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserItemsReq) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserItemsReq) GetSize() int32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UserStatusReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserStatusReq) Reset() {
|
|
*x = UserStatusReq{}
|
|
mi := &file_user_user_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserStatusReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserStatusReq) ProtoMessage() {}
|
|
|
|
func (x *UserStatusReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 UserStatusReq.ProtoReflect.Descriptor instead.
|
|
func (*UserStatusReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *UserStatusReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserStatusReq) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InternalCreateReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Gender uint32 `protobuf:"varint,4,opt,name=gender,proto3" json:"gender,omitempty"`
|
|
Birthday string `protobuf:"bytes,5,opt,name=birthday,proto3" json:"birthday,omitempty"`
|
|
ClientCode []string `protobuf:"bytes,6,rep,name=client_code,json=clientCode,proto3" json:"client_code,omitempty"`
|
|
CredentialType []string `protobuf:"bytes,7,rep,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"`
|
|
Identifier string `protobuf:"bytes,8,opt,name=identifier,proto3" json:"identifier,omitempty"`
|
|
Secret string `protobuf:"bytes,9,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
BizId int64 `protobuf:"varint,10,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalCreateReq) Reset() {
|
|
*x = InternalCreateReq{}
|
|
mi := &file_user_user_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalCreateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalCreateReq) ProtoMessage() {}
|
|
|
|
func (x *InternalCreateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 InternalCreateReq.ProtoReflect.Descriptor instead.
|
|
func (*InternalCreateReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *InternalCreateReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalCreateReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalCreateReq) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalCreateReq) GetGender() uint32 {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalCreateReq) GetBirthday() string {
|
|
if x != nil {
|
|
return x.Birthday
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalCreateReq) GetClientCode() []string {
|
|
if x != nil {
|
|
return x.ClientCode
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InternalCreateReq) GetCredentialType() []string {
|
|
if x != nil {
|
|
return x.CredentialType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InternalCreateReq) GetIdentifier() string {
|
|
if x != nil {
|
|
return x.Identifier
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalCreateReq) GetSecret() string {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalCreateReq) GetBizId() int64 {
|
|
if x != nil {
|
|
return x.BizId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InternalCreateData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
|
|
Mobile string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalCreateData) Reset() {
|
|
*x = InternalCreateData{}
|
|
mi := &file_user_user_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalCreateData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalCreateData) ProtoMessage() {}
|
|
|
|
func (x *InternalCreateData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 InternalCreateData.ProtoReflect.Descriptor instead.
|
|
func (*InternalCreateData) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *InternalCreateData) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalCreateData) GetCreated() bool {
|
|
if x != nil {
|
|
return x.Created
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *InternalCreateData) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalCreateData) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InternalUsersByIdsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalUsersByIdsReq) Reset() {
|
|
*x = InternalUsersByIdsReq{}
|
|
mi := &file_user_user_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalUsersByIdsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalUsersByIdsReq) ProtoMessage() {}
|
|
|
|
func (x *InternalUsersByIdsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 InternalUsersByIdsReq.ProtoReflect.Descriptor instead.
|
|
func (*InternalUsersByIdsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *InternalUsersByIdsReq) GetIds() []int64 {
|
|
if x != nil {
|
|
return x.Ids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserBriefItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Gender uint32 `protobuf:"varint,5,opt,name=gender,proto3" json:"gender,omitempty"`
|
|
Birthday string `protobuf:"bytes,6,opt,name=birthday,proto3" json:"birthday,omitempty"`
|
|
Status uint32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserBriefItem) Reset() {
|
|
*x = UserBriefItem{}
|
|
mi := &file_user_user_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserBriefItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserBriefItem) ProtoMessage() {}
|
|
|
|
func (x *UserBriefItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 UserBriefItem.ProtoReflect.Descriptor instead.
|
|
func (*UserBriefItem) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *UserBriefItem) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBriefItem) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserBriefItem) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserBriefItem) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserBriefItem) GetGender() uint32 {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBriefItem) GetBirthday() string {
|
|
if x != nil {
|
|
return x.Birthday
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserBriefItem) GetStatus() uint32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InternalUsersByIdsData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Items []*UserBriefItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalUsersByIdsData) Reset() {
|
|
*x = InternalUsersByIdsData{}
|
|
mi := &file_user_user_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalUsersByIdsData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalUsersByIdsData) ProtoMessage() {}
|
|
|
|
func (x *InternalUsersByIdsData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 InternalUsersByIdsData.ProtoReflect.Descriptor instead.
|
|
func (*InternalUsersByIdsData) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *InternalUsersByIdsData) GetItems() []*UserBriefItem {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InternalUpdateMobileReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalUpdateMobileReq) Reset() {
|
|
*x = InternalUpdateMobileReq{}
|
|
mi := &file_user_user_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalUpdateMobileReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalUpdateMobileReq) ProtoMessage() {}
|
|
|
|
func (x *InternalUpdateMobileReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 InternalUpdateMobileReq.ProtoReflect.Descriptor instead.
|
|
func (*InternalUpdateMobileReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *InternalUpdateMobileReq) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalUpdateMobileReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InternalUpdateMobileData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalUpdateMobileData) Reset() {
|
|
*x = InternalUpdateMobileData{}
|
|
mi := &file_user_user_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalUpdateMobileData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalUpdateMobileData) ProtoMessage() {}
|
|
|
|
func (x *InternalUpdateMobileData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 InternalUpdateMobileData.ProtoReflect.Descriptor instead.
|
|
func (*InternalUpdateMobileData) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *InternalUpdateMobileData) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalUpdateMobileData) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InternalRevokeBizClientReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
ClientCode string `protobuf:"bytes,2,opt,name=client_code,json=clientCode,proto3" json:"client_code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalRevokeBizClientReq) Reset() {
|
|
*x = InternalRevokeBizClientReq{}
|
|
mi := &file_user_user_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalRevokeBizClientReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalRevokeBizClientReq) ProtoMessage() {}
|
|
|
|
func (x *InternalRevokeBizClientReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 InternalRevokeBizClientReq.ProtoReflect.Descriptor instead.
|
|
func (*InternalRevokeBizClientReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *InternalRevokeBizClientReq) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalRevokeBizClientReq) GetClientCode() string {
|
|
if x != nil {
|
|
return x.ClientCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InternalRevokeBizClientData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Revoked bool `protobuf:"varint,1,opt,name=revoked,proto3" json:"revoked,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalRevokeBizClientData) Reset() {
|
|
*x = InternalRevokeBizClientData{}
|
|
mi := &file_user_user_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalRevokeBizClientData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalRevokeBizClientData) ProtoMessage() {}
|
|
|
|
func (x *InternalRevokeBizClientData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 InternalRevokeBizClientData.ProtoReflect.Descriptor instead.
|
|
func (*InternalRevokeBizClientData) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *InternalRevokeBizClientData) GetRevoked() bool {
|
|
if x != nil {
|
|
return x.Revoked
|
|
}
|
|
return false
|
|
}
|
|
|
|
type InternalCheckCreateReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalCheckCreateReq) Reset() {
|
|
*x = InternalCheckCreateReq{}
|
|
mi := &file_user_user_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalCheckCreateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalCheckCreateReq) ProtoMessage() {}
|
|
|
|
func (x *InternalCheckCreateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 InternalCheckCreateReq.ProtoReflect.Descriptor instead.
|
|
func (*InternalCheckCreateReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *InternalCheckCreateReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InternalCheckCreateData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalCheckCreateData) Reset() {
|
|
*x = InternalCheckCreateData{}
|
|
mi := &file_user_user_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalCheckCreateData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalCheckCreateData) ProtoMessage() {}
|
|
|
|
func (x *InternalCheckCreateData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[14]
|
|
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 InternalCheckCreateData.ProtoReflect.Descriptor instead.
|
|
func (*InternalCheckCreateData) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *InternalCheckCreateData) GetResult() bool {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return false
|
|
}
|
|
|
|
type InternalCheckUpdateReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BizId int64 `protobuf:"varint,1,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"`
|
|
Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
SubjectType string `protobuf:"bytes,3,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalCheckUpdateReq) Reset() {
|
|
*x = InternalCheckUpdateReq{}
|
|
mi := &file_user_user_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalCheckUpdateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalCheckUpdateReq) ProtoMessage() {}
|
|
|
|
func (x *InternalCheckUpdateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[15]
|
|
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 InternalCheckUpdateReq.ProtoReflect.Descriptor instead.
|
|
func (*InternalCheckUpdateReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *InternalCheckUpdateReq) GetBizId() int64 {
|
|
if x != nil {
|
|
return x.BizId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalCheckUpdateReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalCheckUpdateReq) GetSubjectType() string {
|
|
if x != nil {
|
|
return x.SubjectType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InternalCheckUpdateData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalCheckUpdateData) Reset() {
|
|
*x = InternalCheckUpdateData{}
|
|
mi := &file_user_user_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalCheckUpdateData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalCheckUpdateData) ProtoMessage() {}
|
|
|
|
func (x *InternalCheckUpdateData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[16]
|
|
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 InternalCheckUpdateData.ProtoReflect.Descriptor instead.
|
|
func (*InternalCheckUpdateData) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *InternalCheckUpdateData) GetResult() bool {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return false
|
|
}
|
|
|
|
type InternalUpdateReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Gender uint32 `protobuf:"varint,5,opt,name=gender,proto3" json:"gender,omitempty"`
|
|
Birthday string `protobuf:"bytes,6,opt,name=birthday,proto3" json:"birthday,omitempty"`
|
|
ClientCode []string `protobuf:"bytes,7,rep,name=client_code,json=clientCode,proto3" json:"client_code,omitempty"`
|
|
CredentialType []string `protobuf:"bytes,8,rep,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"`
|
|
Identifier string `protobuf:"bytes,9,opt,name=identifier,proto3" json:"identifier,omitempty"`
|
|
Secret string `protobuf:"bytes,10,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
BizId int64 `protobuf:"varint,11,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"`
|
|
SubjectType string `protobuf:"bytes,12,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalUpdateReq) Reset() {
|
|
*x = InternalUpdateReq{}
|
|
mi := &file_user_user_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalUpdateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalUpdateReq) ProtoMessage() {}
|
|
|
|
func (x *InternalUpdateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[17]
|
|
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 InternalUpdateReq.ProtoReflect.Descriptor instead.
|
|
func (*InternalUpdateReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetGender() uint32 {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetBirthday() string {
|
|
if x != nil {
|
|
return x.Birthday
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetClientCode() []string {
|
|
if x != nil {
|
|
return x.ClientCode
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetCredentialType() []string {
|
|
if x != nil {
|
|
return x.CredentialType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetIdentifier() string {
|
|
if x != nil {
|
|
return x.Identifier
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetSecret() string {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetBizId() int64 {
|
|
if x != nil {
|
|
return x.BizId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalUpdateReq) GetSubjectType() string {
|
|
if x != nil {
|
|
return x.SubjectType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InternalUpdateData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalUpdateData) Reset() {
|
|
*x = InternalUpdateData{}
|
|
mi := &file_user_user_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalUpdateData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalUpdateData) ProtoMessage() {}
|
|
|
|
func (x *InternalUpdateData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[18]
|
|
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 InternalUpdateData.ProtoReflect.Descriptor instead.
|
|
func (*InternalUpdateData) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *InternalUpdateData) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalUpdateData) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalUpdateData) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InfoReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InfoReq) Reset() {
|
|
*x = InfoReq{}
|
|
mi := &file_user_user_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InfoReq) ProtoMessage() {}
|
|
|
|
func (x *InfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[19]
|
|
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 InfoReq.ProtoReflect.Descriptor instead.
|
|
func (*InfoReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
type ClientReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
SubjectType uint32 `protobuf:"varint,3,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClientReq) Reset() {
|
|
*x = ClientReq{}
|
|
mi := &file_user_user_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClientReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClientReq) ProtoMessage() {}
|
|
|
|
func (x *ClientReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_proto_msgTypes[20]
|
|
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 ClientReq.ProtoReflect.Descriptor instead.
|
|
func (*ClientReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *ClientReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientReq) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientReq) GetSubjectType() uint32 {
|
|
if x != nil {
|
|
return x.SubjectType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_user_user_proto protoreflect.FileDescriptor
|
|
|
|
const file_user_user_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0fuser/user.proto\x12\x04user\x1a\x1cgoogle/api/annotations.proto\"D\n" +
|
|
"\bResponse\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" +
|
|
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\tR\x04data\"\xad\x01\n" +
|
|
"\bLoginReq\x12\x1f\n" +
|
|
"\vclient_code\x18\x01 \x01(\tR\n" +
|
|
"clientCode\x12\x1d\n" +
|
|
"\n" +
|
|
"grant_type\x18\x02 \x01(\tR\tgrantType\x12\x12\n" +
|
|
"\x04code\x18\x03 \x01(\tR\x04code\x12\x16\n" +
|
|
"\x06mobile\x18\x04 \x01(\tR\x06mobile\x12\x1a\n" +
|
|
"\bpassword\x18\x05 \x01(\tR\bpassword\x12\x19\n" +
|
|
"\bsms_code\x18\x06 \x01(\tR\asmsCode\"N\n" +
|
|
"\fUserItemsReq\x12\x16\n" +
|
|
"\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x12\n" +
|
|
"\x04page\x18\x02 \x01(\x05R\x04page\x12\x12\n" +
|
|
"\x04size\x18\x03 \x01(\x05R\x04size\"7\n" +
|
|
"\rUserStatusReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\x05R\x06status\"\xa4\x02\n" +
|
|
"\x11InternalCreateReq\x12\x16\n" +
|
|
"\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06avatar\x18\x03 \x01(\tR\x06avatar\x12\x16\n" +
|
|
"\x06gender\x18\x04 \x01(\rR\x06gender\x12\x1a\n" +
|
|
"\bbirthday\x18\x05 \x01(\tR\bbirthday\x12\x1f\n" +
|
|
"\vclient_code\x18\x06 \x03(\tR\n" +
|
|
"clientCode\x12'\n" +
|
|
"\x0fcredential_type\x18\a \x03(\tR\x0ecredentialType\x12\x1e\n" +
|
|
"\n" +
|
|
"identifier\x18\b \x01(\tR\n" +
|
|
"identifier\x12\x16\n" +
|
|
"\x06secret\x18\t \x01(\tR\x06secret\x12\x15\n" +
|
|
"\x06biz_id\x18\n" +
|
|
" \x01(\x03R\x05bizId\"s\n" +
|
|
"\x12InternalCreateData\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x18\n" +
|
|
"\acreated\x18\x02 \x01(\bR\acreated\x12\x16\n" +
|
|
"\x06mobile\x18\x03 \x01(\tR\x06mobile\x12\x12\n" +
|
|
"\x04name\x18\x04 \x01(\tR\x04name\")\n" +
|
|
"\x15InternalUsersByIdsReq\x12\x10\n" +
|
|
"\x03ids\x18\x01 \x03(\x03R\x03ids\"\xaf\x01\n" +
|
|
"\rUserBriefItem\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06mobile\x18\x02 \x01(\tR\x06mobile\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06avatar\x18\x04 \x01(\tR\x06avatar\x12\x16\n" +
|
|
"\x06gender\x18\x05 \x01(\rR\x06gender\x12\x1a\n" +
|
|
"\bbirthday\x18\x06 \x01(\tR\bbirthday\x12\x16\n" +
|
|
"\x06status\x18\a \x01(\rR\x06status\"C\n" +
|
|
"\x16InternalUsersByIdsData\x12)\n" +
|
|
"\x05items\x18\x01 \x03(\v2\x13.user.UserBriefItemR\x05items\"J\n" +
|
|
"\x17InternalUpdateMobileReq\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x16\n" +
|
|
"\x06mobile\x18\x02 \x01(\tR\x06mobile\"K\n" +
|
|
"\x18InternalUpdateMobileData\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x16\n" +
|
|
"\x06mobile\x18\x02 \x01(\tR\x06mobile\"V\n" +
|
|
"\x1aInternalRevokeBizClientReq\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1f\n" +
|
|
"\vclient_code\x18\x02 \x01(\tR\n" +
|
|
"clientCode\"7\n" +
|
|
"\x1bInternalRevokeBizClientData\x12\x18\n" +
|
|
"\arevoked\x18\x01 \x01(\bR\arevoked\"0\n" +
|
|
"\x16InternalCheckCreateReq\x12\x16\n" +
|
|
"\x06mobile\x18\x01 \x01(\tR\x06mobile\"1\n" +
|
|
"\x17InternalCheckCreateData\x12\x16\n" +
|
|
"\x06result\x18\x01 \x01(\bR\x06result\"j\n" +
|
|
"\x16InternalCheckUpdateReq\x12\x15\n" +
|
|
"\x06biz_id\x18\x01 \x01(\x03R\x05bizId\x12\x16\n" +
|
|
"\x06mobile\x18\x02 \x01(\tR\x06mobile\x12!\n" +
|
|
"\fsubject_type\x18\x03 \x01(\tR\vsubjectType\"1\n" +
|
|
"\x17InternalCheckUpdateData\x12\x16\n" +
|
|
"\x06result\x18\x01 \x01(\bR\x06result\"\xc7\x02\n" +
|
|
"\x11InternalUpdateReq\x12\x16\n" +
|
|
"\x06mobile\x18\x02 \x01(\tR\x06mobile\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06avatar\x18\x04 \x01(\tR\x06avatar\x12\x16\n" +
|
|
"\x06gender\x18\x05 \x01(\rR\x06gender\x12\x1a\n" +
|
|
"\bbirthday\x18\x06 \x01(\tR\bbirthday\x12\x1f\n" +
|
|
"\vclient_code\x18\a \x03(\tR\n" +
|
|
"clientCode\x12'\n" +
|
|
"\x0fcredential_type\x18\b \x03(\tR\x0ecredentialType\x12\x1e\n" +
|
|
"\n" +
|
|
"identifier\x18\t \x01(\tR\n" +
|
|
"identifier\x12\x16\n" +
|
|
"\x06secret\x18\n" +
|
|
" \x01(\tR\x06secret\x12\x15\n" +
|
|
"\x06biz_id\x18\v \x01(\x03R\x05bizId\x12!\n" +
|
|
"\fsubject_type\x18\f \x01(\tR\vsubjectType\"Y\n" +
|
|
"\x12InternalUpdateData\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x16\n" +
|
|
"\x06mobile\x18\x02 \x01(\tR\x06mobile\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\"\t\n" +
|
|
"\aInfoReq\"V\n" +
|
|
"\tClientReq\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04type\x18\x02 \x01(\tR\x04type\x12!\n" +
|
|
"\fsubject_type\x18\x03 \x01(\rR\vsubjectType2\xbc\a\n" +
|
|
"\x04User\x12A\n" +
|
|
"\x05Login\x12\x0e.user.LoginReq\x1a\x0e.user.Response\"\x18\x82\xd3\xe4\x93\x02\x12:\x01*\"\r/api/v3/login\x12C\n" +
|
|
"\x04Info\x12\r.user.InfoReq\x1a\x0e.user.Response\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\x12\x11/api/v3/user/info\x12K\n" +
|
|
"\x06Client\x12\x0f.user.ClientReq\x1a\x0e.user.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/user/client\x12P\n" +
|
|
"\tUserItems\x12\x12.user.UserItemsReq\x1a\x0e.user.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/user/items\x12S\n" +
|
|
"\n" +
|
|
"UserStatus\x12\x13.user.UserStatusReq\x1a\x0e.user.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x1a\x15/admin/v3/user/status\x12C\n" +
|
|
"\x0eInternalCreate\x12\x17.user.InternalCreateReq\x1a\x18.user.InternalCreateData\x12R\n" +
|
|
"\x13InternalCheckCreate\x12\x1c.user.InternalCheckCreateReq\x1a\x1d.user.InternalCheckCreateData\x12R\n" +
|
|
"\x13InternalCheckUpdate\x12\x1c.user.InternalCheckUpdateReq\x1a\x1d.user.InternalCheckUpdateData\x12C\n" +
|
|
"\x0eInternalUpdate\x12\x17.user.InternalUpdateReq\x1a\x18.user.InternalUpdateData\x12O\n" +
|
|
"\x12InternalUsersByIds\x12\x1b.user.InternalUsersByIdsReq\x1a\x1c.user.InternalUsersByIdsData\x12U\n" +
|
|
"\x14InternalUpdateMobile\x12\x1d.user.InternalUpdateMobileReq\x1a\x1e.user.InternalUpdateMobileData\x12^\n" +
|
|
"\x17InternalRevokeBizClient\x12 .user.InternalRevokeBizClientReq\x1a!.user.InternalRevokeBizClientDataB\x18Z\x16lone-services/rpc/userb\x06proto3"
|
|
|
|
var (
|
|
file_user_user_proto_rawDescOnce sync.Once
|
|
file_user_user_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_user_user_proto_rawDescGZIP() []byte {
|
|
file_user_user_proto_rawDescOnce.Do(func() {
|
|
file_user_user_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_user_user_proto_rawDesc), len(file_user_user_proto_rawDesc)))
|
|
})
|
|
return file_user_user_proto_rawDescData
|
|
}
|
|
|
|
var file_user_user_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
|
var file_user_user_proto_goTypes = []any{
|
|
(*Response)(nil), // 0: user.Response
|
|
(*LoginReq)(nil), // 1: user.LoginReq
|
|
(*UserItemsReq)(nil), // 2: user.UserItemsReq
|
|
(*UserStatusReq)(nil), // 3: user.UserStatusReq
|
|
(*InternalCreateReq)(nil), // 4: user.InternalCreateReq
|
|
(*InternalCreateData)(nil), // 5: user.InternalCreateData
|
|
(*InternalUsersByIdsReq)(nil), // 6: user.InternalUsersByIdsReq
|
|
(*UserBriefItem)(nil), // 7: user.UserBriefItem
|
|
(*InternalUsersByIdsData)(nil), // 8: user.InternalUsersByIdsData
|
|
(*InternalUpdateMobileReq)(nil), // 9: user.InternalUpdateMobileReq
|
|
(*InternalUpdateMobileData)(nil), // 10: user.InternalUpdateMobileData
|
|
(*InternalRevokeBizClientReq)(nil), // 11: user.InternalRevokeBizClientReq
|
|
(*InternalRevokeBizClientData)(nil), // 12: user.InternalRevokeBizClientData
|
|
(*InternalCheckCreateReq)(nil), // 13: user.InternalCheckCreateReq
|
|
(*InternalCheckCreateData)(nil), // 14: user.InternalCheckCreateData
|
|
(*InternalCheckUpdateReq)(nil), // 15: user.InternalCheckUpdateReq
|
|
(*InternalCheckUpdateData)(nil), // 16: user.InternalCheckUpdateData
|
|
(*InternalUpdateReq)(nil), // 17: user.InternalUpdateReq
|
|
(*InternalUpdateData)(nil), // 18: user.InternalUpdateData
|
|
(*InfoReq)(nil), // 19: user.InfoReq
|
|
(*ClientReq)(nil), // 20: user.ClientReq
|
|
}
|
|
var file_user_user_proto_depIdxs = []int32{
|
|
7, // 0: user.InternalUsersByIdsData.items:type_name -> user.UserBriefItem
|
|
1, // 1: user.User.Login:input_type -> user.LoginReq
|
|
19, // 2: user.User.Info:input_type -> user.InfoReq
|
|
20, // 3: user.User.Client:input_type -> user.ClientReq
|
|
2, // 4: user.User.UserItems:input_type -> user.UserItemsReq
|
|
3, // 5: user.User.UserStatus:input_type -> user.UserStatusReq
|
|
4, // 6: user.User.InternalCreate:input_type -> user.InternalCreateReq
|
|
13, // 7: user.User.InternalCheckCreate:input_type -> user.InternalCheckCreateReq
|
|
15, // 8: user.User.InternalCheckUpdate:input_type -> user.InternalCheckUpdateReq
|
|
17, // 9: user.User.InternalUpdate:input_type -> user.InternalUpdateReq
|
|
6, // 10: user.User.InternalUsersByIds:input_type -> user.InternalUsersByIdsReq
|
|
9, // 11: user.User.InternalUpdateMobile:input_type -> user.InternalUpdateMobileReq
|
|
11, // 12: user.User.InternalRevokeBizClient:input_type -> user.InternalRevokeBizClientReq
|
|
0, // 13: user.User.Login:output_type -> user.Response
|
|
0, // 14: user.User.Info:output_type -> user.Response
|
|
0, // 15: user.User.Client:output_type -> user.Response
|
|
0, // 16: user.User.UserItems:output_type -> user.Response
|
|
0, // 17: user.User.UserStatus:output_type -> user.Response
|
|
5, // 18: user.User.InternalCreate:output_type -> user.InternalCreateData
|
|
14, // 19: user.User.InternalCheckCreate:output_type -> user.InternalCheckCreateData
|
|
16, // 20: user.User.InternalCheckUpdate:output_type -> user.InternalCheckUpdateData
|
|
18, // 21: user.User.InternalUpdate:output_type -> user.InternalUpdateData
|
|
8, // 22: user.User.InternalUsersByIds:output_type -> user.InternalUsersByIdsData
|
|
10, // 23: user.User.InternalUpdateMobile:output_type -> user.InternalUpdateMobileData
|
|
12, // 24: user.User.InternalRevokeBizClient:output_type -> user.InternalRevokeBizClientData
|
|
13, // [13:25] is the sub-list for method output_type
|
|
1, // [1:13] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_user_user_proto_init() }
|
|
func file_user_user_proto_init() {
|
|
if File_user_user_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_user_user_proto_rawDesc), len(file_user_user_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 21,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_user_user_proto_goTypes,
|
|
DependencyIndexes: file_user_user_proto_depIdxs,
|
|
MessageInfos: file_user_user_proto_msgTypes,
|
|
}.Build()
|
|
File_user_user_proto = out.File
|
|
file_user_user_proto_goTypes = nil
|
|
file_user_user_proto_depIdxs = nil
|
|
}
|