v1

package
v1.0.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	User_GetCurrentUser_FullMethodName    = "/application.api.application.user.v1.User/GetCurrentUser"
	User_UpdateCurrentUser_FullMethodName = "/application.api.application.user.v1.User/UpdateCurrentUser"
	User_GetUser_FullMethodName           = "/application.api.application.user.v1.User/GetUser"
	User_ListUser_FullMethodName          = "/application.api.application.user.v1.User/ListUser"
	User_CreateUser_FullMethodName        = "/application.api.application.user.v1.User/CreateUser"
	User_ImportUser_FullMethodName        = "/application.api.application.user.v1.User/ImportUser"
	User_ExportUser_FullMethodName        = "/application.api.application.user.v1.User/ExportUser"
	User_UpdateUser_FullMethodName        = "/application.api.application.user.v1.User/UpdateUser"
	User_UpdateUserStatus_FullMethodName  = "/application.api.application.user.v1.User/UpdateUserStatus"
)
View Source
const OperationUserCreateUser = "/application.api.application.user.v1.User/CreateUser"
View Source
const OperationUserExportUser = "/application.api.application.user.v1.User/ExportUser"
View Source
const OperationUserGetCurrentUser = "/application.api.application.user.v1.User/GetCurrentUser"
View Source
const OperationUserGetUser = "/application.api.application.user.v1.User/GetUser"
View Source
const OperationUserImportUser = "/application.api.application.user.v1.User/ImportUser"
View Source
const OperationUserListUser = "/application.api.application.user.v1.User/ListUser"
View Source
const OperationUserUpdateCurrentUser = "/application.api.application.user.v1.User/UpdateCurrentUser"
View Source
const OperationUserUpdateUser = "/application.api.application.user.v1.User/UpdateUser"
View Source
const OperationUserUpdateUserStatus = "/application.api.application.user.v1.User/UpdateUserStatus"

Variables

View Source
var File_api_application_user_application_user_proto protoreflect.FileDescriptor
View Source
var File_api_application_user_application_user_service_proto protoreflect.FileDescriptor
View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "application.api.application.user.v1.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCurrentUser",
			Handler:    _User_GetCurrentUser_Handler,
		},
		{
			MethodName: "UpdateCurrentUser",
			Handler:    _User_UpdateCurrentUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _User_GetUser_Handler,
		},
		{
			MethodName: "ListUser",
			Handler:    _User_ListUser_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _User_CreateUser_Handler,
		},
		{
			MethodName: "ImportUser",
			Handler:    _User_ImportUser_Handler,
		},
		{
			MethodName: "ExportUser",
			Handler:    _User_ExportUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _User_UpdateUser_Handler,
		},
		{
			MethodName: "UpdateUserStatus",
			Handler:    _User_UpdateUserStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/application/user/application_user_service.proto",
}

User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterUserHTTPServer

func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer)

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

Types

type CreateUserReply

type CreateUserReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserReply) Descriptor deprecated

func (*CreateUserReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserReply.ProtoReflect.Descriptor instead.

func (*CreateUserReply) GetId

func (x *CreateUserReply) GetId() uint32

func (*CreateUserReply) ProtoMessage

func (*CreateUserReply) ProtoMessage()

func (*CreateUserReply) ProtoReflect

func (x *CreateUserReply) ProtoReflect() protoreflect.Message

func (*CreateUserReply) Reset

func (x *CreateUserReply) Reset()

func (*CreateUserReply) String

func (x *CreateUserReply) String() string

func (*CreateUserReply) Validate

func (m *CreateUserReply) Validate() error

Validate checks the field values on CreateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateUserReply) ValidateAll

func (m *CreateUserReply) ValidateAll() error

ValidateAll checks the field values on CreateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserReplyMultiError, or nil if none found.

type CreateUserReplyMultiError

type CreateUserReplyMultiError []error

CreateUserReplyMultiError is an error wrapping multiple validation errors returned by CreateUserReply.ValidateAll() if the designated constraints aren't met.

func (CreateUserReplyMultiError) AllErrors

func (m CreateUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateUserReplyValidationError

type CreateUserReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateUserReplyValidationError is the validation error returned by CreateUserReply.Validate if the designated constraints aren't met.

func (CreateUserReplyValidationError) Cause

Cause function returns cause value.

func (CreateUserReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateUserReplyValidationError) ErrorName

func (e CreateUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateUserReplyValidationError) Field

Field function returns field value.

func (CreateUserReplyValidationError) Key

Key function returns key value.

func (CreateUserReplyValidationError) Reason

Reason function returns reason value.

type CreateUserRequest

type CreateUserRequest struct {
	Phone    *string `protobuf:"bytes,1,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email    *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
	RealName *string `protobuf:"bytes,3,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Gender   *string `protobuf:"bytes,4,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

func (*CreateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetGender

func (x *CreateUserRequest) GetGender() string

func (*CreateUserRequest) GetPhone

func (x *CreateUserRequest) GetPhone() string

func (*CreateUserRequest) GetRealName

func (x *CreateUserRequest) GetRealName() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

func (x *CreateUserRequest) ProtoReflect() protoreflect.Message

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

func (*CreateUserRequest) Validate

func (m *CreateUserRequest) Validate() error

Validate checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateUserRequest) ValidateAll

func (m *CreateUserRequest) ValidateAll() error

ValidateAll checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserRequestMultiError, or nil if none found.

type CreateUserRequestMultiError

type CreateUserRequestMultiError []error

CreateUserRequestMultiError is an error wrapping multiple validation errors returned by CreateUserRequest.ValidateAll() if the designated constraints aren't met.

func (CreateUserRequestMultiError) AllErrors

func (m CreateUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateUserRequestValidationError

type CreateUserRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.

func (CreateUserRequestValidationError) Cause

Cause function returns cause value.

func (CreateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateUserRequestValidationError) Field

Field function returns field value.

func (CreateUserRequestValidationError) Key

Key function returns key value.

func (CreateUserRequestValidationError) Reason

Reason function returns reason value.

type DeleteTrashUserReply

type DeleteTrashUserReply struct {
	Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTrashUserReply) Descriptor deprecated

func (*DeleteTrashUserReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTrashUserReply.ProtoReflect.Descriptor instead.

func (*DeleteTrashUserReply) GetTotal

func (x *DeleteTrashUserReply) GetTotal() uint32

func (*DeleteTrashUserReply) ProtoMessage

func (*DeleteTrashUserReply) ProtoMessage()

func (*DeleteTrashUserReply) ProtoReflect

func (x *DeleteTrashUserReply) ProtoReflect() protoreflect.Message

func (*DeleteTrashUserReply) Reset

func (x *DeleteTrashUserReply) Reset()

func (*DeleteTrashUserReply) String

func (x *DeleteTrashUserReply) String() string

func (*DeleteTrashUserReply) Validate

func (m *DeleteTrashUserReply) Validate() error

Validate checks the field values on DeleteTrashUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteTrashUserReply) ValidateAll

func (m *DeleteTrashUserReply) ValidateAll() error

ValidateAll checks the field values on DeleteTrashUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTrashUserReplyMultiError, or nil if none found.

type DeleteTrashUserReplyMultiError

type DeleteTrashUserReplyMultiError []error

DeleteTrashUserReplyMultiError is an error wrapping multiple validation errors returned by DeleteTrashUserReply.ValidateAll() if the designated constraints aren't met.

func (DeleteTrashUserReplyMultiError) AllErrors

func (m DeleteTrashUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteTrashUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteTrashUserReplyValidationError

type DeleteTrashUserReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteTrashUserReplyValidationError is the validation error returned by DeleteTrashUserReply.Validate if the designated constraints aren't met.

func (DeleteTrashUserReplyValidationError) Cause

Cause function returns cause value.

func (DeleteTrashUserReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteTrashUserReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteTrashUserReplyValidationError) Field

Field function returns field value.

func (DeleteTrashUserReplyValidationError) Key

Key function returns key value.

func (DeleteTrashUserReplyValidationError) Reason

Reason function returns reason value.

type DeleteTrashUserRequest

type DeleteTrashUserRequest struct {
	Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTrashUserRequest) Descriptor deprecated

func (*DeleteTrashUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTrashUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteTrashUserRequest) GetIds

func (x *DeleteTrashUserRequest) GetIds() []uint32

func (*DeleteTrashUserRequest) ProtoMessage

func (*DeleteTrashUserRequest) ProtoMessage()

func (*DeleteTrashUserRequest) ProtoReflect

func (x *DeleteTrashUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteTrashUserRequest) Reset

func (x *DeleteTrashUserRequest) Reset()

func (*DeleteTrashUserRequest) String

func (x *DeleteTrashUserRequest) String() string

func (*DeleteTrashUserRequest) Validate

func (m *DeleteTrashUserRequest) Validate() error

Validate checks the field values on DeleteTrashUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteTrashUserRequest) ValidateAll

func (m *DeleteTrashUserRequest) ValidateAll() error

ValidateAll checks the field values on DeleteTrashUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTrashUserRequestMultiError, or nil if none found.

type DeleteTrashUserRequestMultiError

type DeleteTrashUserRequestMultiError []error

DeleteTrashUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteTrashUserRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteTrashUserRequestMultiError) AllErrors

func (m DeleteTrashUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteTrashUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteTrashUserRequestValidationError

type DeleteTrashUserRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteTrashUserRequestValidationError is the validation error returned by DeleteTrashUserRequest.Validate if the designated constraints aren't met.

func (DeleteTrashUserRequestValidationError) Cause

Cause function returns cause value.

func (DeleteTrashUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteTrashUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteTrashUserRequestValidationError) Field

Field function returns field value.

func (DeleteTrashUserRequestValidationError) Key

Key function returns key value.

func (DeleteTrashUserRequestValidationError) Reason

Reason function returns reason value.

type DeleteUserReply

type DeleteUserReply struct {
	Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserReply) Descriptor deprecated

func (*DeleteUserReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserReply.ProtoReflect.Descriptor instead.

func (*DeleteUserReply) GetTotal

func (x *DeleteUserReply) GetTotal() uint32

func (*DeleteUserReply) ProtoMessage

func (*DeleteUserReply) ProtoMessage()

func (*DeleteUserReply) ProtoReflect

func (x *DeleteUserReply) ProtoReflect() protoreflect.Message

func (*DeleteUserReply) Reset

func (x *DeleteUserReply) Reset()

func (*DeleteUserReply) String

func (x *DeleteUserReply) String() string

func (*DeleteUserReply) Validate

func (m *DeleteUserReply) Validate() error

Validate checks the field values on DeleteUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserReply) ValidateAll

func (m *DeleteUserReply) ValidateAll() error

ValidateAll checks the field values on DeleteUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserReplyMultiError, or nil if none found.

type DeleteUserReplyMultiError

type DeleteUserReplyMultiError []error

DeleteUserReplyMultiError is an error wrapping multiple validation errors returned by DeleteUserReply.ValidateAll() if the designated constraints aren't met.

func (DeleteUserReplyMultiError) AllErrors

func (m DeleteUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteUserReplyValidationError

type DeleteUserReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteUserReplyValidationError is the validation error returned by DeleteUserReply.Validate if the designated constraints aren't met.

func (DeleteUserReplyValidationError) Cause

Cause function returns cause value.

func (DeleteUserReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserReplyValidationError) ErrorName

func (e DeleteUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteUserReplyValidationError) Field

Field function returns field value.

func (DeleteUserReplyValidationError) Key

Key function returns key value.

func (DeleteUserReplyValidationError) Reason

Reason function returns reason value.

type DeleteUserRequest

type DeleteUserRequest struct {
	Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetIds

func (x *DeleteUserRequest) GetIds() []uint32

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

func (*DeleteUserRequest) Validate

func (m *DeleteUserRequest) Validate() error

Validate checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserRequest) ValidateAll

func (m *DeleteUserRequest) ValidateAll() error

ValidateAll checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserRequestMultiError, or nil if none found.

type DeleteUserRequestMultiError

type DeleteUserRequestMultiError []error

DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteUserRequestMultiError) AllErrors

func (m DeleteUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteUserRequestValidationError

type DeleteUserRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.

func (DeleteUserRequestValidationError) Cause

Cause function returns cause value.

func (DeleteUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserRequestValidationError) Field

Field function returns field value.

func (DeleteUserRequestValidationError) Key

Key function returns key value.

func (DeleteUserRequestValidationError) Reason

Reason function returns reason value.

type ExportUserReply

type ExportUserReply struct {
	Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportUserReply) Descriptor deprecated

func (*ExportUserReply) Descriptor() ([]byte, []int)

Deprecated: Use ExportUserReply.ProtoReflect.Descriptor instead.

func (*ExportUserReply) GetSrc

func (x *ExportUserReply) GetSrc() string

func (*ExportUserReply) ProtoMessage

func (*ExportUserReply) ProtoMessage()

func (*ExportUserReply) ProtoReflect

func (x *ExportUserReply) ProtoReflect() protoreflect.Message

func (*ExportUserReply) Reset

func (x *ExportUserReply) Reset()

func (*ExportUserReply) String

func (x *ExportUserReply) String() string

func (*ExportUserReply) Validate

func (m *ExportUserReply) Validate() error

Validate checks the field values on ExportUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ExportUserReply) ValidateAll

func (m *ExportUserReply) ValidateAll() error

ValidateAll checks the field values on ExportUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExportUserReplyMultiError, or nil if none found.

type ExportUserReplyMultiError

type ExportUserReplyMultiError []error

ExportUserReplyMultiError is an error wrapping multiple validation errors returned by ExportUserReply.ValidateAll() if the designated constraints aren't met.

func (ExportUserReplyMultiError) AllErrors

func (m ExportUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ExportUserReplyValidationError

type ExportUserReplyValidationError struct {
	// contains filtered or unexported fields
}

ExportUserReplyValidationError is the validation error returned by ExportUserReply.Validate if the designated constraints aren't met.

func (ExportUserReplyValidationError) Cause

Cause function returns cause value.

func (ExportUserReplyValidationError) Error

Error satisfies the builtin error interface

func (ExportUserReplyValidationError) ErrorName

func (e ExportUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ExportUserReplyValidationError) Field

Field function returns field value.

func (ExportUserReplyValidationError) Key

Key function returns key value.

func (ExportUserReplyValidationError) Reason

Reason function returns reason value.

type ExportUserRequest

type ExportUserRequest struct {
	AppId      uint32   `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
	Phone      *string  `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email      *string  `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Username   *string  `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
	RealName   *string  `protobuf:"bytes,5,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Gender     *string  `protobuf:"bytes,6,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	Status     *bool    `protobuf:"varint,7,opt,name=status,proto3,oneof" json:"status,omitempty"`
	From       *string  `protobuf:"bytes,8,opt,name=from,proto3,oneof" json:"from,omitempty"`
	CreatedAts []uint32 `protobuf:"varint,9,rep,packed,name=createdAts,proto3" json:"createdAts,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportUserRequest) Descriptor deprecated

func (*ExportUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportUserRequest.ProtoReflect.Descriptor instead.

func (*ExportUserRequest) GetAppId added in v1.0.33

func (x *ExportUserRequest) GetAppId() uint32

func (*ExportUserRequest) GetCreatedAts

func (x *ExportUserRequest) GetCreatedAts() []uint32

func (*ExportUserRequest) GetEmail

func (x *ExportUserRequest) GetEmail() string

func (*ExportUserRequest) GetFrom

func (x *ExportUserRequest) GetFrom() string

func (*ExportUserRequest) GetGender

func (x *ExportUserRequest) GetGender() string

func (*ExportUserRequest) GetPhone

func (x *ExportUserRequest) GetPhone() string

func (*ExportUserRequest) GetRealName

func (x *ExportUserRequest) GetRealName() string

func (*ExportUserRequest) GetStatus

func (x *ExportUserRequest) GetStatus() bool

func (*ExportUserRequest) GetUsername

func (x *ExportUserRequest) GetUsername() string

func (*ExportUserRequest) ProtoMessage

func (*ExportUserRequest) ProtoMessage()

func (*ExportUserRequest) ProtoReflect

func (x *ExportUserRequest) ProtoReflect() protoreflect.Message

func (*ExportUserRequest) Reset

func (x *ExportUserRequest) Reset()

func (*ExportUserRequest) String

func (x *ExportUserRequest) String() string

func (*ExportUserRequest) Validate

func (m *ExportUserRequest) Validate() error

Validate checks the field values on ExportUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ExportUserRequest) ValidateAll

func (m *ExportUserRequest) ValidateAll() error

ValidateAll checks the field values on ExportUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExportUserRequestMultiError, or nil if none found.

type ExportUserRequestMultiError

type ExportUserRequestMultiError []error

ExportUserRequestMultiError is an error wrapping multiple validation errors returned by ExportUserRequest.ValidateAll() if the designated constraints aren't met.

func (ExportUserRequestMultiError) AllErrors

func (m ExportUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ExportUserRequestValidationError

type ExportUserRequestValidationError struct {
	// contains filtered or unexported fields
}

ExportUserRequestValidationError is the validation error returned by ExportUserRequest.Validate if the designated constraints aren't met.

func (ExportUserRequestValidationError) Cause

Cause function returns cause value.

func (ExportUserRequestValidationError) Error

Error satisfies the builtin error interface

func (ExportUserRequestValidationError) ErrorName

ErrorName returns error name.

func (ExportUserRequestValidationError) Field

Field function returns field value.

func (ExportUserRequestValidationError) Key

Key function returns key value.

func (ExportUserRequestValidationError) Reason

Reason function returns reason value.

type GetCurrentUserReply

type GetCurrentUserReply struct {
	Id        uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Phone     *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email     *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Username  *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
	NickName  string  `protobuf:"bytes,5,opt,name=nickName,proto3" json:"nickName,omitempty"`
	RealName  *string `protobuf:"bytes,6,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Avatar    *string `protobuf:"bytes,7,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	AvatarUrl *string `protobuf:"bytes,8,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
	Gender    *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCurrentUserReply) Descriptor deprecated

func (*GetCurrentUserReply) Descriptor() ([]byte, []int)

Deprecated: Use GetCurrentUserReply.ProtoReflect.Descriptor instead.

func (*GetCurrentUserReply) GetAvatar

func (x *GetCurrentUserReply) GetAvatar() string

func (*GetCurrentUserReply) GetAvatarUrl

func (x *GetCurrentUserReply) GetAvatarUrl() string

func (*GetCurrentUserReply) GetEmail

func (x *GetCurrentUserReply) GetEmail() string

func (*GetCurrentUserReply) GetGender

func (x *GetCurrentUserReply) GetGender() string

func (*GetCurrentUserReply) GetId

func (x *GetCurrentUserReply) GetId() uint32

func (*GetCurrentUserReply) GetNickName

func (x *GetCurrentUserReply) GetNickName() string

func (*GetCurrentUserReply) GetPhone

func (x *GetCurrentUserReply) GetPhone() string

func (*GetCurrentUserReply) GetRealName

func (x *GetCurrentUserReply) GetRealName() string

func (*GetCurrentUserReply) GetUsername

func (x *GetCurrentUserReply) GetUsername() string

func (*GetCurrentUserReply) ProtoMessage

func (*GetCurrentUserReply) ProtoMessage()

func (*GetCurrentUserReply) ProtoReflect

func (x *GetCurrentUserReply) ProtoReflect() protoreflect.Message

func (*GetCurrentUserReply) Reset

func (x *GetCurrentUserReply) Reset()

func (*GetCurrentUserReply) String

func (x *GetCurrentUserReply) String() string

func (*GetCurrentUserReply) Validate

func (m *GetCurrentUserReply) Validate() error

Validate checks the field values on GetCurrentUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCurrentUserReply) ValidateAll

func (m *GetCurrentUserReply) ValidateAll() error

ValidateAll checks the field values on GetCurrentUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCurrentUserReplyMultiError, or nil if none found.

type GetCurrentUserReplyMultiError

type GetCurrentUserReplyMultiError []error

GetCurrentUserReplyMultiError is an error wrapping multiple validation errors returned by GetCurrentUserReply.ValidateAll() if the designated constraints aren't met.

func (GetCurrentUserReplyMultiError) AllErrors

func (m GetCurrentUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCurrentUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetCurrentUserReplyValidationError

type GetCurrentUserReplyValidationError struct {
	// contains filtered or unexported fields
}

GetCurrentUserReplyValidationError is the validation error returned by GetCurrentUserReply.Validate if the designated constraints aren't met.

func (GetCurrentUserReplyValidationError) Cause

Cause function returns cause value.

func (GetCurrentUserReplyValidationError) Error

Error satisfies the builtin error interface

func (GetCurrentUserReplyValidationError) ErrorName

ErrorName returns error name.

func (GetCurrentUserReplyValidationError) Field

Field function returns field value.

func (GetCurrentUserReplyValidationError) Key

Key function returns key value.

func (GetCurrentUserReplyValidationError) Reason

Reason function returns reason value.

type GetCurrentUserRequest

type GetCurrentUserRequest struct {
	// contains filtered or unexported fields
}

func (*GetCurrentUserRequest) Descriptor deprecated

func (*GetCurrentUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCurrentUserRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentUserRequest) ProtoMessage

func (*GetCurrentUserRequest) ProtoMessage()

func (*GetCurrentUserRequest) ProtoReflect

func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message

func (*GetCurrentUserRequest) Reset

func (x *GetCurrentUserRequest) Reset()

func (*GetCurrentUserRequest) String

func (x *GetCurrentUserRequest) String() string

func (*GetCurrentUserRequest) Validate

func (m *GetCurrentUserRequest) Validate() error

Validate checks the field values on GetCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCurrentUserRequest) ValidateAll

func (m *GetCurrentUserRequest) ValidateAll() error

ValidateAll checks the field values on GetCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCurrentUserRequestMultiError, or nil if none found.

type GetCurrentUserRequestMultiError

type GetCurrentUserRequestMultiError []error

GetCurrentUserRequestMultiError is an error wrapping multiple validation errors returned by GetCurrentUserRequest.ValidateAll() if the designated constraints aren't met.

func (GetCurrentUserRequestMultiError) AllErrors

func (m GetCurrentUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCurrentUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetCurrentUserRequestValidationError

type GetCurrentUserRequestValidationError struct {
	// contains filtered or unexported fields
}

GetCurrentUserRequestValidationError is the validation error returned by GetCurrentUserRequest.Validate if the designated constraints aren't met.

func (GetCurrentUserRequestValidationError) Cause

Cause function returns cause value.

func (GetCurrentUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetCurrentUserRequestValidationError) ErrorName

ErrorName returns error name.

func (GetCurrentUserRequestValidationError) Field

Field function returns field value.

func (GetCurrentUserRequestValidationError) Key

Key function returns key value.

func (GetCurrentUserRequestValidationError) Reason

Reason function returns reason value.

type GetTrashUserReply

type GetTrashUserReply struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Phone       *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email       *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Username    *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
	Password    *string `protobuf:"bytes,5,opt,name=password,proto3,oneof" json:"password,omitempty"`
	NickName    string  `protobuf:"bytes,6,opt,name=nickName,proto3" json:"nickName,omitempty"`
	RealName    *string `protobuf:"bytes,7,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Avatar      *string `protobuf:"bytes,8,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	AvatarUrl   *string `protobuf:"bytes,17,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
	Gender      *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	Status      *bool   `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
	DisableDesc *string `protobuf:"bytes,11,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
	From        string  `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"`
	FromDesc    string  `protobuf:"bytes,13,opt,name=fromDesc,proto3" json:"fromDesc,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	DeletedAt   uint32  `protobuf:"varint,16,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTrashUserReply) Descriptor deprecated

func (*GetTrashUserReply) Descriptor() ([]byte, []int)

Deprecated: Use GetTrashUserReply.ProtoReflect.Descriptor instead.

func (*GetTrashUserReply) GetAvatar

func (x *GetTrashUserReply) GetAvatar() string

func (*GetTrashUserReply) GetAvatarUrl

func (x *GetTrashUserReply) GetAvatarUrl() string

func (*GetTrashUserReply) GetCreatedAt

func (x *GetTrashUserReply) GetCreatedAt() uint32

func (*GetTrashUserReply) GetDeletedAt

func (x *GetTrashUserReply) GetDeletedAt() uint32

func (*GetTrashUserReply) GetDisableDesc

func (x *GetTrashUserReply) GetDisableDesc() string

func (*GetTrashUserReply) GetEmail

func (x *GetTrashUserReply) GetEmail() string

func (*GetTrashUserReply) GetFrom

func (x *GetTrashUserReply) GetFrom() string

func (*GetTrashUserReply) GetFromDesc

func (x *GetTrashUserReply) GetFromDesc() string

func (*GetTrashUserReply) GetGender

func (x *GetTrashUserReply) GetGender() string

func (*GetTrashUserReply) GetId

func (x *GetTrashUserReply) GetId() uint32

func (*GetTrashUserReply) GetNickName

func (x *GetTrashUserReply) GetNickName() string

func (*GetTrashUserReply) GetPassword

func (x *GetTrashUserReply) GetPassword() string

func (*GetTrashUserReply) GetPhone

func (x *GetTrashUserReply) GetPhone() string

func (*GetTrashUserReply) GetRealName

func (x *GetTrashUserReply) GetRealName() string

func (*GetTrashUserReply) GetStatus

func (x *GetTrashUserReply) GetStatus() bool

func (*GetTrashUserReply) GetUpdatedAt

func (x *GetTrashUserReply) GetUpdatedAt() uint32

func (*GetTrashUserReply) GetUsername

func (x *GetTrashUserReply) GetUsername() string

func (*GetTrashUserReply) ProtoMessage

func (*GetTrashUserReply) ProtoMessage()

func (*GetTrashUserReply) ProtoReflect

func (x *GetTrashUserReply) ProtoReflect() protoreflect.Message

func (*GetTrashUserReply) Reset

func (x *GetTrashUserReply) Reset()

func (*GetTrashUserReply) String

func (x *GetTrashUserReply) String() string

func (*GetTrashUserReply) Validate

func (m *GetTrashUserReply) Validate() error

Validate checks the field values on GetTrashUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetTrashUserReply) ValidateAll

func (m *GetTrashUserReply) ValidateAll() error

ValidateAll checks the field values on GetTrashUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTrashUserReplyMultiError, or nil if none found.

type GetTrashUserReplyMultiError

type GetTrashUserReplyMultiError []error

GetTrashUserReplyMultiError is an error wrapping multiple validation errors returned by GetTrashUserReply.ValidateAll() if the designated constraints aren't met.

func (GetTrashUserReplyMultiError) AllErrors

func (m GetTrashUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetTrashUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetTrashUserReplyValidationError

type GetTrashUserReplyValidationError struct {
	// contains filtered or unexported fields
}

GetTrashUserReplyValidationError is the validation error returned by GetTrashUserReply.Validate if the designated constraints aren't met.

func (GetTrashUserReplyValidationError) Cause

Cause function returns cause value.

func (GetTrashUserReplyValidationError) Error

Error satisfies the builtin error interface

func (GetTrashUserReplyValidationError) ErrorName

ErrorName returns error name.

func (GetTrashUserReplyValidationError) Field

Field function returns field value.

func (GetTrashUserReplyValidationError) Key

Key function returns key value.

func (GetTrashUserReplyValidationError) Reason

Reason function returns reason value.

type GetTrashUserRequest

type GetTrashUserRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTrashUserRequest) Descriptor deprecated

func (*GetTrashUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTrashUserRequest.ProtoReflect.Descriptor instead.

func (*GetTrashUserRequest) GetId

func (x *GetTrashUserRequest) GetId() uint32

func (*GetTrashUserRequest) ProtoMessage

func (*GetTrashUserRequest) ProtoMessage()

func (*GetTrashUserRequest) ProtoReflect

func (x *GetTrashUserRequest) ProtoReflect() protoreflect.Message

func (*GetTrashUserRequest) Reset

func (x *GetTrashUserRequest) Reset()

func (*GetTrashUserRequest) String

func (x *GetTrashUserRequest) String() string

func (*GetTrashUserRequest) Validate

func (m *GetTrashUserRequest) Validate() error

Validate checks the field values on GetTrashUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetTrashUserRequest) ValidateAll

func (m *GetTrashUserRequest) ValidateAll() error

ValidateAll checks the field values on GetTrashUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTrashUserRequestMultiError, or nil if none found.

type GetTrashUserRequestMultiError

type GetTrashUserRequestMultiError []error

GetTrashUserRequestMultiError is an error wrapping multiple validation errors returned by GetTrashUserRequest.ValidateAll() if the designated constraints aren't met.

func (GetTrashUserRequestMultiError) AllErrors

func (m GetTrashUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetTrashUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetTrashUserRequestValidationError

type GetTrashUserRequestValidationError struct {
	// contains filtered or unexported fields
}

GetTrashUserRequestValidationError is the validation error returned by GetTrashUserRequest.Validate if the designated constraints aren't met.

func (GetTrashUserRequestValidationError) Cause

Cause function returns cause value.

func (GetTrashUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTrashUserRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTrashUserRequestValidationError) Field

Field function returns field value.

func (GetTrashUserRequestValidationError) Key

Key function returns key value.

func (GetTrashUserRequestValidationError) Reason

Reason function returns reason value.

type GetUserReply

type GetUserReply struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Phone       *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email       *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Username    *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
	NickName    string  `protobuf:"bytes,5,opt,name=nickName,proto3" json:"nickName,omitempty"`
	RealName    *string `protobuf:"bytes,6,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Avatar      *string `protobuf:"bytes,7,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	AvatarUrl   *string `protobuf:"bytes,8,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
	Gender      *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	Status      *bool   `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
	DisableDesc *string `protobuf:"bytes,11,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
	From        string  `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"`
	FromDesc    string  `protobuf:"bytes,13,opt,name=fromDesc,proto3" json:"fromDesc,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserReply) Descriptor deprecated

func (*GetUserReply) Descriptor() ([]byte, []int)

Deprecated: Use GetUserReply.ProtoReflect.Descriptor instead.

func (*GetUserReply) GetAvatar

func (x *GetUserReply) GetAvatar() string

func (*GetUserReply) GetAvatarUrl

func (x *GetUserReply) GetAvatarUrl() string

func (*GetUserReply) GetCreatedAt

func (x *GetUserReply) GetCreatedAt() uint32

func (*GetUserReply) GetDisableDesc

func (x *GetUserReply) GetDisableDesc() string

func (*GetUserReply) GetEmail

func (x *GetUserReply) GetEmail() string

func (*GetUserReply) GetFrom

func (x *GetUserReply) GetFrom() string

func (*GetUserReply) GetFromDesc

func (x *GetUserReply) GetFromDesc() string

func (*GetUserReply) GetGender

func (x *GetUserReply) GetGender() string

func (*GetUserReply) GetId

func (x *GetUserReply) GetId() uint32

func (*GetUserReply) GetNickName

func (x *GetUserReply) GetNickName() string

func (*GetUserReply) GetPhone

func (x *GetUserReply) GetPhone() string

func (*GetUserReply) GetRealName

func (x *GetUserReply) GetRealName() string

func (*GetUserReply) GetStatus

func (x *GetUserReply) GetStatus() bool

func (*GetUserReply) GetUpdatedAt

func (x *GetUserReply) GetUpdatedAt() uint32

func (*GetUserReply) GetUsername

func (x *GetUserReply) GetUsername() string

func (*GetUserReply) ProtoMessage

func (*GetUserReply) ProtoMessage()

func (*GetUserReply) ProtoReflect

func (x *GetUserReply) ProtoReflect() protoreflect.Message

func (*GetUserReply) Reset

func (x *GetUserReply) Reset()

func (*GetUserReply) String

func (x *GetUserReply) String() string

func (*GetUserReply) Validate

func (m *GetUserReply) Validate() error

Validate checks the field values on GetUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserReply) ValidateAll

func (m *GetUserReply) ValidateAll() error

ValidateAll checks the field values on GetUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserReplyMultiError, or nil if none found.

type GetUserReplyMultiError

type GetUserReplyMultiError []error

GetUserReplyMultiError is an error wrapping multiple validation errors returned by GetUserReply.ValidateAll() if the designated constraints aren't met.

func (GetUserReplyMultiError) AllErrors

func (m GetUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserReplyMultiError) Error

func (m GetUserReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetUserReplyValidationError

type GetUserReplyValidationError struct {
	// contains filtered or unexported fields
}

GetUserReplyValidationError is the validation error returned by GetUserReply.Validate if the designated constraints aren't met.

func (GetUserReplyValidationError) Cause

Cause function returns cause value.

func (GetUserReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserReplyValidationError) ErrorName

func (e GetUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserReplyValidationError) Field

Field function returns field value.

func (GetUserReplyValidationError) Key

Key function returns key value.

func (GetUserReplyValidationError) Reason

Reason function returns reason value.

type GetUserRequest

type GetUserRequest struct {
	Id       *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Phone    *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email    *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Username *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

func (*GetUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetEmail

func (x *GetUserRequest) GetEmail() string

func (*GetUserRequest) GetId

func (x *GetUserRequest) GetId() uint32

func (*GetUserRequest) GetPhone

func (x *GetUserRequest) GetPhone() string

func (*GetUserRequest) GetUsername

func (x *GetUserRequest) GetUsername() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

func (x *GetUserRequest) ProtoReflect() protoreflect.Message

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

func (*GetUserRequest) Validate

func (m *GetUserRequest) Validate() error

Validate checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetUserRequest) ValidateAll

func (m *GetUserRequest) ValidateAll() error

ValidateAll checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserRequestMultiError, or nil if none found.

type GetUserRequestMultiError

type GetUserRequestMultiError []error

GetUserRequestMultiError is an error wrapping multiple validation errors returned by GetUserRequest.ValidateAll() if the designated constraints aren't met.

func (GetUserRequestMultiError) AllErrors

func (m GetUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserRequestMultiError) Error

func (m GetUserRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetUserRequestValidationError

type GetUserRequestValidationError struct {
	// contains filtered or unexported fields
}

GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.

func (GetUserRequestValidationError) Cause

Cause function returns cause value.

func (GetUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserRequestValidationError) ErrorName

func (e GetUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserRequestValidationError) Field

Field function returns field value.

func (GetUserRequestValidationError) Key

Key function returns key value.

func (GetUserRequestValidationError) Reason

Reason function returns reason value.

type ImportUserReply

type ImportUserReply struct {
	Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportUserReply) Descriptor deprecated

func (*ImportUserReply) Descriptor() ([]byte, []int)

Deprecated: Use ImportUserReply.ProtoReflect.Descriptor instead.

func (*ImportUserReply) GetTotal

func (x *ImportUserReply) GetTotal() uint32

func (*ImportUserReply) ProtoMessage

func (*ImportUserReply) ProtoMessage()

func (*ImportUserReply) ProtoReflect

func (x *ImportUserReply) ProtoReflect() protoreflect.Message

func (*ImportUserReply) Reset

func (x *ImportUserReply) Reset()

func (*ImportUserReply) String

func (x *ImportUserReply) String() string

func (*ImportUserReply) Validate

func (m *ImportUserReply) Validate() error

Validate checks the field values on ImportUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ImportUserReply) ValidateAll

func (m *ImportUserReply) ValidateAll() error

ValidateAll checks the field values on ImportUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImportUserReplyMultiError, or nil if none found.

type ImportUserReplyMultiError

type ImportUserReplyMultiError []error

ImportUserReplyMultiError is an error wrapping multiple validation errors returned by ImportUserReply.ValidateAll() if the designated constraints aren't met.

func (ImportUserReplyMultiError) AllErrors

func (m ImportUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImportUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ImportUserReplyValidationError

type ImportUserReplyValidationError struct {
	// contains filtered or unexported fields
}

ImportUserReplyValidationError is the validation error returned by ImportUserReply.Validate if the designated constraints aren't met.

func (ImportUserReplyValidationError) Cause

Cause function returns cause value.

func (ImportUserReplyValidationError) Error

Error satisfies the builtin error interface

func (ImportUserReplyValidationError) ErrorName

func (e ImportUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ImportUserReplyValidationError) Field

Field function returns field value.

func (ImportUserReplyValidationError) Key

Key function returns key value.

func (ImportUserReplyValidationError) Reason

Reason function returns reason value.

type ImportUserRequest

type ImportUserRequest struct {
	List []*ImportUserRequest_User `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportUserRequest) Descriptor deprecated

func (*ImportUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportUserRequest.ProtoReflect.Descriptor instead.

func (*ImportUserRequest) GetList

func (x *ImportUserRequest) GetList() []*ImportUserRequest_User

func (*ImportUserRequest) ProtoMessage

func (*ImportUserRequest) ProtoMessage()

func (*ImportUserRequest) ProtoReflect

func (x *ImportUserRequest) ProtoReflect() protoreflect.Message

func (*ImportUserRequest) Reset

func (x *ImportUserRequest) Reset()

func (*ImportUserRequest) String

func (x *ImportUserRequest) String() string

func (*ImportUserRequest) Validate

func (m *ImportUserRequest) Validate() error

Validate checks the field values on ImportUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ImportUserRequest) ValidateAll

func (m *ImportUserRequest) ValidateAll() error

ValidateAll checks the field values on ImportUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImportUserRequestMultiError, or nil if none found.

type ImportUserRequestMultiError

type ImportUserRequestMultiError []error

ImportUserRequestMultiError is an error wrapping multiple validation errors returned by ImportUserRequest.ValidateAll() if the designated constraints aren't met.

func (ImportUserRequestMultiError) AllErrors

func (m ImportUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImportUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ImportUserRequestValidationError

type ImportUserRequestValidationError struct {
	// contains filtered or unexported fields
}

ImportUserRequestValidationError is the validation error returned by ImportUserRequest.Validate if the designated constraints aren't met.

func (ImportUserRequestValidationError) Cause

Cause function returns cause value.

func (ImportUserRequestValidationError) Error

Error satisfies the builtin error interface

func (ImportUserRequestValidationError) ErrorName

ErrorName returns error name.

func (ImportUserRequestValidationError) Field

Field function returns field value.

func (ImportUserRequestValidationError) Key

Key function returns key value.

func (ImportUserRequestValidationError) Reason

Reason function returns reason value.

type ImportUserRequest_User added in v1.0.33

type ImportUserRequest_User struct {
	Phone    *string `protobuf:"bytes,1,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email    *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
	RealName *string `protobuf:"bytes,3,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Gender   *string `protobuf:"bytes,4,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	AppId    *uint32 `protobuf:"varint,5,opt,name=appId,proto3,oneof" json:"appId,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportUserRequest_User) Descriptor deprecated added in v1.0.33

func (*ImportUserRequest_User) Descriptor() ([]byte, []int)

Deprecated: Use ImportUserRequest_User.ProtoReflect.Descriptor instead.

func (*ImportUserRequest_User) GetAppId added in v1.0.33

func (x *ImportUserRequest_User) GetAppId() uint32

func (*ImportUserRequest_User) GetEmail added in v1.0.33

func (x *ImportUserRequest_User) GetEmail() string

func (*ImportUserRequest_User) GetGender added in v1.0.33

func (x *ImportUserRequest_User) GetGender() string

func (*ImportUserRequest_User) GetPhone added in v1.0.33

func (x *ImportUserRequest_User) GetPhone() string

func (*ImportUserRequest_User) GetRealName added in v1.0.33

func (x *ImportUserRequest_User) GetRealName() string

func (*ImportUserRequest_User) ProtoMessage added in v1.0.33

func (*ImportUserRequest_User) ProtoMessage()

func (*ImportUserRequest_User) ProtoReflect added in v1.0.33

func (x *ImportUserRequest_User) ProtoReflect() protoreflect.Message

func (*ImportUserRequest_User) Reset added in v1.0.33

func (x *ImportUserRequest_User) Reset()

func (*ImportUserRequest_User) String added in v1.0.33

func (x *ImportUserRequest_User) String() string

func (*ImportUserRequest_User) Validate added in v1.0.33

func (m *ImportUserRequest_User) Validate() error

Validate checks the field values on ImportUserRequest_User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ImportUserRequest_User) ValidateAll added in v1.0.33

func (m *ImportUserRequest_User) ValidateAll() error

ValidateAll checks the field values on ImportUserRequest_User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImportUserRequest_UserMultiError, or nil if none found.

type ImportUserRequest_UserMultiError added in v1.0.33

type ImportUserRequest_UserMultiError []error

ImportUserRequest_UserMultiError is an error wrapping multiple validation errors returned by ImportUserRequest_User.ValidateAll() if the designated constraints aren't met.

func (ImportUserRequest_UserMultiError) AllErrors added in v1.0.33

func (m ImportUserRequest_UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImportUserRequest_UserMultiError) Error added in v1.0.33

Error returns a concatenation of all the error messages it wraps.

type ImportUserRequest_UserValidationError added in v1.0.33

type ImportUserRequest_UserValidationError struct {
	// contains filtered or unexported fields
}

ImportUserRequest_UserValidationError is the validation error returned by ImportUserRequest_User.Validate if the designated constraints aren't met.

func (ImportUserRequest_UserValidationError) Cause added in v1.0.33

Cause function returns cause value.

func (ImportUserRequest_UserValidationError) Error added in v1.0.33

Error satisfies the builtin error interface

func (ImportUserRequest_UserValidationError) ErrorName added in v1.0.33

ErrorName returns error name.

func (ImportUserRequest_UserValidationError) Field added in v1.0.33

Field function returns field value.

func (ImportUserRequest_UserValidationError) Key added in v1.0.33

Key function returns key value.

func (ImportUserRequest_UserValidationError) Reason added in v1.0.33

Reason function returns reason value.

type ListTrashUserReply

type ListTrashUserReply struct {
	Total uint32                     `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListTrashUserReply_User `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTrashUserReply) Descriptor deprecated

func (*ListTrashUserReply) Descriptor() ([]byte, []int)

Deprecated: Use ListTrashUserReply.ProtoReflect.Descriptor instead.

func (*ListTrashUserReply) GetList

func (*ListTrashUserReply) GetTotal

func (x *ListTrashUserReply) GetTotal() uint32

func (*ListTrashUserReply) ProtoMessage

func (*ListTrashUserReply) ProtoMessage()

func (*ListTrashUserReply) ProtoReflect

func (x *ListTrashUserReply) ProtoReflect() protoreflect.Message

func (*ListTrashUserReply) Reset

func (x *ListTrashUserReply) Reset()

func (*ListTrashUserReply) String

func (x *ListTrashUserReply) String() string

func (*ListTrashUserReply) Validate

func (m *ListTrashUserReply) Validate() error

Validate checks the field values on ListTrashUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListTrashUserReply) ValidateAll

func (m *ListTrashUserReply) ValidateAll() error

ValidateAll checks the field values on ListTrashUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTrashUserReplyMultiError, or nil if none found.

type ListTrashUserReplyMultiError

type ListTrashUserReplyMultiError []error

ListTrashUserReplyMultiError is an error wrapping multiple validation errors returned by ListTrashUserReply.ValidateAll() if the designated constraints aren't met.

func (ListTrashUserReplyMultiError) AllErrors

func (m ListTrashUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListTrashUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListTrashUserReplyValidationError

type ListTrashUserReplyValidationError struct {
	// contains filtered or unexported fields
}

ListTrashUserReplyValidationError is the validation error returned by ListTrashUserReply.Validate if the designated constraints aren't met.

func (ListTrashUserReplyValidationError) Cause

Cause function returns cause value.

func (ListTrashUserReplyValidationError) Error

Error satisfies the builtin error interface

func (ListTrashUserReplyValidationError) ErrorName

ErrorName returns error name.

func (ListTrashUserReplyValidationError) Field

Field function returns field value.

func (ListTrashUserReplyValidationError) Key

Key function returns key value.

func (ListTrashUserReplyValidationError) Reason

Reason function returns reason value.

type ListTrashUserReply_User

type ListTrashUserReply_User struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Phone       *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email       *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Username    *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
	Password    *string `protobuf:"bytes,5,opt,name=password,proto3,oneof" json:"password,omitempty"`
	NickName    string  `protobuf:"bytes,6,opt,name=nickName,proto3" json:"nickName,omitempty"`
	RealName    *string `protobuf:"bytes,7,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Avatar      *string `protobuf:"bytes,8,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	AvatarUrl   *string `protobuf:"bytes,17,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
	Gender      *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	Status      *bool   `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
	DisableDesc *string `protobuf:"bytes,11,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
	From        string  `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"`
	FromDesc    string  `protobuf:"bytes,13,opt,name=fromDesc,proto3" json:"fromDesc,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	DeletedAt   uint32  `protobuf:"varint,16,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTrashUserReply_User) Descriptor deprecated

func (*ListTrashUserReply_User) Descriptor() ([]byte, []int)

Deprecated: Use ListTrashUserReply_User.ProtoReflect.Descriptor instead.

func (*ListTrashUserReply_User) GetAvatar

func (x *ListTrashUserReply_User) GetAvatar() string

func (*ListTrashUserReply_User) GetAvatarUrl

func (x *ListTrashUserReply_User) GetAvatarUrl() string

func (*ListTrashUserReply_User) GetCreatedAt

func (x *ListTrashUserReply_User) GetCreatedAt() uint32

func (*ListTrashUserReply_User) GetDeletedAt

func (x *ListTrashUserReply_User) GetDeletedAt() uint32

func (*ListTrashUserReply_User) GetDisableDesc

func (x *ListTrashUserReply_User) GetDisableDesc() string

func (*ListTrashUserReply_User) GetEmail

func (x *ListTrashUserReply_User) GetEmail() string

func (*ListTrashUserReply_User) GetFrom

func (x *ListTrashUserReply_User) GetFrom() string

func (*ListTrashUserReply_User) GetFromDesc

func (x *ListTrashUserReply_User) GetFromDesc() string

func (*ListTrashUserReply_User) GetGender

func (x *ListTrashUserReply_User) GetGender() string

func (*ListTrashUserReply_User) GetId

func (x *ListTrashUserReply_User) GetId() uint32

func (*ListTrashUserReply_User) GetNickName

func (x *ListTrashUserReply_User) GetNickName() string

func (*ListTrashUserReply_User) GetPassword

func (x *ListTrashUserReply_User) GetPassword() string

func (*ListTrashUserReply_User) GetPhone

func (x *ListTrashUserReply_User) GetPhone() string

func (*ListTrashUserReply_User) GetRealName

func (x *ListTrashUserReply_User) GetRealName() string

func (*ListTrashUserReply_User) GetStatus

func (x *ListTrashUserReply_User) GetStatus() bool

func (*ListTrashUserReply_User) GetUpdatedAt

func (x *ListTrashUserReply_User) GetUpdatedAt() uint32

func (*ListTrashUserReply_User) GetUsername

func (x *ListTrashUserReply_User) GetUsername() string

func (*ListTrashUserReply_User) ProtoMessage

func (*ListTrashUserReply_User) ProtoMessage()

func (*ListTrashUserReply_User) ProtoReflect

func (x *ListTrashUserReply_User) ProtoReflect() protoreflect.Message

func (*ListTrashUserReply_User) Reset

func (x *ListTrashUserReply_User) Reset()

func (*ListTrashUserReply_User) String

func (x *ListTrashUserReply_User) String() string

func (*ListTrashUserReply_User) Validate

func (m *ListTrashUserReply_User) Validate() error

Validate checks the field values on ListTrashUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListTrashUserReply_User) ValidateAll

func (m *ListTrashUserReply_User) ValidateAll() error

ValidateAll checks the field values on ListTrashUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTrashUserReply_UserMultiError, or nil if none found.

type ListTrashUserReply_UserMultiError

type ListTrashUserReply_UserMultiError []error

ListTrashUserReply_UserMultiError is an error wrapping multiple validation errors returned by ListTrashUserReply_User.ValidateAll() if the designated constraints aren't met.

func (ListTrashUserReply_UserMultiError) AllErrors

func (m ListTrashUserReply_UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListTrashUserReply_UserMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListTrashUserReply_UserValidationError

type ListTrashUserReply_UserValidationError struct {
	// contains filtered or unexported fields
}

ListTrashUserReply_UserValidationError is the validation error returned by ListTrashUserReply_User.Validate if the designated constraints aren't met.

func (ListTrashUserReply_UserValidationError) Cause

Cause function returns cause value.

func (ListTrashUserReply_UserValidationError) Error

Error satisfies the builtin error interface

func (ListTrashUserReply_UserValidationError) ErrorName

ErrorName returns error name.

func (ListTrashUserReply_UserValidationError) Field

Field function returns field value.

func (ListTrashUserReply_UserValidationError) Key

Key function returns key value.

func (ListTrashUserReply_UserValidationError) Reason

Reason function returns reason value.

type ListTrashUserRequest

type ListTrashUserRequest struct {
	Page       uint32   `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   uint32   `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order      *string  `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
	OrderBy    *string  `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
	Phone      *string  `protobuf:"bytes,5,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email      *string  `protobuf:"bytes,6,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Username   *string  `protobuf:"bytes,7,opt,name=username,proto3,oneof" json:"username,omitempty"`
	RealName   *string  `protobuf:"bytes,8,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Gender     *string  `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	Status     *bool    `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
	From       *string  `protobuf:"bytes,11,opt,name=from,proto3,oneof" json:"from,omitempty"`
	CreatedAts []uint32 `protobuf:"varint,12,rep,packed,name=createdAts,proto3" json:"createdAts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTrashUserRequest) Descriptor deprecated

func (*ListTrashUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTrashUserRequest.ProtoReflect.Descriptor instead.

func (*ListTrashUserRequest) GetCreatedAts

func (x *ListTrashUserRequest) GetCreatedAts() []uint32

func (*ListTrashUserRequest) GetEmail

func (x *ListTrashUserRequest) GetEmail() string

func (*ListTrashUserRequest) GetFrom

func (x *ListTrashUserRequest) GetFrom() string

func (*ListTrashUserRequest) GetGender

func (x *ListTrashUserRequest) GetGender() string

func (*ListTrashUserRequest) GetOrder

func (x *ListTrashUserRequest) GetOrder() string

func (*ListTrashUserRequest) GetOrderBy

func (x *ListTrashUserRequest) GetOrderBy() string

func (*ListTrashUserRequest) GetPage

func (x *ListTrashUserRequest) GetPage() uint32

func (*ListTrashUserRequest) GetPageSize

func (x *ListTrashUserRequest) GetPageSize() uint32

func (*ListTrashUserRequest) GetPhone

func (x *ListTrashUserRequest) GetPhone() string

func (*ListTrashUserRequest) GetRealName

func (x *ListTrashUserRequest) GetRealName() string

func (*ListTrashUserRequest) GetStatus

func (x *ListTrashUserRequest) GetStatus() bool

func (*ListTrashUserRequest) GetUsername

func (x *ListTrashUserRequest) GetUsername() string

func (*ListTrashUserRequest) ProtoMessage

func (*ListTrashUserRequest) ProtoMessage()

func (*ListTrashUserRequest) ProtoReflect

func (x *ListTrashUserRequest) ProtoReflect() protoreflect.Message

func (*ListTrashUserRequest) Reset

func (x *ListTrashUserRequest) Reset()

func (*ListTrashUserRequest) String

func (x *ListTrashUserRequest) String() string

func (*ListTrashUserRequest) Validate

func (m *ListTrashUserRequest) Validate() error

Validate checks the field values on ListTrashUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListTrashUserRequest) ValidateAll

func (m *ListTrashUserRequest) ValidateAll() error

ValidateAll checks the field values on ListTrashUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTrashUserRequestMultiError, or nil if none found.

type ListTrashUserRequestMultiError

type ListTrashUserRequestMultiError []error

ListTrashUserRequestMultiError is an error wrapping multiple validation errors returned by ListTrashUserRequest.ValidateAll() if the designated constraints aren't met.

func (ListTrashUserRequestMultiError) AllErrors

func (m ListTrashUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListTrashUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListTrashUserRequestValidationError

type ListTrashUserRequestValidationError struct {
	// contains filtered or unexported fields
}

ListTrashUserRequestValidationError is the validation error returned by ListTrashUserRequest.Validate if the designated constraints aren't met.

func (ListTrashUserRequestValidationError) Cause

Cause function returns cause value.

func (ListTrashUserRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTrashUserRequestValidationError) ErrorName

ErrorName returns error name.

func (ListTrashUserRequestValidationError) Field

Field function returns field value.

func (ListTrashUserRequestValidationError) Key

Key function returns key value.

func (ListTrashUserRequestValidationError) Reason

Reason function returns reason value.

type ListUserReply

type ListUserReply struct {
	Total uint32                `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListUserReply_User `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserReply) Descriptor deprecated

func (*ListUserReply) Descriptor() ([]byte, []int)

Deprecated: Use ListUserReply.ProtoReflect.Descriptor instead.

func (*ListUserReply) GetList

func (x *ListUserReply) GetList() []*ListUserReply_User

func (*ListUserReply) GetTotal

func (x *ListUserReply) GetTotal() uint32

func (*ListUserReply) ProtoMessage

func (*ListUserReply) ProtoMessage()

func (*ListUserReply) ProtoReflect

func (x *ListUserReply) ProtoReflect() protoreflect.Message

func (*ListUserReply) Reset

func (x *ListUserReply) Reset()

func (*ListUserReply) String

func (x *ListUserReply) String() string

func (*ListUserReply) Validate

func (m *ListUserReply) Validate() error

Validate checks the field values on ListUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserReply) ValidateAll

func (m *ListUserReply) ValidateAll() error

ValidateAll checks the field values on ListUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserReplyMultiError, or nil if none found.

type ListUserReplyMultiError

type ListUserReplyMultiError []error

ListUserReplyMultiError is an error wrapping multiple validation errors returned by ListUserReply.ValidateAll() if the designated constraints aren't met.

func (ListUserReplyMultiError) AllErrors

func (m ListUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserReplyMultiError) Error

func (m ListUserReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListUserReplyValidationError

type ListUserReplyValidationError struct {
	// contains filtered or unexported fields
}

ListUserReplyValidationError is the validation error returned by ListUserReply.Validate if the designated constraints aren't met.

func (ListUserReplyValidationError) Cause

Cause function returns cause value.

func (ListUserReplyValidationError) Error

Error satisfies the builtin error interface

func (ListUserReplyValidationError) ErrorName

func (e ListUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListUserReplyValidationError) Field

Field function returns field value.

func (ListUserReplyValidationError) Key

Key function returns key value.

func (ListUserReplyValidationError) Reason

Reason function returns reason value.

type ListUserReply_User

type ListUserReply_User struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Phone       *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email       *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Username    *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
	NickName    string  `protobuf:"bytes,5,opt,name=nickName,proto3" json:"nickName,omitempty"`
	RealName    *string `protobuf:"bytes,6,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Avatar      *string `protobuf:"bytes,7,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	AvatarUrl   *string `protobuf:"bytes,8,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
	Gender      *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	Status      *bool   `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
	DisableDesc *string `protobuf:"bytes,11,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
	From        string  `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"`
	FromDesc    string  `protobuf:"bytes,13,opt,name=fromDesc,proto3" json:"fromDesc,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserReply_User) Descriptor deprecated

func (*ListUserReply_User) Descriptor() ([]byte, []int)

Deprecated: Use ListUserReply_User.ProtoReflect.Descriptor instead.

func (*ListUserReply_User) GetAvatar

func (x *ListUserReply_User) GetAvatar() string

func (*ListUserReply_User) GetAvatarUrl

func (x *ListUserReply_User) GetAvatarUrl() string

func (*ListUserReply_User) GetCreatedAt

func (x *ListUserReply_User) GetCreatedAt() uint32

func (*ListUserReply_User) GetDisableDesc

func (x *ListUserReply_User) GetDisableDesc() string

func (*ListUserReply_User) GetEmail

func (x *ListUserReply_User) GetEmail() string

func (*ListUserReply_User) GetFrom

func (x *ListUserReply_User) GetFrom() string

func (*ListUserReply_User) GetFromDesc

func (x *ListUserReply_User) GetFromDesc() string

func (*ListUserReply_User) GetGender

func (x *ListUserReply_User) GetGender() string

func (*ListUserReply_User) GetId

func (x *ListUserReply_User) GetId() uint32

func (*ListUserReply_User) GetNickName

func (x *ListUserReply_User) GetNickName() string

func (*ListUserReply_User) GetPhone

func (x *ListUserReply_User) GetPhone() string

func (*ListUserReply_User) GetRealName

func (x *ListUserReply_User) GetRealName() string

func (*ListUserReply_User) GetStatus

func (x *ListUserReply_User) GetStatus() bool

func (*ListUserReply_User) GetUpdatedAt

func (x *ListUserReply_User) GetUpdatedAt() uint32

func (*ListUserReply_User) GetUsername

func (x *ListUserReply_User) GetUsername() string

func (*ListUserReply_User) ProtoMessage

func (*ListUserReply_User) ProtoMessage()

func (*ListUserReply_User) ProtoReflect

func (x *ListUserReply_User) ProtoReflect() protoreflect.Message

func (*ListUserReply_User) Reset

func (x *ListUserReply_User) Reset()

func (*ListUserReply_User) String

func (x *ListUserReply_User) String() string

func (*ListUserReply_User) Validate

func (m *ListUserReply_User) Validate() error

Validate checks the field values on ListUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserReply_User) ValidateAll

func (m *ListUserReply_User) ValidateAll() error

ValidateAll checks the field values on ListUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserReply_UserMultiError, or nil if none found.

type ListUserReply_UserMultiError

type ListUserReply_UserMultiError []error

ListUserReply_UserMultiError is an error wrapping multiple validation errors returned by ListUserReply_User.ValidateAll() if the designated constraints aren't met.

func (ListUserReply_UserMultiError) AllErrors

func (m ListUserReply_UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserReply_UserMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserReply_UserValidationError

type ListUserReply_UserValidationError struct {
	// contains filtered or unexported fields
}

ListUserReply_UserValidationError is the validation error returned by ListUserReply_User.Validate if the designated constraints aren't met.

func (ListUserReply_UserValidationError) Cause

Cause function returns cause value.

func (ListUserReply_UserValidationError) Error

Error satisfies the builtin error interface

func (ListUserReply_UserValidationError) ErrorName

ErrorName returns error name.

func (ListUserReply_UserValidationError) Field

Field function returns field value.

func (ListUserReply_UserValidationError) Key

Key function returns key value.

func (ListUserReply_UserValidationError) Reason

Reason function returns reason value.

type ListUserRequest

type ListUserRequest struct {
	Page       uint32   `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   uint32   `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order      *string  `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
	OrderBy    *string  `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
	Phone      *string  `protobuf:"bytes,5,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email      *string  `protobuf:"bytes,6,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Username   *string  `protobuf:"bytes,7,opt,name=username,proto3,oneof" json:"username,omitempty"`
	RealName   *string  `protobuf:"bytes,8,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Gender     *string  `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	Status     *bool    `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
	From       *string  `protobuf:"bytes,11,opt,name=from,proto3,oneof" json:"from,omitempty"`
	CreatedAts []uint32 `protobuf:"varint,12,rep,packed,name=createdAts,proto3" json:"createdAts,omitempty"`
	AppId      *uint32  `protobuf:"varint,13,opt,name=appId,proto3,oneof" json:"appId,omitempty"`
	App        *string  `protobuf:"bytes,14,opt,name=app,proto3,oneof" json:"app,omitempty"`
	InIds      []uint32 `protobuf:"varint,15,rep,packed,name=inIds,proto3" json:"inIds,omitempty"`
	NotInIds   []uint32 `protobuf:"varint,16,rep,packed,name=notInIds,proto3" json:"notInIds,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRequest) Descriptor deprecated

func (*ListUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.

func (*ListUserRequest) GetApp

func (x *ListUserRequest) GetApp() string

func (*ListUserRequest) GetAppId

func (x *ListUserRequest) GetAppId() uint32

func (*ListUserRequest) GetCreatedAts

func (x *ListUserRequest) GetCreatedAts() []uint32

func (*ListUserRequest) GetEmail

func (x *ListUserRequest) GetEmail() string

func (*ListUserRequest) GetFrom

func (x *ListUserRequest) GetFrom() string

func (*ListUserRequest) GetGender

func (x *ListUserRequest) GetGender() string

func (*ListUserRequest) GetInIds

func (x *ListUserRequest) GetInIds() []uint32

func (*ListUserRequest) GetNotInIds

func (x *ListUserRequest) GetNotInIds() []uint32

func (*ListUserRequest) GetOrder

func (x *ListUserRequest) GetOrder() string

func (*ListUserRequest) GetOrderBy

func (x *ListUserRequest) GetOrderBy() string

func (*ListUserRequest) GetPage

func (x *ListUserRequest) GetPage() uint32

func (*ListUserRequest) GetPageSize

func (x *ListUserRequest) GetPageSize() uint32

func (*ListUserRequest) GetPhone

func (x *ListUserRequest) GetPhone() string

func (*ListUserRequest) GetRealName

func (x *ListUserRequest) GetRealName() string

func (*ListUserRequest) GetStatus

func (x *ListUserRequest) GetStatus() bool

func (*ListUserRequest) GetUsername

func (x *ListUserRequest) GetUsername() string

func (*ListUserRequest) ProtoMessage

func (*ListUserRequest) ProtoMessage()

func (*ListUserRequest) ProtoReflect

func (x *ListUserRequest) ProtoReflect() protoreflect.Message

func (*ListUserRequest) Reset

func (x *ListUserRequest) Reset()

func (*ListUserRequest) String

func (x *ListUserRequest) String() string

func (*ListUserRequest) Validate

func (m *ListUserRequest) Validate() error

Validate checks the field values on ListUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListUserRequest) ValidateAll

func (m *ListUserRequest) ValidateAll() error

ValidateAll checks the field values on ListUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserRequestMultiError, or nil if none found.

type ListUserRequestMultiError

type ListUserRequestMultiError []error

ListUserRequestMultiError is an error wrapping multiple validation errors returned by ListUserRequest.ValidateAll() if the designated constraints aren't met.

func (ListUserRequestMultiError) AllErrors

func (m ListUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListUserRequestValidationError

type ListUserRequestValidationError struct {
	// contains filtered or unexported fields
}

ListUserRequestValidationError is the validation error returned by ListUserRequest.Validate if the designated constraints aren't met.

func (ListUserRequestValidationError) Cause

Cause function returns cause value.

func (ListUserRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserRequestValidationError) ErrorName

func (e ListUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListUserRequestValidationError) Field

Field function returns field value.

func (ListUserRequestValidationError) Key

Key function returns key value.

func (ListUserRequestValidationError) Reason

Reason function returns reason value.

type RevertTrashUserReply

type RevertTrashUserReply struct {
	// contains filtered or unexported fields
}

func (*RevertTrashUserReply) Descriptor deprecated

func (*RevertTrashUserReply) Descriptor() ([]byte, []int)

Deprecated: Use RevertTrashUserReply.ProtoReflect.Descriptor instead.

func (*RevertTrashUserReply) ProtoMessage

func (*RevertTrashUserReply) ProtoMessage()

func (*RevertTrashUserReply) ProtoReflect

func (x *RevertTrashUserReply) ProtoReflect() protoreflect.Message

func (*RevertTrashUserReply) Reset

func (x *RevertTrashUserReply) Reset()

func (*RevertTrashUserReply) String

func (x *RevertTrashUserReply) String() string

func (*RevertTrashUserReply) Validate

func (m *RevertTrashUserReply) Validate() error

Validate checks the field values on RevertTrashUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RevertTrashUserReply) ValidateAll

func (m *RevertTrashUserReply) ValidateAll() error

ValidateAll checks the field values on RevertTrashUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RevertTrashUserReplyMultiError, or nil if none found.

type RevertTrashUserReplyMultiError

type RevertTrashUserReplyMultiError []error

RevertTrashUserReplyMultiError is an error wrapping multiple validation errors returned by RevertTrashUserReply.ValidateAll() if the designated constraints aren't met.

func (RevertTrashUserReplyMultiError) AllErrors

func (m RevertTrashUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RevertTrashUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RevertTrashUserReplyValidationError

type RevertTrashUserReplyValidationError struct {
	// contains filtered or unexported fields
}

RevertTrashUserReplyValidationError is the validation error returned by RevertTrashUserReply.Validate if the designated constraints aren't met.

func (RevertTrashUserReplyValidationError) Cause

Cause function returns cause value.

func (RevertTrashUserReplyValidationError) Error

Error satisfies the builtin error interface

func (RevertTrashUserReplyValidationError) ErrorName

ErrorName returns error name.

func (RevertTrashUserReplyValidationError) Field

Field function returns field value.

func (RevertTrashUserReplyValidationError) Key

Key function returns key value.

func (RevertTrashUserReplyValidationError) Reason

Reason function returns reason value.

type RevertTrashUserRequest

type RevertTrashUserRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevertTrashUserRequest) Descriptor deprecated

func (*RevertTrashUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevertTrashUserRequest.ProtoReflect.Descriptor instead.

func (*RevertTrashUserRequest) GetId

func (x *RevertTrashUserRequest) GetId() uint32

func (*RevertTrashUserRequest) ProtoMessage

func (*RevertTrashUserRequest) ProtoMessage()

func (*RevertTrashUserRequest) ProtoReflect

func (x *RevertTrashUserRequest) ProtoReflect() protoreflect.Message

func (*RevertTrashUserRequest) Reset

func (x *RevertTrashUserRequest) Reset()

func (*RevertTrashUserRequest) String

func (x *RevertTrashUserRequest) String() string

func (*RevertTrashUserRequest) Validate

func (m *RevertTrashUserRequest) Validate() error

Validate checks the field values on RevertTrashUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RevertTrashUserRequest) ValidateAll

func (m *RevertTrashUserRequest) ValidateAll() error

ValidateAll checks the field values on RevertTrashUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RevertTrashUserRequestMultiError, or nil if none found.

type RevertTrashUserRequestMultiError

type RevertTrashUserRequestMultiError []error

RevertTrashUserRequestMultiError is an error wrapping multiple validation errors returned by RevertTrashUserRequest.ValidateAll() if the designated constraints aren't met.

func (RevertTrashUserRequestMultiError) AllErrors

func (m RevertTrashUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RevertTrashUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RevertTrashUserRequestValidationError

type RevertTrashUserRequestValidationError struct {
	// contains filtered or unexported fields
}

RevertTrashUserRequestValidationError is the validation error returned by RevertTrashUserRequest.Validate if the designated constraints aren't met.

func (RevertTrashUserRequestValidationError) Cause

Cause function returns cause value.

func (RevertTrashUserRequestValidationError) Error

Error satisfies the builtin error interface

func (RevertTrashUserRequestValidationError) ErrorName

ErrorName returns error name.

func (RevertTrashUserRequestValidationError) Field

Field function returns field value.

func (RevertTrashUserRequestValidationError) Key

Key function returns key value.

func (RevertTrashUserRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedUserServer

type UnimplementedUserServer struct {
}

UnimplementedUserServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServer) CreateUser

func (UnimplementedUserServer) ExportUser

func (UnimplementedUserServer) GetCurrentUser

func (UnimplementedUserServer) GetUser

func (UnimplementedUserServer) ImportUser

func (UnimplementedUserServer) ListUser

func (UnimplementedUserServer) UpdateCurrentUser

func (UnimplementedUserServer) UpdateUser

func (UnimplementedUserServer) UpdateUserStatus

type UnsafeUserServer

type UnsafeUserServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.

type UpdateCurrentUserReply

type UpdateCurrentUserReply struct {
	// contains filtered or unexported fields
}

func (*UpdateCurrentUserReply) Descriptor deprecated

func (*UpdateCurrentUserReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCurrentUserReply.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserReply) ProtoMessage

func (*UpdateCurrentUserReply) ProtoMessage()

func (*UpdateCurrentUserReply) ProtoReflect

func (x *UpdateCurrentUserReply) ProtoReflect() protoreflect.Message

func (*UpdateCurrentUserReply) Reset

func (x *UpdateCurrentUserReply) Reset()

func (*UpdateCurrentUserReply) String

func (x *UpdateCurrentUserReply) String() string

func (*UpdateCurrentUserReply) Validate

func (m *UpdateCurrentUserReply) Validate() error

Validate checks the field values on UpdateCurrentUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateCurrentUserReply) ValidateAll

func (m *UpdateCurrentUserReply) ValidateAll() error

ValidateAll checks the field values on UpdateCurrentUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserReplyMultiError, or nil if none found.

type UpdateCurrentUserReplyMultiError

type UpdateCurrentUserReplyMultiError []error

UpdateCurrentUserReplyMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserReply.ValidateAll() if the designated constraints aren't met.

func (UpdateCurrentUserReplyMultiError) AllErrors

func (m UpdateCurrentUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateCurrentUserReplyValidationError

type UpdateCurrentUserReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdateCurrentUserReplyValidationError is the validation error returned by UpdateCurrentUserReply.Validate if the designated constraints aren't met.

func (UpdateCurrentUserReplyValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserReplyValidationError) Field

Field function returns field value.

func (UpdateCurrentUserReplyValidationError) Key

Key function returns key value.

func (UpdateCurrentUserReplyValidationError) Reason

Reason function returns reason value.

type UpdateCurrentUserRequest

type UpdateCurrentUserRequest struct {
	NickName string `protobuf:"bytes,1,opt,name=nickName,proto3" json:"nickName,omitempty"`
	Avatar   string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Gender   string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCurrentUserRequest) Descriptor deprecated

func (*UpdateCurrentUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCurrentUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserRequest) GetAvatar

func (x *UpdateCurrentUserRequest) GetAvatar() string

func (*UpdateCurrentUserRequest) GetGender

func (x *UpdateCurrentUserRequest) GetGender() string

func (*UpdateCurrentUserRequest) GetNickName

func (x *UpdateCurrentUserRequest) GetNickName() string

func (*UpdateCurrentUserRequest) ProtoMessage

func (*UpdateCurrentUserRequest) ProtoMessage()

func (*UpdateCurrentUserRequest) ProtoReflect

func (x *UpdateCurrentUserRequest) ProtoReflect() protoreflect.Message

func (*UpdateCurrentUserRequest) Reset

func (x *UpdateCurrentUserRequest) Reset()

func (*UpdateCurrentUserRequest) String

func (x *UpdateCurrentUserRequest) String() string

func (*UpdateCurrentUserRequest) Validate

func (m *UpdateCurrentUserRequest) Validate() error

Validate checks the field values on UpdateCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateCurrentUserRequest) ValidateAll

func (m *UpdateCurrentUserRequest) ValidateAll() error

ValidateAll checks the field values on UpdateCurrentUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCurrentUserRequestMultiError, or nil if none found.

type UpdateCurrentUserRequestMultiError

type UpdateCurrentUserRequestMultiError []error

UpdateCurrentUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateCurrentUserRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateCurrentUserRequestMultiError) AllErrors

func (m UpdateCurrentUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateCurrentUserRequestValidationError

type UpdateCurrentUserRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateCurrentUserRequestValidationError is the validation error returned by UpdateCurrentUserRequest.Validate if the designated constraints aren't met.

func (UpdateCurrentUserRequestValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserRequestValidationError) Field

Field function returns field value.

func (UpdateCurrentUserRequestValidationError) Key

Key function returns key value.

func (UpdateCurrentUserRequestValidationError) Reason

Reason function returns reason value.

type UpdateUserReply

type UpdateUserReply struct {
	// contains filtered or unexported fields
}

func (*UpdateUserReply) Descriptor deprecated

func (*UpdateUserReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserReply.ProtoReflect.Descriptor instead.

func (*UpdateUserReply) ProtoMessage

func (*UpdateUserReply) ProtoMessage()

func (*UpdateUserReply) ProtoReflect

func (x *UpdateUserReply) ProtoReflect() protoreflect.Message

func (*UpdateUserReply) Reset

func (x *UpdateUserReply) Reset()

func (*UpdateUserReply) String

func (x *UpdateUserReply) String() string

func (*UpdateUserReply) Validate

func (m *UpdateUserReply) Validate() error

Validate checks the field values on UpdateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserReply) ValidateAll

func (m *UpdateUserReply) ValidateAll() error

ValidateAll checks the field values on UpdateUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserReplyMultiError, or nil if none found.

type UpdateUserReplyMultiError

type UpdateUserReplyMultiError []error

UpdateUserReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserReply.ValidateAll() if the designated constraints aren't met.

func (UpdateUserReplyMultiError) AllErrors

func (m UpdateUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserReplyValidationError

type UpdateUserReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserReplyValidationError is the validation error returned by UpdateUserReply.Validate if the designated constraints aren't met.

func (UpdateUserReplyValidationError) Cause

Cause function returns cause value.

func (UpdateUserReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserReplyValidationError) ErrorName

func (e UpdateUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateUserReplyValidationError) Field

Field function returns field value.

func (UpdateUserReplyValidationError) Key

Key function returns key value.

func (UpdateUserReplyValidationError) Reason

Reason function returns reason value.

type UpdateUserRequest

type UpdateUserRequest struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Phone       *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email       *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Username    *string `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
	Password    *string `protobuf:"bytes,5,opt,name=password,proto3,oneof" json:"password,omitempty"`
	NickName    string  `protobuf:"bytes,6,opt,name=nickName,proto3" json:"nickName,omitempty"`
	RealName    *string `protobuf:"bytes,7,opt,name=realName,proto3,oneof" json:"realName,omitempty"`
	Avatar      *string `protobuf:"bytes,8,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	Gender      *string `protobuf:"bytes,9,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
	DisableDesc *string `protobuf:"bytes,10,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

func (*UpdateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetAvatar

func (x *UpdateUserRequest) GetAvatar() string

func (*UpdateUserRequest) GetDisableDesc

func (x *UpdateUserRequest) GetDisableDesc() string

func (*UpdateUserRequest) GetEmail

func (x *UpdateUserRequest) GetEmail() string

func (*UpdateUserRequest) GetGender

func (x *UpdateUserRequest) GetGender() string

func (*UpdateUserRequest) GetId

func (x *UpdateUserRequest) GetId() uint32

func (*UpdateUserRequest) GetNickName

func (x *UpdateUserRequest) GetNickName() string

func (*UpdateUserRequest) GetPassword

func (x *UpdateUserRequest) GetPassword() string

func (*UpdateUserRequest) GetPhone

func (x *UpdateUserRequest) GetPhone() string

func (*UpdateUserRequest) GetRealName

func (x *UpdateUserRequest) GetRealName() string

func (*UpdateUserRequest) GetUsername

func (x *UpdateUserRequest) GetUsername() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

func (*UpdateUserRequest) Validate

func (m *UpdateUserRequest) Validate() error

Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserRequest) ValidateAll

func (m *UpdateUserRequest) ValidateAll() error

ValidateAll checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserRequestMultiError, or nil if none found.

type UpdateUserRequestMultiError

type UpdateUserRequestMultiError []error

UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateUserRequestMultiError) AllErrors

func (m UpdateUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserRequestValidationError

type UpdateUserRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.

func (UpdateUserRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserRequestValidationError) Field

Field function returns field value.

func (UpdateUserRequestValidationError) Key

Key function returns key value.

func (UpdateUserRequestValidationError) Reason

Reason function returns reason value.

type UpdateUserStatusReply

type UpdateUserStatusReply struct {
	// contains filtered or unexported fields
}

func (*UpdateUserStatusReply) Descriptor deprecated

func (*UpdateUserStatusReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserStatusReply.ProtoReflect.Descriptor instead.

func (*UpdateUserStatusReply) ProtoMessage

func (*UpdateUserStatusReply) ProtoMessage()

func (*UpdateUserStatusReply) ProtoReflect

func (x *UpdateUserStatusReply) ProtoReflect() protoreflect.Message

func (*UpdateUserStatusReply) Reset

func (x *UpdateUserStatusReply) Reset()

func (*UpdateUserStatusReply) String

func (x *UpdateUserStatusReply) String() string

func (*UpdateUserStatusReply) Validate

func (m *UpdateUserStatusReply) Validate() error

Validate checks the field values on UpdateUserStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserStatusReply) ValidateAll

func (m *UpdateUserStatusReply) ValidateAll() error

ValidateAll checks the field values on UpdateUserStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserStatusReplyMultiError, or nil if none found.

type UpdateUserStatusReplyMultiError

type UpdateUserStatusReplyMultiError []error

UpdateUserStatusReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserStatusReply.ValidateAll() if the designated constraints aren't met.

func (UpdateUserStatusReplyMultiError) AllErrors

func (m UpdateUserStatusReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserStatusReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserStatusReplyValidationError

type UpdateUserStatusReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserStatusReplyValidationError is the validation error returned by UpdateUserStatusReply.Validate if the designated constraints aren't met.

func (UpdateUserStatusReplyValidationError) Cause

Cause function returns cause value.

func (UpdateUserStatusReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserStatusReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserStatusReplyValidationError) Field

Field function returns field value.

func (UpdateUserStatusReplyValidationError) Key

Key function returns key value.

func (UpdateUserStatusReplyValidationError) Reason

Reason function returns reason value.

type UpdateUserStatusRequest

type UpdateUserStatusRequest struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Status      bool    `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	DisableDesc *string `protobuf:"bytes,3,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserStatusRequest) Descriptor deprecated

func (*UpdateUserStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserStatusRequest) GetDisableDesc

func (x *UpdateUserStatusRequest) GetDisableDesc() string

func (*UpdateUserStatusRequest) GetId

func (x *UpdateUserStatusRequest) GetId() uint32

func (*UpdateUserStatusRequest) GetStatus

func (x *UpdateUserStatusRequest) GetStatus() bool

func (*UpdateUserStatusRequest) ProtoMessage

func (*UpdateUserStatusRequest) ProtoMessage()

func (*UpdateUserStatusRequest) ProtoReflect

func (x *UpdateUserStatusRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserStatusRequest) Reset

func (x *UpdateUserStatusRequest) Reset()

func (*UpdateUserStatusRequest) String

func (x *UpdateUserStatusRequest) String() string

func (*UpdateUserStatusRequest) Validate

func (m *UpdateUserStatusRequest) Validate() error

Validate checks the field values on UpdateUserStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateUserStatusRequest) ValidateAll

func (m *UpdateUserStatusRequest) ValidateAll() error

ValidateAll checks the field values on UpdateUserStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserStatusRequestMultiError, or nil if none found.

type UpdateUserStatusRequestMultiError

type UpdateUserStatusRequestMultiError []error

UpdateUserStatusRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserStatusRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateUserStatusRequestMultiError) AllErrors

func (m UpdateUserStatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserStatusRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateUserStatusRequestValidationError

type UpdateUserStatusRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateUserStatusRequestValidationError is the validation error returned by UpdateUserStatusRequest.Validate if the designated constraints aren't met.

func (UpdateUserStatusRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserStatusRequestValidationError) Field

Field function returns field value.

func (UpdateUserStatusRequestValidationError) Key

Key function returns key value.

func (UpdateUserStatusRequestValidationError) Reason

Reason function returns reason value.

type UserClient

type UserClient interface {
	// GetUser 获取当前的用户信息
	GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...grpc.CallOption) (*GetCurrentUserReply, error)
	// UpdateCurrentUser 更新当前的用户信息
	UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...grpc.CallOption) (*UpdateCurrentUserReply, error)
	// GetUser 获取指定的用户信息
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserReply, error)
	// ListUser 获取用户信息列表
	ListUser(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (*ListUserReply, error)
	// CreateUser 创建用户信息
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserReply, error)
	// ImportUser 导入用户信息
	ImportUser(ctx context.Context, in *ImportUserRequest, opts ...grpc.CallOption) (*ImportUserReply, error)
	// ExportUser 导出用户信息
	ExportUser(ctx context.Context, in *ExportUserRequest, opts ...grpc.CallOption) (*ExportUserReply, error)
	// UpdateUser 更新用户信息
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserReply, error)
	// UpdateUserStatus 更新用户信息状态
	UpdateUserStatus(ctx context.Context, in *UpdateUserStatusRequest, opts ...grpc.CallOption) (*UpdateUserStatusReply, error)
}

UserClient is the client API for User service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserHTTPClient

type UserHTTPClient interface {
	CreateUser(ctx context.Context, req *CreateUserRequest, opts ...http.CallOption) (rsp *CreateUserReply, err error)
	ExportUser(ctx context.Context, req *ExportUserRequest, opts ...http.CallOption) (rsp *ExportUserReply, err error)
	GetCurrentUser(ctx context.Context, req *GetCurrentUserRequest, opts ...http.CallOption) (rsp *GetCurrentUserReply, err error)
	GetUser(ctx context.Context, req *GetUserRequest, opts ...http.CallOption) (rsp *GetUserReply, err error)
	ImportUser(ctx context.Context, req *ImportUserRequest, opts ...http.CallOption) (rsp *ImportUserReply, err error)
	ListUser(ctx context.Context, req *ListUserRequest, opts ...http.CallOption) (rsp *ListUserReply, err error)
	UpdateCurrentUser(ctx context.Context, req *UpdateCurrentUserRequest, opts ...http.CallOption) (rsp *UpdateCurrentUserReply, err error)
	UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *UpdateUserReply, err error)
	UpdateUserStatus(ctx context.Context, req *UpdateUserStatusRequest, opts ...http.CallOption) (rsp *UpdateUserStatusReply, err error)
}

func NewUserHTTPClient

func NewUserHTTPClient(client *http.Client) UserHTTPClient

type UserHTTPClientImpl

type UserHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*UserHTTPClientImpl) CreateUser

func (*UserHTTPClientImpl) ExportUser

func (*UserHTTPClientImpl) GetCurrentUser

func (*UserHTTPClientImpl) GetUser

func (*UserHTTPClientImpl) ImportUser

func (*UserHTTPClientImpl) ListUser

func (*UserHTTPClientImpl) UpdateCurrentUser

func (*UserHTTPClientImpl) UpdateUser

func (*UserHTTPClientImpl) UpdateUserStatus

type UserHTTPServer

type UserHTTPServer interface {
	// CreateUser CreateUser 创建用户信息
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
	// ExportUser ExportUser 导出用户信息
	ExportUser(context.Context, *ExportUserRequest) (*ExportUserReply, error)
	// GetCurrentUser GetUser 获取当前的用户信息
	GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserReply, error)
	// GetUser GetUser 获取指定的用户信息
	GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
	// ImportUser ImportUser 导入用户信息
	ImportUser(context.Context, *ImportUserRequest) (*ImportUserReply, error)
	// ListUser ListUser 获取用户信息列表
	ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
	// UpdateCurrentUser UpdateCurrentUser 更新当前的用户信息
	UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error)
	// UpdateUser UpdateUser 更新用户信息
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
	// UpdateUserStatus UpdateUserStatus 更新用户信息状态
	UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error)
}

type UserServer

type UserServer interface {
	// GetUser 获取当前的用户信息
	GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserReply, error)
	// UpdateCurrentUser 更新当前的用户信息
	UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error)
	// GetUser 获取指定的用户信息
	GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
	// ListUser 获取用户信息列表
	ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
	// CreateUser 创建用户信息
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
	// ImportUser 导入用户信息
	ImportUser(context.Context, *ImportUserRequest) (*ImportUserReply, error)
	// ExportUser 导出用户信息
	ExportUser(context.Context, *ExportUserRequest) (*ExportUserReply, error)
	// UpdateUser 更新用户信息
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
	// UpdateUserStatus 更新用户信息状态
	UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error)
	// contains filtered or unexported methods
}

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL