Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterExportHTTPServer(s *http.Server, srv ExportHTTPServer)
- func RegisterExportServer(s grpc.ServiceRegistrar, srv ExportServer)
- type DeleteExportReply
- func (*DeleteExportReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteExportReply) GetTotal() uint32
- func (*DeleteExportReply) ProtoMessage()
- func (x *DeleteExportReply) ProtoReflect() protoreflect.Message
- func (x *DeleteExportReply) Reset()
- func (x *DeleteExportReply) String() string
- func (m *DeleteExportReply) Validate() error
- func (m *DeleteExportReply) ValidateAll() error
- type DeleteExportReplyMultiError
- type DeleteExportReplyValidationError
- func (e DeleteExportReplyValidationError) Cause() error
- func (e DeleteExportReplyValidationError) Error() string
- func (e DeleteExportReplyValidationError) ErrorName() string
- func (e DeleteExportReplyValidationError) Field() string
- func (e DeleteExportReplyValidationError) Key() bool
- func (e DeleteExportReplyValidationError) Reason() string
- type DeleteExportRequest
- func (*DeleteExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteExportRequest) GetIds() []uint32
- func (*DeleteExportRequest) ProtoMessage()
- func (x *DeleteExportRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteExportRequest) Reset()
- func (x *DeleteExportRequest) String() string
- func (m *DeleteExportRequest) Validate() error
- func (m *DeleteExportRequest) ValidateAll() error
- type DeleteExportRequestMultiError
- type DeleteExportRequestValidationError
- func (e DeleteExportRequestValidationError) Cause() error
- func (e DeleteExportRequestValidationError) Error() string
- func (e DeleteExportRequestValidationError) ErrorName() string
- func (e DeleteExportRequestValidationError) Field() string
- func (e DeleteExportRequestValidationError) Key() bool
- func (e DeleteExportRequestValidationError) Reason() string
- type ExportClient
- type ExportExcelReply
- func (*ExportExcelReply) Descriptor() ([]byte, []int)deprecated
- func (x *ExportExcelReply) GetId() uint32
- func (*ExportExcelReply) ProtoMessage()
- func (x *ExportExcelReply) ProtoReflect() protoreflect.Message
- func (x *ExportExcelReply) Reset()
- func (x *ExportExcelReply) String() string
- func (m *ExportExcelReply) Validate() error
- func (m *ExportExcelReply) ValidateAll() error
- type ExportExcelReplyMultiError
- type ExportExcelReplyValidationError
- func (e ExportExcelReplyValidationError) Cause() error
- func (e ExportExcelReplyValidationError) Error() string
- func (e ExportExcelReplyValidationError) ErrorName() string
- func (e ExportExcelReplyValidationError) Field() string
- func (e ExportExcelReplyValidationError) Key() bool
- func (e ExportExcelReplyValidationError) Reason() string
- type ExportExcelRequest
- func (*ExportExcelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportExcelRequest) GetDepartmentId() uint32
- func (x *ExportExcelRequest) GetName() string
- func (x *ExportExcelRequest) GetRows() []*ExportExcelRequest_Row
- func (x *ExportExcelRequest) GetScene() string
- func (x *ExportExcelRequest) GetUserId() uint32
- func (*ExportExcelRequest) ProtoMessage()
- func (x *ExportExcelRequest) ProtoReflect() protoreflect.Message
- func (x *ExportExcelRequest) Reset()
- func (x *ExportExcelRequest) String() string
- func (m *ExportExcelRequest) Validate() error
- func (m *ExportExcelRequest) ValidateAll() error
- type ExportExcelRequestMultiError
- type ExportExcelRequestValidationError
- func (e ExportExcelRequestValidationError) Cause() error
- func (e ExportExcelRequestValidationError) Error() string
- func (e ExportExcelRequestValidationError) ErrorName() string
- func (e ExportExcelRequestValidationError) Field() string
- func (e ExportExcelRequestValidationError) Key() bool
- func (e ExportExcelRequestValidationError) Reason() string
- type ExportExcelRequest_Col
- func (*ExportExcelRequest_Col) Descriptor() ([]byte, []int)deprecated
- func (x *ExportExcelRequest_Col) GetType() string
- func (x *ExportExcelRequest_Col) GetValue() string
- func (*ExportExcelRequest_Col) ProtoMessage()
- func (x *ExportExcelRequest_Col) ProtoReflect() protoreflect.Message
- func (x *ExportExcelRequest_Col) Reset()
- func (x *ExportExcelRequest_Col) String() string
- func (m *ExportExcelRequest_Col) Validate() error
- func (m *ExportExcelRequest_Col) ValidateAll() error
- type ExportExcelRequest_ColMultiError
- type ExportExcelRequest_ColValidationError
- func (e ExportExcelRequest_ColValidationError) Cause() error
- func (e ExportExcelRequest_ColValidationError) Error() string
- func (e ExportExcelRequest_ColValidationError) ErrorName() string
- func (e ExportExcelRequest_ColValidationError) Field() string
- func (e ExportExcelRequest_ColValidationError) Key() bool
- func (e ExportExcelRequest_ColValidationError) Reason() string
- type ExportExcelRequest_Row
- func (*ExportExcelRequest_Row) Descriptor() ([]byte, []int)deprecated
- func (x *ExportExcelRequest_Row) GetCols() []*ExportExcelRequest_Col
- func (*ExportExcelRequest_Row) ProtoMessage()
- func (x *ExportExcelRequest_Row) ProtoReflect() protoreflect.Message
- func (x *ExportExcelRequest_Row) Reset()
- func (x *ExportExcelRequest_Row) String() string
- func (m *ExportExcelRequest_Row) Validate() error
- func (m *ExportExcelRequest_Row) ValidateAll() error
- type ExportExcelRequest_RowMultiError
- type ExportExcelRequest_RowValidationError
- func (e ExportExcelRequest_RowValidationError) Cause() error
- func (e ExportExcelRequest_RowValidationError) Error() string
- func (e ExportExcelRequest_RowValidationError) ErrorName() string
- func (e ExportExcelRequest_RowValidationError) Field() string
- func (e ExportExcelRequest_RowValidationError) Key() bool
- func (e ExportExcelRequest_RowValidationError) Reason() string
- type ExportFileReply
- func (*ExportFileReply) Descriptor() ([]byte, []int)deprecated
- func (x *ExportFileReply) GetId() uint32
- func (*ExportFileReply) ProtoMessage()
- func (x *ExportFileReply) ProtoReflect() protoreflect.Message
- func (x *ExportFileReply) Reset()
- func (x *ExportFileReply) String() string
- func (m *ExportFileReply) Validate() error
- func (m *ExportFileReply) ValidateAll() error
- type ExportFileReplyMultiError
- type ExportFileReplyValidationError
- func (e ExportFileReplyValidationError) Cause() error
- func (e ExportFileReplyValidationError) Error() string
- func (e ExportFileReplyValidationError) ErrorName() string
- func (e ExportFileReplyValidationError) Field() string
- func (e ExportFileReplyValidationError) Key() bool
- func (e ExportFileReplyValidationError) Reason() string
- type ExportFileRequest
- func (*ExportFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportFileRequest) GetDepartmentId() uint32
- func (x *ExportFileRequest) GetFiles() []*ExportFileRequest_ExportFile
- func (x *ExportFileRequest) GetIds() []uint32
- func (x *ExportFileRequest) GetName() string
- func (x *ExportFileRequest) GetScene() string
- func (x *ExportFileRequest) GetUserId() uint32
- func (*ExportFileRequest) ProtoMessage()
- func (x *ExportFileRequest) ProtoReflect() protoreflect.Message
- func (x *ExportFileRequest) Reset()
- func (x *ExportFileRequest) String() string
- func (m *ExportFileRequest) Validate() error
- func (m *ExportFileRequest) ValidateAll() error
- type ExportFileRequestMultiError
- type ExportFileRequestValidationError
- func (e ExportFileRequestValidationError) Cause() error
- func (e ExportFileRequestValidationError) Error() string
- func (e ExportFileRequestValidationError) ErrorName() string
- func (e ExportFileRequestValidationError) Field() string
- func (e ExportFileRequestValidationError) Key() bool
- func (e ExportFileRequestValidationError) Reason() string
- type ExportFileRequest_ExportFile
- func (*ExportFileRequest_ExportFile) Descriptor() ([]byte, []int)deprecated
- func (x *ExportFileRequest_ExportFile) GetRename() string
- func (x *ExportFileRequest_ExportFile) GetValue() string
- func (*ExportFileRequest_ExportFile) ProtoMessage()
- func (x *ExportFileRequest_ExportFile) ProtoReflect() protoreflect.Message
- func (x *ExportFileRequest_ExportFile) Reset()
- func (x *ExportFileRequest_ExportFile) String() string
- func (m *ExportFileRequest_ExportFile) Validate() error
- func (m *ExportFileRequest_ExportFile) ValidateAll() error
- type ExportFileRequest_ExportFileMultiError
- type ExportFileRequest_ExportFileValidationError
- func (e ExportFileRequest_ExportFileValidationError) Cause() error
- func (e ExportFileRequest_ExportFileValidationError) Error() string
- func (e ExportFileRequest_ExportFileValidationError) ErrorName() string
- func (e ExportFileRequest_ExportFileValidationError) Field() string
- func (e ExportFileRequest_ExportFileValidationError) Key() bool
- func (e ExportFileRequest_ExportFileValidationError) Reason() string
- type ExportHTTPClient
- type ExportHTTPClientImpl
- func (c *ExportHTTPClientImpl) DeleteExport(ctx context.Context, in *DeleteExportRequest, opts ...http.CallOption) (*DeleteExportReply, error)
- func (c *ExportHTTPClientImpl) ExportExcel(ctx context.Context, in *ExportExcelRequest, opts ...http.CallOption) (*ExportExcelReply, error)
- func (c *ExportHTTPClientImpl) ExportFile(ctx context.Context, in *ExportFileRequest, opts ...http.CallOption) (*ExportFileReply, error)
- func (c *ExportHTTPClientImpl) GetExport(ctx context.Context, in *GetExportRequest, opts ...http.CallOption) (*GetExportReply, error)
- func (c *ExportHTTPClientImpl) ListExport(ctx context.Context, in *ListExportRequest, opts ...http.CallOption) (*ListExportReply, error)
- type ExportHTTPServer
- type ExportServer
- type GetExportReply
- func (*GetExportReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetExportReply) GetCreatedAt() uint32
- func (x *GetExportReply) GetDepartmentId() uint32
- func (x *GetExportReply) GetExpiredAt() uint32
- func (x *GetExportReply) GetId() uint32
- func (x *GetExportReply) GetName() string
- func (x *GetExportReply) GetReason() string
- func (x *GetExportReply) GetScene() string
- func (x *GetExportReply) GetSha() string
- func (x *GetExportReply) GetSize() uint32
- func (x *GetExportReply) GetSrc() string
- func (x *GetExportReply) GetStatus() string
- func (x *GetExportReply) GetUpdatedAt() uint32
- func (x *GetExportReply) GetUrl() string
- func (x *GetExportReply) GetUserId() uint32
- func (*GetExportReply) ProtoMessage()
- func (x *GetExportReply) ProtoReflect() protoreflect.Message
- func (x *GetExportReply) Reset()
- func (x *GetExportReply) String() string
- func (m *GetExportReply) Validate() error
- func (m *GetExportReply) ValidateAll() error
- type GetExportReplyMultiError
- type GetExportReplyValidationError
- func (e GetExportReplyValidationError) Cause() error
- func (e GetExportReplyValidationError) Error() string
- func (e GetExportReplyValidationError) ErrorName() string
- func (e GetExportReplyValidationError) Field() string
- func (e GetExportReplyValidationError) Key() bool
- func (e GetExportReplyValidationError) Reason() string
- type GetExportRequest
- func (*GetExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExportRequest) GetId() uint32
- func (x *GetExportRequest) GetSha() string
- func (*GetExportRequest) ProtoMessage()
- func (x *GetExportRequest) ProtoReflect() protoreflect.Message
- func (x *GetExportRequest) Reset()
- func (x *GetExportRequest) String() string
- func (m *GetExportRequest) Validate() error
- func (m *GetExportRequest) ValidateAll() error
- type GetExportRequestMultiError
- type GetExportRequestValidationError
- func (e GetExportRequestValidationError) Cause() error
- func (e GetExportRequestValidationError) Error() string
- func (e GetExportRequestValidationError) ErrorName() string
- func (e GetExportRequestValidationError) Field() string
- func (e GetExportRequestValidationError) Key() bool
- func (e GetExportRequestValidationError) Reason() string
- type ListExportReply
- func (*ListExportReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListExportReply) GetList() []*ListExportReply_Export
- func (x *ListExportReply) GetTotal() uint32
- func (*ListExportReply) ProtoMessage()
- func (x *ListExportReply) ProtoReflect() protoreflect.Message
- func (x *ListExportReply) Reset()
- func (x *ListExportReply) String() string
- func (m *ListExportReply) Validate() error
- func (m *ListExportReply) ValidateAll() error
- type ListExportReplyMultiError
- type ListExportReplyValidationError
- func (e ListExportReplyValidationError) Cause() error
- func (e ListExportReplyValidationError) Error() string
- func (e ListExportReplyValidationError) ErrorName() string
- func (e ListExportReplyValidationError) Field() string
- func (e ListExportReplyValidationError) Key() bool
- func (e ListExportReplyValidationError) Reason() string
- type ListExportReply_Export
- func (*ListExportReply_Export) Descriptor() ([]byte, []int)deprecated
- func (x *ListExportReply_Export) GetCreatedAt() uint32
- func (x *ListExportReply_Export) GetDepartmentId() uint32
- func (x *ListExportReply_Export) GetExpiredAt() uint32
- func (x *ListExportReply_Export) GetId() uint32
- func (x *ListExportReply_Export) GetName() string
- func (x *ListExportReply_Export) GetReason() string
- func (x *ListExportReply_Export) GetScene() string
- func (x *ListExportReply_Export) GetSha() string
- func (x *ListExportReply_Export) GetSize() uint32
- func (x *ListExportReply_Export) GetSrc() string
- func (x *ListExportReply_Export) GetStatus() string
- func (x *ListExportReply_Export) GetUpdatedAt() uint32
- func (x *ListExportReply_Export) GetUrl() string
- func (x *ListExportReply_Export) GetUserId() uint32
- func (*ListExportReply_Export) ProtoMessage()
- func (x *ListExportReply_Export) ProtoReflect() protoreflect.Message
- func (x *ListExportReply_Export) Reset()
- func (x *ListExportReply_Export) String() string
- func (m *ListExportReply_Export) Validate() error
- func (m *ListExportReply_Export) ValidateAll() error
- type ListExportReply_ExportMultiError
- type ListExportReply_ExportValidationError
- func (e ListExportReply_ExportValidationError) Cause() error
- func (e ListExportReply_ExportValidationError) Error() string
- func (e ListExportReply_ExportValidationError) ErrorName() string
- func (e ListExportReply_ExportValidationError) Field() string
- func (e ListExportReply_ExportValidationError) Key() bool
- func (e ListExportReply_ExportValidationError) Reason() string
- type ListExportRequest
- func (*ListExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListExportRequest) GetAll() bool
- func (x *ListExportRequest) GetDepartmentIds() []uint32
- func (x *ListExportRequest) GetOrder() string
- func (x *ListExportRequest) GetOrderBy() string
- func (x *ListExportRequest) GetPage() uint32
- func (x *ListExportRequest) GetPageSize() uint32
- func (x *ListExportRequest) GetUserIds() []uint32
- func (*ListExportRequest) ProtoMessage()
- func (x *ListExportRequest) ProtoReflect() protoreflect.Message
- func (x *ListExportRequest) Reset()
- func (x *ListExportRequest) String() string
- func (m *ListExportRequest) Validate() error
- func (m *ListExportRequest) ValidateAll() error
- type ListExportRequestMultiError
- type ListExportRequestValidationError
- func (e ListExportRequestValidationError) Cause() error
- func (e ListExportRequestValidationError) Error() string
- func (e ListExportRequestValidationError) ErrorName() string
- func (e ListExportRequestValidationError) Field() string
- func (e ListExportRequestValidationError) Key() bool
- func (e ListExportRequestValidationError) Reason() string
- type UnimplementedExportServer
- func (UnimplementedExportServer) DeleteExport(context.Context, *DeleteExportRequest) (*DeleteExportReply, error)
- func (UnimplementedExportServer) ExportExcel(context.Context, *ExportExcelRequest) (*ExportExcelReply, error)
- func (UnimplementedExportServer) ExportFile(context.Context, *ExportFileRequest) (*ExportFileReply, error)
- func (UnimplementedExportServer) GetExport(context.Context, *GetExportRequest) (*GetExportReply, error)
- func (UnimplementedExportServer) ListExport(context.Context, *ListExportRequest) (*ListExportReply, error)
- type UnsafeExportServer
Constants ¶
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" )
const OperationExportDeleteExport = "/wilson.api.resource.export.v1.Export/DeleteExport"
const OperationExportExportExcel = "/wilson.api.resource.export.v1.Export/ExportExcel"
const OperationExportExportFile = "/wilson.api.resource.export.v1.Export/ExportFile"
const OperationExportGetExport = "/wilson.api.resource.export.v1.Export/GetExport"
const OperationExportListExport = "/wilson.api.resource.export.v1.Export/ListExport"
Variables ¶
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)
var File_resource_export_v1_resource_export_proto protoreflect.FileDescriptor
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 ¶
func (m DeleteExportReplyMultiError) Error() string
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 ¶
func (e DeleteExportReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteExportReplyValidationError) Error ¶
func (e DeleteExportReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteExportReplyValidationError) ErrorName ¶
func (e DeleteExportReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteExportReplyValidationError) Field ¶
func (e DeleteExportReplyValidationError) Field() string
Field function returns field value.
func (DeleteExportReplyValidationError) Key ¶
func (e DeleteExportReplyValidationError) Key() bool
Key function returns key value.
func (DeleteExportReplyValidationError) Reason ¶
func (e DeleteExportReplyValidationError) Reason() string
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 ¶
func (m DeleteExportRequestMultiError) Error() string
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 ¶
func (e DeleteExportRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteExportRequestValidationError) Error ¶
func (e DeleteExportRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteExportRequestValidationError) ErrorName ¶
func (e DeleteExportRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteExportRequestValidationError) Field ¶
func (e DeleteExportRequestValidationError) Field() string
Field function returns field value.
func (DeleteExportRequestValidationError) Key ¶
func (e DeleteExportRequestValidationError) Key() bool
Key function returns key value.
func (DeleteExportRequestValidationError) Reason ¶
func (e DeleteExportRequestValidationError) Reason() string
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 ¶
func (m ExportExcelReplyMultiError) Error() string
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 ¶
func (e ExportExcelReplyValidationError) Cause() error
Cause function returns cause value.
func (ExportExcelReplyValidationError) Error ¶
func (e ExportExcelReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ExportExcelReplyValidationError) ErrorName ¶
func (e ExportExcelReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ExportExcelReplyValidationError) Field ¶
func (e ExportExcelReplyValidationError) Field() string
Field function returns field value.
func (ExportExcelReplyValidationError) Key ¶
func (e ExportExcelReplyValidationError) Key() bool
Key function returns key value.
func (ExportExcelReplyValidationError) Reason ¶
func (e ExportExcelReplyValidationError) Reason() string
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 (x *ExportExcelRequest) GetRows() []*ExportExcelRequest_Row
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 ¶
func (m ExportExcelRequestMultiError) Error() string
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 ¶
func (e ExportExcelRequestValidationError) Cause() error
Cause function returns cause value.
func (ExportExcelRequestValidationError) Error ¶
func (e ExportExcelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ExportExcelRequestValidationError) ErrorName ¶
func (e ExportExcelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ExportExcelRequestValidationError) Field ¶
func (e ExportExcelRequestValidationError) Field() string
Field function returns field value.
func (ExportExcelRequestValidationError) Key ¶
func (e ExportExcelRequestValidationError) Key() bool
Key function returns key value.
func (ExportExcelRequestValidationError) Reason ¶
func (e ExportExcelRequestValidationError) Reason() string
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 ¶
func (m ExportExcelRequest_ColMultiError) Error() string
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 ¶
func (e ExportExcelRequest_ColValidationError) Cause() error
Cause function returns cause value.
func (ExportExcelRequest_ColValidationError) Error ¶
func (e ExportExcelRequest_ColValidationError) Error() string
Error satisfies the builtin error interface
func (ExportExcelRequest_ColValidationError) ErrorName ¶
func (e ExportExcelRequest_ColValidationError) ErrorName() string
ErrorName returns error name.
func (ExportExcelRequest_ColValidationError) Field ¶
func (e ExportExcelRequest_ColValidationError) Field() string
Field function returns field value.
func (ExportExcelRequest_ColValidationError) Key ¶
func (e ExportExcelRequest_ColValidationError) Key() bool
Key function returns key value.
func (ExportExcelRequest_ColValidationError) Reason ¶
func (e ExportExcelRequest_ColValidationError) Reason() string
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 (x *ExportExcelRequest_Row) GetCols() []*ExportExcelRequest_Col
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 ¶
func (m ExportExcelRequest_RowMultiError) Error() string
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 ¶
func (e ExportExcelRequest_RowValidationError) Cause() error
Cause function returns cause value.
func (ExportExcelRequest_RowValidationError) Error ¶
func (e ExportExcelRequest_RowValidationError) Error() string
Error satisfies the builtin error interface
func (ExportExcelRequest_RowValidationError) ErrorName ¶
func (e ExportExcelRequest_RowValidationError) ErrorName() string
ErrorName returns error name.
func (ExportExcelRequest_RowValidationError) Field ¶
func (e ExportExcelRequest_RowValidationError) Field() string
Field function returns field value.
func (ExportExcelRequest_RowValidationError) Key ¶
func (e ExportExcelRequest_RowValidationError) Key() bool
Key function returns key value.
func (ExportExcelRequest_RowValidationError) Reason ¶
func (e ExportExcelRequest_RowValidationError) Reason() string
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 ¶
func (m ExportFileReplyMultiError) Error() string
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 ¶
func (e ExportFileReplyValidationError) Cause() error
Cause function returns cause value.
func (ExportFileReplyValidationError) Error ¶
func (e ExportFileReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ExportFileReplyValidationError) ErrorName ¶
func (e ExportFileReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ExportFileReplyValidationError) Field ¶
func (e ExportFileReplyValidationError) Field() string
Field function returns field value.
func (ExportFileReplyValidationError) Key ¶
func (e ExportFileReplyValidationError) Key() bool
Key function returns key value.
func (ExportFileReplyValidationError) Reason ¶
func (e ExportFileReplyValidationError) Reason() string
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 (x *ExportFileRequest) GetFiles() []*ExportFileRequest_ExportFile
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 ¶
func (m ExportFileRequestMultiError) Error() string
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 ¶
func (e ExportFileRequestValidationError) Cause() error
Cause function returns cause value.
func (ExportFileRequestValidationError) Error ¶
func (e ExportFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ExportFileRequestValidationError) ErrorName ¶
func (e ExportFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ExportFileRequestValidationError) Field ¶
func (e ExportFileRequestValidationError) Field() string
Field function returns field value.
func (ExportFileRequestValidationError) Key ¶
func (e ExportFileRequestValidationError) Key() bool
Key function returns key value.
func (ExportFileRequestValidationError) Reason ¶
func (e ExportFileRequestValidationError) Reason() string
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 (x *ExportFileRequest_ExportFile) ProtoReflect() protoreflect.Message
func (*ExportFileRequest_ExportFile) Reset ¶
func (x *ExportFileRequest_ExportFile) Reset()
func (*ExportFileRequest_ExportFile) String ¶
func (x *ExportFileRequest_ExportFile) String() 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 ¶
func (m ExportFileRequest_ExportFileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExportFileRequest_ExportFileMultiError) Error ¶
func (m ExportFileRequest_ExportFileMultiError) Error() string
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 ¶
func (e ExportFileRequest_ExportFileValidationError) Cause() error
Cause function returns cause value.
func (ExportFileRequest_ExportFileValidationError) Error ¶
func (e ExportFileRequest_ExportFileValidationError) Error() string
Error satisfies the builtin error interface
func (ExportFileRequest_ExportFileValidationError) ErrorName ¶
func (e ExportFileRequest_ExportFileValidationError) ErrorName() string
ErrorName returns error name.
func (ExportFileRequest_ExportFileValidationError) Field ¶
func (e ExportFileRequest_ExportFileValidationError) Field() string
Field function returns field value.
func (ExportFileRequest_ExportFileValidationError) Key ¶
func (e ExportFileRequest_ExportFileValidationError) Key() bool
Key function returns key value.
func (ExportFileRequest_ExportFileValidationError) Reason ¶
func (e ExportFileRequest_ExportFileValidationError) Reason() string
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 (c *ExportHTTPClientImpl) DeleteExport(ctx context.Context, in *DeleteExportRequest, opts ...http.CallOption) (*DeleteExportReply, error)
func (*ExportHTTPClientImpl) ExportExcel ¶
func (c *ExportHTTPClientImpl) ExportExcel(ctx context.Context, in *ExportExcelRequest, opts ...http.CallOption) (*ExportExcelReply, error)
func (*ExportHTTPClientImpl) ExportFile ¶
func (c *ExportHTTPClientImpl) ExportFile(ctx context.Context, in *ExportFileRequest, opts ...http.CallOption) (*ExportFileReply, error)
func (*ExportHTTPClientImpl) GetExport ¶
func (c *ExportHTTPClientImpl) GetExport(ctx context.Context, in *GetExportRequest, opts ...http.CallOption) (*GetExportReply, error)
func (*ExportHTTPClientImpl) ListExport ¶
func (c *ExportHTTPClientImpl) ListExport(ctx context.Context, in *ListExportRequest, opts ...http.CallOption) (*ListExportReply, error)
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 ¶
func (e GetExportReplyValidationError) Cause() error
Cause function returns cause value.
func (GetExportReplyValidationError) Error ¶
func (e GetExportReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetExportReplyValidationError) ErrorName ¶
func (e GetExportReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetExportReplyValidationError) Field ¶
func (e GetExportReplyValidationError) Field() string
Field function returns field value.
func (GetExportReplyValidationError) Key ¶
func (e GetExportReplyValidationError) Key() bool
Key function returns key value.
func (GetExportReplyValidationError) Reason ¶
func (e GetExportReplyValidationError) Reason() string
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 ¶
func (m GetExportRequestMultiError) Error() string
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 ¶
func (e GetExportRequestValidationError) Cause() error
Cause function returns cause value.
func (GetExportRequestValidationError) Error ¶
func (e GetExportRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetExportRequestValidationError) ErrorName ¶
func (e GetExportRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetExportRequestValidationError) Field ¶
func (e GetExportRequestValidationError) Field() string
Field function returns field value.
func (GetExportRequestValidationError) Key ¶
func (e GetExportRequestValidationError) Key() bool
Key function returns key value.
func (GetExportRequestValidationError) Reason ¶
func (e GetExportRequestValidationError) Reason() string
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 ¶
func (m ListExportReplyMultiError) Error() string
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 ¶
func (e ListExportReplyValidationError) Cause() error
Cause function returns cause value.
func (ListExportReplyValidationError) Error ¶
func (e ListExportReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListExportReplyValidationError) ErrorName ¶
func (e ListExportReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListExportReplyValidationError) Field ¶
func (e ListExportReplyValidationError) Field() string
Field function returns field value.
func (ListExportReplyValidationError) Key ¶
func (e ListExportReplyValidationError) Key() bool
Key function returns key value.
func (ListExportReplyValidationError) Reason ¶
func (e ListExportReplyValidationError) Reason() string
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 ¶
func (m ListExportReply_ExportMultiError) Error() string
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 ¶
func (e ListExportReply_ExportValidationError) Cause() error
Cause function returns cause value.
func (ListExportReply_ExportValidationError) Error ¶
func (e ListExportReply_ExportValidationError) Error() string
Error satisfies the builtin error interface
func (ListExportReply_ExportValidationError) ErrorName ¶
func (e ListExportReply_ExportValidationError) ErrorName() string
ErrorName returns error name.
func (ListExportReply_ExportValidationError) Field ¶
func (e ListExportReply_ExportValidationError) Field() string
Field function returns field value.
func (ListExportReply_ExportValidationError) Key ¶
func (e ListExportReply_ExportValidationError) Key() bool
Key function returns key value.
func (ListExportReply_ExportValidationError) Reason ¶
func (e ListExportReply_ExportValidationError) Reason() string
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 ¶
func (m ListExportRequestMultiError) Error() string
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 ¶
func (e ListExportRequestValidationError) Cause() error
Cause function returns cause value.
func (ListExportRequestValidationError) Error ¶
func (e ListExportRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListExportRequestValidationError) ErrorName ¶
func (e ListExportRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListExportRequestValidationError) Field ¶
func (e ListExportRequestValidationError) Field() string
Field function returns field value.
func (ListExportRequestValidationError) Key ¶
func (e ListExportRequestValidationError) Key() bool
Key function returns key value.
func (ListExportRequestValidationError) Reason ¶
func (e ListExportRequestValidationError) Reason() string
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) DeleteExport(context.Context, *DeleteExportRequest) (*DeleteExportReply, error)
func (UnimplementedExportServer) ExportExcel ¶
func (UnimplementedExportServer) ExportExcel(context.Context, *ExportExcelRequest) (*ExportExcelReply, error)
func (UnimplementedExportServer) ExportFile ¶
func (UnimplementedExportServer) ExportFile(context.Context, *ExportFileRequest) (*ExportFileReply, error)
func (UnimplementedExportServer) GetExport ¶
func (UnimplementedExportServer) GetExport(context.Context, *GetExportRequest) (*GetExportReply, error)
func (UnimplementedExportServer) ListExport ¶
func (UnimplementedExportServer) ListExport(context.Context, *ListExportRequest) (*ListExportReply, error)
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.