v1

package
v0.0.0-...-1ac7f4f Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Export_GetExport_FullMethodName    = "/wilson.api.resource.export.v1.Export/GetExport"
	Export_ListExport_FullMethodName   = "/wilson.api.resource.export.v1.Export/ListExport"
	Export_ExportFile_FullMethodName   = "/wilson.api.resource.export.v1.Export/ExportFile"
	Export_ExportExcel_FullMethodName  = "/wilson.api.resource.export.v1.Export/ExportExcel"
	Export_DeleteExport_FullMethodName = "/wilson.api.resource.export.v1.Export/DeleteExport"
)
View Source
const OperationExportDeleteExport = "/wilson.api.resource.export.v1.Export/DeleteExport"
View Source
const OperationExportExportExcel = "/wilson.api.resource.export.v1.Export/ExportExcel"
View Source
const OperationExportExportFile = "/wilson.api.resource.export.v1.Export/ExportFile"
View Source
const OperationExportGetExport = "/wilson.api.resource.export.v1.Export/GetExport"
View Source
const OperationExportListExport = "/wilson.api.resource.export.v1.Export/ListExport"

Variables

View Source
var Export_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "wilson.api.resource.export.v1.Export",
	HandlerType: (*ExportServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetExport",
			Handler:    _Export_GetExport_Handler,
		},
		{
			MethodName: "ListExport",
			Handler:    _Export_ListExport_Handler,
		},
		{
			MethodName: "ExportFile",
			Handler:    _Export_ExportFile_Handler,
		},
		{
			MethodName: "ExportExcel",
			Handler:    _Export_ExportExcel_Handler,
		},
		{
			MethodName: "DeleteExport",
			Handler:    _Export_DeleteExport_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "resource/export/v1/resource_export_service.proto",
}

Export_ServiceDesc is the grpc.ServiceDesc for Export 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_resource_export_v1_resource_export_proto protoreflect.FileDescriptor
View Source
var File_resource_export_v1_resource_export_service_proto protoreflect.FileDescriptor

Functions

func RegisterExportHTTPServer

func RegisterExportHTTPServer(s *http.Server, srv ExportHTTPServer)

func RegisterExportServer

func RegisterExportServer(s grpc.ServiceRegistrar, srv ExportServer)

Types

type DeleteExportReply

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

func (*DeleteExportReply) Descriptor deprecated

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

Deprecated: Use DeleteExportReply.ProtoReflect.Descriptor instead.

func (*DeleteExportReply) GetTotal

func (x *DeleteExportReply) GetTotal() uint32

func (*DeleteExportReply) ProtoMessage

func (*DeleteExportReply) ProtoMessage()

func (*DeleteExportReply) ProtoReflect

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

func (*DeleteExportReply) Reset

func (x *DeleteExportReply) Reset()

func (*DeleteExportReply) String

func (x *DeleteExportReply) String() string

func (*DeleteExportReply) Validate

func (m *DeleteExportReply) Validate() error

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

func (m *DeleteExportReply) ValidateAll() error

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

type DeleteExportReplyMultiError

type DeleteExportReplyMultiError []error

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

func (DeleteExportReplyMultiError) AllErrors

func (m DeleteExportReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteExportReplyMultiError) Error

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

type DeleteExportReplyValidationError

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

DeleteExportReplyValidationError is the validation error returned by DeleteExportReply.Validate if the designated constraints aren't met.

func (DeleteExportReplyValidationError) Cause

Cause function returns cause value.

func (DeleteExportReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteExportReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteExportReplyValidationError) Field

Field function returns field value.

func (DeleteExportReplyValidationError) Key

Key function returns key value.

func (DeleteExportReplyValidationError) Reason

Reason function returns reason value.

type DeleteExportRequest

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

func (*DeleteExportRequest) Descriptor deprecated

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

Deprecated: Use DeleteExportRequest.ProtoReflect.Descriptor instead.

func (*DeleteExportRequest) GetIds

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

func (*DeleteExportRequest) ProtoMessage

func (*DeleteExportRequest) ProtoMessage()

func (*DeleteExportRequest) ProtoReflect

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

func (*DeleteExportRequest) Reset

func (x *DeleteExportRequest) Reset()

func (*DeleteExportRequest) String

func (x *DeleteExportRequest) String() string

func (*DeleteExportRequest) Validate

func (m *DeleteExportRequest) Validate() error

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

func (m *DeleteExportRequest) ValidateAll() error

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

type DeleteExportRequestMultiError

type DeleteExportRequestMultiError []error

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

func (DeleteExportRequestMultiError) AllErrors

func (m DeleteExportRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteExportRequestMultiError) Error

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

type DeleteExportRequestValidationError

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

DeleteExportRequestValidationError is the validation error returned by DeleteExportRequest.Validate if the designated constraints aren't met.

func (DeleteExportRequestValidationError) Cause

Cause function returns cause value.

func (DeleteExportRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteExportRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteExportRequestValidationError) Field

Field function returns field value.

func (DeleteExportRequestValidationError) Key

Key function returns key value.

func (DeleteExportRequestValidationError) Reason

Reason function returns reason value.

type ExportClient

type ExportClient interface {
	// GetExport 获取指定的导出信息
	GetExport(ctx context.Context, in *GetExportRequest, opts ...grpc.CallOption) (*GetExportReply, error)
	// ListExport 获取导出信息列表
	ListExport(ctx context.Context, in *ListExportRequest, opts ...grpc.CallOption) (*ListExportReply, error)
	// ExportFile 创建导出信息
	ExportFile(ctx context.Context, in *ExportFileRequest, opts ...grpc.CallOption) (*ExportFileReply, error)
	// ExportExcel 创建导出表格信息
	ExportExcel(ctx context.Context, in *ExportExcelRequest, opts ...grpc.CallOption) (*ExportExcelReply, error)
	// DeleteExport 删除导出信息
	DeleteExport(ctx context.Context, in *DeleteExportRequest, opts ...grpc.CallOption) (*DeleteExportReply, error)
}

ExportClient is the client API for Export 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 NewExportClient

func NewExportClient(cc grpc.ClientConnInterface) ExportClient

type ExportExcelReply

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

func (*ExportExcelReply) Descriptor deprecated

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

Deprecated: Use ExportExcelReply.ProtoReflect.Descriptor instead.

func (*ExportExcelReply) GetId

func (x *ExportExcelReply) GetId() uint32

func (*ExportExcelReply) ProtoMessage

func (*ExportExcelReply) ProtoMessage()

func (*ExportExcelReply) ProtoReflect

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

func (*ExportExcelReply) Reset

func (x *ExportExcelReply) Reset()

func (*ExportExcelReply) String

func (x *ExportExcelReply) String() string

func (*ExportExcelReply) Validate

func (m *ExportExcelReply) Validate() error

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

func (m *ExportExcelReply) ValidateAll() error

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

type ExportExcelReplyMultiError

type ExportExcelReplyMultiError []error

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

func (ExportExcelReplyMultiError) AllErrors

func (m ExportExcelReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportExcelReplyMultiError) Error

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

type ExportExcelReplyValidationError

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

ExportExcelReplyValidationError is the validation error returned by ExportExcelReply.Validate if the designated constraints aren't met.

func (ExportExcelReplyValidationError) Cause

Cause function returns cause value.

func (ExportExcelReplyValidationError) Error

Error satisfies the builtin error interface

func (ExportExcelReplyValidationError) ErrorName

ErrorName returns error name.

func (ExportExcelReplyValidationError) Field

Field function returns field value.

func (ExportExcelReplyValidationError) Key

Key function returns key value.

func (ExportExcelReplyValidationError) Reason

Reason function returns reason value.

type ExportExcelRequest

type ExportExcelRequest struct {
	UserId       uint32                    `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	DepartmentId uint32                    `protobuf:"varint,2,opt,name=departmentId,proto3" json:"departmentId,omitempty"`
	Scene        string                    `protobuf:"bytes,3,opt,name=scene,proto3" json:"scene,omitempty"`
	Name         string                    `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Rows         []*ExportExcelRequest_Row `protobuf:"bytes,5,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportExcelRequest) Descriptor deprecated

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

Deprecated: Use ExportExcelRequest.ProtoReflect.Descriptor instead.

func (*ExportExcelRequest) GetDepartmentId

func (x *ExportExcelRequest) GetDepartmentId() uint32

func (*ExportExcelRequest) GetName

func (x *ExportExcelRequest) GetName() string

func (*ExportExcelRequest) GetRows

func (*ExportExcelRequest) GetScene

func (x *ExportExcelRequest) GetScene() string

func (*ExportExcelRequest) GetUserId

func (x *ExportExcelRequest) GetUserId() uint32

func (*ExportExcelRequest) ProtoMessage

func (*ExportExcelRequest) ProtoMessage()

func (*ExportExcelRequest) ProtoReflect

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

func (*ExportExcelRequest) Reset

func (x *ExportExcelRequest) Reset()

func (*ExportExcelRequest) String

func (x *ExportExcelRequest) String() string

func (*ExportExcelRequest) Validate

func (m *ExportExcelRequest) Validate() error

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

func (m *ExportExcelRequest) ValidateAll() error

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

type ExportExcelRequestMultiError

type ExportExcelRequestMultiError []error

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

func (ExportExcelRequestMultiError) AllErrors

func (m ExportExcelRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportExcelRequestMultiError) Error

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

type ExportExcelRequestValidationError

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

ExportExcelRequestValidationError is the validation error returned by ExportExcelRequest.Validate if the designated constraints aren't met.

func (ExportExcelRequestValidationError) Cause

Cause function returns cause value.

func (ExportExcelRequestValidationError) Error

Error satisfies the builtin error interface

func (ExportExcelRequestValidationError) ErrorName

ErrorName returns error name.

func (ExportExcelRequestValidationError) Field

Field function returns field value.

func (ExportExcelRequestValidationError) Key

Key function returns key value.

func (ExportExcelRequestValidationError) Reason

Reason function returns reason value.

type ExportExcelRequest_Col

type ExportExcelRequest_Col struct {
	Type  string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportExcelRequest_Col) Descriptor deprecated

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

Deprecated: Use ExportExcelRequest_Col.ProtoReflect.Descriptor instead.

func (*ExportExcelRequest_Col) GetType

func (x *ExportExcelRequest_Col) GetType() string

func (*ExportExcelRequest_Col) GetValue

func (x *ExportExcelRequest_Col) GetValue() string

func (*ExportExcelRequest_Col) ProtoMessage

func (*ExportExcelRequest_Col) ProtoMessage()

func (*ExportExcelRequest_Col) ProtoReflect

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

func (*ExportExcelRequest_Col) Reset

func (x *ExportExcelRequest_Col) Reset()

func (*ExportExcelRequest_Col) String

func (x *ExportExcelRequest_Col) String() string

func (*ExportExcelRequest_Col) Validate

func (m *ExportExcelRequest_Col) Validate() error

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

func (m *ExportExcelRequest_Col) ValidateAll() error

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

type ExportExcelRequest_ColMultiError

type ExportExcelRequest_ColMultiError []error

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

func (ExportExcelRequest_ColMultiError) AllErrors

func (m ExportExcelRequest_ColMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportExcelRequest_ColMultiError) Error

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

type ExportExcelRequest_ColValidationError

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

ExportExcelRequest_ColValidationError is the validation error returned by ExportExcelRequest_Col.Validate if the designated constraints aren't met.

func (ExportExcelRequest_ColValidationError) Cause

Cause function returns cause value.

func (ExportExcelRequest_ColValidationError) Error

Error satisfies the builtin error interface

func (ExportExcelRequest_ColValidationError) ErrorName

ErrorName returns error name.

func (ExportExcelRequest_ColValidationError) Field

Field function returns field value.

func (ExportExcelRequest_ColValidationError) Key

Key function returns key value.

func (ExportExcelRequest_ColValidationError) Reason

Reason function returns reason value.

type ExportExcelRequest_Row

type ExportExcelRequest_Row struct {
	Cols []*ExportExcelRequest_Col `protobuf:"bytes,1,rep,name=cols,proto3" json:"cols,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportExcelRequest_Row) Descriptor deprecated

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

Deprecated: Use ExportExcelRequest_Row.ProtoReflect.Descriptor instead.

func (*ExportExcelRequest_Row) GetCols

func (*ExportExcelRequest_Row) ProtoMessage

func (*ExportExcelRequest_Row) ProtoMessage()

func (*ExportExcelRequest_Row) ProtoReflect

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

func (*ExportExcelRequest_Row) Reset

func (x *ExportExcelRequest_Row) Reset()

func (*ExportExcelRequest_Row) String

func (x *ExportExcelRequest_Row) String() string

func (*ExportExcelRequest_Row) Validate

func (m *ExportExcelRequest_Row) Validate() error

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

func (m *ExportExcelRequest_Row) ValidateAll() error

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

type ExportExcelRequest_RowMultiError

type ExportExcelRequest_RowMultiError []error

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

func (ExportExcelRequest_RowMultiError) AllErrors

func (m ExportExcelRequest_RowMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportExcelRequest_RowMultiError) Error

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

type ExportExcelRequest_RowValidationError

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

ExportExcelRequest_RowValidationError is the validation error returned by ExportExcelRequest_Row.Validate if the designated constraints aren't met.

func (ExportExcelRequest_RowValidationError) Cause

Cause function returns cause value.

func (ExportExcelRequest_RowValidationError) Error

Error satisfies the builtin error interface

func (ExportExcelRequest_RowValidationError) ErrorName

ErrorName returns error name.

func (ExportExcelRequest_RowValidationError) Field

Field function returns field value.

func (ExportExcelRequest_RowValidationError) Key

Key function returns key value.

func (ExportExcelRequest_RowValidationError) Reason

Reason function returns reason value.

type ExportFileReply

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

func (*ExportFileReply) Descriptor deprecated

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

Deprecated: Use ExportFileReply.ProtoReflect.Descriptor instead.

func (*ExportFileReply) GetId

func (x *ExportFileReply) GetId() uint32

func (*ExportFileReply) ProtoMessage

func (*ExportFileReply) ProtoMessage()

func (*ExportFileReply) ProtoReflect

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

func (*ExportFileReply) Reset

func (x *ExportFileReply) Reset()

func (*ExportFileReply) String

func (x *ExportFileReply) String() string

func (*ExportFileReply) Validate

func (m *ExportFileReply) Validate() error

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

func (m *ExportFileReply) ValidateAll() error

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

type ExportFileReplyMultiError

type ExportFileReplyMultiError []error

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

func (ExportFileReplyMultiError) AllErrors

func (m ExportFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportFileReplyMultiError) Error

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

type ExportFileReplyValidationError

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

ExportFileReplyValidationError is the validation error returned by ExportFileReply.Validate if the designated constraints aren't met.

func (ExportFileReplyValidationError) Cause

Cause function returns cause value.

func (ExportFileReplyValidationError) Error

Error satisfies the builtin error interface

func (ExportFileReplyValidationError) ErrorName

func (e ExportFileReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ExportFileReplyValidationError) Field

Field function returns field value.

func (ExportFileReplyValidationError) Key

Key function returns key value.

func (ExportFileReplyValidationError) Reason

Reason function returns reason value.

type ExportFileRequest

type ExportFileRequest struct {
	UserId       uint32                          `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	DepartmentId uint32                          `protobuf:"varint,2,opt,name=departmentId,proto3" json:"departmentId,omitempty"`
	Scene        string                          `protobuf:"bytes,3,opt,name=scene,proto3" json:"scene,omitempty"`
	Name         string                          `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Files        []*ExportFileRequest_ExportFile `protobuf:"bytes,5,rep,name=files,proto3" json:"files,omitempty"`
	Ids          []uint32                        `protobuf:"varint,6,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportFileRequest) Descriptor deprecated

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

Deprecated: Use ExportFileRequest.ProtoReflect.Descriptor instead.

func (*ExportFileRequest) GetDepartmentId

func (x *ExportFileRequest) GetDepartmentId() uint32

func (*ExportFileRequest) GetFiles

func (*ExportFileRequest) GetIds

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

func (*ExportFileRequest) GetName

func (x *ExportFileRequest) GetName() string

func (*ExportFileRequest) GetScene

func (x *ExportFileRequest) GetScene() string

func (*ExportFileRequest) GetUserId

func (x *ExportFileRequest) GetUserId() uint32

func (*ExportFileRequest) ProtoMessage

func (*ExportFileRequest) ProtoMessage()

func (*ExportFileRequest) ProtoReflect

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

func (*ExportFileRequest) Reset

func (x *ExportFileRequest) Reset()

func (*ExportFileRequest) String

func (x *ExportFileRequest) String() string

func (*ExportFileRequest) Validate

func (m *ExportFileRequest) Validate() error

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

func (m *ExportFileRequest) ValidateAll() error

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

type ExportFileRequestMultiError

type ExportFileRequestMultiError []error

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

func (ExportFileRequestMultiError) AllErrors

func (m ExportFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportFileRequestMultiError) Error

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

type ExportFileRequestValidationError

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

ExportFileRequestValidationError is the validation error returned by ExportFileRequest.Validate if the designated constraints aren't met.

func (ExportFileRequestValidationError) Cause

Cause function returns cause value.

func (ExportFileRequestValidationError) Error

Error satisfies the builtin error interface

func (ExportFileRequestValidationError) ErrorName

ErrorName returns error name.

func (ExportFileRequestValidationError) Field

Field function returns field value.

func (ExportFileRequestValidationError) Key

Key function returns key value.

func (ExportFileRequestValidationError) Reason

Reason function returns reason value.

type ExportFileRequest_ExportFile

type ExportFileRequest_ExportFile struct {
	Value  string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Rename string `protobuf:"bytes,2,opt,name=rename,proto3" json:"rename,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportFileRequest_ExportFile) Descriptor deprecated

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

Deprecated: Use ExportFileRequest_ExportFile.ProtoReflect.Descriptor instead.

func (*ExportFileRequest_ExportFile) GetRename

func (x *ExportFileRequest_ExportFile) GetRename() string

func (*ExportFileRequest_ExportFile) GetValue

func (x *ExportFileRequest_ExportFile) GetValue() string

func (*ExportFileRequest_ExportFile) ProtoMessage

func (*ExportFileRequest_ExportFile) ProtoMessage()

func (*ExportFileRequest_ExportFile) ProtoReflect

func (*ExportFileRequest_ExportFile) Reset

func (x *ExportFileRequest_ExportFile) Reset()

func (*ExportFileRequest_ExportFile) String

func (*ExportFileRequest_ExportFile) Validate

func (m *ExportFileRequest_ExportFile) Validate() error

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

func (m *ExportFileRequest_ExportFile) ValidateAll() error

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

type ExportFileRequest_ExportFileMultiError

type ExportFileRequest_ExportFileMultiError []error

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

func (ExportFileRequest_ExportFileMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ExportFileRequest_ExportFileMultiError) Error

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

type ExportFileRequest_ExportFileValidationError

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

ExportFileRequest_ExportFileValidationError is the validation error returned by ExportFileRequest_ExportFile.Validate if the designated constraints aren't met.

func (ExportFileRequest_ExportFileValidationError) Cause

Cause function returns cause value.

func (ExportFileRequest_ExportFileValidationError) Error

Error satisfies the builtin error interface

func (ExportFileRequest_ExportFileValidationError) ErrorName

ErrorName returns error name.

func (ExportFileRequest_ExportFileValidationError) Field

Field function returns field value.

func (ExportFileRequest_ExportFileValidationError) Key

Key function returns key value.

func (ExportFileRequest_ExportFileValidationError) Reason

Reason function returns reason value.

type ExportHTTPClient

type ExportHTTPClient interface {
	DeleteExport(ctx context.Context, req *DeleteExportRequest, opts ...http.CallOption) (rsp *DeleteExportReply, err error)
	ExportExcel(ctx context.Context, req *ExportExcelRequest, opts ...http.CallOption) (rsp *ExportExcelReply, err error)
	ExportFile(ctx context.Context, req *ExportFileRequest, opts ...http.CallOption) (rsp *ExportFileReply, err error)
	GetExport(ctx context.Context, req *GetExportRequest, opts ...http.CallOption) (rsp *GetExportReply, err error)
	ListExport(ctx context.Context, req *ListExportRequest, opts ...http.CallOption) (rsp *ListExportReply, err error)
}

func NewExportHTTPClient

func NewExportHTTPClient(client *http.Client) ExportHTTPClient

type ExportHTTPClientImpl

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

func (*ExportHTTPClientImpl) DeleteExport

func (*ExportHTTPClientImpl) ExportExcel

func (*ExportHTTPClientImpl) ExportFile

func (*ExportHTTPClientImpl) GetExport

func (*ExportHTTPClientImpl) ListExport

type ExportHTTPServer

type ExportHTTPServer interface {
	// DeleteExport DeleteExport 删除导出信息
	DeleteExport(context.Context, *DeleteExportRequest) (*DeleteExportReply, error)
	// ExportExcel ExportExcel 创建导出表格信息
	ExportExcel(context.Context, *ExportExcelRequest) (*ExportExcelReply, error)
	// ExportFile ExportFile 创建导出信息
	ExportFile(context.Context, *ExportFileRequest) (*ExportFileReply, error)
	// GetExport GetExport 获取指定的导出信息
	GetExport(context.Context, *GetExportRequest) (*GetExportReply, error)
	// ListExport ListExport 获取导出信息列表
	ListExport(context.Context, *ListExportRequest) (*ListExportReply, error)
}

type ExportServer

type ExportServer interface {
	// GetExport 获取指定的导出信息
	GetExport(context.Context, *GetExportRequest) (*GetExportReply, error)
	// ListExport 获取导出信息列表
	ListExport(context.Context, *ListExportRequest) (*ListExportReply, error)
	// ExportFile 创建导出信息
	ExportFile(context.Context, *ExportFileRequest) (*ExportFileReply, error)
	// ExportExcel 创建导出表格信息
	ExportExcel(context.Context, *ExportExcelRequest) (*ExportExcelReply, error)
	// DeleteExport 删除导出信息
	DeleteExport(context.Context, *DeleteExportRequest) (*DeleteExportReply, error)
	// contains filtered or unexported methods
}

ExportServer is the server API for Export service. All implementations must embed UnimplementedExportServer for forward compatibility.

type GetExportReply

type GetExportReply struct {
	Id           uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId       uint32  `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	DepartmentId uint32  `protobuf:"varint,3,opt,name=departmentId,proto3" json:"departmentId,omitempty"`
	Scene        string  `protobuf:"bytes,4,opt,name=scene,proto3" json:"scene,omitempty"`
	Name         string  `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Size         uint32  `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	Sha          string  `protobuf:"bytes,7,opt,name=sha,proto3" json:"sha,omitempty"`
	Src          string  `protobuf:"bytes,8,opt,name=src,proto3" json:"src,omitempty"`
	Status       string  `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
	Reason       *string `protobuf:"bytes,10,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	ExpiredAt    uint32  `protobuf:"varint,11,opt,name=expiredAt,proto3" json:"expiredAt,omitempty"`
	CreatedAt    uint32  `protobuf:"varint,12,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt    uint32  `protobuf:"varint,13,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Url          string  `protobuf:"bytes,14,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExportReply) Descriptor deprecated

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

Deprecated: Use GetExportReply.ProtoReflect.Descriptor instead.

func (*GetExportReply) GetCreatedAt

func (x *GetExportReply) GetCreatedAt() uint32

func (*GetExportReply) GetDepartmentId

func (x *GetExportReply) GetDepartmentId() uint32

func (*GetExportReply) GetExpiredAt

func (x *GetExportReply) GetExpiredAt() uint32

func (*GetExportReply) GetId

func (x *GetExportReply) GetId() uint32

func (*GetExportReply) GetName

func (x *GetExportReply) GetName() string

func (*GetExportReply) GetReason

func (x *GetExportReply) GetReason() string

func (*GetExportReply) GetScene

func (x *GetExportReply) GetScene() string

func (*GetExportReply) GetSha

func (x *GetExportReply) GetSha() string

func (*GetExportReply) GetSize

func (x *GetExportReply) GetSize() uint32

func (*GetExportReply) GetSrc

func (x *GetExportReply) GetSrc() string

func (*GetExportReply) GetStatus

func (x *GetExportReply) GetStatus() string

func (*GetExportReply) GetUpdatedAt

func (x *GetExportReply) GetUpdatedAt() uint32

func (*GetExportReply) GetUrl

func (x *GetExportReply) GetUrl() string

func (*GetExportReply) GetUserId

func (x *GetExportReply) GetUserId() uint32

func (*GetExportReply) ProtoMessage

func (*GetExportReply) ProtoMessage()

func (*GetExportReply) ProtoReflect

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

func (*GetExportReply) Reset

func (x *GetExportReply) Reset()

func (*GetExportReply) String

func (x *GetExportReply) String() string

func (*GetExportReply) Validate

func (m *GetExportReply) Validate() error

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

func (m *GetExportReply) ValidateAll() error

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

type GetExportReplyMultiError

type GetExportReplyMultiError []error

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

func (GetExportReplyMultiError) AllErrors

func (m GetExportReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetExportReplyMultiError) Error

func (m GetExportReplyMultiError) Error() string

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

type GetExportReplyValidationError

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

GetExportReplyValidationError is the validation error returned by GetExportReply.Validate if the designated constraints aren't met.

func (GetExportReplyValidationError) Cause

Cause function returns cause value.

func (GetExportReplyValidationError) Error

Error satisfies the builtin error interface

func (GetExportReplyValidationError) ErrorName

func (e GetExportReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetExportReplyValidationError) Field

Field function returns field value.

func (GetExportReplyValidationError) Key

Key function returns key value.

func (GetExportReplyValidationError) Reason

Reason function returns reason value.

type GetExportRequest

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

func (*GetExportRequest) Descriptor deprecated

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

Deprecated: Use GetExportRequest.ProtoReflect.Descriptor instead.

func (*GetExportRequest) GetId

func (x *GetExportRequest) GetId() uint32

func (*GetExportRequest) GetSha

func (x *GetExportRequest) GetSha() string

func (*GetExportRequest) ProtoMessage

func (*GetExportRequest) ProtoMessage()

func (*GetExportRequest) ProtoReflect

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

func (*GetExportRequest) Reset

func (x *GetExportRequest) Reset()

func (*GetExportRequest) String

func (x *GetExportRequest) String() string

func (*GetExportRequest) Validate

func (m *GetExportRequest) Validate() error

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

func (m *GetExportRequest) ValidateAll() error

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

type GetExportRequestMultiError

type GetExportRequestMultiError []error

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

func (GetExportRequestMultiError) AllErrors

func (m GetExportRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetExportRequestMultiError) Error

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

type GetExportRequestValidationError

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

GetExportRequestValidationError is the validation error returned by GetExportRequest.Validate if the designated constraints aren't met.

func (GetExportRequestValidationError) Cause

Cause function returns cause value.

func (GetExportRequestValidationError) Error

Error satisfies the builtin error interface

func (GetExportRequestValidationError) ErrorName

ErrorName returns error name.

func (GetExportRequestValidationError) Field

Field function returns field value.

func (GetExportRequestValidationError) Key

Key function returns key value.

func (GetExportRequestValidationError) Reason

Reason function returns reason value.

type ListExportReply

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

func (*ListExportReply) Descriptor deprecated

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

Deprecated: Use ListExportReply.ProtoReflect.Descriptor instead.

func (*ListExportReply) GetList

func (x *ListExportReply) GetList() []*ListExportReply_Export

func (*ListExportReply) GetTotal

func (x *ListExportReply) GetTotal() uint32

func (*ListExportReply) ProtoMessage

func (*ListExportReply) ProtoMessage()

func (*ListExportReply) ProtoReflect

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

func (*ListExportReply) Reset

func (x *ListExportReply) Reset()

func (*ListExportReply) String

func (x *ListExportReply) String() string

func (*ListExportReply) Validate

func (m *ListExportReply) Validate() error

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

func (m *ListExportReply) ValidateAll() error

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

type ListExportReplyMultiError

type ListExportReplyMultiError []error

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

func (ListExportReplyMultiError) AllErrors

func (m ListExportReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListExportReplyMultiError) Error

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

type ListExportReplyValidationError

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

ListExportReplyValidationError is the validation error returned by ListExportReply.Validate if the designated constraints aren't met.

func (ListExportReplyValidationError) Cause

Cause function returns cause value.

func (ListExportReplyValidationError) Error

Error satisfies the builtin error interface

func (ListExportReplyValidationError) ErrorName

func (e ListExportReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListExportReplyValidationError) Field

Field function returns field value.

func (ListExportReplyValidationError) Key

Key function returns key value.

func (ListExportReplyValidationError) Reason

Reason function returns reason value.

type ListExportReply_Export

type ListExportReply_Export struct {
	Id           uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId       uint32  `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	DepartmentId uint32  `protobuf:"varint,3,opt,name=departmentId,proto3" json:"departmentId,omitempty"`
	Scene        string  `protobuf:"bytes,4,opt,name=scene,proto3" json:"scene,omitempty"`
	Name         string  `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Size         uint32  `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	Sha          string  `protobuf:"bytes,7,opt,name=sha,proto3" json:"sha,omitempty"`
	Src          string  `protobuf:"bytes,8,opt,name=src,proto3" json:"src,omitempty"`
	Status       string  `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
	Reason       *string `protobuf:"bytes,10,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	ExpiredAt    uint32  `protobuf:"varint,11,opt,name=expiredAt,proto3" json:"expiredAt,omitempty"`
	CreatedAt    uint32  `protobuf:"varint,12,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt    uint32  `protobuf:"varint,13,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Url          string  `protobuf:"bytes,14,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExportReply_Export) Descriptor deprecated

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

Deprecated: Use ListExportReply_Export.ProtoReflect.Descriptor instead.

func (*ListExportReply_Export) GetCreatedAt

func (x *ListExportReply_Export) GetCreatedAt() uint32

func (*ListExportReply_Export) GetDepartmentId

func (x *ListExportReply_Export) GetDepartmentId() uint32

func (*ListExportReply_Export) GetExpiredAt

func (x *ListExportReply_Export) GetExpiredAt() uint32

func (*ListExportReply_Export) GetId

func (x *ListExportReply_Export) GetId() uint32

func (*ListExportReply_Export) GetName

func (x *ListExportReply_Export) GetName() string

func (*ListExportReply_Export) GetReason

func (x *ListExportReply_Export) GetReason() string

func (*ListExportReply_Export) GetScene

func (x *ListExportReply_Export) GetScene() string

func (*ListExportReply_Export) GetSha

func (x *ListExportReply_Export) GetSha() string

func (*ListExportReply_Export) GetSize

func (x *ListExportReply_Export) GetSize() uint32

func (*ListExportReply_Export) GetSrc

func (x *ListExportReply_Export) GetSrc() string

func (*ListExportReply_Export) GetStatus

func (x *ListExportReply_Export) GetStatus() string

func (*ListExportReply_Export) GetUpdatedAt

func (x *ListExportReply_Export) GetUpdatedAt() uint32

func (*ListExportReply_Export) GetUrl

func (x *ListExportReply_Export) GetUrl() string

func (*ListExportReply_Export) GetUserId

func (x *ListExportReply_Export) GetUserId() uint32

func (*ListExportReply_Export) ProtoMessage

func (*ListExportReply_Export) ProtoMessage()

func (*ListExportReply_Export) ProtoReflect

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

func (*ListExportReply_Export) Reset

func (x *ListExportReply_Export) Reset()

func (*ListExportReply_Export) String

func (x *ListExportReply_Export) String() string

func (*ListExportReply_Export) Validate

func (m *ListExportReply_Export) Validate() error

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

func (m *ListExportReply_Export) ValidateAll() error

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

type ListExportReply_ExportMultiError

type ListExportReply_ExportMultiError []error

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

func (ListExportReply_ExportMultiError) AllErrors

func (m ListExportReply_ExportMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListExportReply_ExportMultiError) Error

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

type ListExportReply_ExportValidationError

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

ListExportReply_ExportValidationError is the validation error returned by ListExportReply_Export.Validate if the designated constraints aren't met.

func (ListExportReply_ExportValidationError) Cause

Cause function returns cause value.

func (ListExportReply_ExportValidationError) Error

Error satisfies the builtin error interface

func (ListExportReply_ExportValidationError) ErrorName

ErrorName returns error name.

func (ListExportReply_ExportValidationError) Field

Field function returns field value.

func (ListExportReply_ExportValidationError) Key

Key function returns key value.

func (ListExportReply_ExportValidationError) Reason

Reason function returns reason value.

type ListExportRequest

type ListExportRequest 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"`
	All           bool     `protobuf:"varint,5,opt,name=all,proto3" json:"all,omitempty"`
	UserIds       []uint32 `protobuf:"varint,6,rep,packed,name=userIds,proto3" json:"userIds,omitempty"`
	DepartmentIds []uint32 `protobuf:"varint,7,rep,packed,name=departmentIds,proto3" json:"departmentIds,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExportRequest) Descriptor deprecated

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

Deprecated: Use ListExportRequest.ProtoReflect.Descriptor instead.

func (*ListExportRequest) GetAll

func (x *ListExportRequest) GetAll() bool

func (*ListExportRequest) GetDepartmentIds

func (x *ListExportRequest) GetDepartmentIds() []uint32

func (*ListExportRequest) GetOrder

func (x *ListExportRequest) GetOrder() string

func (*ListExportRequest) GetOrderBy

func (x *ListExportRequest) GetOrderBy() string

func (*ListExportRequest) GetPage

func (x *ListExportRequest) GetPage() uint32

func (*ListExportRequest) GetPageSize

func (x *ListExportRequest) GetPageSize() uint32

func (*ListExportRequest) GetUserIds

func (x *ListExportRequest) GetUserIds() []uint32

func (*ListExportRequest) ProtoMessage

func (*ListExportRequest) ProtoMessage()

func (*ListExportRequest) ProtoReflect

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

func (*ListExportRequest) Reset

func (x *ListExportRequest) Reset()

func (*ListExportRequest) String

func (x *ListExportRequest) String() string

func (*ListExportRequest) Validate

func (m *ListExportRequest) Validate() error

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

func (m *ListExportRequest) ValidateAll() error

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

type ListExportRequestMultiError

type ListExportRequestMultiError []error

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

func (ListExportRequestMultiError) AllErrors

func (m ListExportRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListExportRequestMultiError) Error

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

type ListExportRequestValidationError

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

ListExportRequestValidationError is the validation error returned by ListExportRequest.Validate if the designated constraints aren't met.

func (ListExportRequestValidationError) Cause

Cause function returns cause value.

func (ListExportRequestValidationError) Error

Error satisfies the builtin error interface

func (ListExportRequestValidationError) ErrorName

ErrorName returns error name.

func (ListExportRequestValidationError) Field

Field function returns field value.

func (ListExportRequestValidationError) Key

Key function returns key value.

func (ListExportRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedExportServer

type UnimplementedExportServer struct{}

UnimplementedExportServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedExportServer) DeleteExport

func (UnimplementedExportServer) ExportExcel

func (UnimplementedExportServer) ExportFile

func (UnimplementedExportServer) GetExport

func (UnimplementedExportServer) ListExport

type UnsafeExportServer

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

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

Jump to

Keyboard shortcuts

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