v1

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Export_ListExport_FullMethodName   = "/resource.api.resource.export.v1.Export/ListExport"
	Export_CreateExport_FullMethodName = "/resource.api.resource.export.v1.Export/CreateExport"
	Export_DeleteExport_FullMethodName = "/resource.api.resource.export.v1.Export/DeleteExport"
)
View Source
const OperationExportCreateExport = "/resource.api.resource.export.v1.Export/CreateExport"
View Source
const OperationExportDeleteExport = "/resource.api.resource.export.v1.Export/DeleteExport"
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: "ListExport",
			Handler:    _Export_ListExport_Handler,
		},
		{
			MethodName: "CreateExport",
			Handler:    _Export_CreateExport_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 CreateExportReply

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

func (*CreateExportReply) Descriptor deprecated

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

Deprecated: Use CreateExportReply.ProtoReflect.Descriptor instead.

func (*CreateExportReply) GetId

func (x *CreateExportReply) GetId() uint32

func (*CreateExportReply) ProtoMessage

func (*CreateExportReply) ProtoMessage()

func (*CreateExportReply) ProtoReflect

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

func (*CreateExportReply) Reset

func (x *CreateExportReply) Reset()

func (*CreateExportReply) String

func (x *CreateExportReply) String() string

func (*CreateExportReply) Validate

func (m *CreateExportReply) Validate() error

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

func (m *CreateExportReply) ValidateAll() error

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

type CreateExportReplyMultiError

type CreateExportReplyMultiError []error

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

func (CreateExportReplyMultiError) AllErrors

func (m CreateExportReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateExportReplyMultiError) Error

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

type CreateExportReplyValidationError

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

CreateExportReplyValidationError is the validation error returned by CreateExportReply.Validate if the designated constraints aren't met.

func (CreateExportReplyValidationError) Cause

Cause function returns cause value.

func (CreateExportReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateExportReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateExportReplyValidationError) Field

Field function returns field value.

func (CreateExportReplyValidationError) Key

Key function returns key value.

func (CreateExportReplyValidationError) Reason

Reason function returns reason value.

type CreateExportRequest

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

func (*CreateExportRequest) Descriptor deprecated

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

Deprecated: Use CreateExportRequest.ProtoReflect.Descriptor instead.

func (*CreateExportRequest) GetDepartmentId

func (x *CreateExportRequest) GetDepartmentId() uint32

func (*CreateExportRequest) GetName

func (x *CreateExportRequest) GetName() string

func (*CreateExportRequest) GetReason

func (x *CreateExportRequest) GetReason() string

func (*CreateExportRequest) GetScene

func (x *CreateExportRequest) GetScene() string

func (*CreateExportRequest) GetUserId

func (x *CreateExportRequest) GetUserId() uint32

func (*CreateExportRequest) ProtoMessage

func (*CreateExportRequest) ProtoMessage()

func (*CreateExportRequest) ProtoReflect

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

func (*CreateExportRequest) Reset

func (x *CreateExportRequest) Reset()

func (*CreateExportRequest) String

func (x *CreateExportRequest) String() string

func (*CreateExportRequest) Validate

func (m *CreateExportRequest) Validate() error

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

func (m *CreateExportRequest) ValidateAll() error

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

type CreateExportRequestMultiError

type CreateExportRequestMultiError []error

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

func (CreateExportRequestMultiError) AllErrors

func (m CreateExportRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateExportRequestMultiError) Error

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

type CreateExportRequestValidationError

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

CreateExportRequestValidationError is the validation error returned by CreateExportRequest.Validate if the designated constraints aren't met.

func (CreateExportRequestValidationError) Cause

Cause function returns cause value.

func (CreateExportRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateExportRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateExportRequestValidationError) Field

Field function returns field value.

func (CreateExportRequestValidationError) Key

Key function returns key value.

func (CreateExportRequestValidationError) Reason

Reason function returns reason value.

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 {
	// ListExport 获取导出信息列表
	ListExport(ctx context.Context, in *ListExportRequest, opts ...grpc.CallOption) (*ListExportReply, error)
	// CreateExport 创建导出信息
	CreateExport(ctx context.Context, in *CreateExportRequest, opts ...grpc.CallOption) (*CreateExportReply, 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 ExportHTTPClient

type ExportHTTPClient interface {
	CreateExport(ctx context.Context, req *CreateExportRequest, opts ...http.CallOption) (rsp *CreateExportReply, err error)
	DeleteExport(ctx context.Context, req *DeleteExportRequest, opts ...http.CallOption) (rsp *DeleteExportReply, 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) CreateExport

func (*ExportHTTPClientImpl) DeleteExport

func (*ExportHTTPClientImpl) ListExport

type ExportHTTPServer

type ExportHTTPServer interface {
	// CreateExport CreateExport 创建导出信息
	CreateExport(context.Context, *CreateExportRequest) (*CreateExportReply, error)
	// DeleteExport DeleteExport 删除导出信息
	DeleteExport(context.Context, *DeleteExportRequest) (*DeleteExportReply, error)
	// ListExport ListExport 获取导出信息列表
	ListExport(context.Context, *ListExportRequest) (*ListExportReply, error)
}

type ExportServer

type ExportServer interface {
	// ListExport 获取导出信息列表
	ListExport(context.Context, *ListExportRequest) (*ListExportReply, error)
	// CreateExport 创建导出信息
	CreateExport(context.Context, *CreateExportRequest) (*CreateExportReply, 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 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"`
	// 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) 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"`
	UserId       *uint32 `protobuf:"varint,5,opt,name=userId,proto3,oneof" json:"userId,omitempty"`
	DepartmentId *uint32 `protobuf:"varint,6,opt,name=departmentId,proto3,oneof" json:"departmentId,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExportRequest) Descriptor deprecated

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

Deprecated: Use ListExportRequest.ProtoReflect.Descriptor instead.

func (*ListExportRequest) GetDepartmentId

func (x *ListExportRequest) GetDepartmentId() 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) GetUserId

func (x *ListExportRequest) GetUserId() 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) CreateExport

func (UnimplementedExportServer) DeleteExport

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