dept

package
v0.0.0-...-d36d6b6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Dept_ListDeptClassify_FullMethodName   = "/manager.api.dept.Dept/ListDeptClassify"
	Dept_CreateDeptClassify_FullMethodName = "/manager.api.dept.Dept/CreateDeptClassify"
	Dept_UpdateDeptClassify_FullMethodName = "/manager.api.dept.Dept/UpdateDeptClassify"
	Dept_DeleteDeptClassify_FullMethodName = "/manager.api.dept.Dept/DeleteDeptClassify"
	Dept_ListCurrentDept_FullMethodName    = "/manager.api.dept.Dept/ListCurrentDept"
	Dept_ListDept_FullMethodName           = "/manager.api.dept.Dept/ListDept"
	Dept_CreateDept_FullMethodName         = "/manager.api.dept.Dept/CreateDept"
	Dept_UpdateDept_FullMethodName         = "/manager.api.dept.Dept/UpdateDept"
	Dept_DeleteDept_FullMethodName         = "/manager.api.dept.Dept/DeleteDept"
	Dept_GetDept_FullMethodName            = "/manager.api.dept.Dept/GetDept"
)
View Source
const (
	OperationDeptCreateDept         = "/manager.api.dept.Dept/CreateDept"
	OperationDeptCreateDeptClassify = "/manager.api.dept.Dept/CreateDeptClassify"
	OperationDeptDeleteDept         = "/manager.api.dept.Dept/DeleteDept"
	OperationDeptDeleteDeptClassify = "/manager.api.dept.Dept/DeleteDeptClassify"
	OperationDeptGetDept            = "/manager.api.dept.Dept/GetDept"
	OperationDeptListCurrentDept    = "/manager.api.dept.Dept/ListCurrentDept"
	OperationDeptListDept           = "/manager.api.dept.Dept/ListDept"
	OperationDeptListDeptClassify   = "/manager.api.dept.Dept/ListDeptClassify"
	OperationDeptUpdateDept         = "/manager.api.dept.Dept/UpdateDept"
	OperationDeptUpdateDeptClassify = "/manager.api.dept.Dept/UpdateDeptClassify"
)

Variables

View Source
var Dept_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "manager.api.dept.Dept",
	HandlerType: (*DeptServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListDeptClassify",
			Handler:    _Dept_ListDeptClassify_Handler,
		},
		{
			MethodName: "CreateDeptClassify",
			Handler:    _Dept_CreateDeptClassify_Handler,
		},
		{
			MethodName: "UpdateDeptClassify",
			Handler:    _Dept_UpdateDeptClassify_Handler,
		},
		{
			MethodName: "DeleteDeptClassify",
			Handler:    _Dept_DeleteDeptClassify_Handler,
		},
		{
			MethodName: "ListCurrentDept",
			Handler:    _Dept_ListCurrentDept_Handler,
		},
		{
			MethodName: "ListDept",
			Handler:    _Dept_ListDept_Handler,
		},
		{
			MethodName: "CreateDept",
			Handler:    _Dept_CreateDept_Handler,
		},
		{
			MethodName: "UpdateDept",
			Handler:    _Dept_UpdateDept_Handler,
		},
		{
			MethodName: "DeleteDept",
			Handler:    _Dept_DeleteDept_Handler,
		},
		{
			MethodName: "GetDept",
			Handler:    _Dept_GetDept_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/dept/proto/dept_service.proto",
}

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

View Source
var File_api_dept_proto_dept_proto protoreflect.FileDescriptor
View Source
var File_api_dept_proto_dept_service_proto protoreflect.FileDescriptor

Functions

func RegisterDeptHTTPServer

func RegisterDeptHTTPServer(s *http.Server, srv DeptHTTPServer)

func RegisterDeptServer

func RegisterDeptServer(s grpc.ServiceRegistrar, srv DeptServer)

Types

type CreateDeptClassifyReply

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

func (*CreateDeptClassifyReply) Descriptor deprecated

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

Deprecated: Use CreateDeptClassifyReply.ProtoReflect.Descriptor instead.

func (*CreateDeptClassifyReply) GetId

func (x *CreateDeptClassifyReply) GetId() uint32

func (*CreateDeptClassifyReply) ProtoMessage

func (*CreateDeptClassifyReply) ProtoMessage()

func (*CreateDeptClassifyReply) ProtoReflect

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

func (*CreateDeptClassifyReply) Reset

func (x *CreateDeptClassifyReply) Reset()

func (*CreateDeptClassifyReply) String

func (x *CreateDeptClassifyReply) String() string

func (*CreateDeptClassifyReply) Validate

func (m *CreateDeptClassifyReply) Validate() error

Validate checks the field values on CreateDeptClassifyReply 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 (*CreateDeptClassifyReply) ValidateAll

func (m *CreateDeptClassifyReply) ValidateAll() error

ValidateAll checks the field values on CreateDeptClassifyReply 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 CreateDeptClassifyReplyMultiError, or nil if none found.

type CreateDeptClassifyReplyMultiError

type CreateDeptClassifyReplyMultiError []error

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

func (CreateDeptClassifyReplyMultiError) AllErrors

func (m CreateDeptClassifyReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateDeptClassifyReplyMultiError) Error

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

type CreateDeptClassifyReplyValidationError

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

CreateDeptClassifyReplyValidationError is the validation error returned by CreateDeptClassifyReply.Validate if the designated constraints aren't met.

func (CreateDeptClassifyReplyValidationError) Cause

Cause function returns cause value.

func (CreateDeptClassifyReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateDeptClassifyReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateDeptClassifyReplyValidationError) Field

Field function returns field value.

func (CreateDeptClassifyReplyValidationError) Key

Key function returns key value.

func (CreateDeptClassifyReplyValidationError) Reason

Reason function returns reason value.

type CreateDeptClassifyRequest

type CreateDeptClassifyRequest struct {
	Keyword     string  `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Weight      uint32  `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDeptClassifyRequest) Descriptor deprecated

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

Deprecated: Use CreateDeptClassifyRequest.ProtoReflect.Descriptor instead.

func (*CreateDeptClassifyRequest) GetDescription

func (x *CreateDeptClassifyRequest) GetDescription() string

func (*CreateDeptClassifyRequest) GetKeyword

func (x *CreateDeptClassifyRequest) GetKeyword() string

func (*CreateDeptClassifyRequest) GetName

func (x *CreateDeptClassifyRequest) GetName() string

func (*CreateDeptClassifyRequest) GetWeight

func (x *CreateDeptClassifyRequest) GetWeight() uint32

func (*CreateDeptClassifyRequest) ProtoMessage

func (*CreateDeptClassifyRequest) ProtoMessage()

func (*CreateDeptClassifyRequest) ProtoReflect

func (*CreateDeptClassifyRequest) Reset

func (x *CreateDeptClassifyRequest) Reset()

func (*CreateDeptClassifyRequest) String

func (x *CreateDeptClassifyRequest) String() string

func (*CreateDeptClassifyRequest) Validate

func (m *CreateDeptClassifyRequest) Validate() error

Validate checks the field values on CreateDeptClassifyRequest 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 (*CreateDeptClassifyRequest) ValidateAll

func (m *CreateDeptClassifyRequest) ValidateAll() error

ValidateAll checks the field values on CreateDeptClassifyRequest 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 CreateDeptClassifyRequestMultiError, or nil if none found.

type CreateDeptClassifyRequestMultiError

type CreateDeptClassifyRequestMultiError []error

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

func (CreateDeptClassifyRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateDeptClassifyRequestMultiError) Error

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

type CreateDeptClassifyRequestValidationError

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

CreateDeptClassifyRequestValidationError is the validation error returned by CreateDeptClassifyRequest.Validate if the designated constraints aren't met.

func (CreateDeptClassifyRequestValidationError) Cause

Cause function returns cause value.

func (CreateDeptClassifyRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateDeptClassifyRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateDeptClassifyRequestValidationError) Field

Field function returns field value.

func (CreateDeptClassifyRequestValidationError) Key

Key function returns key value.

func (CreateDeptClassifyRequestValidationError) Reason

Reason function returns reason value.

type CreateDeptReply

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

func (*CreateDeptReply) Descriptor deprecated

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

Deprecated: Use CreateDeptReply.ProtoReflect.Descriptor instead.

func (*CreateDeptReply) GetId

func (x *CreateDeptReply) GetId() uint32

func (*CreateDeptReply) ProtoMessage

func (*CreateDeptReply) ProtoMessage()

func (*CreateDeptReply) ProtoReflect

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

func (*CreateDeptReply) Reset

func (x *CreateDeptReply) Reset()

func (*CreateDeptReply) String

func (x *CreateDeptReply) String() string

func (*CreateDeptReply) Validate

func (m *CreateDeptReply) Validate() error

Validate checks the field values on CreateDeptReply 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 (*CreateDeptReply) ValidateAll

func (m *CreateDeptReply) ValidateAll() error

ValidateAll checks the field values on CreateDeptReply 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 CreateDeptReplyMultiError, or nil if none found.

type CreateDeptReplyMultiError

type CreateDeptReplyMultiError []error

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

func (CreateDeptReplyMultiError) AllErrors

func (m CreateDeptReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateDeptReplyMultiError) Error

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

type CreateDeptReplyValidationError

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

CreateDeptReplyValidationError is the validation error returned by CreateDeptReply.Validate if the designated constraints aren't met.

func (CreateDeptReplyValidationError) Cause

Cause function returns cause value.

func (CreateDeptReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateDeptReplyValidationError) ErrorName

func (e CreateDeptReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateDeptReplyValidationError) Field

Field function returns field value.

func (CreateDeptReplyValidationError) Key

Key function returns key value.

func (CreateDeptReplyValidationError) Reason

Reason function returns reason value.

type CreateDeptRequest

type CreateDeptRequest struct {
	ParentId    uint32 `protobuf:"varint,1,opt,name=parentId,proto3" json:"parentId,omitempty"`
	ClassifyId  uint32 `protobuf:"varint,2,opt,name=classifyId,proto3" json:"classifyId,omitempty"`
	Keyword     string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Name        string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDeptRequest) Descriptor deprecated

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

Deprecated: Use CreateDeptRequest.ProtoReflect.Descriptor instead.

func (*CreateDeptRequest) GetClassifyId

func (x *CreateDeptRequest) GetClassifyId() uint32

func (*CreateDeptRequest) GetDescription

func (x *CreateDeptRequest) GetDescription() string

func (*CreateDeptRequest) GetKeyword

func (x *CreateDeptRequest) GetKeyword() string
func (x *CreateDeptRequest) GetLogo() string

func (*CreateDeptRequest) GetName

func (x *CreateDeptRequest) GetName() string

func (*CreateDeptRequest) GetParentId

func (x *CreateDeptRequest) GetParentId() uint32

func (*CreateDeptRequest) ProtoMessage

func (*CreateDeptRequest) ProtoMessage()

func (*CreateDeptRequest) ProtoReflect

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

func (*CreateDeptRequest) Reset

func (x *CreateDeptRequest) Reset()

func (*CreateDeptRequest) String

func (x *CreateDeptRequest) String() string

func (*CreateDeptRequest) Validate

func (m *CreateDeptRequest) Validate() error

Validate checks the field values on CreateDeptRequest 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 (*CreateDeptRequest) ValidateAll

func (m *CreateDeptRequest) ValidateAll() error

ValidateAll checks the field values on CreateDeptRequest 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 CreateDeptRequestMultiError, or nil if none found.

type CreateDeptRequestMultiError

type CreateDeptRequestMultiError []error

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

func (CreateDeptRequestMultiError) AllErrors

func (m CreateDeptRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateDeptRequestMultiError) Error

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

type CreateDeptRequestValidationError

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

CreateDeptRequestValidationError is the validation error returned by CreateDeptRequest.Validate if the designated constraints aren't met.

func (CreateDeptRequestValidationError) Cause

Cause function returns cause value.

func (CreateDeptRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateDeptRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateDeptRequestValidationError) Field

Field function returns field value.

func (CreateDeptRequestValidationError) Key

Key function returns key value.

func (CreateDeptRequestValidationError) Reason

Reason function returns reason value.

type DeleteDeptClassifyReply

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

func (*DeleteDeptClassifyReply) Descriptor deprecated

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

Deprecated: Use DeleteDeptClassifyReply.ProtoReflect.Descriptor instead.

func (*DeleteDeptClassifyReply) ProtoMessage

func (*DeleteDeptClassifyReply) ProtoMessage()

func (*DeleteDeptClassifyReply) ProtoReflect

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

func (*DeleteDeptClassifyReply) Reset

func (x *DeleteDeptClassifyReply) Reset()

func (*DeleteDeptClassifyReply) String

func (x *DeleteDeptClassifyReply) String() string

func (*DeleteDeptClassifyReply) Validate

func (m *DeleteDeptClassifyReply) Validate() error

Validate checks the field values on DeleteDeptClassifyReply 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 (*DeleteDeptClassifyReply) ValidateAll

func (m *DeleteDeptClassifyReply) ValidateAll() error

ValidateAll checks the field values on DeleteDeptClassifyReply 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 DeleteDeptClassifyReplyMultiError, or nil if none found.

type DeleteDeptClassifyReplyMultiError

type DeleteDeptClassifyReplyMultiError []error

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

func (DeleteDeptClassifyReplyMultiError) AllErrors

func (m DeleteDeptClassifyReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteDeptClassifyReplyMultiError) Error

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

type DeleteDeptClassifyReplyValidationError

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

DeleteDeptClassifyReplyValidationError is the validation error returned by DeleteDeptClassifyReply.Validate if the designated constraints aren't met.

func (DeleteDeptClassifyReplyValidationError) Cause

Cause function returns cause value.

func (DeleteDeptClassifyReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteDeptClassifyReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteDeptClassifyReplyValidationError) Field

Field function returns field value.

func (DeleteDeptClassifyReplyValidationError) Key

Key function returns key value.

func (DeleteDeptClassifyReplyValidationError) Reason

Reason function returns reason value.

type DeleteDeptClassifyRequest

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

func (*DeleteDeptClassifyRequest) Descriptor deprecated

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

Deprecated: Use DeleteDeptClassifyRequest.ProtoReflect.Descriptor instead.

func (*DeleteDeptClassifyRequest) GetId

func (x *DeleteDeptClassifyRequest) GetId() uint32

func (*DeleteDeptClassifyRequest) ProtoMessage

func (*DeleteDeptClassifyRequest) ProtoMessage()

func (*DeleteDeptClassifyRequest) ProtoReflect

func (*DeleteDeptClassifyRequest) Reset

func (x *DeleteDeptClassifyRequest) Reset()

func (*DeleteDeptClassifyRequest) String

func (x *DeleteDeptClassifyRequest) String() string

func (*DeleteDeptClassifyRequest) Validate

func (m *DeleteDeptClassifyRequest) Validate() error

Validate checks the field values on DeleteDeptClassifyRequest 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 (*DeleteDeptClassifyRequest) ValidateAll

func (m *DeleteDeptClassifyRequest) ValidateAll() error

ValidateAll checks the field values on DeleteDeptClassifyRequest 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 DeleteDeptClassifyRequestMultiError, or nil if none found.

type DeleteDeptClassifyRequestMultiError

type DeleteDeptClassifyRequestMultiError []error

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

func (DeleteDeptClassifyRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteDeptClassifyRequestMultiError) Error

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

type DeleteDeptClassifyRequestValidationError

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

DeleteDeptClassifyRequestValidationError is the validation error returned by DeleteDeptClassifyRequest.Validate if the designated constraints aren't met.

func (DeleteDeptClassifyRequestValidationError) Cause

Cause function returns cause value.

func (DeleteDeptClassifyRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDeptClassifyRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDeptClassifyRequestValidationError) Field

Field function returns field value.

func (DeleteDeptClassifyRequestValidationError) Key

Key function returns key value.

func (DeleteDeptClassifyRequestValidationError) Reason

Reason function returns reason value.

type DeleteDeptReply

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

func (*DeleteDeptReply) Descriptor deprecated

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

Deprecated: Use DeleteDeptReply.ProtoReflect.Descriptor instead.

func (*DeleteDeptReply) ProtoMessage

func (*DeleteDeptReply) ProtoMessage()

func (*DeleteDeptReply) ProtoReflect

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

func (*DeleteDeptReply) Reset

func (x *DeleteDeptReply) Reset()

func (*DeleteDeptReply) String

func (x *DeleteDeptReply) String() string

func (*DeleteDeptReply) Validate

func (m *DeleteDeptReply) Validate() error

Validate checks the field values on DeleteDeptReply 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 (*DeleteDeptReply) ValidateAll

func (m *DeleteDeptReply) ValidateAll() error

ValidateAll checks the field values on DeleteDeptReply 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 DeleteDeptReplyMultiError, or nil if none found.

type DeleteDeptReplyMultiError

type DeleteDeptReplyMultiError []error

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

func (DeleteDeptReplyMultiError) AllErrors

func (m DeleteDeptReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteDeptReplyMultiError) Error

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

type DeleteDeptReplyValidationError

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

DeleteDeptReplyValidationError is the validation error returned by DeleteDeptReply.Validate if the designated constraints aren't met.

func (DeleteDeptReplyValidationError) Cause

Cause function returns cause value.

func (DeleteDeptReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteDeptReplyValidationError) ErrorName

func (e DeleteDeptReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteDeptReplyValidationError) Field

Field function returns field value.

func (DeleteDeptReplyValidationError) Key

Key function returns key value.

func (DeleteDeptReplyValidationError) Reason

Reason function returns reason value.

type DeleteDeptRequest

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

func (*DeleteDeptRequest) Descriptor deprecated

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

Deprecated: Use DeleteDeptRequest.ProtoReflect.Descriptor instead.

func (*DeleteDeptRequest) GetId

func (x *DeleteDeptRequest) GetId() uint32

func (*DeleteDeptRequest) ProtoMessage

func (*DeleteDeptRequest) ProtoMessage()

func (*DeleteDeptRequest) ProtoReflect

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

func (*DeleteDeptRequest) Reset

func (x *DeleteDeptRequest) Reset()

func (*DeleteDeptRequest) String

func (x *DeleteDeptRequest) String() string

func (*DeleteDeptRequest) Validate

func (m *DeleteDeptRequest) Validate() error

Validate checks the field values on DeleteDeptRequest 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 (*DeleteDeptRequest) ValidateAll

func (m *DeleteDeptRequest) ValidateAll() error

ValidateAll checks the field values on DeleteDeptRequest 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 DeleteDeptRequestMultiError, or nil if none found.

type DeleteDeptRequestMultiError

type DeleteDeptRequestMultiError []error

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

func (DeleteDeptRequestMultiError) AllErrors

func (m DeleteDeptRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteDeptRequestMultiError) Error

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

type DeleteDeptRequestValidationError

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

DeleteDeptRequestValidationError is the validation error returned by DeleteDeptRequest.Validate if the designated constraints aren't met.

func (DeleteDeptRequestValidationError) Cause

Cause function returns cause value.

func (DeleteDeptRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDeptRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDeptRequestValidationError) Field

Field function returns field value.

func (DeleteDeptRequestValidationError) Key

Key function returns key value.

func (DeleteDeptRequestValidationError) Reason

Reason function returns reason value.

type DeptClassify

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

func (*DeptClassify) Descriptor deprecated

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

Deprecated: Use DeptClassify.ProtoReflect.Descriptor instead.

func (*DeptClassify) GetId

func (x *DeptClassify) GetId() uint32

func (*DeptClassify) GetName

func (x *DeptClassify) GetName() string

func (*DeptClassify) ProtoMessage

func (*DeptClassify) ProtoMessage()

func (*DeptClassify) ProtoReflect

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

func (*DeptClassify) Reset

func (x *DeptClassify) Reset()

func (*DeptClassify) String

func (x *DeptClassify) String() string

func (*DeptClassify) Validate

func (m *DeptClassify) Validate() error

Validate checks the field values on DeptClassify 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 (*DeptClassify) ValidateAll

func (m *DeptClassify) ValidateAll() error

ValidateAll checks the field values on DeptClassify 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 DeptClassifyMultiError, or nil if none found.

type DeptClassifyMultiError

type DeptClassifyMultiError []error

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

func (DeptClassifyMultiError) AllErrors

func (m DeptClassifyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeptClassifyMultiError) Error

func (m DeptClassifyMultiError) Error() string

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

type DeptClassifyValidationError

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

DeptClassifyValidationError is the validation error returned by DeptClassify.Validate if the designated constraints aren't met.

func (DeptClassifyValidationError) Cause

Cause function returns cause value.

func (DeptClassifyValidationError) Error

Error satisfies the builtin error interface

func (DeptClassifyValidationError) ErrorName

func (e DeptClassifyValidationError) ErrorName() string

ErrorName returns error name.

func (DeptClassifyValidationError) Field

Field function returns field value.

func (DeptClassifyValidationError) Key

Key function returns key value.

func (DeptClassifyValidationError) Reason

Reason function returns reason value.

type DeptClient

type DeptClient interface {
	// ListDeptClassify 获取部门分类列表
	ListDeptClassify(ctx context.Context, in *ListDeptClassifyRequest, opts ...grpc.CallOption) (*ListDeptClassifyReply, error)
	// CreateDeptClassify 创建部门分类
	CreateDeptClassify(ctx context.Context, in *CreateDeptClassifyRequest, opts ...grpc.CallOption) (*CreateDeptClassifyReply, error)
	// UpdateDeptClassify 更新部门分类
	UpdateDeptClassify(ctx context.Context, in *UpdateDeptClassifyRequest, opts ...grpc.CallOption) (*UpdateDeptClassifyReply, error)
	// DeleteDeptClassify 删除部门分类
	DeleteDeptClassify(ctx context.Context, in *DeleteDeptClassifyRequest, opts ...grpc.CallOption) (*DeleteDeptClassifyReply, error)
	// ListCurrentDept 获取当前的部门信息列表
	ListCurrentDept(ctx context.Context, in *ListDeptRequest, opts ...grpc.CallOption) (*ListDeptReply, error)
	// ListDept 获取部门信息列表
	ListDept(ctx context.Context, in *ListDeptRequest, opts ...grpc.CallOption) (*ListDeptReply, error)
	// CreateDept 创建部门信息
	CreateDept(ctx context.Context, in *CreateDeptRequest, opts ...grpc.CallOption) (*CreateDeptReply, error)
	// UpdateDept 更新部门信息
	UpdateDept(ctx context.Context, in *UpdateDeptRequest, opts ...grpc.CallOption) (*UpdateDeptReply, error)
	// DeleteDept 删除部门信息
	DeleteDept(ctx context.Context, in *DeleteDeptRequest, opts ...grpc.CallOption) (*DeleteDeptReply, error)
	// GetDept 获取指定的部门信息
	GetDept(ctx context.Context, in *GetDeptRequest, opts ...grpc.CallOption) (*GetDeptReply, error)
}

DeptClient is the client API for Dept 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 NewDeptClient

func NewDeptClient(cc grpc.ClientConnInterface) DeptClient

type DeptHTTPClient

type DeptHTTPClient interface {
	CreateDept(ctx context.Context, req *CreateDeptRequest, opts ...http.CallOption) (rsp *CreateDeptReply, err error)
	CreateDeptClassify(ctx context.Context, req *CreateDeptClassifyRequest, opts ...http.CallOption) (rsp *CreateDeptClassifyReply, err error)
	DeleteDept(ctx context.Context, req *DeleteDeptRequest, opts ...http.CallOption) (rsp *DeleteDeptReply, err error)
	DeleteDeptClassify(ctx context.Context, req *DeleteDeptClassifyRequest, opts ...http.CallOption) (rsp *DeleteDeptClassifyReply, err error)
	GetDept(ctx context.Context, req *GetDeptRequest, opts ...http.CallOption) (rsp *GetDeptReply, err error)
	ListCurrentDept(ctx context.Context, req *ListDeptRequest, opts ...http.CallOption) (rsp *ListDeptReply, err error)
	ListDept(ctx context.Context, req *ListDeptRequest, opts ...http.CallOption) (rsp *ListDeptReply, err error)
	ListDeptClassify(ctx context.Context, req *ListDeptClassifyRequest, opts ...http.CallOption) (rsp *ListDeptClassifyReply, err error)
	UpdateDept(ctx context.Context, req *UpdateDeptRequest, opts ...http.CallOption) (rsp *UpdateDeptReply, err error)
	UpdateDeptClassify(ctx context.Context, req *UpdateDeptClassifyRequest, opts ...http.CallOption) (rsp *UpdateDeptClassifyReply, err error)
}

func NewDeptHTTPClient

func NewDeptHTTPClient(client *http.Client) DeptHTTPClient

type DeptHTTPClientImpl

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

func (*DeptHTTPClientImpl) CreateDept

func (*DeptHTTPClientImpl) CreateDeptClassify

func (*DeptHTTPClientImpl) DeleteDept

func (*DeptHTTPClientImpl) DeleteDeptClassify

func (*DeptHTTPClientImpl) GetDept

func (*DeptHTTPClientImpl) ListCurrentDept

func (c *DeptHTTPClientImpl) ListCurrentDept(ctx context.Context, in *ListDeptRequest, opts ...http.CallOption) (*ListDeptReply, error)

func (*DeptHTTPClientImpl) ListDept

func (*DeptHTTPClientImpl) ListDeptClassify

func (*DeptHTTPClientImpl) UpdateDept

func (*DeptHTTPClientImpl) UpdateDeptClassify

type DeptHTTPServer

type DeptHTTPServer interface {
	// CreateDept CreateDept 创建部门信息
	CreateDept(context.Context, *CreateDeptRequest) (*CreateDeptReply, error)
	// CreateDeptClassify CreateDeptClassify 创建部门分类
	CreateDeptClassify(context.Context, *CreateDeptClassifyRequest) (*CreateDeptClassifyReply, error)
	// DeleteDept DeleteDept 删除部门信息
	DeleteDept(context.Context, *DeleteDeptRequest) (*DeleteDeptReply, error)
	// DeleteDeptClassify DeleteDeptClassify 删除部门分类
	DeleteDeptClassify(context.Context, *DeleteDeptClassifyRequest) (*DeleteDeptClassifyReply, error)
	// GetDept GetDept 获取指定的部门信息
	GetDept(context.Context, *GetDeptRequest) (*GetDeptReply, error)
	// ListCurrentDept ListCurrentDept 获取当前的部门信息列表
	ListCurrentDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
	// ListDept ListDept 获取部门信息列表
	ListDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
	// ListDeptClassify ListDeptClassify 获取部门分类列表
	ListDeptClassify(context.Context, *ListDeptClassifyRequest) (*ListDeptClassifyReply, error)
	// UpdateDept UpdateDept 更新部门信息
	UpdateDept(context.Context, *UpdateDeptRequest) (*UpdateDeptReply, error)
	// UpdateDeptClassify UpdateDeptClassify 更新部门分类
	UpdateDeptClassify(context.Context, *UpdateDeptClassifyRequest) (*UpdateDeptClassifyReply, error)
}

type DeptServer

type DeptServer interface {
	// ListDeptClassify 获取部门分类列表
	ListDeptClassify(context.Context, *ListDeptClassifyRequest) (*ListDeptClassifyReply, error)
	// CreateDeptClassify 创建部门分类
	CreateDeptClassify(context.Context, *CreateDeptClassifyRequest) (*CreateDeptClassifyReply, error)
	// UpdateDeptClassify 更新部门分类
	UpdateDeptClassify(context.Context, *UpdateDeptClassifyRequest) (*UpdateDeptClassifyReply, error)
	// DeleteDeptClassify 删除部门分类
	DeleteDeptClassify(context.Context, *DeleteDeptClassifyRequest) (*DeleteDeptClassifyReply, error)
	// ListCurrentDept 获取当前的部门信息列表
	ListCurrentDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
	// ListDept 获取部门信息列表
	ListDept(context.Context, *ListDeptRequest) (*ListDeptReply, error)
	// CreateDept 创建部门信息
	CreateDept(context.Context, *CreateDeptRequest) (*CreateDeptReply, error)
	// UpdateDept 更新部门信息
	UpdateDept(context.Context, *UpdateDeptRequest) (*UpdateDeptReply, error)
	// DeleteDept 删除部门信息
	DeleteDept(context.Context, *DeleteDeptRequest) (*DeleteDeptReply, error)
	// GetDept 获取指定的部门信息
	GetDept(context.Context, *GetDeptRequest) (*GetDeptReply, error)
	// contains filtered or unexported methods
}

DeptServer is the server API for Dept service. All implementations must embed UnimplementedDeptServer for forward compatibility

type GetDeptReply

type GetDeptReply struct {
	Id          uint32        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentId    uint32        `protobuf:"varint,2,opt,name=parentId,proto3" json:"parentId,omitempty"`
	ClassifyId  uint32        `protobuf:"varint,3,opt,name=classifyId,proto3" json:"classifyId,omitempty"`
	Name        string        `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Keyword     string        `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Description *string       `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Status      *bool         `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"`
	CreatedAt   uint32        `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32        `protobuf:"varint,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Classify    *DeptClassify `protobuf:"bytes,11,opt,name=classify,proto3,oneof" json:"classify,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeptReply) Descriptor deprecated

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

Deprecated: Use GetDeptReply.ProtoReflect.Descriptor instead.

func (*GetDeptReply) GetClassify

func (x *GetDeptReply) GetClassify() *DeptClassify

func (*GetDeptReply) GetClassifyId

func (x *GetDeptReply) GetClassifyId() uint32

func (*GetDeptReply) GetCreatedAt

func (x *GetDeptReply) GetCreatedAt() uint32

func (*GetDeptReply) GetDescription

func (x *GetDeptReply) GetDescription() string

func (*GetDeptReply) GetId

func (x *GetDeptReply) GetId() uint32

func (*GetDeptReply) GetKeyword

func (x *GetDeptReply) GetKeyword() string
func (x *GetDeptReply) GetLogo() string

func (*GetDeptReply) GetName

func (x *GetDeptReply) GetName() string

func (*GetDeptReply) GetParentId

func (x *GetDeptReply) GetParentId() uint32

func (*GetDeptReply) GetStatus

func (x *GetDeptReply) GetStatus() bool

func (*GetDeptReply) GetUpdatedAt

func (x *GetDeptReply) GetUpdatedAt() uint32

func (*GetDeptReply) ProtoMessage

func (*GetDeptReply) ProtoMessage()

func (*GetDeptReply) ProtoReflect

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

func (*GetDeptReply) Reset

func (x *GetDeptReply) Reset()

func (*GetDeptReply) String

func (x *GetDeptReply) String() string

func (*GetDeptReply) Validate

func (m *GetDeptReply) Validate() error

Validate checks the field values on GetDeptReply 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 (*GetDeptReply) ValidateAll

func (m *GetDeptReply) ValidateAll() error

ValidateAll checks the field values on GetDeptReply 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 GetDeptReplyMultiError, or nil if none found.

type GetDeptReplyMultiError

type GetDeptReplyMultiError []error

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

func (GetDeptReplyMultiError) AllErrors

func (m GetDeptReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDeptReplyMultiError) Error

func (m GetDeptReplyMultiError) Error() string

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

type GetDeptReplyValidationError

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

GetDeptReplyValidationError is the validation error returned by GetDeptReply.Validate if the designated constraints aren't met.

func (GetDeptReplyValidationError) Cause

Cause function returns cause value.

func (GetDeptReplyValidationError) Error

Error satisfies the builtin error interface

func (GetDeptReplyValidationError) ErrorName

func (e GetDeptReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetDeptReplyValidationError) Field

Field function returns field value.

func (GetDeptReplyValidationError) Key

Key function returns key value.

func (GetDeptReplyValidationError) Reason

Reason function returns reason value.

type GetDeptRequest

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

func (*GetDeptRequest) Descriptor deprecated

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

Deprecated: Use GetDeptRequest.ProtoReflect.Descriptor instead.

func (*GetDeptRequest) GetId

func (x *GetDeptRequest) GetId() uint32

func (*GetDeptRequest) ProtoMessage

func (*GetDeptRequest) ProtoMessage()

func (*GetDeptRequest) ProtoReflect

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

func (*GetDeptRequest) Reset

func (x *GetDeptRequest) Reset()

func (*GetDeptRequest) String

func (x *GetDeptRequest) String() string

func (*GetDeptRequest) Validate

func (m *GetDeptRequest) Validate() error

Validate checks the field values on GetDeptRequest 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 (*GetDeptRequest) ValidateAll

func (m *GetDeptRequest) ValidateAll() error

ValidateAll checks the field values on GetDeptRequest 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 GetDeptRequestMultiError, or nil if none found.

type GetDeptRequestMultiError

type GetDeptRequestMultiError []error

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

func (GetDeptRequestMultiError) AllErrors

func (m GetDeptRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetDeptRequestMultiError) Error

func (m GetDeptRequestMultiError) Error() string

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

type GetDeptRequestValidationError

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

GetDeptRequestValidationError is the validation error returned by GetDeptRequest.Validate if the designated constraints aren't met.

func (GetDeptRequestValidationError) Cause

Cause function returns cause value.

func (GetDeptRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDeptRequestValidationError) ErrorName

func (e GetDeptRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetDeptRequestValidationError) Field

Field function returns field value.

func (GetDeptRequestValidationError) Key

Key function returns key value.

func (GetDeptRequestValidationError) Reason

Reason function returns reason value.

type ListDeptClassifyReply

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

func (*ListDeptClassifyReply) Descriptor deprecated

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

Deprecated: Use ListDeptClassifyReply.ProtoReflect.Descriptor instead.

func (*ListDeptClassifyReply) GetList

func (*ListDeptClassifyReply) GetTotal

func (x *ListDeptClassifyReply) GetTotal() uint32

func (*ListDeptClassifyReply) ProtoMessage

func (*ListDeptClassifyReply) ProtoMessage()

func (*ListDeptClassifyReply) ProtoReflect

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

func (*ListDeptClassifyReply) Reset

func (x *ListDeptClassifyReply) Reset()

func (*ListDeptClassifyReply) String

func (x *ListDeptClassifyReply) String() string

func (*ListDeptClassifyReply) Validate

func (m *ListDeptClassifyReply) Validate() error

Validate checks the field values on ListDeptClassifyReply 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 (*ListDeptClassifyReply) ValidateAll

func (m *ListDeptClassifyReply) ValidateAll() error

ValidateAll checks the field values on ListDeptClassifyReply 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 ListDeptClassifyReplyMultiError, or nil if none found.

type ListDeptClassifyReplyMultiError

type ListDeptClassifyReplyMultiError []error

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

func (ListDeptClassifyReplyMultiError) AllErrors

func (m ListDeptClassifyReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDeptClassifyReplyMultiError) Error

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

type ListDeptClassifyReplyValidationError

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

ListDeptClassifyReplyValidationError is the validation error returned by ListDeptClassifyReply.Validate if the designated constraints aren't met.

func (ListDeptClassifyReplyValidationError) Cause

Cause function returns cause value.

func (ListDeptClassifyReplyValidationError) Error

Error satisfies the builtin error interface

func (ListDeptClassifyReplyValidationError) ErrorName

ErrorName returns error name.

func (ListDeptClassifyReplyValidationError) Field

Field function returns field value.

func (ListDeptClassifyReplyValidationError) Key

Key function returns key value.

func (ListDeptClassifyReplyValidationError) Reason

Reason function returns reason value.

type ListDeptClassifyReply_DeptClassify

type ListDeptClassifyReply_DeptClassify struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Keyword     string  `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Status      *bool   `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Weight      uint32  `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeptClassifyReply_DeptClassify) Descriptor deprecated

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

Deprecated: Use ListDeptClassifyReply_DeptClassify.ProtoReflect.Descriptor instead.

func (*ListDeptClassifyReply_DeptClassify) GetCreatedAt

func (x *ListDeptClassifyReply_DeptClassify) GetCreatedAt() uint32

func (*ListDeptClassifyReply_DeptClassify) GetDescription

func (x *ListDeptClassifyReply_DeptClassify) GetDescription() string

func (*ListDeptClassifyReply_DeptClassify) GetId

func (*ListDeptClassifyReply_DeptClassify) GetKeyword

func (*ListDeptClassifyReply_DeptClassify) GetName

func (*ListDeptClassifyReply_DeptClassify) GetStatus

func (*ListDeptClassifyReply_DeptClassify) GetUpdatedAt

func (x *ListDeptClassifyReply_DeptClassify) GetUpdatedAt() uint32

func (*ListDeptClassifyReply_DeptClassify) GetWeight

func (*ListDeptClassifyReply_DeptClassify) ProtoMessage

func (*ListDeptClassifyReply_DeptClassify) ProtoMessage()

func (*ListDeptClassifyReply_DeptClassify) ProtoReflect

func (*ListDeptClassifyReply_DeptClassify) Reset

func (*ListDeptClassifyReply_DeptClassify) String

func (*ListDeptClassifyReply_DeptClassify) Validate

Validate checks the field values on ListDeptClassifyReply_DeptClassify 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 (*ListDeptClassifyReply_DeptClassify) ValidateAll

func (m *ListDeptClassifyReply_DeptClassify) ValidateAll() error

ValidateAll checks the field values on ListDeptClassifyReply_DeptClassify 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 ListDeptClassifyReply_DeptClassifyMultiError, or nil if none found.

type ListDeptClassifyReply_DeptClassifyMultiError

type ListDeptClassifyReply_DeptClassifyMultiError []error

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

func (ListDeptClassifyReply_DeptClassifyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListDeptClassifyReply_DeptClassifyMultiError) Error

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

type ListDeptClassifyReply_DeptClassifyValidationError

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

ListDeptClassifyReply_DeptClassifyValidationError is the validation error returned by ListDeptClassifyReply_DeptClassify.Validate if the designated constraints aren't met.

func (ListDeptClassifyReply_DeptClassifyValidationError) Cause

Cause function returns cause value.

func (ListDeptClassifyReply_DeptClassifyValidationError) Error

Error satisfies the builtin error interface

func (ListDeptClassifyReply_DeptClassifyValidationError) ErrorName

ErrorName returns error name.

func (ListDeptClassifyReply_DeptClassifyValidationError) Field

Field function returns field value.

func (ListDeptClassifyReply_DeptClassifyValidationError) Key

Key function returns key value.

func (ListDeptClassifyReply_DeptClassifyValidationError) Reason

Reason function returns reason value.

type ListDeptClassifyRequest

type ListDeptClassifyRequest 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"`
	Name     *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeptClassifyRequest) Descriptor deprecated

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

Deprecated: Use ListDeptClassifyRequest.ProtoReflect.Descriptor instead.

func (*ListDeptClassifyRequest) GetName

func (x *ListDeptClassifyRequest) GetName() string

func (*ListDeptClassifyRequest) GetOrder

func (x *ListDeptClassifyRequest) GetOrder() string

func (*ListDeptClassifyRequest) GetOrderBy

func (x *ListDeptClassifyRequest) GetOrderBy() string

func (*ListDeptClassifyRequest) GetPage

func (x *ListDeptClassifyRequest) GetPage() uint32

func (*ListDeptClassifyRequest) GetPageSize

func (x *ListDeptClassifyRequest) GetPageSize() uint32

func (*ListDeptClassifyRequest) ProtoMessage

func (*ListDeptClassifyRequest) ProtoMessage()

func (*ListDeptClassifyRequest) ProtoReflect

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

func (*ListDeptClassifyRequest) Reset

func (x *ListDeptClassifyRequest) Reset()

func (*ListDeptClassifyRequest) String

func (x *ListDeptClassifyRequest) String() string

func (*ListDeptClassifyRequest) Validate

func (m *ListDeptClassifyRequest) Validate() error

Validate checks the field values on ListDeptClassifyRequest 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 (*ListDeptClassifyRequest) ValidateAll

func (m *ListDeptClassifyRequest) ValidateAll() error

ValidateAll checks the field values on ListDeptClassifyRequest 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 ListDeptClassifyRequestMultiError, or nil if none found.

type ListDeptClassifyRequestMultiError

type ListDeptClassifyRequestMultiError []error

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

func (ListDeptClassifyRequestMultiError) AllErrors

func (m ListDeptClassifyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDeptClassifyRequestMultiError) Error

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

type ListDeptClassifyRequestValidationError

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

ListDeptClassifyRequestValidationError is the validation error returned by ListDeptClassifyRequest.Validate if the designated constraints aren't met.

func (ListDeptClassifyRequestValidationError) Cause

Cause function returns cause value.

func (ListDeptClassifyRequestValidationError) Error

Error satisfies the builtin error interface

func (ListDeptClassifyRequestValidationError) ErrorName

ErrorName returns error name.

func (ListDeptClassifyRequestValidationError) Field

Field function returns field value.

func (ListDeptClassifyRequestValidationError) Key

Key function returns key value.

func (ListDeptClassifyRequestValidationError) Reason

Reason function returns reason value.

type ListDeptReply

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

func (*ListDeptReply) Descriptor deprecated

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

Deprecated: Use ListDeptReply.ProtoReflect.Descriptor instead.

func (*ListDeptReply) GetList

func (x *ListDeptReply) GetList() []*ListDeptReply_Dept

func (*ListDeptReply) ProtoMessage

func (*ListDeptReply) ProtoMessage()

func (*ListDeptReply) ProtoReflect

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

func (*ListDeptReply) Reset

func (x *ListDeptReply) Reset()

func (*ListDeptReply) String

func (x *ListDeptReply) String() string

func (*ListDeptReply) Validate

func (m *ListDeptReply) Validate() error

Validate checks the field values on ListDeptReply 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 (*ListDeptReply) ValidateAll

func (m *ListDeptReply) ValidateAll() error

ValidateAll checks the field values on ListDeptReply 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 ListDeptReplyMultiError, or nil if none found.

type ListDeptReplyMultiError

type ListDeptReplyMultiError []error

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

func (ListDeptReplyMultiError) AllErrors

func (m ListDeptReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDeptReplyMultiError) Error

func (m ListDeptReplyMultiError) Error() string

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

type ListDeptReplyValidationError

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

ListDeptReplyValidationError is the validation error returned by ListDeptReply.Validate if the designated constraints aren't met.

func (ListDeptReplyValidationError) Cause

Cause function returns cause value.

func (ListDeptReplyValidationError) Error

Error satisfies the builtin error interface

func (ListDeptReplyValidationError) ErrorName

func (e ListDeptReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListDeptReplyValidationError) Field

Field function returns field value.

func (ListDeptReplyValidationError) Key

Key function returns key value.

func (ListDeptReplyValidationError) Reason

Reason function returns reason value.

type ListDeptReply_Dept

type ListDeptReply_Dept struct {
	Id          uint32                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentId    uint32                `protobuf:"varint,2,opt,name=parentId,proto3" json:"parentId,omitempty"`
	ClassifyId  uint32                `protobuf:"varint,3,opt,name=classifyId,proto3" json:"classifyId,omitempty"`
	Name        string                `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Keyword     string                `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Description *string               `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Status      *bool                 `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"`
	CreatedAt   uint32                `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32                `protobuf:"varint,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Classify    *DeptClassify         `protobuf:"bytes,11,opt,name=classify,proto3,oneof" json:"classify,omitempty"`
	Children    []*ListDeptReply_Dept `protobuf:"bytes,12,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeptReply_Dept) Descriptor deprecated

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

Deprecated: Use ListDeptReply_Dept.ProtoReflect.Descriptor instead.

func (*ListDeptReply_Dept) GetChildren

func (x *ListDeptReply_Dept) GetChildren() []*ListDeptReply_Dept

func (*ListDeptReply_Dept) GetClassify

func (x *ListDeptReply_Dept) GetClassify() *DeptClassify

func (*ListDeptReply_Dept) GetClassifyId

func (x *ListDeptReply_Dept) GetClassifyId() uint32

func (*ListDeptReply_Dept) GetCreatedAt

func (x *ListDeptReply_Dept) GetCreatedAt() uint32

func (*ListDeptReply_Dept) GetDescription

func (x *ListDeptReply_Dept) GetDescription() string

func (*ListDeptReply_Dept) GetId

func (x *ListDeptReply_Dept) GetId() uint32

func (*ListDeptReply_Dept) GetKeyword

func (x *ListDeptReply_Dept) GetKeyword() string
func (x *ListDeptReply_Dept) GetLogo() string

func (*ListDeptReply_Dept) GetName

func (x *ListDeptReply_Dept) GetName() string

func (*ListDeptReply_Dept) GetParentId

func (x *ListDeptReply_Dept) GetParentId() uint32

func (*ListDeptReply_Dept) GetStatus

func (x *ListDeptReply_Dept) GetStatus() bool

func (*ListDeptReply_Dept) GetUpdatedAt

func (x *ListDeptReply_Dept) GetUpdatedAt() uint32

func (*ListDeptReply_Dept) ProtoMessage

func (*ListDeptReply_Dept) ProtoMessage()

func (*ListDeptReply_Dept) ProtoReflect

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

func (*ListDeptReply_Dept) Reset

func (x *ListDeptReply_Dept) Reset()

func (*ListDeptReply_Dept) String

func (x *ListDeptReply_Dept) String() string

func (*ListDeptReply_Dept) Validate

func (m *ListDeptReply_Dept) Validate() error

Validate checks the field values on ListDeptReply_Dept 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 (*ListDeptReply_Dept) ValidateAll

func (m *ListDeptReply_Dept) ValidateAll() error

ValidateAll checks the field values on ListDeptReply_Dept 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 ListDeptReply_DeptMultiError, or nil if none found.

type ListDeptReply_DeptMultiError

type ListDeptReply_DeptMultiError []error

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

func (ListDeptReply_DeptMultiError) AllErrors

func (m ListDeptReply_DeptMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDeptReply_DeptMultiError) Error

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

type ListDeptReply_DeptValidationError

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

ListDeptReply_DeptValidationError is the validation error returned by ListDeptReply_Dept.Validate if the designated constraints aren't met.

func (ListDeptReply_DeptValidationError) Cause

Cause function returns cause value.

func (ListDeptReply_DeptValidationError) Error

Error satisfies the builtin error interface

func (ListDeptReply_DeptValidationError) ErrorName

ErrorName returns error name.

func (ListDeptReply_DeptValidationError) Field

Field function returns field value.

func (ListDeptReply_DeptValidationError) Key

Key function returns key value.

func (ListDeptReply_DeptValidationError) Reason

Reason function returns reason value.

type ListDeptRequest

type ListDeptRequest struct {
	Name       *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	ClassifyId *uint32 `protobuf:"varint,4,opt,name=classifyId,proto3,oneof" json:"classifyId,omitempty"`
	Status     *bool   `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeptRequest) Descriptor deprecated

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

Deprecated: Use ListDeptRequest.ProtoReflect.Descriptor instead.

func (*ListDeptRequest) GetClassifyId

func (x *ListDeptRequest) GetClassifyId() uint32

func (*ListDeptRequest) GetName

func (x *ListDeptRequest) GetName() string

func (*ListDeptRequest) GetStatus

func (x *ListDeptRequest) GetStatus() bool

func (*ListDeptRequest) ProtoMessage

func (*ListDeptRequest) ProtoMessage()

func (*ListDeptRequest) ProtoReflect

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

func (*ListDeptRequest) Reset

func (x *ListDeptRequest) Reset()

func (*ListDeptRequest) String

func (x *ListDeptRequest) String() string

func (*ListDeptRequest) Validate

func (m *ListDeptRequest) Validate() error

Validate checks the field values on ListDeptRequest 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 (*ListDeptRequest) ValidateAll

func (m *ListDeptRequest) ValidateAll() error

ValidateAll checks the field values on ListDeptRequest 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 ListDeptRequestMultiError, or nil if none found.

type ListDeptRequestMultiError

type ListDeptRequestMultiError []error

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

func (ListDeptRequestMultiError) AllErrors

func (m ListDeptRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDeptRequestMultiError) Error

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

type ListDeptRequestValidationError

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

ListDeptRequestValidationError is the validation error returned by ListDeptRequest.Validate if the designated constraints aren't met.

func (ListDeptRequestValidationError) Cause

Cause function returns cause value.

func (ListDeptRequestValidationError) Error

Error satisfies the builtin error interface

func (ListDeptRequestValidationError) ErrorName

func (e ListDeptRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListDeptRequestValidationError) Field

Field function returns field value.

func (ListDeptRequestValidationError) Key

Key function returns key value.

func (ListDeptRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedDeptServer

type UnimplementedDeptServer struct{}

UnimplementedDeptServer must be embedded to have forward compatible implementations.

func (UnimplementedDeptServer) CreateDept

func (UnimplementedDeptServer) DeleteDept

func (UnimplementedDeptServer) GetDept

func (UnimplementedDeptServer) ListCurrentDept

func (UnimplementedDeptServer) ListDept

func (UnimplementedDeptServer) ListDeptClassify

func (UnimplementedDeptServer) UpdateDept

type UnsafeDeptServer

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

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

type UpdateDeptClassifyReply

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

func (*UpdateDeptClassifyReply) Descriptor deprecated

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

Deprecated: Use UpdateDeptClassifyReply.ProtoReflect.Descriptor instead.

func (*UpdateDeptClassifyReply) ProtoMessage

func (*UpdateDeptClassifyReply) ProtoMessage()

func (*UpdateDeptClassifyReply) ProtoReflect

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

func (*UpdateDeptClassifyReply) Reset

func (x *UpdateDeptClassifyReply) Reset()

func (*UpdateDeptClassifyReply) String

func (x *UpdateDeptClassifyReply) String() string

func (*UpdateDeptClassifyReply) Validate

func (m *UpdateDeptClassifyReply) Validate() error

Validate checks the field values on UpdateDeptClassifyReply 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 (*UpdateDeptClassifyReply) ValidateAll

func (m *UpdateDeptClassifyReply) ValidateAll() error

ValidateAll checks the field values on UpdateDeptClassifyReply 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 UpdateDeptClassifyReplyMultiError, or nil if none found.

type UpdateDeptClassifyReplyMultiError

type UpdateDeptClassifyReplyMultiError []error

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

func (UpdateDeptClassifyReplyMultiError) AllErrors

func (m UpdateDeptClassifyReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateDeptClassifyReplyMultiError) Error

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

type UpdateDeptClassifyReplyValidationError

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

UpdateDeptClassifyReplyValidationError is the validation error returned by UpdateDeptClassifyReply.Validate if the designated constraints aren't met.

func (UpdateDeptClassifyReplyValidationError) Cause

Cause function returns cause value.

func (UpdateDeptClassifyReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateDeptClassifyReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateDeptClassifyReplyValidationError) Field

Field function returns field value.

func (UpdateDeptClassifyReplyValidationError) Key

Key function returns key value.

func (UpdateDeptClassifyReplyValidationError) Reason

Reason function returns reason value.

type UpdateDeptClassifyRequest

type UpdateDeptClassifyRequest struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Keyword     *string `protobuf:"bytes,2,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`
	Name        *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Weight      *uint32 `protobuf:"varint,5,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDeptClassifyRequest) Descriptor deprecated

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

Deprecated: Use UpdateDeptClassifyRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeptClassifyRequest) GetDescription

func (x *UpdateDeptClassifyRequest) GetDescription() string

func (*UpdateDeptClassifyRequest) GetId

func (x *UpdateDeptClassifyRequest) GetId() uint32

func (*UpdateDeptClassifyRequest) GetKeyword

func (x *UpdateDeptClassifyRequest) GetKeyword() string

func (*UpdateDeptClassifyRequest) GetName

func (x *UpdateDeptClassifyRequest) GetName() string

func (*UpdateDeptClassifyRequest) GetWeight

func (x *UpdateDeptClassifyRequest) GetWeight() uint32

func (*UpdateDeptClassifyRequest) ProtoMessage

func (*UpdateDeptClassifyRequest) ProtoMessage()

func (*UpdateDeptClassifyRequest) ProtoReflect

func (*UpdateDeptClassifyRequest) Reset

func (x *UpdateDeptClassifyRequest) Reset()

func (*UpdateDeptClassifyRequest) String

func (x *UpdateDeptClassifyRequest) String() string

func (*UpdateDeptClassifyRequest) Validate

func (m *UpdateDeptClassifyRequest) Validate() error

Validate checks the field values on UpdateDeptClassifyRequest 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 (*UpdateDeptClassifyRequest) ValidateAll

func (m *UpdateDeptClassifyRequest) ValidateAll() error

ValidateAll checks the field values on UpdateDeptClassifyRequest 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 UpdateDeptClassifyRequestMultiError, or nil if none found.

type UpdateDeptClassifyRequestMultiError

type UpdateDeptClassifyRequestMultiError []error

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

func (UpdateDeptClassifyRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateDeptClassifyRequestMultiError) Error

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

type UpdateDeptClassifyRequestValidationError

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

UpdateDeptClassifyRequestValidationError is the validation error returned by UpdateDeptClassifyRequest.Validate if the designated constraints aren't met.

func (UpdateDeptClassifyRequestValidationError) Cause

Cause function returns cause value.

func (UpdateDeptClassifyRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDeptClassifyRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDeptClassifyRequestValidationError) Field

Field function returns field value.

func (UpdateDeptClassifyRequestValidationError) Key

Key function returns key value.

func (UpdateDeptClassifyRequestValidationError) Reason

Reason function returns reason value.

type UpdateDeptReply

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

func (*UpdateDeptReply) Descriptor deprecated

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

Deprecated: Use UpdateDeptReply.ProtoReflect.Descriptor instead.

func (*UpdateDeptReply) ProtoMessage

func (*UpdateDeptReply) ProtoMessage()

func (*UpdateDeptReply) ProtoReflect

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

func (*UpdateDeptReply) Reset

func (x *UpdateDeptReply) Reset()

func (*UpdateDeptReply) String

func (x *UpdateDeptReply) String() string

func (*UpdateDeptReply) Validate

func (m *UpdateDeptReply) Validate() error

Validate checks the field values on UpdateDeptReply 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 (*UpdateDeptReply) ValidateAll

func (m *UpdateDeptReply) ValidateAll() error

ValidateAll checks the field values on UpdateDeptReply 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 UpdateDeptReplyMultiError, or nil if none found.

type UpdateDeptReplyMultiError

type UpdateDeptReplyMultiError []error

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

func (UpdateDeptReplyMultiError) AllErrors

func (m UpdateDeptReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateDeptReplyMultiError) Error

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

type UpdateDeptReplyValidationError

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

UpdateDeptReplyValidationError is the validation error returned by UpdateDeptReply.Validate if the designated constraints aren't met.

func (UpdateDeptReplyValidationError) Cause

Cause function returns cause value.

func (UpdateDeptReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateDeptReplyValidationError) ErrorName

func (e UpdateDeptReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateDeptReplyValidationError) Field

Field function returns field value.

func (UpdateDeptReplyValidationError) Key

Key function returns key value.

func (UpdateDeptReplyValidationError) Reason

Reason function returns reason value.

type UpdateDeptRequest

type UpdateDeptRequest struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentId    *uint32 `protobuf:"varint,2,opt,name=parentId,proto3,oneof" json:"parentId,omitempty"`
	ClassifyId  *uint32 `protobuf:"varint,3,opt,name=classifyId,proto3,oneof" json:"classifyId,omitempty"`
	Name        *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Status      *bool   `protobuf:"varint,6,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDeptRequest) Descriptor deprecated

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

Deprecated: Use UpdateDeptRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeptRequest) GetClassifyId

func (x *UpdateDeptRequest) GetClassifyId() uint32

func (*UpdateDeptRequest) GetDescription

func (x *UpdateDeptRequest) GetDescription() string

func (*UpdateDeptRequest) GetId

func (x *UpdateDeptRequest) GetId() uint32

func (*UpdateDeptRequest) GetName

func (x *UpdateDeptRequest) GetName() string

func (*UpdateDeptRequest) GetParentId

func (x *UpdateDeptRequest) GetParentId() uint32

func (*UpdateDeptRequest) GetStatus

func (x *UpdateDeptRequest) GetStatus() bool

func (*UpdateDeptRequest) ProtoMessage

func (*UpdateDeptRequest) ProtoMessage()

func (*UpdateDeptRequest) ProtoReflect

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

func (*UpdateDeptRequest) Reset

func (x *UpdateDeptRequest) Reset()

func (*UpdateDeptRequest) String

func (x *UpdateDeptRequest) String() string

func (*UpdateDeptRequest) Validate

func (m *UpdateDeptRequest) Validate() error

Validate checks the field values on UpdateDeptRequest 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 (*UpdateDeptRequest) ValidateAll

func (m *UpdateDeptRequest) ValidateAll() error

ValidateAll checks the field values on UpdateDeptRequest 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 UpdateDeptRequestMultiError, or nil if none found.

type UpdateDeptRequestMultiError

type UpdateDeptRequestMultiError []error

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

func (UpdateDeptRequestMultiError) AllErrors

func (m UpdateDeptRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateDeptRequestMultiError) Error

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

type UpdateDeptRequestValidationError

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

UpdateDeptRequestValidationError is the validation error returned by UpdateDeptRequest.Validate if the designated constraints aren't met.

func (UpdateDeptRequestValidationError) Cause

Cause function returns cause value.

func (UpdateDeptRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDeptRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDeptRequestValidationError) Field

Field function returns field value.

func (UpdateDeptRequestValidationError) Key

Key function returns key value.

func (UpdateDeptRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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