v1

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var Export_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "resource.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: "api/resource/export/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_api_resource_export_resource_export_proto protoreflect.FileDescriptor
View Source
var File_api_resource_export_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 added in v1.0.12

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

func (*ExportExcelReply) Descriptor deprecated added in v1.0.12

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

Deprecated: Use ExportExcelReply.ProtoReflect.Descriptor instead.

func (*ExportExcelReply) GetId added in v1.0.12

func (x *ExportExcelReply) GetId() uint32

func (*ExportExcelReply) ProtoMessage added in v1.0.12

func (*ExportExcelReply) ProtoMessage()

func (*ExportExcelReply) ProtoReflect added in v1.0.12

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

func (*ExportExcelReply) Reset added in v1.0.12

func (x *ExportExcelReply) Reset()

func (*ExportExcelReply) String added in v1.0.12

func (x *ExportExcelReply) String() string

func (*ExportExcelReply) Validate added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

func (m ExportExcelReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportExcelReplyMultiError) Error added in v1.0.12

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

type ExportExcelReplyValidationError added in v1.0.12

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 added in v1.0.12

Cause function returns cause value.

func (ExportExcelReplyValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (ExportExcelReplyValidationError) ErrorName added in v1.0.12

ErrorName returns error name.

func (ExportExcelReplyValidationError) Field added in v1.0.12

Field function returns field value.

func (ExportExcelReplyValidationError) Key added in v1.0.12

Key function returns key value.

func (ExportExcelReplyValidationError) Reason added in v1.0.12

Reason function returns reason value.

type ExportExcelRequest added in v1.0.12

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 added in v1.0.12

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

Deprecated: Use ExportExcelRequest.ProtoReflect.Descriptor instead.

func (*ExportExcelRequest) GetDepartmentId added in v1.0.12

func (x *ExportExcelRequest) GetDepartmentId() uint32

func (*ExportExcelRequest) GetName added in v1.0.12

func (x *ExportExcelRequest) GetName() string

func (*ExportExcelRequest) GetRows added in v1.0.12

func (*ExportExcelRequest) GetScene added in v1.0.12

func (x *ExportExcelRequest) GetScene() string

func (*ExportExcelRequest) GetUserId added in v1.0.12

func (x *ExportExcelRequest) GetUserId() uint32

func (*ExportExcelRequest) ProtoMessage added in v1.0.12

func (*ExportExcelRequest) ProtoMessage()

func (*ExportExcelRequest) ProtoReflect added in v1.0.12

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

func (*ExportExcelRequest) Reset added in v1.0.12

func (x *ExportExcelRequest) Reset()

func (*ExportExcelRequest) String added in v1.0.12

func (x *ExportExcelRequest) String() string

func (*ExportExcelRequest) Validate added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

func (m ExportExcelRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportExcelRequestMultiError) Error added in v1.0.12

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

type ExportExcelRequestValidationError added in v1.0.12

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 added in v1.0.12

Cause function returns cause value.

func (ExportExcelRequestValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (ExportExcelRequestValidationError) ErrorName added in v1.0.12

ErrorName returns error name.

func (ExportExcelRequestValidationError) Field added in v1.0.12

Field function returns field value.

func (ExportExcelRequestValidationError) Key added in v1.0.12

Key function returns key value.

func (ExportExcelRequestValidationError) Reason added in v1.0.12

Reason function returns reason value.

type ExportExcelRequest_Col added in v1.0.12

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 added in v1.0.12

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

Deprecated: Use ExportExcelRequest_Col.ProtoReflect.Descriptor instead.

func (*ExportExcelRequest_Col) GetType added in v1.0.12

func (x *ExportExcelRequest_Col) GetType() string

func (*ExportExcelRequest_Col) GetValue added in v1.0.12

func (x *ExportExcelRequest_Col) GetValue() string

func (*ExportExcelRequest_Col) ProtoMessage added in v1.0.12

func (*ExportExcelRequest_Col) ProtoMessage()

func (*ExportExcelRequest_Col) ProtoReflect added in v1.0.12

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

func (*ExportExcelRequest_Col) Reset added in v1.0.12

func (x *ExportExcelRequest_Col) Reset()

func (*ExportExcelRequest_Col) String added in v1.0.12

func (x *ExportExcelRequest_Col) String() string

func (*ExportExcelRequest_Col) Validate added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

func (m ExportExcelRequest_ColMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportExcelRequest_ColMultiError) Error added in v1.0.12

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

type ExportExcelRequest_ColValidationError added in v1.0.12

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 added in v1.0.12

Cause function returns cause value.

func (ExportExcelRequest_ColValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (ExportExcelRequest_ColValidationError) ErrorName added in v1.0.12

ErrorName returns error name.

func (ExportExcelRequest_ColValidationError) Field added in v1.0.12

Field function returns field value.

func (ExportExcelRequest_ColValidationError) Key added in v1.0.12

Key function returns key value.

func (ExportExcelRequest_ColValidationError) Reason added in v1.0.12

Reason function returns reason value.

type ExportExcelRequest_Row added in v1.0.12

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 added in v1.0.12

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

Deprecated: Use ExportExcelRequest_Row.ProtoReflect.Descriptor instead.

func (*ExportExcelRequest_Row) GetCols added in v1.0.12

func (*ExportExcelRequest_Row) ProtoMessage added in v1.0.12

func (*ExportExcelRequest_Row) ProtoMessage()

func (*ExportExcelRequest_Row) ProtoReflect added in v1.0.12

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

func (*ExportExcelRequest_Row) Reset added in v1.0.12

func (x *ExportExcelRequest_Row) Reset()

func (*ExportExcelRequest_Row) String added in v1.0.12

func (x *ExportExcelRequest_Row) String() string

func (*ExportExcelRequest_Row) Validate added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

func (m ExportExcelRequest_RowMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportExcelRequest_RowMultiError) Error added in v1.0.12

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

type ExportExcelRequest_RowValidationError added in v1.0.12

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 added in v1.0.12

Cause function returns cause value.

func (ExportExcelRequest_RowValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (ExportExcelRequest_RowValidationError) ErrorName added in v1.0.12

ErrorName returns error name.

func (ExportExcelRequest_RowValidationError) Field added in v1.0.12

Field function returns field value.

func (ExportExcelRequest_RowValidationError) Key added in v1.0.12

Key function returns key value.

func (ExportExcelRequest_RowValidationError) Reason added in v1.0.12

Reason function returns reason value.

type ExportFileReply added in v1.0.12

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

func (*ExportFileReply) Descriptor deprecated added in v1.0.12

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

Deprecated: Use ExportFileReply.ProtoReflect.Descriptor instead.

func (*ExportFileReply) GetId added in v1.0.12

func (x *ExportFileReply) GetId() uint32

func (*ExportFileReply) ProtoMessage added in v1.0.12

func (*ExportFileReply) ProtoMessage()

func (*ExportFileReply) ProtoReflect added in v1.0.12

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

func (*ExportFileReply) Reset added in v1.0.12

func (x *ExportFileReply) Reset()

func (*ExportFileReply) String added in v1.0.12

func (x *ExportFileReply) String() string

func (*ExportFileReply) Validate added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

func (m ExportFileReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportFileReplyMultiError) Error added in v1.0.12

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

type ExportFileReplyValidationError added in v1.0.12

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 added in v1.0.12

Cause function returns cause value.

func (ExportFileReplyValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (ExportFileReplyValidationError) ErrorName added in v1.0.12

func (e ExportFileReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ExportFileReplyValidationError) Field added in v1.0.12

Field function returns field value.

func (ExportFileReplyValidationError) Key added in v1.0.12

Key function returns key value.

func (ExportFileReplyValidationError) Reason added in v1.0.12

Reason function returns reason value.

type ExportFileRequest added in v1.0.12

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 added in v1.0.12

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

Deprecated: Use ExportFileRequest.ProtoReflect.Descriptor instead.

func (*ExportFileRequest) GetDepartmentId added in v1.0.12

func (x *ExportFileRequest) GetDepartmentId() uint32

func (*ExportFileRequest) GetFiles added in v1.0.12

func (*ExportFileRequest) GetIds added in v1.0.12

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

func (*ExportFileRequest) GetName added in v1.0.12

func (x *ExportFileRequest) GetName() string

func (*ExportFileRequest) GetScene added in v1.0.12

func (x *ExportFileRequest) GetScene() string

func (*ExportFileRequest) GetUserId added in v1.0.12

func (x *ExportFileRequest) GetUserId() uint32

func (*ExportFileRequest) ProtoMessage added in v1.0.12

func (*ExportFileRequest) ProtoMessage()

func (*ExportFileRequest) ProtoReflect added in v1.0.12

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

func (*ExportFileRequest) Reset added in v1.0.12

func (x *ExportFileRequest) Reset()

func (*ExportFileRequest) String added in v1.0.12

func (x *ExportFileRequest) String() string

func (*ExportFileRequest) Validate added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

func (m ExportFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportFileRequestMultiError) Error added in v1.0.12

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

type ExportFileRequestValidationError added in v1.0.12

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 added in v1.0.12

Cause function returns cause value.

func (ExportFileRequestValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (ExportFileRequestValidationError) ErrorName added in v1.0.12

ErrorName returns error name.

func (ExportFileRequestValidationError) Field added in v1.0.12

Field function returns field value.

func (ExportFileRequestValidationError) Key added in v1.0.12

Key function returns key value.

func (ExportFileRequestValidationError) Reason added in v1.0.12

Reason function returns reason value.

type ExportFileRequest_ExportFile added in v1.0.12

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 added in v1.0.12

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

Deprecated: Use ExportFileRequest_ExportFile.ProtoReflect.Descriptor instead.

func (*ExportFileRequest_ExportFile) GetRename added in v1.0.12

func (x *ExportFileRequest_ExportFile) GetRename() string

func (*ExportFileRequest_ExportFile) GetValue added in v1.0.12

func (x *ExportFileRequest_ExportFile) GetValue() string

func (*ExportFileRequest_ExportFile) ProtoMessage added in v1.0.12

func (*ExportFileRequest_ExportFile) ProtoMessage()

func (*ExportFileRequest_ExportFile) ProtoReflect added in v1.0.12

func (*ExportFileRequest_ExportFile) Reset added in v1.0.12

func (x *ExportFileRequest_ExportFile) Reset()

func (*ExportFileRequest_ExportFile) String added in v1.0.12

func (*ExportFileRequest_ExportFile) Validate added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

AllErrors returns a list of validation violation errors.

func (ExportFileRequest_ExportFileMultiError) Error added in v1.0.12

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

type ExportFileRequest_ExportFileValidationError added in v1.0.12

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 added in v1.0.12

Cause function returns cause value.

func (ExportFileRequest_ExportFileValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (ExportFileRequest_ExportFileValidationError) ErrorName added in v1.0.12

ErrorName returns error name.

func (ExportFileRequest_ExportFileValidationError) Field added in v1.0.12

Field function returns field value.

func (ExportFileRequest_ExportFileValidationError) Key added in v1.0.12

Key function returns key value.

func (ExportFileRequest_ExportFileValidationError) Reason added in v1.0.12

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 added in v1.0.12

func (*ExportHTTPClientImpl) ExportFile added in v1.0.12

func (*ExportHTTPClientImpl) GetExport added in v1.0.12

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 added in v1.0.12

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,oneof" json:"sha,omitempty"`
	Src          *string `protobuf:"bytes,8,opt,name=src,proto3,oneof" 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 added in v1.0.12

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

Deprecated: Use GetExportReply.ProtoReflect.Descriptor instead.

func (*GetExportReply) GetCreatedAt added in v1.0.12

func (x *GetExportReply) GetCreatedAt() uint32

func (*GetExportReply) GetDepartmentId added in v1.0.12

func (x *GetExportReply) GetDepartmentId() uint32

func (*GetExportReply) GetExpiredAt added in v1.0.12

func (x *GetExportReply) GetExpiredAt() uint32

func (*GetExportReply) GetId added in v1.0.12

func (x *GetExportReply) GetId() uint32

func (*GetExportReply) GetName added in v1.0.12

func (x *GetExportReply) GetName() string

func (*GetExportReply) GetReason added in v1.0.12

func (x *GetExportReply) GetReason() string

func (*GetExportReply) GetScene added in v1.0.12

func (x *GetExportReply) GetScene() string

func (*GetExportReply) GetSha added in v1.0.12

func (x *GetExportReply) GetSha() string

func (*GetExportReply) GetSize added in v1.0.12

func (x *GetExportReply) GetSize() uint32

func (*GetExportReply) GetSrc added in v1.0.12

func (x *GetExportReply) GetSrc() string

func (*GetExportReply) GetStatus added in v1.0.12

func (x *GetExportReply) GetStatus() string

func (*GetExportReply) GetUpdatedAt added in v1.0.12

func (x *GetExportReply) GetUpdatedAt() uint32

func (*GetExportReply) GetUrl added in v1.0.12

func (x *GetExportReply) GetUrl() string

func (*GetExportReply) GetUserId added in v1.0.12

func (x *GetExportReply) GetUserId() uint32

func (*GetExportReply) ProtoMessage added in v1.0.12

func (*GetExportReply) ProtoMessage()

func (*GetExportReply) ProtoReflect added in v1.0.12

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

func (*GetExportReply) Reset added in v1.0.12

func (x *GetExportReply) Reset()

func (*GetExportReply) String added in v1.0.12

func (x *GetExportReply) String() string

func (*GetExportReply) Validate added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

func (m GetExportReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetExportReplyMultiError) Error added in v1.0.12

func (m GetExportReplyMultiError) Error() string

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

type GetExportReplyValidationError added in v1.0.12

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 added in v1.0.12

Cause function returns cause value.

func (GetExportReplyValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (GetExportReplyValidationError) ErrorName added in v1.0.12

func (e GetExportReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetExportReplyValidationError) Field added in v1.0.12

Field function returns field value.

func (GetExportReplyValidationError) Key added in v1.0.12

Key function returns key value.

func (GetExportReplyValidationError) Reason added in v1.0.12

Reason function returns reason value.

type GetExportRequest added in v1.0.12

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 added in v1.0.12

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

Deprecated: Use GetExportRequest.ProtoReflect.Descriptor instead.

func (*GetExportRequest) GetId added in v1.0.12

func (x *GetExportRequest) GetId() uint32

func (*GetExportRequest) GetSha added in v1.0.12

func (x *GetExportRequest) GetSha() string

func (*GetExportRequest) ProtoMessage added in v1.0.12

func (*GetExportRequest) ProtoMessage()

func (*GetExportRequest) ProtoReflect added in v1.0.12

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

func (*GetExportRequest) Reset added in v1.0.12

func (x *GetExportRequest) Reset()

func (*GetExportRequest) String added in v1.0.12

func (x *GetExportRequest) String() string

func (*GetExportRequest) Validate added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

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 added in v1.0.12

func (m GetExportRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetExportRequestMultiError) Error added in v1.0.12

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

type GetExportRequestValidationError added in v1.0.12

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 added in v1.0.12

Cause function returns cause value.

func (GetExportRequestValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (GetExportRequestValidationError) ErrorName added in v1.0.12

ErrorName returns error name.

func (GetExportRequestValidationError) Field added in v1.0.12

Field function returns field value.

func (GetExportRequestValidationError) Key added in v1.0.12

Key function returns key value.

func (GetExportRequestValidationError) Reason added in v1.0.12

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,oneof" json:"sha,omitempty"`
	Src          *string `protobuf:"bytes,8,opt,name=src,proto3,oneof" 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 added in v1.0.12

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 added in v1.0.12

func (x *ListExportRequest) GetAll() bool

func (*ListExportRequest) GetDepartmentIds added in v1.0.12

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 added in v1.0.12

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.

func (UnimplementedExportServer) DeleteExport

func (UnimplementedExportServer) ExportExcel added in v1.0.12

func (UnimplementedExportServer) ExportFile added in v1.0.12

func (UnimplementedExportServer) GetExport added in v1.0.12

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