qualifications

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QualificationsService_ListQualifications_FullMethodName                 = "/services.qualifications.QualificationsService/ListQualifications"
	QualificationsService_GetQualification_FullMethodName                   = "/services.qualifications.QualificationsService/GetQualification"
	QualificationsService_CreateQualification_FullMethodName                = "/services.qualifications.QualificationsService/CreateQualification"
	QualificationsService_UpdateQualification_FullMethodName                = "/services.qualifications.QualificationsService/UpdateQualification"
	QualificationsService_DeleteQualification_FullMethodName                = "/services.qualifications.QualificationsService/DeleteQualification"
	QualificationsService_ListQualificationRequests_FullMethodName          = "/services.qualifications.QualificationsService/ListQualificationRequests"
	QualificationsService_CreateOrUpdateQualificationRequest_FullMethodName = "/services.qualifications.QualificationsService/CreateOrUpdateQualificationRequest"
	QualificationsService_DeleteQualificationReq_FullMethodName             = "/services.qualifications.QualificationsService/DeleteQualificationReq"
	QualificationsService_ListQualificationsResults_FullMethodName          = "/services.qualifications.QualificationsService/ListQualificationsResults"
	QualificationsService_CreateOrUpdateQualificationResult_FullMethodName  = "/services.qualifications.QualificationsService/CreateOrUpdateQualificationResult"
	QualificationsService_DeleteQualificationResult_FullMethodName          = "/services.qualifications.QualificationsService/DeleteQualificationResult"
	QualificationsService_GetExamInfo_FullMethodName                        = "/services.qualifications.QualificationsService/GetExamInfo"
	QualificationsService_TakeExam_FullMethodName                           = "/services.qualifications.QualificationsService/TakeExam"
	QualificationsService_SubmitExam_FullMethodName                         = "/services.qualifications.QualificationsService/SubmitExam"
	QualificationsService_GetUserExam_FullMethodName                        = "/services.qualifications.QualificationsService/GetUserExam"
)
View Source
const QualificationsPageSize = 10

Variables

View Source
var File_services_qualifications_qualifications_proto protoreflect.FileDescriptor
View Source
var PermsRemap = map[string]string{

	"QualificationsService/CreateOrUpdateQualificationRequest": "QualificationsService/GetQualification",
	"QualificationsService/GetExamInfo":                        "QualificationsService/GetQualification",
	"QualificationsService/GetUserExam":                        "QualificationsService/CreateOrUpdateQualificationResult",
	"QualificationsService/ListQualificationRequests":          "QualificationsService/GetQualification",
	"QualificationsService/ListQualificationsResults":          "QualificationsService/GetQualification",
	"QualificationsService/SubmitExam":                         "QualificationsService/GetQualification",
	"QualificationsService/TakeExam":                           "QualificationsService/GetQualification",
}
View Source
var QualificationsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.qualifications.QualificationsService",
	HandlerType: (*QualificationsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListQualifications",
			Handler:    _QualificationsService_ListQualifications_Handler,
		},
		{
			MethodName: "GetQualification",
			Handler:    _QualificationsService_GetQualification_Handler,
		},
		{
			MethodName: "CreateQualification",
			Handler:    _QualificationsService_CreateQualification_Handler,
		},
		{
			MethodName: "UpdateQualification",
			Handler:    _QualificationsService_UpdateQualification_Handler,
		},
		{
			MethodName: "DeleteQualification",
			Handler:    _QualificationsService_DeleteQualification_Handler,
		},
		{
			MethodName: "ListQualificationRequests",
			Handler:    _QualificationsService_ListQualificationRequests_Handler,
		},
		{
			MethodName: "CreateOrUpdateQualificationRequest",
			Handler:    _QualificationsService_CreateOrUpdateQualificationRequest_Handler,
		},
		{
			MethodName: "DeleteQualificationReq",
			Handler:    _QualificationsService_DeleteQualificationReq_Handler,
		},
		{
			MethodName: "ListQualificationsResults",
			Handler:    _QualificationsService_ListQualificationsResults_Handler,
		},
		{
			MethodName: "CreateOrUpdateQualificationResult",
			Handler:    _QualificationsService_CreateOrUpdateQualificationResult_Handler,
		},
		{
			MethodName: "DeleteQualificationResult",
			Handler:    _QualificationsService_DeleteQualificationResult_Handler,
		},
		{
			MethodName: "GetExamInfo",
			Handler:    _QualificationsService_GetExamInfo_Handler,
		},
		{
			MethodName: "TakeExam",
			Handler:    _QualificationsService_TakeExam_Handler,
		},
		{
			MethodName: "SubmitExam",
			Handler:    _QualificationsService_SubmitExam_Handler,
		},
		{
			MethodName: "GetUserExam",
			Handler:    _QualificationsService_GetUserExam_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/qualifications/qualifications.proto",
}

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

Functions

func RegisterQualificationsServiceServer

func RegisterQualificationsServiceServer(s grpc.ServiceRegistrar, srv QualificationsServiceServer)

Types

type CreateOrUpdateQualificationRequestRequest

type CreateOrUpdateQualificationRequestRequest struct {
	Request *qualifications.QualificationRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateQualificationRequestRequest) Descriptor deprecated

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

Deprecated: Use CreateOrUpdateQualificationRequestRequest.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateQualificationRequestRequest) GetRequest

func (*CreateOrUpdateQualificationRequestRequest) ProtoMessage

func (*CreateOrUpdateQualificationRequestRequest) ProtoReflect

func (*CreateOrUpdateQualificationRequestRequest) Reset

func (*CreateOrUpdateQualificationRequestRequest) String

func (*CreateOrUpdateQualificationRequestRequest) Validate

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

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

type CreateOrUpdateQualificationRequestRequestMultiError

type CreateOrUpdateQualificationRequestRequestMultiError []error

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

func (CreateOrUpdateQualificationRequestRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateOrUpdateQualificationRequestRequestMultiError) Error

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

type CreateOrUpdateQualificationRequestRequestValidationError

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

CreateOrUpdateQualificationRequestRequestValidationError is the validation error returned by CreateOrUpdateQualificationRequestRequest.Validate if the designated constraints aren't met.

func (CreateOrUpdateQualificationRequestRequestValidationError) Cause

Cause function returns cause value.

func (CreateOrUpdateQualificationRequestRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateOrUpdateQualificationRequestRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateOrUpdateQualificationRequestRequestValidationError) Field

Field function returns field value.

func (CreateOrUpdateQualificationRequestRequestValidationError) Key

Key function returns key value.

func (CreateOrUpdateQualificationRequestRequestValidationError) Reason

Reason function returns reason value.

type CreateOrUpdateQualificationRequestResponse

type CreateOrUpdateQualificationRequestResponse struct {
	Request *qualifications.QualificationRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateQualificationRequestResponse) Descriptor deprecated

Deprecated: Use CreateOrUpdateQualificationRequestResponse.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateQualificationRequestResponse) GetRequest

func (*CreateOrUpdateQualificationRequestResponse) ProtoMessage

func (*CreateOrUpdateQualificationRequestResponse) ProtoReflect

func (*CreateOrUpdateQualificationRequestResponse) Reset

func (*CreateOrUpdateQualificationRequestResponse) String

func (*CreateOrUpdateQualificationRequestResponse) Validate

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

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

type CreateOrUpdateQualificationRequestResponseMultiError

type CreateOrUpdateQualificationRequestResponseMultiError []error

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

func (CreateOrUpdateQualificationRequestResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateOrUpdateQualificationRequestResponseMultiError) Error

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

type CreateOrUpdateQualificationRequestResponseValidationError

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

CreateOrUpdateQualificationRequestResponseValidationError is the validation error returned by CreateOrUpdateQualificationRequestResponse.Validate if the designated constraints aren't met.

func (CreateOrUpdateQualificationRequestResponseValidationError) Cause

Cause function returns cause value.

func (CreateOrUpdateQualificationRequestResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateOrUpdateQualificationRequestResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateOrUpdateQualificationRequestResponseValidationError) Field

Field function returns field value.

func (CreateOrUpdateQualificationRequestResponseValidationError) Key

Key function returns key value.

func (CreateOrUpdateQualificationRequestResponseValidationError) Reason

Reason function returns reason value.

type CreateOrUpdateQualificationResultRequest

type CreateOrUpdateQualificationResultRequest struct {
	Result *qualifications.QualificationResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateQualificationResultRequest) Descriptor deprecated

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

Deprecated: Use CreateOrUpdateQualificationResultRequest.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateQualificationResultRequest) GetResult

func (*CreateOrUpdateQualificationResultRequest) ProtoMessage

func (*CreateOrUpdateQualificationResultRequest) ProtoReflect

func (*CreateOrUpdateQualificationResultRequest) Reset

func (*CreateOrUpdateQualificationResultRequest) String

func (*CreateOrUpdateQualificationResultRequest) Validate

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

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

type CreateOrUpdateQualificationResultRequestMultiError

type CreateOrUpdateQualificationResultRequestMultiError []error

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

func (CreateOrUpdateQualificationResultRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateOrUpdateQualificationResultRequestMultiError) Error

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

type CreateOrUpdateQualificationResultRequestValidationError

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

CreateOrUpdateQualificationResultRequestValidationError is the validation error returned by CreateOrUpdateQualificationResultRequest.Validate if the designated constraints aren't met.

func (CreateOrUpdateQualificationResultRequestValidationError) Cause

Cause function returns cause value.

func (CreateOrUpdateQualificationResultRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateOrUpdateQualificationResultRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateOrUpdateQualificationResultRequestValidationError) Field

Field function returns field value.

func (CreateOrUpdateQualificationResultRequestValidationError) Key

Key function returns key value.

func (CreateOrUpdateQualificationResultRequestValidationError) Reason

Reason function returns reason value.

type CreateOrUpdateQualificationResultResponse

type CreateOrUpdateQualificationResultResponse struct {
	Result *qualifications.QualificationResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateQualificationResultResponse) Descriptor deprecated

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

Deprecated: Use CreateOrUpdateQualificationResultResponse.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateQualificationResultResponse) GetResult

func (*CreateOrUpdateQualificationResultResponse) ProtoMessage

func (*CreateOrUpdateQualificationResultResponse) ProtoReflect

func (*CreateOrUpdateQualificationResultResponse) Reset

func (*CreateOrUpdateQualificationResultResponse) String

func (*CreateOrUpdateQualificationResultResponse) Validate

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

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

type CreateOrUpdateQualificationResultResponseMultiError

type CreateOrUpdateQualificationResultResponseMultiError []error

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

func (CreateOrUpdateQualificationResultResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateOrUpdateQualificationResultResponseMultiError) Error

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

type CreateOrUpdateQualificationResultResponseValidationError

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

CreateOrUpdateQualificationResultResponseValidationError is the validation error returned by CreateOrUpdateQualificationResultResponse.Validate if the designated constraints aren't met.

func (CreateOrUpdateQualificationResultResponseValidationError) Cause

Cause function returns cause value.

func (CreateOrUpdateQualificationResultResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateOrUpdateQualificationResultResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateOrUpdateQualificationResultResponseValidationError) Field

Field function returns field value.

func (CreateOrUpdateQualificationResultResponseValidationError) Key

Key function returns key value.

func (CreateOrUpdateQualificationResultResponseValidationError) Reason

Reason function returns reason value.

type CreateQualificationRequest

type CreateQualificationRequest struct {
	Qualification *qualifications.Qualification `protobuf:"bytes,1,opt,name=qualification,proto3" json:"qualification,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateQualificationRequest) Descriptor deprecated

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

Deprecated: Use CreateQualificationRequest.ProtoReflect.Descriptor instead.

func (*CreateQualificationRequest) GetQualification

func (*CreateQualificationRequest) ProtoMessage

func (*CreateQualificationRequest) ProtoMessage()

func (*CreateQualificationRequest) ProtoReflect

func (*CreateQualificationRequest) Reset

func (x *CreateQualificationRequest) Reset()

func (*CreateQualificationRequest) String

func (x *CreateQualificationRequest) String() string

func (*CreateQualificationRequest) Validate

func (m *CreateQualificationRequest) Validate() error

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

func (m *CreateQualificationRequest) ValidateAll() error

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

type CreateQualificationRequestMultiError

type CreateQualificationRequestMultiError []error

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

func (CreateQualificationRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateQualificationRequestMultiError) Error

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

type CreateQualificationRequestValidationError

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

CreateQualificationRequestValidationError is the validation error returned by CreateQualificationRequest.Validate if the designated constraints aren't met.

func (CreateQualificationRequestValidationError) Cause

Cause function returns cause value.

func (CreateQualificationRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateQualificationRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateQualificationRequestValidationError) Field

Field function returns field value.

func (CreateQualificationRequestValidationError) Key

Key function returns key value.

func (CreateQualificationRequestValidationError) Reason

Reason function returns reason value.

type CreateQualificationResponse

type CreateQualificationResponse struct {
	QualificationId uint64 `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateQualificationResponse) Descriptor deprecated

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

Deprecated: Use CreateQualificationResponse.ProtoReflect.Descriptor instead.

func (*CreateQualificationResponse) GetQualificationId

func (x *CreateQualificationResponse) GetQualificationId() uint64

func (*CreateQualificationResponse) ProtoMessage

func (*CreateQualificationResponse) ProtoMessage()

func (*CreateQualificationResponse) ProtoReflect

func (*CreateQualificationResponse) Reset

func (x *CreateQualificationResponse) Reset()

func (*CreateQualificationResponse) String

func (x *CreateQualificationResponse) String() string

func (*CreateQualificationResponse) Validate

func (m *CreateQualificationResponse) Validate() error

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

func (m *CreateQualificationResponse) ValidateAll() error

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

type CreateQualificationResponseMultiError

type CreateQualificationResponseMultiError []error

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

func (CreateQualificationResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateQualificationResponseMultiError) Error

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

type CreateQualificationResponseValidationError

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

CreateQualificationResponseValidationError is the validation error returned by CreateQualificationResponse.Validate if the designated constraints aren't met.

func (CreateQualificationResponseValidationError) Cause

Cause function returns cause value.

func (CreateQualificationResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateQualificationResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateQualificationResponseValidationError) Field

Field function returns field value.

func (CreateQualificationResponseValidationError) Key

Key function returns key value.

func (CreateQualificationResponseValidationError) Reason

Reason function returns reason value.

type DeleteQualificationReqRequest

type DeleteQualificationReqRequest struct {
	QualificationId uint64 `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	UserId          int32  `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteQualificationReqRequest) Descriptor deprecated

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

Deprecated: Use DeleteQualificationReqRequest.ProtoReflect.Descriptor instead.

func (*DeleteQualificationReqRequest) GetQualificationId

func (x *DeleteQualificationReqRequest) GetQualificationId() uint64

func (*DeleteQualificationReqRequest) GetUserId

func (x *DeleteQualificationReqRequest) GetUserId() int32

func (*DeleteQualificationReqRequest) ProtoMessage

func (*DeleteQualificationReqRequest) ProtoMessage()

func (*DeleteQualificationReqRequest) ProtoReflect

func (*DeleteQualificationReqRequest) Reset

func (x *DeleteQualificationReqRequest) Reset()

func (*DeleteQualificationReqRequest) String

func (*DeleteQualificationReqRequest) Validate

func (m *DeleteQualificationReqRequest) Validate() error

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

func (m *DeleteQualificationReqRequest) ValidateAll() error

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

type DeleteQualificationReqRequestMultiError

type DeleteQualificationReqRequestMultiError []error

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

func (DeleteQualificationReqRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteQualificationReqRequestMultiError) Error

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

type DeleteQualificationReqRequestValidationError

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

DeleteQualificationReqRequestValidationError is the validation error returned by DeleteQualificationReqRequest.Validate if the designated constraints aren't met.

func (DeleteQualificationReqRequestValidationError) Cause

Cause function returns cause value.

func (DeleteQualificationReqRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteQualificationReqRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteQualificationReqRequestValidationError) Field

Field function returns field value.

func (DeleteQualificationReqRequestValidationError) Key

Key function returns key value.

func (DeleteQualificationReqRequestValidationError) Reason

Reason function returns reason value.

type DeleteQualificationReqResponse

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

func (*DeleteQualificationReqResponse) Descriptor deprecated

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

Deprecated: Use DeleteQualificationReqResponse.ProtoReflect.Descriptor instead.

func (*DeleteQualificationReqResponse) ProtoMessage

func (*DeleteQualificationReqResponse) ProtoMessage()

func (*DeleteQualificationReqResponse) ProtoReflect

func (*DeleteQualificationReqResponse) Reset

func (x *DeleteQualificationReqResponse) Reset()

func (*DeleteQualificationReqResponse) String

func (*DeleteQualificationReqResponse) Validate

func (m *DeleteQualificationReqResponse) Validate() error

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

func (m *DeleteQualificationReqResponse) ValidateAll() error

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

type DeleteQualificationReqResponseMultiError

type DeleteQualificationReqResponseMultiError []error

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

func (DeleteQualificationReqResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteQualificationReqResponseMultiError) Error

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

type DeleteQualificationReqResponseValidationError

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

DeleteQualificationReqResponseValidationError is the validation error returned by DeleteQualificationReqResponse.Validate if the designated constraints aren't met.

func (DeleteQualificationReqResponseValidationError) Cause

Cause function returns cause value.

func (DeleteQualificationReqResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteQualificationReqResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteQualificationReqResponseValidationError) Field

Field function returns field value.

func (DeleteQualificationReqResponseValidationError) Key

Key function returns key value.

func (DeleteQualificationReqResponseValidationError) Reason

Reason function returns reason value.

type DeleteQualificationRequest

type DeleteQualificationRequest struct {
	QualificationId uint64 `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteQualificationRequest) Descriptor deprecated

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

Deprecated: Use DeleteQualificationRequest.ProtoReflect.Descriptor instead.

func (*DeleteQualificationRequest) GetQualificationId

func (x *DeleteQualificationRequest) GetQualificationId() uint64

func (*DeleteQualificationRequest) ProtoMessage

func (*DeleteQualificationRequest) ProtoMessage()

func (*DeleteQualificationRequest) ProtoReflect

func (*DeleteQualificationRequest) Reset

func (x *DeleteQualificationRequest) Reset()

func (*DeleteQualificationRequest) String

func (x *DeleteQualificationRequest) String() string

func (*DeleteQualificationRequest) Validate

func (m *DeleteQualificationRequest) Validate() error

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

func (m *DeleteQualificationRequest) ValidateAll() error

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

type DeleteQualificationRequestMultiError

type DeleteQualificationRequestMultiError []error

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

func (DeleteQualificationRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteQualificationRequestMultiError) Error

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

type DeleteQualificationRequestValidationError

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

DeleteQualificationRequestValidationError is the validation error returned by DeleteQualificationRequest.Validate if the designated constraints aren't met.

func (DeleteQualificationRequestValidationError) Cause

Cause function returns cause value.

func (DeleteQualificationRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteQualificationRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteQualificationRequestValidationError) Field

Field function returns field value.

func (DeleteQualificationRequestValidationError) Key

Key function returns key value.

func (DeleteQualificationRequestValidationError) Reason

Reason function returns reason value.

type DeleteQualificationResponse

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

func (*DeleteQualificationResponse) Descriptor deprecated

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

Deprecated: Use DeleteQualificationResponse.ProtoReflect.Descriptor instead.

func (*DeleteQualificationResponse) ProtoMessage

func (*DeleteQualificationResponse) ProtoMessage()

func (*DeleteQualificationResponse) ProtoReflect

func (*DeleteQualificationResponse) Reset

func (x *DeleteQualificationResponse) Reset()

func (*DeleteQualificationResponse) String

func (x *DeleteQualificationResponse) String() string

func (*DeleteQualificationResponse) Validate

func (m *DeleteQualificationResponse) Validate() error

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

func (m *DeleteQualificationResponse) ValidateAll() error

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

type DeleteQualificationResponseMultiError

type DeleteQualificationResponseMultiError []error

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

func (DeleteQualificationResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteQualificationResponseMultiError) Error

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

type DeleteQualificationResponseValidationError

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

DeleteQualificationResponseValidationError is the validation error returned by DeleteQualificationResponse.Validate if the designated constraints aren't met.

func (DeleteQualificationResponseValidationError) Cause

Cause function returns cause value.

func (DeleteQualificationResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteQualificationResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteQualificationResponseValidationError) Field

Field function returns field value.

func (DeleteQualificationResponseValidationError) Key

Key function returns key value.

func (DeleteQualificationResponseValidationError) Reason

Reason function returns reason value.

type DeleteQualificationResultRequest

type DeleteQualificationResultRequest struct {
	ResultId uint64 `protobuf:"varint,1,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteQualificationResultRequest) Descriptor deprecated

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

Deprecated: Use DeleteQualificationResultRequest.ProtoReflect.Descriptor instead.

func (*DeleteQualificationResultRequest) GetResultId

func (x *DeleteQualificationResultRequest) GetResultId() uint64

func (*DeleteQualificationResultRequest) ProtoMessage

func (*DeleteQualificationResultRequest) ProtoMessage()

func (*DeleteQualificationResultRequest) ProtoReflect

func (*DeleteQualificationResultRequest) Reset

func (*DeleteQualificationResultRequest) String

func (*DeleteQualificationResultRequest) Validate

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

func (m *DeleteQualificationResultRequest) ValidateAll() error

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

type DeleteQualificationResultRequestMultiError

type DeleteQualificationResultRequestMultiError []error

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

func (DeleteQualificationResultRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteQualificationResultRequestMultiError) Error

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

type DeleteQualificationResultRequestValidationError

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

DeleteQualificationResultRequestValidationError is the validation error returned by DeleteQualificationResultRequest.Validate if the designated constraints aren't met.

func (DeleteQualificationResultRequestValidationError) Cause

Cause function returns cause value.

func (DeleteQualificationResultRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteQualificationResultRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteQualificationResultRequestValidationError) Field

Field function returns field value.

func (DeleteQualificationResultRequestValidationError) Key

Key function returns key value.

func (DeleteQualificationResultRequestValidationError) Reason

Reason function returns reason value.

type DeleteQualificationResultResponse

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

func (*DeleteQualificationResultResponse) Descriptor deprecated

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

Deprecated: Use DeleteQualificationResultResponse.ProtoReflect.Descriptor instead.

func (*DeleteQualificationResultResponse) ProtoMessage

func (*DeleteQualificationResultResponse) ProtoMessage()

func (*DeleteQualificationResultResponse) ProtoReflect

func (*DeleteQualificationResultResponse) Reset

func (*DeleteQualificationResultResponse) String

func (*DeleteQualificationResultResponse) Validate

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

func (m *DeleteQualificationResultResponse) ValidateAll() error

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

type DeleteQualificationResultResponseMultiError

type DeleteQualificationResultResponseMultiError []error

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

func (DeleteQualificationResultResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteQualificationResultResponseMultiError) Error

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

type DeleteQualificationResultResponseValidationError

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

DeleteQualificationResultResponseValidationError is the validation error returned by DeleteQualificationResultResponse.Validate if the designated constraints aren't met.

func (DeleteQualificationResultResponseValidationError) Cause

Cause function returns cause value.

func (DeleteQualificationResultResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteQualificationResultResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteQualificationResultResponseValidationError) Field

Field function returns field value.

func (DeleteQualificationResultResponseValidationError) Key

Key function returns key value.

func (DeleteQualificationResultResponseValidationError) Reason

Reason function returns reason value.

type GetExamInfoRequest

type GetExamInfoRequest struct {
	QualificationId uint64 `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExamInfoRequest) Descriptor deprecated

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

Deprecated: Use GetExamInfoRequest.ProtoReflect.Descriptor instead.

func (*GetExamInfoRequest) GetQualificationId

func (x *GetExamInfoRequest) GetQualificationId() uint64

func (*GetExamInfoRequest) ProtoMessage

func (*GetExamInfoRequest) ProtoMessage()

func (*GetExamInfoRequest) ProtoReflect

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

func (*GetExamInfoRequest) Reset

func (x *GetExamInfoRequest) Reset()

func (*GetExamInfoRequest) String

func (x *GetExamInfoRequest) String() string

func (*GetExamInfoRequest) Validate

func (m *GetExamInfoRequest) Validate() error

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

func (m *GetExamInfoRequest) ValidateAll() error

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

type GetExamInfoRequestMultiError

type GetExamInfoRequestMultiError []error

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

func (GetExamInfoRequestMultiError) AllErrors

func (m GetExamInfoRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetExamInfoRequestMultiError) Error

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

type GetExamInfoRequestValidationError

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

GetExamInfoRequestValidationError is the validation error returned by GetExamInfoRequest.Validate if the designated constraints aren't met.

func (GetExamInfoRequestValidationError) Cause

Cause function returns cause value.

func (GetExamInfoRequestValidationError) Error

Error satisfies the builtin error interface

func (GetExamInfoRequestValidationError) ErrorName

ErrorName returns error name.

func (GetExamInfoRequestValidationError) Field

Field function returns field value.

func (GetExamInfoRequestValidationError) Key

Key function returns key value.

func (GetExamInfoRequestValidationError) Reason

Reason function returns reason value.

type GetExamInfoResponse

type GetExamInfoResponse struct {
	Qualification *qualifications.QualificationShort `protobuf:"bytes,1,opt,name=qualification,proto3" json:"qualification,omitempty"`
	QuestionCount int32                              `protobuf:"varint,2,opt,name=question_count,json=questionCount,proto3" json:"question_count,omitempty"`
	ExamUser      *qualifications.ExamUser           `protobuf:"bytes,3,opt,name=exam_user,json=examUser,proto3,oneof" json:"exam_user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetExamInfoResponse) Descriptor deprecated

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

Deprecated: Use GetExamInfoResponse.ProtoReflect.Descriptor instead.

func (*GetExamInfoResponse) GetExamUser

func (x *GetExamInfoResponse) GetExamUser() *qualifications.ExamUser

func (*GetExamInfoResponse) GetQualification

func (x *GetExamInfoResponse) GetQualification() *qualifications.QualificationShort

func (*GetExamInfoResponse) GetQuestionCount

func (x *GetExamInfoResponse) GetQuestionCount() int32

func (*GetExamInfoResponse) ProtoMessage

func (*GetExamInfoResponse) ProtoMessage()

func (*GetExamInfoResponse) ProtoReflect

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

func (*GetExamInfoResponse) Reset

func (x *GetExamInfoResponse) Reset()

func (*GetExamInfoResponse) String

func (x *GetExamInfoResponse) String() string

func (*GetExamInfoResponse) Validate

func (m *GetExamInfoResponse) Validate() error

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

func (m *GetExamInfoResponse) ValidateAll() error

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

type GetExamInfoResponseMultiError

type GetExamInfoResponseMultiError []error

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

func (GetExamInfoResponseMultiError) AllErrors

func (m GetExamInfoResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetExamInfoResponseMultiError) Error

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

type GetExamInfoResponseValidationError

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

GetExamInfoResponseValidationError is the validation error returned by GetExamInfoResponse.Validate if the designated constraints aren't met.

func (GetExamInfoResponseValidationError) Cause

Cause function returns cause value.

func (GetExamInfoResponseValidationError) Error

Error satisfies the builtin error interface

func (GetExamInfoResponseValidationError) ErrorName

ErrorName returns error name.

func (GetExamInfoResponseValidationError) Field

Field function returns field value.

func (GetExamInfoResponseValidationError) Key

Key function returns key value.

func (GetExamInfoResponseValidationError) Reason

Reason function returns reason value.

type GetQualificationAccessRequest

type GetQualificationAccessRequest struct {
	QualificationId uint64 `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetQualificationAccessRequest) Descriptor deprecated

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

Deprecated: Use GetQualificationAccessRequest.ProtoReflect.Descriptor instead.

func (*GetQualificationAccessRequest) GetQualificationId

func (x *GetQualificationAccessRequest) GetQualificationId() uint64

func (*GetQualificationAccessRequest) ProtoMessage

func (*GetQualificationAccessRequest) ProtoMessage()

func (*GetQualificationAccessRequest) ProtoReflect

func (*GetQualificationAccessRequest) Reset

func (x *GetQualificationAccessRequest) Reset()

func (*GetQualificationAccessRequest) String

func (*GetQualificationAccessRequest) Validate

func (m *GetQualificationAccessRequest) Validate() error

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

func (m *GetQualificationAccessRequest) ValidateAll() error

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

type GetQualificationAccessRequestMultiError

type GetQualificationAccessRequestMultiError []error

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

func (GetQualificationAccessRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetQualificationAccessRequestMultiError) Error

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

type GetQualificationAccessRequestValidationError

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

GetQualificationAccessRequestValidationError is the validation error returned by GetQualificationAccessRequest.Validate if the designated constraints aren't met.

func (GetQualificationAccessRequestValidationError) Cause

Cause function returns cause value.

func (GetQualificationAccessRequestValidationError) Error

Error satisfies the builtin error interface

func (GetQualificationAccessRequestValidationError) ErrorName

ErrorName returns error name.

func (GetQualificationAccessRequestValidationError) Field

Field function returns field value.

func (GetQualificationAccessRequestValidationError) Key

Key function returns key value.

func (GetQualificationAccessRequestValidationError) Reason

Reason function returns reason value.

type GetQualificationAccessResponse

type GetQualificationAccessResponse struct {
	Access *qualifications.QualificationAccess `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"`
	// contains filtered or unexported fields
}

func (*GetQualificationAccessResponse) Descriptor deprecated

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

Deprecated: Use GetQualificationAccessResponse.ProtoReflect.Descriptor instead.

func (*GetQualificationAccessResponse) GetAccess

func (*GetQualificationAccessResponse) ProtoMessage

func (*GetQualificationAccessResponse) ProtoMessage()

func (*GetQualificationAccessResponse) ProtoReflect

func (*GetQualificationAccessResponse) Reset

func (x *GetQualificationAccessResponse) Reset()

func (*GetQualificationAccessResponse) String

func (*GetQualificationAccessResponse) Validate

func (m *GetQualificationAccessResponse) Validate() error

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

func (m *GetQualificationAccessResponse) ValidateAll() error

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

type GetQualificationAccessResponseMultiError

type GetQualificationAccessResponseMultiError []error

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

func (GetQualificationAccessResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetQualificationAccessResponseMultiError) Error

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

type GetQualificationAccessResponseValidationError

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

GetQualificationAccessResponseValidationError is the validation error returned by GetQualificationAccessResponse.Validate if the designated constraints aren't met.

func (GetQualificationAccessResponseValidationError) Cause

Cause function returns cause value.

func (GetQualificationAccessResponseValidationError) Error

Error satisfies the builtin error interface

func (GetQualificationAccessResponseValidationError) ErrorName

ErrorName returns error name.

func (GetQualificationAccessResponseValidationError) Field

Field function returns field value.

func (GetQualificationAccessResponseValidationError) Key

Key function returns key value.

func (GetQualificationAccessResponseValidationError) Reason

Reason function returns reason value.

type GetQualificationRequest

type GetQualificationRequest struct {
	QualificationId uint64 `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	WithExam        *bool  `protobuf:"varint,2,opt,name=with_exam,json=withExam,proto3,oneof" json:"with_exam,omitempty"`
	// contains filtered or unexported fields
}

func (*GetQualificationRequest) Descriptor deprecated

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

Deprecated: Use GetQualificationRequest.ProtoReflect.Descriptor instead.

func (*GetQualificationRequest) GetQualificationId

func (x *GetQualificationRequest) GetQualificationId() uint64

func (*GetQualificationRequest) GetWithExam

func (x *GetQualificationRequest) GetWithExam() bool

func (*GetQualificationRequest) ProtoMessage

func (*GetQualificationRequest) ProtoMessage()

func (*GetQualificationRequest) ProtoReflect

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

func (*GetQualificationRequest) Reset

func (x *GetQualificationRequest) Reset()

func (*GetQualificationRequest) String

func (x *GetQualificationRequest) String() string

func (*GetQualificationRequest) Validate

func (m *GetQualificationRequest) Validate() error

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

func (m *GetQualificationRequest) ValidateAll() error

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

type GetQualificationRequestMultiError

type GetQualificationRequestMultiError []error

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

func (GetQualificationRequestMultiError) AllErrors

func (m GetQualificationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetQualificationRequestMultiError) Error

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

type GetQualificationRequestValidationError

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

GetQualificationRequestValidationError is the validation error returned by GetQualificationRequest.Validate if the designated constraints aren't met.

func (GetQualificationRequestValidationError) Cause

Cause function returns cause value.

func (GetQualificationRequestValidationError) Error

Error satisfies the builtin error interface

func (GetQualificationRequestValidationError) ErrorName

ErrorName returns error name.

func (GetQualificationRequestValidationError) Field

Field function returns field value.

func (GetQualificationRequestValidationError) Key

Key function returns key value.

func (GetQualificationRequestValidationError) Reason

Reason function returns reason value.

type GetQualificationResponse

type GetQualificationResponse struct {
	Qualification *qualifications.Qualification `protobuf:"bytes,1,opt,name=qualification,proto3" json:"qualification,omitempty"`
	// contains filtered or unexported fields
}

func (*GetQualificationResponse) Descriptor deprecated

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

Deprecated: Use GetQualificationResponse.ProtoReflect.Descriptor instead.

func (*GetQualificationResponse) GetQualification

func (x *GetQualificationResponse) GetQualification() *qualifications.Qualification

func (*GetQualificationResponse) ProtoMessage

func (*GetQualificationResponse) ProtoMessage()

func (*GetQualificationResponse) ProtoReflect

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

func (*GetQualificationResponse) Reset

func (x *GetQualificationResponse) Reset()

func (*GetQualificationResponse) String

func (x *GetQualificationResponse) String() string

func (*GetQualificationResponse) Validate

func (m *GetQualificationResponse) Validate() error

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

func (m *GetQualificationResponse) ValidateAll() error

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

type GetQualificationResponseMultiError

type GetQualificationResponseMultiError []error

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

func (GetQualificationResponseMultiError) AllErrors

func (m GetQualificationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetQualificationResponseMultiError) Error

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

type GetQualificationResponseValidationError

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

GetQualificationResponseValidationError is the validation error returned by GetQualificationResponse.Validate if the designated constraints aren't met.

func (GetQualificationResponseValidationError) Cause

Cause function returns cause value.

func (GetQualificationResponseValidationError) Error

Error satisfies the builtin error interface

func (GetQualificationResponseValidationError) ErrorName

ErrorName returns error name.

func (GetQualificationResponseValidationError) Field

Field function returns field value.

func (GetQualificationResponseValidationError) Key

Key function returns key value.

func (GetQualificationResponseValidationError) Reason

Reason function returns reason value.

type GetUserExamRequest

type GetUserExamRequest struct {
	QualificationId uint64 `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	UserId          int32  `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserExamRequest) Descriptor deprecated

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

Deprecated: Use GetUserExamRequest.ProtoReflect.Descriptor instead.

func (*GetUserExamRequest) GetQualificationId

func (x *GetUserExamRequest) GetQualificationId() uint64

func (*GetUserExamRequest) GetUserId

func (x *GetUserExamRequest) GetUserId() int32

func (*GetUserExamRequest) ProtoMessage

func (*GetUserExamRequest) ProtoMessage()

func (*GetUserExamRequest) ProtoReflect

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

func (*GetUserExamRequest) Reset

func (x *GetUserExamRequest) Reset()

func (*GetUserExamRequest) String

func (x *GetUserExamRequest) String() string

func (*GetUserExamRequest) Validate

func (m *GetUserExamRequest) Validate() error

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

func (m *GetUserExamRequest) ValidateAll() error

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

type GetUserExamRequestMultiError

type GetUserExamRequestMultiError []error

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

func (GetUserExamRequestMultiError) AllErrors

func (m GetUserExamRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserExamRequestMultiError) Error

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

type GetUserExamRequestValidationError

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

GetUserExamRequestValidationError is the validation error returned by GetUserExamRequest.Validate if the designated constraints aren't met.

func (GetUserExamRequestValidationError) Cause

Cause function returns cause value.

func (GetUserExamRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserExamRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUserExamRequestValidationError) Field

Field function returns field value.

func (GetUserExamRequestValidationError) Key

Key function returns key value.

func (GetUserExamRequestValidationError) Reason

Reason function returns reason value.

type GetUserExamResponse

type GetUserExamResponse struct {
	Exam      *qualifications.ExamQuestions `protobuf:"bytes,1,opt,name=exam,proto3" json:"exam,omitempty"`
	ExamUser  *qualifications.ExamUser      `protobuf:"bytes,2,opt,name=exam_user,json=examUser,proto3" json:"exam_user,omitempty"`
	Responses *qualifications.ExamResponses `protobuf:"bytes,3,opt,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserExamResponse) Descriptor deprecated

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

Deprecated: Use GetUserExamResponse.ProtoReflect.Descriptor instead.

func (*GetUserExamResponse) GetExam

func (*GetUserExamResponse) GetExamUser

func (x *GetUserExamResponse) GetExamUser() *qualifications.ExamUser

func (*GetUserExamResponse) GetResponses

func (*GetUserExamResponse) ProtoMessage

func (*GetUserExamResponse) ProtoMessage()

func (*GetUserExamResponse) ProtoReflect

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

func (*GetUserExamResponse) Reset

func (x *GetUserExamResponse) Reset()

func (*GetUserExamResponse) String

func (x *GetUserExamResponse) String() string

func (*GetUserExamResponse) Validate

func (m *GetUserExamResponse) Validate() error

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

func (m *GetUserExamResponse) ValidateAll() error

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

type GetUserExamResponseMultiError

type GetUserExamResponseMultiError []error

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

func (GetUserExamResponseMultiError) AllErrors

func (m GetUserExamResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserExamResponseMultiError) Error

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

type GetUserExamResponseValidationError

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

GetUserExamResponseValidationError is the validation error returned by GetUserExamResponse.Validate if the designated constraints aren't met.

func (GetUserExamResponseValidationError) Cause

Cause function returns cause value.

func (GetUserExamResponseValidationError) Error

Error satisfies the builtin error interface

func (GetUserExamResponseValidationError) ErrorName

ErrorName returns error name.

func (GetUserExamResponseValidationError) Field

Field function returns field value.

func (GetUserExamResponseValidationError) Key

Key function returns key value.

func (GetUserExamResponseValidationError) Reason

Reason function returns reason value.

type ListQualificationRequestsRequest

type ListQualificationRequestsRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Sort       *database.Sort              `protobuf:"bytes,2,opt,name=sort,proto3,oneof" json:"sort,omitempty"`
	// Search params
	QualificationId *uint64                        `protobuf:"varint,3,opt,name=qualification_id,json=qualificationId,proto3,oneof" json:"qualification_id,omitempty"`
	Status          []qualifications.RequestStatus `protobuf:"varint,4,rep,packed,name=status,proto3,enum=resources.qualifications.RequestStatus" json:"status,omitempty"`
	UserId          *int32                         `protobuf:"varint,5,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListQualificationRequestsRequest) Descriptor deprecated

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

Deprecated: Use ListQualificationRequestsRequest.ProtoReflect.Descriptor instead.

func (*ListQualificationRequestsRequest) GetPagination

func (*ListQualificationRequestsRequest) GetQualificationId

func (x *ListQualificationRequestsRequest) GetQualificationId() uint64

func (*ListQualificationRequestsRequest) GetSort added in v0.9.3

func (*ListQualificationRequestsRequest) GetStatus

func (*ListQualificationRequestsRequest) GetUserId

func (x *ListQualificationRequestsRequest) GetUserId() int32

func (*ListQualificationRequestsRequest) ProtoMessage

func (*ListQualificationRequestsRequest) ProtoMessage()

func (*ListQualificationRequestsRequest) ProtoReflect

func (*ListQualificationRequestsRequest) Reset

func (*ListQualificationRequestsRequest) String

func (*ListQualificationRequestsRequest) Validate

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

func (m *ListQualificationRequestsRequest) ValidateAll() error

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

type ListQualificationRequestsRequestMultiError

type ListQualificationRequestsRequestMultiError []error

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

func (ListQualificationRequestsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListQualificationRequestsRequestMultiError) Error

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

type ListQualificationRequestsRequestValidationError

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

ListQualificationRequestsRequestValidationError is the validation error returned by ListQualificationRequestsRequest.Validate if the designated constraints aren't met.

func (ListQualificationRequestsRequestValidationError) Cause

Cause function returns cause value.

func (ListQualificationRequestsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListQualificationRequestsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListQualificationRequestsRequestValidationError) Field

Field function returns field value.

func (ListQualificationRequestsRequestValidationError) Key

Key function returns key value.

func (ListQualificationRequestsRequestValidationError) Reason

Reason function returns reason value.

type ListQualificationRequestsResponse

type ListQualificationRequestsResponse struct {
	Pagination *database.PaginationResponse           `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Requests   []*qualifications.QualificationRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*ListQualificationRequestsResponse) Descriptor deprecated

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

Deprecated: Use ListQualificationRequestsResponse.ProtoReflect.Descriptor instead.

func (*ListQualificationRequestsResponse) GetPagination

func (*ListQualificationRequestsResponse) GetRequests

func (*ListQualificationRequestsResponse) ProtoMessage

func (*ListQualificationRequestsResponse) ProtoMessage()

func (*ListQualificationRequestsResponse) ProtoReflect

func (*ListQualificationRequestsResponse) Reset

func (*ListQualificationRequestsResponse) String

func (*ListQualificationRequestsResponse) Validate

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

func (m *ListQualificationRequestsResponse) ValidateAll() error

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

type ListQualificationRequestsResponseMultiError

type ListQualificationRequestsResponseMultiError []error

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

func (ListQualificationRequestsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListQualificationRequestsResponseMultiError) Error

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

type ListQualificationRequestsResponseValidationError

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

ListQualificationRequestsResponseValidationError is the validation error returned by ListQualificationRequestsResponse.Validate if the designated constraints aren't met.

func (ListQualificationRequestsResponseValidationError) Cause

Cause function returns cause value.

func (ListQualificationRequestsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListQualificationRequestsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListQualificationRequestsResponseValidationError) Field

Field function returns field value.

func (ListQualificationRequestsResponseValidationError) Key

Key function returns key value.

func (ListQualificationRequestsResponseValidationError) Reason

Reason function returns reason value.

type ListQualificationsRequest

type ListQualificationsRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Sort       *database.Sort              `protobuf:"bytes,2,opt,name=sort,proto3,oneof" json:"sort,omitempty"`
	// Search params
	Search *string `protobuf:"bytes,3,opt,name=search,proto3,oneof" json:"search,omitempty"`
	// contains filtered or unexported fields
}

func (*ListQualificationsRequest) Descriptor deprecated

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

Deprecated: Use ListQualificationsRequest.ProtoReflect.Descriptor instead.

func (*ListQualificationsRequest) GetPagination

func (*ListQualificationsRequest) GetSearch

func (x *ListQualificationsRequest) GetSearch() string

func (*ListQualificationsRequest) GetSort added in v0.9.3

func (x *ListQualificationsRequest) GetSort() *database.Sort

func (*ListQualificationsRequest) ProtoMessage

func (*ListQualificationsRequest) ProtoMessage()

func (*ListQualificationsRequest) ProtoReflect

func (*ListQualificationsRequest) Reset

func (x *ListQualificationsRequest) Reset()

func (*ListQualificationsRequest) String

func (x *ListQualificationsRequest) String() string

func (*ListQualificationsRequest) Validate

func (m *ListQualificationsRequest) Validate() error

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

func (m *ListQualificationsRequest) ValidateAll() error

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

type ListQualificationsRequestMultiError

type ListQualificationsRequestMultiError []error

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

func (ListQualificationsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListQualificationsRequestMultiError) Error

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

type ListQualificationsRequestValidationError

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

ListQualificationsRequestValidationError is the validation error returned by ListQualificationsRequest.Validate if the designated constraints aren't met.

func (ListQualificationsRequestValidationError) Cause

Cause function returns cause value.

func (ListQualificationsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListQualificationsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListQualificationsRequestValidationError) Field

Field function returns field value.

func (ListQualificationsRequestValidationError) Key

Key function returns key value.

func (ListQualificationsRequestValidationError) Reason

Reason function returns reason value.

type ListQualificationsResponse

type ListQualificationsResponse struct {
	Pagination     *database.PaginationResponse    `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Qualifications []*qualifications.Qualification `protobuf:"bytes,2,rep,name=qualifications,proto3" json:"qualifications,omitempty"`
	// contains filtered or unexported fields
}

func (*ListQualificationsResponse) Descriptor deprecated

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

Deprecated: Use ListQualificationsResponse.ProtoReflect.Descriptor instead.

func (*ListQualificationsResponse) GetPagination

func (*ListQualificationsResponse) GetQualifications

func (x *ListQualificationsResponse) GetQualifications() []*qualifications.Qualification

func (*ListQualificationsResponse) ProtoMessage

func (*ListQualificationsResponse) ProtoMessage()

func (*ListQualificationsResponse) ProtoReflect

func (*ListQualificationsResponse) Reset

func (x *ListQualificationsResponse) Reset()

func (*ListQualificationsResponse) String

func (x *ListQualificationsResponse) String() string

func (*ListQualificationsResponse) Validate

func (m *ListQualificationsResponse) Validate() error

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

func (m *ListQualificationsResponse) ValidateAll() error

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

type ListQualificationsResponseMultiError

type ListQualificationsResponseMultiError []error

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

func (ListQualificationsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListQualificationsResponseMultiError) Error

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

type ListQualificationsResponseValidationError

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

ListQualificationsResponseValidationError is the validation error returned by ListQualificationsResponse.Validate if the designated constraints aren't met.

func (ListQualificationsResponseValidationError) Cause

Cause function returns cause value.

func (ListQualificationsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListQualificationsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListQualificationsResponseValidationError) Field

Field function returns field value.

func (ListQualificationsResponseValidationError) Key

Key function returns key value.

func (ListQualificationsResponseValidationError) Reason

Reason function returns reason value.

type ListQualificationsResultsRequest

type ListQualificationsResultsRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Sort       *database.Sort              `protobuf:"bytes,2,opt,name=sort,proto3,oneof" json:"sort,omitempty"`
	// Search params
	QualificationId *uint64                       `protobuf:"varint,3,opt,name=qualification_id,json=qualificationId,proto3,oneof" json:"qualification_id,omitempty"`
	Status          []qualifications.ResultStatus `protobuf:"varint,4,rep,packed,name=status,proto3,enum=resources.qualifications.ResultStatus" json:"status,omitempty"`
	UserId          *int32                        `protobuf:"varint,5,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListQualificationsResultsRequest) Descriptor deprecated

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

Deprecated: Use ListQualificationsResultsRequest.ProtoReflect.Descriptor instead.

func (*ListQualificationsResultsRequest) GetPagination

func (*ListQualificationsResultsRequest) GetQualificationId

func (x *ListQualificationsResultsRequest) GetQualificationId() uint64

func (*ListQualificationsResultsRequest) GetSort added in v0.9.3

func (*ListQualificationsResultsRequest) GetStatus

func (*ListQualificationsResultsRequest) GetUserId

func (x *ListQualificationsResultsRequest) GetUserId() int32

func (*ListQualificationsResultsRequest) ProtoMessage

func (*ListQualificationsResultsRequest) ProtoMessage()

func (*ListQualificationsResultsRequest) ProtoReflect

func (*ListQualificationsResultsRequest) Reset

func (*ListQualificationsResultsRequest) String

func (*ListQualificationsResultsRequest) Validate

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

func (m *ListQualificationsResultsRequest) ValidateAll() error

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

type ListQualificationsResultsRequestMultiError

type ListQualificationsResultsRequestMultiError []error

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

func (ListQualificationsResultsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListQualificationsResultsRequestMultiError) Error

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

type ListQualificationsResultsRequestValidationError

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

ListQualificationsResultsRequestValidationError is the validation error returned by ListQualificationsResultsRequest.Validate if the designated constraints aren't met.

func (ListQualificationsResultsRequestValidationError) Cause

Cause function returns cause value.

func (ListQualificationsResultsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListQualificationsResultsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListQualificationsResultsRequestValidationError) Field

Field function returns field value.

func (ListQualificationsResultsRequestValidationError) Key

Key function returns key value.

func (ListQualificationsResultsRequestValidationError) Reason

Reason function returns reason value.

type ListQualificationsResultsResponse

type ListQualificationsResultsResponse struct {
	Pagination *database.PaginationResponse          `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Results    []*qualifications.QualificationResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*ListQualificationsResultsResponse) Descriptor deprecated

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

Deprecated: Use ListQualificationsResultsResponse.ProtoReflect.Descriptor instead.

func (*ListQualificationsResultsResponse) GetPagination

func (*ListQualificationsResultsResponse) GetResults

func (*ListQualificationsResultsResponse) ProtoMessage

func (*ListQualificationsResultsResponse) ProtoMessage()

func (*ListQualificationsResultsResponse) ProtoReflect

func (*ListQualificationsResultsResponse) Reset

func (*ListQualificationsResultsResponse) String

func (*ListQualificationsResultsResponse) Validate

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

func (m *ListQualificationsResultsResponse) ValidateAll() error

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

type ListQualificationsResultsResponseMultiError

type ListQualificationsResultsResponseMultiError []error

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

func (ListQualificationsResultsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListQualificationsResultsResponseMultiError) Error

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

type ListQualificationsResultsResponseValidationError

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

ListQualificationsResultsResponseValidationError is the validation error returned by ListQualificationsResultsResponse.Validate if the designated constraints aren't met.

func (ListQualificationsResultsResponseValidationError) Cause

Cause function returns cause value.

func (ListQualificationsResultsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListQualificationsResultsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListQualificationsResultsResponseValidationError) Field

Field function returns field value.

func (ListQualificationsResultsResponseValidationError) Key

Key function returns key value.

func (ListQualificationsResultsResponseValidationError) Reason

Reason function returns reason value.

type Params

type Params struct {
	fx.In

	LC fx.Lifecycle

	Logger            *zap.Logger
	DB                *sql.DB
	Perms             perms.Permissions
	UserAwareEnricher *mstlystcdata.UserAwareEnricher
	Audit             audit.IAuditer
	Config            *config.Config
	Notif             notifi.INotifi
}

type QualificationsServiceClient

type QualificationsServiceClient interface {
	// @perm
	ListQualifications(ctx context.Context, in *ListQualificationsRequest, opts ...grpc.CallOption) (*ListQualificationsResponse, error)
	// @perm
	GetQualification(ctx context.Context, in *GetQualificationRequest, opts ...grpc.CallOption) (*GetQualificationResponse, error)
	// @perm
	CreateQualification(ctx context.Context, in *CreateQualificationRequest, opts ...grpc.CallOption) (*CreateQualificationResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	UpdateQualification(ctx context.Context, in *UpdateQualificationRequest, opts ...grpc.CallOption) (*UpdateQualificationResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	DeleteQualification(ctx context.Context, in *DeleteQualificationRequest, opts ...grpc.CallOption) (*DeleteQualificationResponse, error)
	// @perm: Name=GetQualification
	ListQualificationRequests(ctx context.Context, in *ListQualificationRequestsRequest, opts ...grpc.CallOption) (*ListQualificationRequestsResponse, error)
	// @perm: Name=GetQualification
	CreateOrUpdateQualificationRequest(ctx context.Context, in *CreateOrUpdateQualificationRequestRequest, opts ...grpc.CallOption) (*CreateOrUpdateQualificationRequestResponse, error)
	// @perm
	DeleteQualificationReq(ctx context.Context, in *DeleteQualificationReqRequest, opts ...grpc.CallOption) (*DeleteQualificationReqResponse, error)
	// @perm: Name=GetQualification
	ListQualificationsResults(ctx context.Context, in *ListQualificationsResultsRequest, opts ...grpc.CallOption) (*ListQualificationsResultsResponse, error)
	// @perm
	CreateOrUpdateQualificationResult(ctx context.Context, in *CreateOrUpdateQualificationResultRequest, opts ...grpc.CallOption) (*CreateOrUpdateQualificationResultResponse, error)
	// @perm
	DeleteQualificationResult(ctx context.Context, in *DeleteQualificationResultRequest, opts ...grpc.CallOption) (*DeleteQualificationResultResponse, error)
	// @perm: Name=GetQualification
	GetExamInfo(ctx context.Context, in *GetExamInfoRequest, opts ...grpc.CallOption) (*GetExamInfoResponse, error)
	// @perm: Name=GetQualification
	TakeExam(ctx context.Context, in *TakeExamRequest, opts ...grpc.CallOption) (*TakeExamResponse, error)
	// @perm: Name=GetQualification
	SubmitExam(ctx context.Context, in *SubmitExamRequest, opts ...grpc.CallOption) (*SubmitExamResponse, error)
	// @perm: Name=CreateOrUpdateQualificationResult
	GetUserExam(ctx context.Context, in *GetUserExamRequest, opts ...grpc.CallOption) (*GetUserExamResponse, error)
}

QualificationsServiceClient is the client API for QualificationsService 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.

type QualificationsServiceServer

type QualificationsServiceServer interface {
	// @perm
	ListQualifications(context.Context, *ListQualificationsRequest) (*ListQualificationsResponse, error)
	// @perm
	GetQualification(context.Context, *GetQualificationRequest) (*GetQualificationResponse, error)
	// @perm
	CreateQualification(context.Context, *CreateQualificationRequest) (*CreateQualificationResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	UpdateQualification(context.Context, *UpdateQualificationRequest) (*UpdateQualificationResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	DeleteQualification(context.Context, *DeleteQualificationRequest) (*DeleteQualificationResponse, error)
	// @perm: Name=GetQualification
	ListQualificationRequests(context.Context, *ListQualificationRequestsRequest) (*ListQualificationRequestsResponse, error)
	// @perm: Name=GetQualification
	CreateOrUpdateQualificationRequest(context.Context, *CreateOrUpdateQualificationRequestRequest) (*CreateOrUpdateQualificationRequestResponse, error)
	// @perm
	DeleteQualificationReq(context.Context, *DeleteQualificationReqRequest) (*DeleteQualificationReqResponse, error)
	// @perm: Name=GetQualification
	ListQualificationsResults(context.Context, *ListQualificationsResultsRequest) (*ListQualificationsResultsResponse, error)
	// @perm
	CreateOrUpdateQualificationResult(context.Context, *CreateOrUpdateQualificationResultRequest) (*CreateOrUpdateQualificationResultResponse, error)
	// @perm
	DeleteQualificationResult(context.Context, *DeleteQualificationResultRequest) (*DeleteQualificationResultResponse, error)
	// @perm: Name=GetQualification
	GetExamInfo(context.Context, *GetExamInfoRequest) (*GetExamInfoResponse, error)
	// @perm: Name=GetQualification
	TakeExam(context.Context, *TakeExamRequest) (*TakeExamResponse, error)
	// @perm: Name=GetQualification
	SubmitExam(context.Context, *SubmitExamRequest) (*SubmitExamResponse, error)
	// @perm: Name=CreateOrUpdateQualificationResult
	GetUserExam(context.Context, *GetUserExamRequest) (*GetUserExamResponse, error)
	// contains filtered or unexported methods
}

QualificationsServiceServer is the server API for QualificationsService service. All implementations must embed UnimplementedQualificationsServiceServer for forward compatibility

type Server

type Server struct {
	QualificationsServiceServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(p Params) *Server

func (*Server) CreateQualification

func (s *Server) CreateQualification(ctx context.Context, req *CreateQualificationRequest) (*CreateQualificationResponse, error)

func (*Server) DeleteQualification

func (s *Server) DeleteQualification(ctx context.Context, req *DeleteQualificationRequest) (*DeleteQualificationResponse, error)

func (*Server) DeleteQualificationReq

func (*Server) GetExamInfo

func (s *Server) GetExamInfo(ctx context.Context, req *GetExamInfoRequest) (*GetExamInfoResponse, error)

func (*Server) GetPermsRemap

func (s *Server) GetPermsRemap() map[string]string

func (*Server) GetQualification

func (s *Server) GetQualification(ctx context.Context, req *GetQualificationRequest) (*GetQualificationResponse, error)

func (*Server) GetQualificationAccess

func (*Server) GetUserExam

func (s *Server) GetUserExam(ctx context.Context, req *GetUserExamRequest) (*GetUserExamResponse, error)

func (*Server) ListQualifications

func (s *Server) ListQualifications(ctx context.Context, req *ListQualificationsRequest) (*ListQualificationsResponse, error)

func (*Server) RegisterServer

func (s *Server) RegisterServer(srv *grpc.Server)

func (*Server) SetQualificationAccess

func (*Server) SubmitExam

func (s *Server) SubmitExam(ctx context.Context, req *SubmitExamRequest) (*SubmitExamResponse, error)

func (*Server) TakeExam

func (s *Server) TakeExam(ctx context.Context, req *TakeExamRequest) (*TakeExamResponse, error)

func (*Server) UpdateQualification

func (s *Server) UpdateQualification(ctx context.Context, req *UpdateQualificationRequest) (*UpdateQualificationResponse, error)

type SetQualificationAccessRequest

type SetQualificationAccessRequest struct {
	QualificationId uint64                               `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	Mode            qualifications.AccessLevelUpdateMode `protobuf:"varint,2,opt,name=mode,proto3,enum=resources.qualifications.AccessLevelUpdateMode" json:"mode,omitempty"`
	Access          *qualifications.QualificationAccess  `protobuf:"bytes,3,opt,name=access,proto3" json:"access,omitempty"`
	// contains filtered or unexported fields
}

func (*SetQualificationAccessRequest) Descriptor deprecated

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

Deprecated: Use SetQualificationAccessRequest.ProtoReflect.Descriptor instead.

func (*SetQualificationAccessRequest) GetAccess

func (*SetQualificationAccessRequest) GetMode

func (*SetQualificationAccessRequest) GetQualificationId

func (x *SetQualificationAccessRequest) GetQualificationId() uint64

func (*SetQualificationAccessRequest) ProtoMessage

func (*SetQualificationAccessRequest) ProtoMessage()

func (*SetQualificationAccessRequest) ProtoReflect

func (*SetQualificationAccessRequest) Reset

func (x *SetQualificationAccessRequest) Reset()

func (*SetQualificationAccessRequest) String

func (*SetQualificationAccessRequest) Validate

func (m *SetQualificationAccessRequest) Validate() error

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

func (m *SetQualificationAccessRequest) ValidateAll() error

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

type SetQualificationAccessRequestMultiError

type SetQualificationAccessRequestMultiError []error

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

func (SetQualificationAccessRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SetQualificationAccessRequestMultiError) Error

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

type SetQualificationAccessRequestValidationError

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

SetQualificationAccessRequestValidationError is the validation error returned by SetQualificationAccessRequest.Validate if the designated constraints aren't met.

func (SetQualificationAccessRequestValidationError) Cause

Cause function returns cause value.

func (SetQualificationAccessRequestValidationError) Error

Error satisfies the builtin error interface

func (SetQualificationAccessRequestValidationError) ErrorName

ErrorName returns error name.

func (SetQualificationAccessRequestValidationError) Field

Field function returns field value.

func (SetQualificationAccessRequestValidationError) Key

Key function returns key value.

func (SetQualificationAccessRequestValidationError) Reason

Reason function returns reason value.

type SetQualificationAccessResponse

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

func (*SetQualificationAccessResponse) Descriptor deprecated

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

Deprecated: Use SetQualificationAccessResponse.ProtoReflect.Descriptor instead.

func (*SetQualificationAccessResponse) ProtoMessage

func (*SetQualificationAccessResponse) ProtoMessage()

func (*SetQualificationAccessResponse) ProtoReflect

func (*SetQualificationAccessResponse) Reset

func (x *SetQualificationAccessResponse) Reset()

func (*SetQualificationAccessResponse) String

func (*SetQualificationAccessResponse) Validate

func (m *SetQualificationAccessResponse) Validate() error

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

func (m *SetQualificationAccessResponse) ValidateAll() error

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

type SetQualificationAccessResponseMultiError

type SetQualificationAccessResponseMultiError []error

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

func (SetQualificationAccessResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SetQualificationAccessResponseMultiError) Error

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

type SetQualificationAccessResponseValidationError

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

SetQualificationAccessResponseValidationError is the validation error returned by SetQualificationAccessResponse.Validate if the designated constraints aren't met.

func (SetQualificationAccessResponseValidationError) Cause

Cause function returns cause value.

func (SetQualificationAccessResponseValidationError) Error

Error satisfies the builtin error interface

func (SetQualificationAccessResponseValidationError) ErrorName

ErrorName returns error name.

func (SetQualificationAccessResponseValidationError) Field

Field function returns field value.

func (SetQualificationAccessResponseValidationError) Key

Key function returns key value.

func (SetQualificationAccessResponseValidationError) Reason

Reason function returns reason value.

type SubmitExamRequest

type SubmitExamRequest struct {
	QualificationId uint64                        `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	Responses       *qualifications.ExamResponses `protobuf:"bytes,2,opt,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitExamRequest) Descriptor deprecated

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

Deprecated: Use SubmitExamRequest.ProtoReflect.Descriptor instead.

func (*SubmitExamRequest) GetQualificationId

func (x *SubmitExamRequest) GetQualificationId() uint64

func (*SubmitExamRequest) GetResponses

func (x *SubmitExamRequest) GetResponses() *qualifications.ExamResponses

func (*SubmitExamRequest) ProtoMessage

func (*SubmitExamRequest) ProtoMessage()

func (*SubmitExamRequest) ProtoReflect

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

func (*SubmitExamRequest) Reset

func (x *SubmitExamRequest) Reset()

func (*SubmitExamRequest) String

func (x *SubmitExamRequest) String() string

func (*SubmitExamRequest) Validate

func (m *SubmitExamRequest) Validate() error

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

func (m *SubmitExamRequest) ValidateAll() error

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

type SubmitExamRequestMultiError

type SubmitExamRequestMultiError []error

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

func (SubmitExamRequestMultiError) AllErrors

func (m SubmitExamRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubmitExamRequestMultiError) Error

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

type SubmitExamRequestValidationError

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

SubmitExamRequestValidationError is the validation error returned by SubmitExamRequest.Validate if the designated constraints aren't met.

func (SubmitExamRequestValidationError) Cause

Cause function returns cause value.

func (SubmitExamRequestValidationError) Error

Error satisfies the builtin error interface

func (SubmitExamRequestValidationError) ErrorName

ErrorName returns error name.

func (SubmitExamRequestValidationError) Field

Field function returns field value.

func (SubmitExamRequestValidationError) Key

Key function returns key value.

func (SubmitExamRequestValidationError) Reason

Reason function returns reason value.

type SubmitExamResponse

type SubmitExamResponse struct {
	Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitExamResponse) Descriptor deprecated

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

Deprecated: Use SubmitExamResponse.ProtoReflect.Descriptor instead.

func (*SubmitExamResponse) GetDuration

func (x *SubmitExamResponse) GetDuration() *durationpb.Duration

func (*SubmitExamResponse) ProtoMessage

func (*SubmitExamResponse) ProtoMessage()

func (*SubmitExamResponse) ProtoReflect

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

func (*SubmitExamResponse) Reset

func (x *SubmitExamResponse) Reset()

func (*SubmitExamResponse) String

func (x *SubmitExamResponse) String() string

func (*SubmitExamResponse) Validate

func (m *SubmitExamResponse) Validate() error

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

func (m *SubmitExamResponse) ValidateAll() error

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

type SubmitExamResponseMultiError

type SubmitExamResponseMultiError []error

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

func (SubmitExamResponseMultiError) AllErrors

func (m SubmitExamResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubmitExamResponseMultiError) Error

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

type SubmitExamResponseValidationError

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

SubmitExamResponseValidationError is the validation error returned by SubmitExamResponse.Validate if the designated constraints aren't met.

func (SubmitExamResponseValidationError) Cause

Cause function returns cause value.

func (SubmitExamResponseValidationError) Error

Error satisfies the builtin error interface

func (SubmitExamResponseValidationError) ErrorName

ErrorName returns error name.

func (SubmitExamResponseValidationError) Field

Field function returns field value.

func (SubmitExamResponseValidationError) Key

Key function returns key value.

func (SubmitExamResponseValidationError) Reason

Reason function returns reason value.

type TakeExamRequest

type TakeExamRequest struct {
	QualificationId uint64 `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	Cancel          *bool  `protobuf:"varint,2,opt,name=cancel,proto3,oneof" json:"cancel,omitempty"`
	// contains filtered or unexported fields
}

func (*TakeExamRequest) Descriptor deprecated

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

Deprecated: Use TakeExamRequest.ProtoReflect.Descriptor instead.

func (*TakeExamRequest) GetCancel

func (x *TakeExamRequest) GetCancel() bool

func (*TakeExamRequest) GetQualificationId

func (x *TakeExamRequest) GetQualificationId() uint64

func (*TakeExamRequest) ProtoMessage

func (*TakeExamRequest) ProtoMessage()

func (*TakeExamRequest) ProtoReflect

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

func (*TakeExamRequest) Reset

func (x *TakeExamRequest) Reset()

func (*TakeExamRequest) String

func (x *TakeExamRequest) String() string

func (*TakeExamRequest) Validate

func (m *TakeExamRequest) Validate() error

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

func (m *TakeExamRequest) ValidateAll() error

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

type TakeExamRequestMultiError

type TakeExamRequestMultiError []error

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

func (TakeExamRequestMultiError) AllErrors

func (m TakeExamRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TakeExamRequestMultiError) Error

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

type TakeExamRequestValidationError

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

TakeExamRequestValidationError is the validation error returned by TakeExamRequest.Validate if the designated constraints aren't met.

func (TakeExamRequestValidationError) Cause

Cause function returns cause value.

func (TakeExamRequestValidationError) Error

Error satisfies the builtin error interface

func (TakeExamRequestValidationError) ErrorName

func (e TakeExamRequestValidationError) ErrorName() string

ErrorName returns error name.

func (TakeExamRequestValidationError) Field

Field function returns field value.

func (TakeExamRequestValidationError) Key

Key function returns key value.

func (TakeExamRequestValidationError) Reason

Reason function returns reason value.

type TakeExamResponse

type TakeExamResponse struct {
	Exam     *qualifications.ExamQuestions `protobuf:"bytes,1,opt,name=exam,proto3" json:"exam,omitempty"`
	ExamUser *qualifications.ExamUser      `protobuf:"bytes,2,opt,name=exam_user,json=examUser,proto3" json:"exam_user,omitempty"`
	// contains filtered or unexported fields
}

func (*TakeExamResponse) Descriptor deprecated

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

Deprecated: Use TakeExamResponse.ProtoReflect.Descriptor instead.

func (*TakeExamResponse) GetExam

func (*TakeExamResponse) GetExamUser

func (x *TakeExamResponse) GetExamUser() *qualifications.ExamUser

func (*TakeExamResponse) ProtoMessage

func (*TakeExamResponse) ProtoMessage()

func (*TakeExamResponse) ProtoReflect

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

func (*TakeExamResponse) Reset

func (x *TakeExamResponse) Reset()

func (*TakeExamResponse) String

func (x *TakeExamResponse) String() string

func (*TakeExamResponse) Validate

func (m *TakeExamResponse) Validate() error

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

func (m *TakeExamResponse) ValidateAll() error

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

type TakeExamResponseMultiError

type TakeExamResponseMultiError []error

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

func (TakeExamResponseMultiError) AllErrors

func (m TakeExamResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TakeExamResponseMultiError) Error

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

type TakeExamResponseValidationError

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

TakeExamResponseValidationError is the validation error returned by TakeExamResponse.Validate if the designated constraints aren't met.

func (TakeExamResponseValidationError) Cause

Cause function returns cause value.

func (TakeExamResponseValidationError) Error

Error satisfies the builtin error interface

func (TakeExamResponseValidationError) ErrorName

ErrorName returns error name.

func (TakeExamResponseValidationError) Field

Field function returns field value.

func (TakeExamResponseValidationError) Key

Key function returns key value.

func (TakeExamResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedQualificationsServiceServer

type UnimplementedQualificationsServiceServer struct {
}

UnimplementedQualificationsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedQualificationsServiceServer) CreateQualification

func (UnimplementedQualificationsServiceServer) DeleteQualification

func (UnimplementedQualificationsServiceServer) GetExamInfo

func (UnimplementedQualificationsServiceServer) GetQualification

func (UnimplementedQualificationsServiceServer) GetUserExam

func (UnimplementedQualificationsServiceServer) ListQualifications

func (UnimplementedQualificationsServiceServer) SubmitExam

func (UnimplementedQualificationsServiceServer) TakeExam

func (UnimplementedQualificationsServiceServer) UpdateQualification

type UnsafeQualificationsServiceServer

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

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

type UpdateQualificationRequest

type UpdateQualificationRequest struct {
	Qualification *qualifications.Qualification `protobuf:"bytes,1,opt,name=qualification,proto3" json:"qualification,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateQualificationRequest) Descriptor deprecated

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

Deprecated: Use UpdateQualificationRequest.ProtoReflect.Descriptor instead.

func (*UpdateQualificationRequest) GetQualification

func (*UpdateQualificationRequest) ProtoMessage

func (*UpdateQualificationRequest) ProtoMessage()

func (*UpdateQualificationRequest) ProtoReflect

func (*UpdateQualificationRequest) Reset

func (x *UpdateQualificationRequest) Reset()

func (*UpdateQualificationRequest) String

func (x *UpdateQualificationRequest) String() string

func (*UpdateQualificationRequest) Validate

func (m *UpdateQualificationRequest) Validate() error

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

func (m *UpdateQualificationRequest) ValidateAll() error

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

type UpdateQualificationRequestMultiError

type UpdateQualificationRequestMultiError []error

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

func (UpdateQualificationRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateQualificationRequestMultiError) Error

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

type UpdateQualificationRequestValidationError

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

UpdateQualificationRequestValidationError is the validation error returned by UpdateQualificationRequest.Validate if the designated constraints aren't met.

func (UpdateQualificationRequestValidationError) Cause

Cause function returns cause value.

func (UpdateQualificationRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateQualificationRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateQualificationRequestValidationError) Field

Field function returns field value.

func (UpdateQualificationRequestValidationError) Key

Key function returns key value.

func (UpdateQualificationRequestValidationError) Reason

Reason function returns reason value.

type UpdateQualificationResponse

type UpdateQualificationResponse struct {
	QualificationId uint64 `protobuf:"varint,1,opt,name=qualification_id,json=qualificationId,proto3" json:"qualification_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateQualificationResponse) Descriptor deprecated

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

Deprecated: Use UpdateQualificationResponse.ProtoReflect.Descriptor instead.

func (*UpdateQualificationResponse) GetQualificationId

func (x *UpdateQualificationResponse) GetQualificationId() uint64

func (*UpdateQualificationResponse) ProtoMessage

func (*UpdateQualificationResponse) ProtoMessage()

func (*UpdateQualificationResponse) ProtoReflect

func (*UpdateQualificationResponse) Reset

func (x *UpdateQualificationResponse) Reset()

func (*UpdateQualificationResponse) String

func (x *UpdateQualificationResponse) String() string

func (*UpdateQualificationResponse) Validate

func (m *UpdateQualificationResponse) Validate() error

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

func (m *UpdateQualificationResponse) ValidateAll() error

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

type UpdateQualificationResponseMultiError

type UpdateQualificationResponseMultiError []error

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

func (UpdateQualificationResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateQualificationResponseMultiError) Error

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

type UpdateQualificationResponseValidationError

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

UpdateQualificationResponseValidationError is the validation error returned by UpdateQualificationResponse.Validate if the designated constraints aren't met.

func (UpdateQualificationResponseValidationError) Cause

Cause function returns cause value.

func (UpdateQualificationResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateQualificationResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateQualificationResponseValidationError) Field

Field function returns field value.

func (UpdateQualificationResponseValidationError) Key

Key function returns key value.

func (UpdateQualificationResponseValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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