Documentation
¶
Index ¶
- Variables
- type Access
- func (*Access) Descriptor() ([]byte, []int)deprecated
- func (x *Access) GetJob() []*JobAccess
- func (x *Access) GetRequiredQualification() []*RequiredQualificationAccess
- func (*Access) ProtoMessage()
- func (x *Access) ProtoReflect() protoreflect.Message
- func (x *Access) Reset()
- func (x *Access) String() string
- func (m *Access) Validate() error
- func (m *Access) ValidateAll() error
- type AccessLevel
- func (AccessLevel) Descriptor() protoreflect.EnumDescriptor
- func (x AccessLevel) Enum() *AccessLevel
- func (AccessLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccessLevel) Number() protoreflect.EnumNumber
- func (x AccessLevel) String() string
- func (AccessLevel) Type() protoreflect.EnumType
- type AccessMultiError
- type AccessValidationError
- type ConductEntry
- func (*ConductEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ConductEntry) GetCreatedAt() *timestamp.Timestamp
- func (x *ConductEntry) GetCreator() *users.UserShort
- func (x *ConductEntry) GetCreatorId() int32
- func (x *ConductEntry) GetExpiresAt() *timestamp.Timestamp
- func (x *ConductEntry) GetId() uint64
- func (x *ConductEntry) GetJob() string
- func (x *ConductEntry) GetMessage() string
- func (x *ConductEntry) GetTargetUser() *users.UserShort
- func (x *ConductEntry) GetTargetUserId() int32
- func (x *ConductEntry) GetType() ConductType
- func (x *ConductEntry) GetUpdatedAt() *timestamp.Timestamp
- func (*ConductEntry) ProtoMessage()
- func (x *ConductEntry) ProtoReflect() protoreflect.Message
- func (x *ConductEntry) Reset()
- func (m *ConductEntry) Sanitize() error
- func (x *ConductEntry) String() string
- func (m *ConductEntry) Validate() error
- func (m *ConductEntry) ValidateAll() error
- type ConductEntryMultiError
- type ConductEntryValidationError
- func (e ConductEntryValidationError) Cause() error
- func (e ConductEntryValidationError) Error() string
- func (e ConductEntryValidationError) ErrorName() string
- func (e ConductEntryValidationError) Field() string
- func (e ConductEntryValidationError) Key() bool
- func (e ConductEntryValidationError) Reason() string
- type ConductType
- func (ConductType) Descriptor() protoreflect.EnumDescriptor
- func (x ConductType) Enum() *ConductType
- func (ConductType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConductType) Number() protoreflect.EnumNumber
- func (x ConductType) String() string
- func (ConductType) Type() protoreflect.EnumType
- type JobAccess
- func (*JobAccess) Descriptor() ([]byte, []int)deprecated
- func (x *JobAccess) GetAccess() AccessLevel
- func (x *JobAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *JobAccess) GetId() uint64
- func (x *JobAccess) GetJob() string
- func (x *JobAccess) GetJobGradeLabel() string
- func (x *JobAccess) GetJobLabel() string
- func (x *JobAccess) GetMinimumGrade() int32
- func (x *JobAccess) GetTemplateId() uint64
- func (*JobAccess) ProtoMessage()
- func (x *JobAccess) ProtoReflect() protoreflect.Message
- func (x *JobAccess) Reset()
- func (x *JobAccess) String() string
- func (m *JobAccess) Validate() error
- func (m *JobAccess) ValidateAll() error
- type JobAccessMultiError
- type JobAccessValidationError
- type Qualification
- func (*Qualification) Descriptor() ([]byte, []int)deprecated
- func (x *Qualification) GetAbbreviation() string
- func (x *Qualification) GetCreatedAt() *timestamp.Timestamp
- func (x *Qualification) GetDeletedAt() *timestamp.Timestamp
- func (x *Qualification) GetDescription() string
- func (x *Qualification) GetId() uint64
- func (x *Qualification) GetJob() string
- func (x *Qualification) GetJobAccess() []*JobAccess
- func (x *Qualification) GetOpen() bool
- func (x *Qualification) GetTitle() string
- func (x *Qualification) GetUpdatedAt() *timestamp.Timestamp
- func (x *Qualification) GetWeight() uint32
- func (*Qualification) ProtoMessage()
- func (x *Qualification) ProtoReflect() protoreflect.Message
- func (x *Qualification) Reset()
- func (m *Qualification) Sanitize() error
- func (x *Qualification) String() string
- func (m *Qualification) Validate() error
- func (m *Qualification) ValidateAll() error
- type QualificationMultiError
- type QualificationResult
- func (*QualificationResult) Descriptor() ([]byte, []int)deprecated
- func (x *QualificationResult) GetCreatedAt() *timestamp.Timestamp
- func (x *QualificationResult) GetCreator() *users.UserShort
- func (x *QualificationResult) GetCreatorId() int32
- func (x *QualificationResult) GetDeletedAt() *timestamp.Timestamp
- func (x *QualificationResult) GetId() uint64
- func (x *QualificationResult) GetRating() uint32
- func (x *QualificationResult) GetSummary() string
- func (x *QualificationResult) GetTrainingId() uint64
- func (x *QualificationResult) GetUser() *users.UserShort
- func (x *QualificationResult) GetUserId() int32
- func (*QualificationResult) ProtoMessage()
- func (x *QualificationResult) ProtoReflect() protoreflect.Message
- func (x *QualificationResult) Reset()
- func (x *QualificationResult) String() string
- func (m *QualificationResult) Validate() error
- func (m *QualificationResult) ValidateAll() error
- type QualificationResultMultiError
- type QualificationResultValidationError
- func (e QualificationResultValidationError) Cause() error
- func (e QualificationResultValidationError) Error() string
- func (e QualificationResultValidationError) ErrorName() string
- func (e QualificationResultValidationError) Field() string
- func (e QualificationResultValidationError) Key() bool
- func (e QualificationResultValidationError) Reason() string
- type QualificationValidationError
- func (e QualificationValidationError) Cause() error
- func (e QualificationValidationError) Error() string
- func (e QualificationValidationError) ErrorName() string
- func (e QualificationValidationError) Field() string
- func (e QualificationValidationError) Key() bool
- func (e QualificationValidationError) Reason() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetApproved() bool
- func (x *Request) GetApproverId() int32
- func (x *Request) GetApproverUser() *users.UserShort
- func (x *Request) GetBeginsAt() *timestamp.Timestamp
- func (x *Request) GetClosed() bool
- func (x *Request) GetCreatedAt() *timestamp.Timestamp
- func (x *Request) GetCreator() *users.UserShort
- func (x *Request) GetCreatorId() int32
- func (x *Request) GetDeletedAt() *timestamp.Timestamp
- func (x *Request) GetEndsAt() *timestamp.Timestamp
- func (x *Request) GetId() uint64
- func (x *Request) GetJob() string
- func (x *Request) GetMessage() string
- func (x *Request) GetStatus() string
- func (x *Request) GetTitle() string
- func (x *Request) GetType() *RequestType
- func (x *Request) GetTypeId() uint64
- func (x *Request) GetUpdatedAt() *timestamp.Timestamp
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (m *Request) Sanitize() error
- func (x *Request) String() string
- func (m *Request) Validate() error
- func (m *Request) ValidateAll() error
- type RequestComment
- func (*RequestComment) Descriptor() ([]byte, []int)deprecated
- func (x *RequestComment) GetComment() string
- func (x *RequestComment) GetCreatedAt() *timestamp.Timestamp
- func (x *RequestComment) GetCreator() *users.UserShort
- func (x *RequestComment) GetCreatorId() int32
- func (x *RequestComment) GetDeletedAt() *timestamp.Timestamp
- func (x *RequestComment) GetId() uint64
- func (x *RequestComment) GetRequestId() uint64
- func (x *RequestComment) GetUpdatedAt() *timestamp.Timestamp
- func (*RequestComment) ProtoMessage()
- func (x *RequestComment) ProtoReflect() protoreflect.Message
- func (x *RequestComment) Reset()
- func (m *RequestComment) Sanitize() error
- func (x *RequestComment) String() string
- func (m *RequestComment) Validate() error
- func (m *RequestComment) ValidateAll() error
- type RequestCommentMultiError
- type RequestCommentValidationError
- func (e RequestCommentValidationError) Cause() error
- func (e RequestCommentValidationError) Error() string
- func (e RequestCommentValidationError) ErrorName() string
- func (e RequestCommentValidationError) Field() string
- func (e RequestCommentValidationError) Key() bool
- func (e RequestCommentValidationError) Reason() string
- type RequestMultiError
- type RequestType
- func (*RequestType) Descriptor() ([]byte, []int)deprecated
- func (x *RequestType) GetCreatedAt() *timestamp.Timestamp
- func (x *RequestType) GetDeletedAt() *timestamp.Timestamp
- func (x *RequestType) GetDescription() string
- func (x *RequestType) GetId() uint64
- func (x *RequestType) GetJob() string
- func (x *RequestType) GetName() string
- func (x *RequestType) GetUpdatedAt() *timestamp.Timestamp
- func (x *RequestType) GetWeight() uint32
- func (*RequestType) ProtoMessage()
- func (x *RequestType) ProtoReflect() protoreflect.Message
- func (x *RequestType) Reset()
- func (x *RequestType) String() string
- func (m *RequestType) Validate() error
- func (m *RequestType) ValidateAll() error
- type RequestTypeMultiError
- type RequestTypeValidationError
- func (e RequestTypeValidationError) Cause() error
- func (e RequestTypeValidationError) Error() string
- func (e RequestTypeValidationError) ErrorName() string
- func (e RequestTypeValidationError) Field() string
- func (e RequestTypeValidationError) Key() bool
- func (e RequestTypeValidationError) Reason() string
- type RequestValidationError
- type RequiredQualificationAccess
- func (*RequiredQualificationAccess) Descriptor() ([]byte, []int)deprecated
- func (x *RequiredQualificationAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *RequiredQualificationAccess) GetId() uint64
- func (x *RequiredQualificationAccess) GetTrainingId() uint64
- func (*RequiredQualificationAccess) ProtoMessage()
- func (x *RequiredQualificationAccess) ProtoReflect() protoreflect.Message
- func (x *RequiredQualificationAccess) Reset()
- func (x *RequiredQualificationAccess) String() string
- func (m *RequiredQualificationAccess) Validate() error
- func (m *RequiredQualificationAccess) ValidateAll() error
- type RequiredQualificationAccessMultiError
- type RequiredQualificationAccessValidationError
- func (e RequiredQualificationAccessValidationError) Cause() error
- func (e RequiredQualificationAccessValidationError) Error() string
- func (e RequiredQualificationAccessValidationError) ErrorName() string
- func (e RequiredQualificationAccessValidationError) Field() string
- func (e RequiredQualificationAccessValidationError) Key() bool
- func (e RequiredQualificationAccessValidationError) Reason() string
- type TimeclockEntry
- func (*TimeclockEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TimeclockEntry) GetDate() *timestamp.Timestamp
- func (x *TimeclockEntry) GetEndTime() *timestamp.Timestamp
- func (x *TimeclockEntry) GetJob() string
- func (x *TimeclockEntry) GetSpentTime() float32
- func (x *TimeclockEntry) GetStartTime() *timestamp.Timestamp
- func (x *TimeclockEntry) GetUser() *users.UserShort
- func (x *TimeclockEntry) GetUserId() int32
- func (*TimeclockEntry) ProtoMessage()
- func (x *TimeclockEntry) ProtoReflect() protoreflect.Message
- func (x *TimeclockEntry) Reset()
- func (x *TimeclockEntry) String() string
- func (m *TimeclockEntry) Validate() error
- func (m *TimeclockEntry) ValidateAll() error
- type TimeclockEntryMultiError
- type TimeclockEntryValidationError
- func (e TimeclockEntryValidationError) Cause() error
- func (e TimeclockEntryValidationError) Error() string
- func (e TimeclockEntryValidationError) ErrorName() string
- func (e TimeclockEntryValidationError) Field() string
- func (e TimeclockEntryValidationError) Key() bool
- func (e TimeclockEntryValidationError) Reason() string
- type TimeclockStats
- func (*TimeclockStats) Descriptor() ([]byte, []int)deprecated
- func (x *TimeclockStats) GetJob() string
- func (x *TimeclockStats) GetSpentTimeAvg() float32
- func (x *TimeclockStats) GetSpentTimeMax() float32
- func (x *TimeclockStats) GetSpentTimeSum() float32
- func (*TimeclockStats) ProtoMessage()
- func (x *TimeclockStats) ProtoReflect() protoreflect.Message
- func (x *TimeclockStats) Reset()
- func (x *TimeclockStats) String() string
- func (m *TimeclockStats) Validate() error
- func (m *TimeclockStats) ValidateAll() error
- type TimeclockStatsMultiError
- type TimeclockStatsValidationError
- func (e TimeclockStatsValidationError) Cause() error
- func (e TimeclockStatsValidationError) Error() string
- func (e TimeclockStatsValidationError) ErrorName() string
- func (e TimeclockStatsValidationError) Field() string
- func (e TimeclockStatsValidationError) Key() bool
- func (e TimeclockStatsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( ConductType_name = map[int32]string{ 0: "CONDUCT_TYPE_UNSPECIFIED", 1: "CONDUCT_TYPE_NEUTRAL", 2: "CONDUCT_TYPE_POSITIVE", 3: "CONDUCT_TYPE_NEGATIVE", 4: "CONDUCT_TYPE_WARNING", 5: "CONDUCT_TYPE_SUSPENSION", } ConductType_value = map[string]int32{ "CONDUCT_TYPE_UNSPECIFIED": 0, "CONDUCT_TYPE_NEUTRAL": 1, "CONDUCT_TYPE_POSITIVE": 2, "CONDUCT_TYPE_NEGATIVE": 3, "CONDUCT_TYPE_WARNING": 4, "CONDUCT_TYPE_SUSPENSION": 5, } )
Enum value maps for ConductType.
var ( AccessLevel_name = map[int32]string{ 0: "ACCESS_LEVEL_UNSPECIFIED", 1: "ACCESS_LEVEL_VIEW", 2: "ACCESS_LEVEL_REGISTER", 3: "ACCESS_LEVEL_ATTEND", } AccessLevel_value = map[string]int32{ "ACCESS_LEVEL_UNSPECIFIED": 0, "ACCESS_LEVEL_VIEW": 1, "ACCESS_LEVEL_REGISTER": 2, "ACCESS_LEVEL_ATTEND": 3, } )
Enum value maps for AccessLevel.
var File_resources_jobs_conduct_proto protoreflect.FileDescriptor
var File_resources_jobs_qualifications_proto protoreflect.FileDescriptor
var File_resources_jobs_requests_proto protoreflect.FileDescriptor
var File_resources_jobs_timeclock_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Access ¶ added in v0.8.5
type Access struct { Job []*JobAccess `protobuf:"bytes,1,rep,name=job,proto3" json:"job,omitempty"` RequiredQualification []*RequiredQualificationAccess `protobuf:"bytes,2,rep,name=required_qualification,json=requiredQualification,proto3" json:"required_qualification,omitempty"` // contains filtered or unexported fields }
func (*Access) Descriptor
deprecated
added in
v0.8.5
func (*Access) GetRequiredQualification ¶ added in v0.8.6
func (x *Access) GetRequiredQualification() []*RequiredQualificationAccess
func (*Access) ProtoMessage ¶ added in v0.8.5
func (*Access) ProtoMessage()
func (*Access) ProtoReflect ¶ added in v0.8.5
func (x *Access) ProtoReflect() protoreflect.Message
func (*Access) Validate ¶ added in v0.8.5
Validate checks the field values on Access 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 (*Access) ValidateAll ¶ added in v0.8.5
ValidateAll checks the field values on Access 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 AccessMultiError, or nil if none found.
type AccessLevel ¶ added in v0.8.5
type AccessLevel int32
const ( AccessLevel_ACCESS_LEVEL_UNSPECIFIED AccessLevel = 0 AccessLevel_ACCESS_LEVEL_VIEW AccessLevel = 1 AccessLevel_ACCESS_LEVEL_REGISTER AccessLevel = 2 AccessLevel_ACCESS_LEVEL_ATTEND AccessLevel = 3 )
func (AccessLevel) Descriptor ¶ added in v0.8.5
func (AccessLevel) Descriptor() protoreflect.EnumDescriptor
func (AccessLevel) Enum ¶ added in v0.8.5
func (x AccessLevel) Enum() *AccessLevel
func (AccessLevel) EnumDescriptor
deprecated
added in
v0.8.5
func (AccessLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessLevel.Descriptor instead.
func (AccessLevel) Number ¶ added in v0.8.5
func (x AccessLevel) Number() protoreflect.EnumNumber
func (AccessLevel) String ¶ added in v0.8.5
func (x AccessLevel) String() string
func (AccessLevel) Type ¶ added in v0.8.5
func (AccessLevel) Type() protoreflect.EnumType
type AccessMultiError ¶ added in v0.8.5
type AccessMultiError []error
AccessMultiError is an error wrapping multiple validation errors returned by Access.ValidateAll() if the designated constraints aren't met.
func (AccessMultiError) AllErrors ¶ added in v0.8.5
func (m AccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessMultiError) Error ¶ added in v0.8.5
func (m AccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessValidationError ¶ added in v0.8.5
type AccessValidationError struct {
// contains filtered or unexported fields
}
AccessValidationError is the validation error returned by Access.Validate if the designated constraints aren't met.
func (AccessValidationError) Cause ¶ added in v0.8.5
func (e AccessValidationError) Cause() error
Cause function returns cause value.
func (AccessValidationError) Error ¶ added in v0.8.5
func (e AccessValidationError) Error() string
Error satisfies the builtin error interface
func (AccessValidationError) ErrorName ¶ added in v0.8.5
func (e AccessValidationError) ErrorName() string
ErrorName returns error name.
func (AccessValidationError) Field ¶ added in v0.8.5
func (e AccessValidationError) Field() string
Field function returns field value.
func (AccessValidationError) Key ¶ added in v0.8.5
func (e AccessValidationError) Key() bool
Key function returns key value.
func (AccessValidationError) Reason ¶ added in v0.8.5
func (e AccessValidationError) Reason() string
Reason function returns reason value.
type ConductEntry ¶ added in v0.8.0
type ConductEntry struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" sql:"primary_key" alias:"id"` // @gotags: sql:"primary_key" alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"` Type ConductType `protobuf:"varint,5,opt,name=type,proto3,enum=resources.jobs.ConductType" json:"type,omitempty"` // @sanitize Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` ExpiresAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` TargetUserId int32 `protobuf:"varint,8,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` TargetUser *users.UserShort `protobuf:"bytes,9,opt,name=target_user,json=targetUser,proto3,oneof" json:"target_user,omitempty" alias:"target_user"` // @gotags: alias:"target_user" CreatorId int32 `protobuf:"varint,10,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` Creator *users.UserShort `protobuf:"bytes,11,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" // contains filtered or unexported fields }
func (*ConductEntry) Descriptor
deprecated
added in
v0.8.0
func (*ConductEntry) Descriptor() ([]byte, []int)
Deprecated: Use ConductEntry.ProtoReflect.Descriptor instead.
func (*ConductEntry) GetCreatedAt ¶ added in v0.8.0
func (x *ConductEntry) GetCreatedAt() *timestamp.Timestamp
func (*ConductEntry) GetCreator ¶ added in v0.8.0
func (x *ConductEntry) GetCreator() *users.UserShort
func (*ConductEntry) GetCreatorId ¶ added in v0.8.0
func (x *ConductEntry) GetCreatorId() int32
func (*ConductEntry) GetExpiresAt ¶ added in v0.8.0
func (x *ConductEntry) GetExpiresAt() *timestamp.Timestamp
func (*ConductEntry) GetId ¶ added in v0.8.0
func (x *ConductEntry) GetId() uint64
func (*ConductEntry) GetJob ¶ added in v0.8.0
func (x *ConductEntry) GetJob() string
func (*ConductEntry) GetMessage ¶ added in v0.8.1
func (x *ConductEntry) GetMessage() string
func (*ConductEntry) GetTargetUser ¶ added in v0.8.0
func (x *ConductEntry) GetTargetUser() *users.UserShort
func (*ConductEntry) GetTargetUserId ¶ added in v0.8.0
func (x *ConductEntry) GetTargetUserId() int32
func (*ConductEntry) GetType ¶ added in v0.8.0
func (x *ConductEntry) GetType() ConductType
func (*ConductEntry) GetUpdatedAt ¶ added in v0.8.0
func (x *ConductEntry) GetUpdatedAt() *timestamp.Timestamp
func (*ConductEntry) ProtoMessage ¶ added in v0.8.0
func (*ConductEntry) ProtoMessage()
func (*ConductEntry) ProtoReflect ¶ added in v0.8.0
func (x *ConductEntry) ProtoReflect() protoreflect.Message
func (*ConductEntry) Reset ¶ added in v0.8.0
func (x *ConductEntry) Reset()
func (*ConductEntry) Sanitize ¶ added in v0.8.1
func (m *ConductEntry) Sanitize() error
func (*ConductEntry) String ¶ added in v0.8.0
func (x *ConductEntry) String() string
func (*ConductEntry) Validate ¶ added in v0.8.0
func (m *ConductEntry) Validate() error
Validate checks the field values on ConductEntry 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 (*ConductEntry) ValidateAll ¶ added in v0.8.0
func (m *ConductEntry) ValidateAll() error
ValidateAll checks the field values on ConductEntry 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 ConductEntryMultiError, or nil if none found.
type ConductEntryMultiError ¶ added in v0.8.0
type ConductEntryMultiError []error
ConductEntryMultiError is an error wrapping multiple validation errors returned by ConductEntry.ValidateAll() if the designated constraints aren't met.
func (ConductEntryMultiError) AllErrors ¶ added in v0.8.0
func (m ConductEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConductEntryMultiError) Error ¶ added in v0.8.0
func (m ConductEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConductEntryValidationError ¶ added in v0.8.0
type ConductEntryValidationError struct {
// contains filtered or unexported fields
}
ConductEntryValidationError is the validation error returned by ConductEntry.Validate if the designated constraints aren't met.
func (ConductEntryValidationError) Cause ¶ added in v0.8.0
func (e ConductEntryValidationError) Cause() error
Cause function returns cause value.
func (ConductEntryValidationError) Error ¶ added in v0.8.0
func (e ConductEntryValidationError) Error() string
Error satisfies the builtin error interface
func (ConductEntryValidationError) ErrorName ¶ added in v0.8.0
func (e ConductEntryValidationError) ErrorName() string
ErrorName returns error name.
func (ConductEntryValidationError) Field ¶ added in v0.8.0
func (e ConductEntryValidationError) Field() string
Field function returns field value.
func (ConductEntryValidationError) Key ¶ added in v0.8.0
func (e ConductEntryValidationError) Key() bool
Key function returns key value.
func (ConductEntryValidationError) Reason ¶ added in v0.8.0
func (e ConductEntryValidationError) Reason() string
Reason function returns reason value.
type ConductType ¶ added in v0.8.3
type ConductType int32
const ( ConductType_CONDUCT_TYPE_UNSPECIFIED ConductType = 0 ConductType_CONDUCT_TYPE_NEUTRAL ConductType = 1 ConductType_CONDUCT_TYPE_POSITIVE ConductType = 2 ConductType_CONDUCT_TYPE_NEGATIVE ConductType = 3 ConductType_CONDUCT_TYPE_WARNING ConductType = 4 ConductType_CONDUCT_TYPE_SUSPENSION ConductType = 5 )
func (ConductType) Descriptor ¶ added in v0.8.3
func (ConductType) Descriptor() protoreflect.EnumDescriptor
func (ConductType) Enum ¶ added in v0.8.3
func (x ConductType) Enum() *ConductType
func (ConductType) EnumDescriptor
deprecated
added in
v0.8.3
func (ConductType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConductType.Descriptor instead.
func (ConductType) Number ¶ added in v0.8.3
func (x ConductType) Number() protoreflect.EnumNumber
func (ConductType) String ¶ added in v0.8.3
func (x ConductType) String() string
func (ConductType) Type ¶ added in v0.8.3
func (ConductType) Type() protoreflect.EnumType
type JobAccess ¶ added in v0.8.5
type JobAccess struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` TemplateId uint64 `protobuf:"varint,4,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty" alias:"template_id"` // @gotags: alias:"template_id" Job string `protobuf:"bytes,5,opt,name=job,proto3" json:"job,omitempty" alias:"job"` // @gotags: alias:"job" JobLabel *string `protobuf:"bytes,6,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty" alias:"job_label"` // @gotags: alias:"job_label" MinimumGrade int32 `protobuf:"varint,7,opt,name=minimum_grade,json=minimumGrade,proto3" json:"minimum_grade,omitempty" alias:"minimum_grade"` // @gotags: alias:"minimum_grade" JobGradeLabel *string `` // @gotags: alias:"job_grade_label" /* 132-byte string literal not displayed */ Access AccessLevel `protobuf:"varint,9,opt,name=access,proto3,enum=resources.jobs.AccessLevel" json:"access,omitempty" alias:"access"` // @gotags: alias:"access" // contains filtered or unexported fields }
func (*JobAccess) Descriptor
deprecated
added in
v0.8.5
func (*JobAccess) GetAccess ¶ added in v0.8.5
func (x *JobAccess) GetAccess() AccessLevel
func (*JobAccess) GetCreatedAt ¶ added in v0.8.5
func (*JobAccess) GetJobGradeLabel ¶ added in v0.8.5
func (*JobAccess) GetJobLabel ¶ added in v0.8.5
func (*JobAccess) GetMinimumGrade ¶ added in v0.8.5
func (*JobAccess) GetTemplateId ¶ added in v0.8.5
func (*JobAccess) ProtoMessage ¶ added in v0.8.5
func (*JobAccess) ProtoMessage()
func (*JobAccess) ProtoReflect ¶ added in v0.8.5
func (x *JobAccess) ProtoReflect() protoreflect.Message
func (*JobAccess) Validate ¶ added in v0.8.5
Validate checks the field values on JobAccess 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 (*JobAccess) ValidateAll ¶ added in v0.8.5
ValidateAll checks the field values on JobAccess 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 JobAccessMultiError, or nil if none found.
type JobAccessMultiError ¶ added in v0.8.5
type JobAccessMultiError []error
JobAccessMultiError is an error wrapping multiple validation errors returned by JobAccess.ValidateAll() if the designated constraints aren't met.
func (JobAccessMultiError) AllErrors ¶ added in v0.8.5
func (m JobAccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobAccessMultiError) Error ¶ added in v0.8.5
func (m JobAccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobAccessValidationError ¶ added in v0.8.5
type JobAccessValidationError struct {
// contains filtered or unexported fields
}
JobAccessValidationError is the validation error returned by JobAccess.Validate if the designated constraints aren't met.
func (JobAccessValidationError) Cause ¶ added in v0.8.5
func (e JobAccessValidationError) Cause() error
Cause function returns cause value.
func (JobAccessValidationError) Error ¶ added in v0.8.5
func (e JobAccessValidationError) Error() string
Error satisfies the builtin error interface
func (JobAccessValidationError) ErrorName ¶ added in v0.8.5
func (e JobAccessValidationError) ErrorName() string
ErrorName returns error name.
func (JobAccessValidationError) Field ¶ added in v0.8.5
func (e JobAccessValidationError) Field() string
Field function returns field value.
func (JobAccessValidationError) Key ¶ added in v0.8.5
func (e JobAccessValidationError) Key() bool
Key function returns key value.
func (JobAccessValidationError) Reason ¶ added in v0.8.5
func (e JobAccessValidationError) Reason() string
Reason function returns reason value.
type Qualification ¶ added in v0.8.5
type Qualification struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" sql:"primary_key" alias:"id"` // @gotags: sql:"primary_key" alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"` Job string `protobuf:"bytes,5,opt,name=job,proto3" json:"job,omitempty"` Weight uint32 `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty"` Open bool `protobuf:"varint,7,opt,name=open,proto3" json:"open,omitempty"` // @sanitize Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"` // @sanitize: method=StripTags Abbreviation string `protobuf:"bytes,9,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"` // @sanitize Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` JobAccess []*JobAccess `protobuf:"bytes,11,rep,name=job_access,json=jobAccess,proto3" json:"job_access,omitempty"` // contains filtered or unexported fields }
func (*Qualification) Descriptor
deprecated
added in
v0.8.5
func (*Qualification) Descriptor() ([]byte, []int)
Deprecated: Use Qualification.ProtoReflect.Descriptor instead.
func (*Qualification) GetAbbreviation ¶ added in v0.8.5
func (x *Qualification) GetAbbreviation() string
func (*Qualification) GetCreatedAt ¶ added in v0.8.5
func (x *Qualification) GetCreatedAt() *timestamp.Timestamp
func (*Qualification) GetDeletedAt ¶ added in v0.8.5
func (x *Qualification) GetDeletedAt() *timestamp.Timestamp
func (*Qualification) GetDescription ¶ added in v0.8.5
func (x *Qualification) GetDescription() string
func (*Qualification) GetId ¶ added in v0.8.5
func (x *Qualification) GetId() uint64
func (*Qualification) GetJob ¶ added in v0.8.5
func (x *Qualification) GetJob() string
func (*Qualification) GetJobAccess ¶ added in v0.8.5
func (x *Qualification) GetJobAccess() []*JobAccess
func (*Qualification) GetOpen ¶ added in v0.8.5
func (x *Qualification) GetOpen() bool
func (*Qualification) GetTitle ¶ added in v0.8.5
func (x *Qualification) GetTitle() string
func (*Qualification) GetUpdatedAt ¶ added in v0.8.5
func (x *Qualification) GetUpdatedAt() *timestamp.Timestamp
func (*Qualification) GetWeight ¶ added in v0.8.5
func (x *Qualification) GetWeight() uint32
func (*Qualification) ProtoMessage ¶ added in v0.8.5
func (*Qualification) ProtoMessage()
func (*Qualification) ProtoReflect ¶ added in v0.8.5
func (x *Qualification) ProtoReflect() protoreflect.Message
func (*Qualification) Reset ¶ added in v0.8.5
func (x *Qualification) Reset()
func (*Qualification) Sanitize ¶ added in v0.8.5
func (m *Qualification) Sanitize() error
func (*Qualification) String ¶ added in v0.8.5
func (x *Qualification) String() string
func (*Qualification) Validate ¶ added in v0.8.5
func (m *Qualification) Validate() error
Validate checks the field values on Qualification 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 (*Qualification) ValidateAll ¶ added in v0.8.5
func (m *Qualification) ValidateAll() error
ValidateAll checks the field values on Qualification 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 QualificationMultiError, or nil if none found.
type QualificationMultiError ¶ added in v0.8.5
type QualificationMultiError []error
QualificationMultiError is an error wrapping multiple validation errors returned by Qualification.ValidateAll() if the designated constraints aren't met.
func (QualificationMultiError) AllErrors ¶ added in v0.8.5
func (m QualificationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QualificationMultiError) Error ¶ added in v0.8.5
func (m QualificationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QualificationResult ¶ added in v0.8.5
type QualificationResult struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"` TrainingId uint64 `protobuf:"varint,4,opt,name=training_id,json=trainingId,proto3" json:"training_id,omitempty"` UserId int32 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` User *users.UserShort `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"` Rating uint32 `protobuf:"varint,7,opt,name=rating,proto3" json:"rating,omitempty"` Summary string `protobuf:"bytes,8,opt,name=summary,proto3" json:"summary,omitempty"` CreatorId int32 `protobuf:"varint,9,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` Creator *users.UserShort `protobuf:"bytes,10,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
func (*QualificationResult) Descriptor
deprecated
added in
v0.8.5
func (*QualificationResult) Descriptor() ([]byte, []int)
Deprecated: Use QualificationResult.ProtoReflect.Descriptor instead.
func (*QualificationResult) GetCreatedAt ¶ added in v0.8.5
func (x *QualificationResult) GetCreatedAt() *timestamp.Timestamp
func (*QualificationResult) GetCreator ¶ added in v0.8.5
func (x *QualificationResult) GetCreator() *users.UserShort
func (*QualificationResult) GetCreatorId ¶ added in v0.8.5
func (x *QualificationResult) GetCreatorId() int32
func (*QualificationResult) GetDeletedAt ¶ added in v0.8.5
func (x *QualificationResult) GetDeletedAt() *timestamp.Timestamp
func (*QualificationResult) GetId ¶ added in v0.8.5
func (x *QualificationResult) GetId() uint64
func (*QualificationResult) GetRating ¶ added in v0.8.5
func (x *QualificationResult) GetRating() uint32
func (*QualificationResult) GetSummary ¶ added in v0.8.6
func (x *QualificationResult) GetSummary() string
func (*QualificationResult) GetTrainingId ¶ added in v0.8.5
func (x *QualificationResult) GetTrainingId() uint64
func (*QualificationResult) GetUser ¶ added in v0.8.5
func (x *QualificationResult) GetUser() *users.UserShort
func (*QualificationResult) GetUserId ¶ added in v0.8.5
func (x *QualificationResult) GetUserId() int32
func (*QualificationResult) ProtoMessage ¶ added in v0.8.5
func (*QualificationResult) ProtoMessage()
func (*QualificationResult) ProtoReflect ¶ added in v0.8.5
func (x *QualificationResult) ProtoReflect() protoreflect.Message
func (*QualificationResult) Reset ¶ added in v0.8.5
func (x *QualificationResult) Reset()
func (*QualificationResult) String ¶ added in v0.8.5
func (x *QualificationResult) String() string
func (*QualificationResult) Validate ¶ added in v0.8.5
func (m *QualificationResult) Validate() error
Validate checks the field values on QualificationResult 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 (*QualificationResult) ValidateAll ¶ added in v0.8.5
func (m *QualificationResult) ValidateAll() error
ValidateAll checks the field values on QualificationResult 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 QualificationResultMultiError, or nil if none found.
type QualificationResultMultiError ¶ added in v0.8.5
type QualificationResultMultiError []error
QualificationResultMultiError is an error wrapping multiple validation errors returned by QualificationResult.ValidateAll() if the designated constraints aren't met.
func (QualificationResultMultiError) AllErrors ¶ added in v0.8.5
func (m QualificationResultMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QualificationResultMultiError) Error ¶ added in v0.8.5
func (m QualificationResultMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QualificationResultValidationError ¶ added in v0.8.5
type QualificationResultValidationError struct {
// contains filtered or unexported fields
}
QualificationResultValidationError is the validation error returned by QualificationResult.Validate if the designated constraints aren't met.
func (QualificationResultValidationError) Cause ¶ added in v0.8.5
func (e QualificationResultValidationError) Cause() error
Cause function returns cause value.
func (QualificationResultValidationError) Error ¶ added in v0.8.5
func (e QualificationResultValidationError) Error() string
Error satisfies the builtin error interface
func (QualificationResultValidationError) ErrorName ¶ added in v0.8.5
func (e QualificationResultValidationError) ErrorName() string
ErrorName returns error name.
func (QualificationResultValidationError) Field ¶ added in v0.8.5
func (e QualificationResultValidationError) Field() string
Field function returns field value.
func (QualificationResultValidationError) Key ¶ added in v0.8.5
func (e QualificationResultValidationError) Key() bool
Key function returns key value.
func (QualificationResultValidationError) Reason ¶ added in v0.8.5
func (e QualificationResultValidationError) Reason() string
Reason function returns reason value.
type QualificationValidationError ¶ added in v0.8.5
type QualificationValidationError struct {
// contains filtered or unexported fields
}
QualificationValidationError is the validation error returned by Qualification.Validate if the designated constraints aren't met.
func (QualificationValidationError) Cause ¶ added in v0.8.5
func (e QualificationValidationError) Cause() error
Cause function returns cause value.
func (QualificationValidationError) Error ¶ added in v0.8.5
func (e QualificationValidationError) Error() string
Error satisfies the builtin error interface
func (QualificationValidationError) ErrorName ¶ added in v0.8.5
func (e QualificationValidationError) ErrorName() string
ErrorName returns error name.
func (QualificationValidationError) Field ¶ added in v0.8.5
func (e QualificationValidationError) Field() string
Field function returns field value.
func (QualificationValidationError) Key ¶ added in v0.8.5
func (e QualificationValidationError) Key() bool
Key function returns key value.
func (QualificationValidationError) Reason ¶ added in v0.8.5
func (e QualificationValidationError) Reason() string
Reason function returns reason value.
type Request ¶ added in v0.8.6
type Request struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" sql:"primary_key"` // @gotags: sql:"primary_key" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"` Job string `protobuf:"bytes,5,opt,name=job,proto3" json:"job,omitempty"` TypeId *uint64 `protobuf:"varint,6,opt,name=type_id,json=typeId,proto3,oneof" json:"type_id,omitempty"` Type *RequestType `protobuf:"bytes,7,opt,name=type,proto3,oneof" json:"type,omitempty"` // @sanitize Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"` // @sanitize Message string `protobuf:"bytes,9,opt,name=message,proto3" json:"message,omitempty"` // @sanitize Status *string `protobuf:"bytes,10,opt,name=status,proto3,oneof" json:"status,omitempty"` CreatorId int32 `protobuf:"varint,11,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` Creator *users.UserShort `protobuf:"bytes,12,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" Approved *bool `protobuf:"varint,13,opt,name=approved,proto3,oneof" json:"approved,omitempty"` ApproverId *int32 `protobuf:"varint,14,opt,name=approver_id,json=approverId,proto3,oneof" json:"approver_id,omitempty"` ApproverUser *users.UserShort `protobuf:"bytes,15,opt,name=approver_user,json=approverUser,proto3,oneof" json:"approver_user,omitempty" alias:"approver"` // @gotags: alias:"approver" Closed bool `protobuf:"varint,16,opt,name=closed,proto3" json:"closed,omitempty"` BeginsAt *timestamp.Timestamp `protobuf:"bytes,17,opt,name=begins_at,json=beginsAt,proto3,oneof" json:"begins_at,omitempty"` EndsAt *timestamp.Timestamp `protobuf:"bytes,18,opt,name=ends_at,json=endsAt,proto3,oneof" json:"ends_at,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
added in
v0.8.6
func (*Request) GetApproved ¶ added in v0.8.6
func (*Request) GetApproverId ¶ added in v0.8.6
func (*Request) GetApproverUser ¶ added in v0.8.6
func (*Request) GetBeginsAt ¶ added in v0.8.6
func (*Request) GetCreatedAt ¶ added in v0.8.6
func (*Request) GetCreator ¶ added in v0.8.6
func (*Request) GetCreatorId ¶ added in v0.8.6
func (*Request) GetDeletedAt ¶ added in v0.8.6
func (*Request) GetMessage ¶ added in v0.8.6
func (*Request) GetType ¶ added in v0.8.6
func (x *Request) GetType() *RequestType
func (*Request) GetUpdatedAt ¶ added in v0.8.6
func (*Request) ProtoMessage ¶ added in v0.8.6
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶ added in v0.8.6
func (x *Request) ProtoReflect() protoreflect.Message
func (*Request) Validate ¶ added in v0.8.6
Validate checks the field values on Request 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 (*Request) ValidateAll ¶ added in v0.8.6
ValidateAll checks the field values on Request 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 RequestMultiError, or nil if none found.
type RequestComment ¶ added in v0.8.6
type RequestComment struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"` RequestId uint64 `protobuf:"varint,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // @sanitize: method=StripTags Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` CreatorId *int32 `protobuf:"varint,7,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"` Creator *users.UserShort `protobuf:"bytes,8,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" // contains filtered or unexported fields }
func (*RequestComment) Descriptor
deprecated
added in
v0.8.6
func (*RequestComment) Descriptor() ([]byte, []int)
Deprecated: Use RequestComment.ProtoReflect.Descriptor instead.
func (*RequestComment) GetComment ¶ added in v0.8.6
func (x *RequestComment) GetComment() string
func (*RequestComment) GetCreatedAt ¶ added in v0.8.6
func (x *RequestComment) GetCreatedAt() *timestamp.Timestamp
func (*RequestComment) GetCreator ¶ added in v0.8.6
func (x *RequestComment) GetCreator() *users.UserShort
func (*RequestComment) GetCreatorId ¶ added in v0.8.6
func (x *RequestComment) GetCreatorId() int32
func (*RequestComment) GetDeletedAt ¶ added in v0.8.6
func (x *RequestComment) GetDeletedAt() *timestamp.Timestamp
func (*RequestComment) GetId ¶ added in v0.8.6
func (x *RequestComment) GetId() uint64
func (*RequestComment) GetRequestId ¶ added in v0.8.6
func (x *RequestComment) GetRequestId() uint64
func (*RequestComment) GetUpdatedAt ¶ added in v0.8.6
func (x *RequestComment) GetUpdatedAt() *timestamp.Timestamp
func (*RequestComment) ProtoMessage ¶ added in v0.8.6
func (*RequestComment) ProtoMessage()
func (*RequestComment) ProtoReflect ¶ added in v0.8.6
func (x *RequestComment) ProtoReflect() protoreflect.Message
func (*RequestComment) Reset ¶ added in v0.8.6
func (x *RequestComment) Reset()
func (*RequestComment) Sanitize ¶ added in v0.8.6
func (m *RequestComment) Sanitize() error
func (*RequestComment) String ¶ added in v0.8.6
func (x *RequestComment) String() string
func (*RequestComment) Validate ¶ added in v0.8.6
func (m *RequestComment) Validate() error
Validate checks the field values on RequestComment 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 (*RequestComment) ValidateAll ¶ added in v0.8.6
func (m *RequestComment) ValidateAll() error
ValidateAll checks the field values on RequestComment 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 RequestCommentMultiError, or nil if none found.
type RequestCommentMultiError ¶ added in v0.8.6
type RequestCommentMultiError []error
RequestCommentMultiError is an error wrapping multiple validation errors returned by RequestComment.ValidateAll() if the designated constraints aren't met.
func (RequestCommentMultiError) AllErrors ¶ added in v0.8.6
func (m RequestCommentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestCommentMultiError) Error ¶ added in v0.8.6
func (m RequestCommentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestCommentValidationError ¶ added in v0.8.6
type RequestCommentValidationError struct {
// contains filtered or unexported fields
}
RequestCommentValidationError is the validation error returned by RequestComment.Validate if the designated constraints aren't met.
func (RequestCommentValidationError) Cause ¶ added in v0.8.6
func (e RequestCommentValidationError) Cause() error
Cause function returns cause value.
func (RequestCommentValidationError) Error ¶ added in v0.8.6
func (e RequestCommentValidationError) Error() string
Error satisfies the builtin error interface
func (RequestCommentValidationError) ErrorName ¶ added in v0.8.6
func (e RequestCommentValidationError) ErrorName() string
ErrorName returns error name.
func (RequestCommentValidationError) Field ¶ added in v0.8.6
func (e RequestCommentValidationError) Field() string
Field function returns field value.
func (RequestCommentValidationError) Key ¶ added in v0.8.6
func (e RequestCommentValidationError) Key() bool
Key function returns key value.
func (RequestCommentValidationError) Reason ¶ added in v0.8.6
func (e RequestCommentValidationError) Reason() string
Reason function returns reason value.
type RequestMultiError ¶ added in v0.8.6
type RequestMultiError []error
RequestMultiError is an error wrapping multiple validation errors returned by Request.ValidateAll() if the designated constraints aren't met.
func (RequestMultiError) AllErrors ¶ added in v0.8.6
func (m RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestMultiError) Error ¶ added in v0.8.6
func (m RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestType ¶ added in v0.8.3
type RequestType struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"` Job string `protobuf:"bytes,5,opt,name=job,proto3" json:"job,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"` Weight uint32 `protobuf:"varint,8,opt,name=weight,proto3" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*RequestType) Descriptor
deprecated
added in
v0.8.3
func (*RequestType) Descriptor() ([]byte, []int)
Deprecated: Use RequestType.ProtoReflect.Descriptor instead.
func (*RequestType) GetCreatedAt ¶ added in v0.8.6
func (x *RequestType) GetCreatedAt() *timestamp.Timestamp
func (*RequestType) GetDeletedAt ¶ added in v0.8.6
func (x *RequestType) GetDeletedAt() *timestamp.Timestamp
func (*RequestType) GetDescription ¶ added in v0.8.6
func (x *RequestType) GetDescription() string
func (*RequestType) GetId ¶ added in v0.8.6
func (x *RequestType) GetId() uint64
func (*RequestType) GetJob ¶ added in v0.8.6
func (x *RequestType) GetJob() string
func (*RequestType) GetName ¶ added in v0.8.6
func (x *RequestType) GetName() string
func (*RequestType) GetUpdatedAt ¶ added in v0.8.6
func (x *RequestType) GetUpdatedAt() *timestamp.Timestamp
func (*RequestType) GetWeight ¶ added in v0.8.6
func (x *RequestType) GetWeight() uint32
func (*RequestType) ProtoMessage ¶ added in v0.8.6
func (*RequestType) ProtoMessage()
func (*RequestType) ProtoReflect ¶ added in v0.8.6
func (x *RequestType) ProtoReflect() protoreflect.Message
func (*RequestType) Reset ¶ added in v0.8.6
func (x *RequestType) Reset()
func (*RequestType) String ¶ added in v0.8.3
func (x *RequestType) String() string
func (*RequestType) Validate ¶ added in v0.8.6
func (m *RequestType) Validate() error
Validate checks the field values on RequestType 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 (*RequestType) ValidateAll ¶ added in v0.8.6
func (m *RequestType) ValidateAll() error
ValidateAll checks the field values on RequestType 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 RequestTypeMultiError, or nil if none found.
type RequestTypeMultiError ¶ added in v0.8.6
type RequestTypeMultiError []error
RequestTypeMultiError is an error wrapping multiple validation errors returned by RequestType.ValidateAll() if the designated constraints aren't met.
func (RequestTypeMultiError) AllErrors ¶ added in v0.8.6
func (m RequestTypeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestTypeMultiError) Error ¶ added in v0.8.6
func (m RequestTypeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestTypeValidationError ¶ added in v0.8.6
type RequestTypeValidationError struct {
// contains filtered or unexported fields
}
RequestTypeValidationError is the validation error returned by RequestType.Validate if the designated constraints aren't met.
func (RequestTypeValidationError) Cause ¶ added in v0.8.6
func (e RequestTypeValidationError) Cause() error
Cause function returns cause value.
func (RequestTypeValidationError) Error ¶ added in v0.8.6
func (e RequestTypeValidationError) Error() string
Error satisfies the builtin error interface
func (RequestTypeValidationError) ErrorName ¶ added in v0.8.6
func (e RequestTypeValidationError) ErrorName() string
ErrorName returns error name.
func (RequestTypeValidationError) Field ¶ added in v0.8.6
func (e RequestTypeValidationError) Field() string
Field function returns field value.
func (RequestTypeValidationError) Key ¶ added in v0.8.6
func (e RequestTypeValidationError) Key() bool
Key function returns key value.
func (RequestTypeValidationError) Reason ¶ added in v0.8.6
func (e RequestTypeValidationError) Reason() string
Reason function returns reason value.
type RequestValidationError ¶ added in v0.8.6
type RequestValidationError struct {
// contains filtered or unexported fields
}
RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.
func (RequestValidationError) Cause ¶ added in v0.8.6
func (e RequestValidationError) Cause() error
Cause function returns cause value.
func (RequestValidationError) Error ¶ added in v0.8.6
func (e RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RequestValidationError) ErrorName ¶ added in v0.8.6
func (e RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RequestValidationError) Field ¶ added in v0.8.6
func (e RequestValidationError) Field() string
Field function returns field value.
func (RequestValidationError) Key ¶ added in v0.8.6
func (e RequestValidationError) Key() bool
Key function returns key value.
func (RequestValidationError) Reason ¶ added in v0.8.6
func (e RequestValidationError) Reason() string
Reason function returns reason value.
type RequiredQualificationAccess ¶ added in v0.8.5
type RequiredQualificationAccess struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` TrainingId uint64 `protobuf:"varint,3,opt,name=training_id,json=trainingId,proto3" json:"training_id,omitempty"` // contains filtered or unexported fields }
func (*RequiredQualificationAccess) Descriptor
deprecated
added in
v0.8.5
func (*RequiredQualificationAccess) Descriptor() ([]byte, []int)
Deprecated: Use RequiredQualificationAccess.ProtoReflect.Descriptor instead.
func (*RequiredQualificationAccess) GetCreatedAt ¶ added in v0.8.5
func (x *RequiredQualificationAccess) GetCreatedAt() *timestamp.Timestamp
func (*RequiredQualificationAccess) GetId ¶ added in v0.8.5
func (x *RequiredQualificationAccess) GetId() uint64
func (*RequiredQualificationAccess) GetTrainingId ¶ added in v0.8.5
func (x *RequiredQualificationAccess) GetTrainingId() uint64
func (*RequiredQualificationAccess) ProtoMessage ¶ added in v0.8.5
func (*RequiredQualificationAccess) ProtoMessage()
func (*RequiredQualificationAccess) ProtoReflect ¶ added in v0.8.5
func (x *RequiredQualificationAccess) ProtoReflect() protoreflect.Message
func (*RequiredQualificationAccess) Reset ¶ added in v0.8.5
func (x *RequiredQualificationAccess) Reset()
func (*RequiredQualificationAccess) String ¶ added in v0.8.5
func (x *RequiredQualificationAccess) String() string
func (*RequiredQualificationAccess) Validate ¶ added in v0.8.5
func (m *RequiredQualificationAccess) Validate() error
Validate checks the field values on RequiredQualificationAccess 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 (*RequiredQualificationAccess) ValidateAll ¶ added in v0.8.5
func (m *RequiredQualificationAccess) ValidateAll() error
ValidateAll checks the field values on RequiredQualificationAccess 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 RequiredQualificationAccessMultiError, or nil if none found.
type RequiredQualificationAccessMultiError ¶ added in v0.8.5
type RequiredQualificationAccessMultiError []error
RequiredQualificationAccessMultiError is an error wrapping multiple validation errors returned by RequiredQualificationAccess.ValidateAll() if the designated constraints aren't met.
func (RequiredQualificationAccessMultiError) AllErrors ¶ added in v0.8.5
func (m RequiredQualificationAccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequiredQualificationAccessMultiError) Error ¶ added in v0.8.5
func (m RequiredQualificationAccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequiredQualificationAccessValidationError ¶ added in v0.8.5
type RequiredQualificationAccessValidationError struct {
// contains filtered or unexported fields
}
RequiredQualificationAccessValidationError is the validation error returned by RequiredQualificationAccess.Validate if the designated constraints aren't met.
func (RequiredQualificationAccessValidationError) Cause ¶ added in v0.8.5
func (e RequiredQualificationAccessValidationError) Cause() error
Cause function returns cause value.
func (RequiredQualificationAccessValidationError) Error ¶ added in v0.8.5
func (e RequiredQualificationAccessValidationError) Error() string
Error satisfies the builtin error interface
func (RequiredQualificationAccessValidationError) ErrorName ¶ added in v0.8.5
func (e RequiredQualificationAccessValidationError) ErrorName() string
ErrorName returns error name.
func (RequiredQualificationAccessValidationError) Field ¶ added in v0.8.5
func (e RequiredQualificationAccessValidationError) Field() string
Field function returns field value.
func (RequiredQualificationAccessValidationError) Key ¶ added in v0.8.5
func (e RequiredQualificationAccessValidationError) Key() bool
Key function returns key value.
func (RequiredQualificationAccessValidationError) Reason ¶ added in v0.8.5
func (e RequiredQualificationAccessValidationError) Reason() string
Reason function returns reason value.
type TimeclockEntry ¶ added in v0.8.2
type TimeclockEntry struct { Job string `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` Date *timestamp.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"` UserId int32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` User *users.UserShort `protobuf:"bytes,4,opt,name=user,proto3,oneof" json:"user,omitempty"` StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"` EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` SpentTime float32 `protobuf:"fixed32,7,opt,name=spent_time,json=spentTime,proto3" json:"spent_time,omitempty"` // contains filtered or unexported fields }
func (*TimeclockEntry) Descriptor
deprecated
added in
v0.8.2
func (*TimeclockEntry) Descriptor() ([]byte, []int)
Deprecated: Use TimeclockEntry.ProtoReflect.Descriptor instead.
func (*TimeclockEntry) GetDate ¶ added in v0.8.4
func (x *TimeclockEntry) GetDate() *timestamp.Timestamp
func (*TimeclockEntry) GetEndTime ¶ added in v0.8.4
func (x *TimeclockEntry) GetEndTime() *timestamp.Timestamp
func (*TimeclockEntry) GetJob ¶ added in v0.8.4
func (x *TimeclockEntry) GetJob() string
func (*TimeclockEntry) GetSpentTime ¶ added in v0.8.4
func (x *TimeclockEntry) GetSpentTime() float32
func (*TimeclockEntry) GetStartTime ¶ added in v0.8.4
func (x *TimeclockEntry) GetStartTime() *timestamp.Timestamp
func (*TimeclockEntry) GetUser ¶ added in v0.8.4
func (x *TimeclockEntry) GetUser() *users.UserShort
func (*TimeclockEntry) GetUserId ¶ added in v0.8.4
func (x *TimeclockEntry) GetUserId() int32
func (*TimeclockEntry) ProtoMessage ¶ added in v0.8.2
func (*TimeclockEntry) ProtoMessage()
func (*TimeclockEntry) ProtoReflect ¶ added in v0.8.2
func (x *TimeclockEntry) ProtoReflect() protoreflect.Message
func (*TimeclockEntry) Reset ¶ added in v0.8.2
func (x *TimeclockEntry) Reset()
func (*TimeclockEntry) String ¶ added in v0.8.2
func (x *TimeclockEntry) String() string
func (*TimeclockEntry) Validate ¶ added in v0.8.2
func (m *TimeclockEntry) Validate() error
Validate checks the field values on TimeclockEntry 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 (*TimeclockEntry) ValidateAll ¶ added in v0.8.2
func (m *TimeclockEntry) ValidateAll() error
ValidateAll checks the field values on TimeclockEntry 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 TimeclockEntryMultiError, or nil if none found.
type TimeclockEntryMultiError ¶ added in v0.8.2
type TimeclockEntryMultiError []error
TimeclockEntryMultiError is an error wrapping multiple validation errors returned by TimeclockEntry.ValidateAll() if the designated constraints aren't met.
func (TimeclockEntryMultiError) AllErrors ¶ added in v0.8.2
func (m TimeclockEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeclockEntryMultiError) Error ¶ added in v0.8.2
func (m TimeclockEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeclockEntryValidationError ¶ added in v0.8.2
type TimeclockEntryValidationError struct {
// contains filtered or unexported fields
}
TimeclockEntryValidationError is the validation error returned by TimeclockEntry.Validate if the designated constraints aren't met.
func (TimeclockEntryValidationError) Cause ¶ added in v0.8.2
func (e TimeclockEntryValidationError) Cause() error
Cause function returns cause value.
func (TimeclockEntryValidationError) Error ¶ added in v0.8.2
func (e TimeclockEntryValidationError) Error() string
Error satisfies the builtin error interface
func (TimeclockEntryValidationError) ErrorName ¶ added in v0.8.2
func (e TimeclockEntryValidationError) ErrorName() string
ErrorName returns error name.
func (TimeclockEntryValidationError) Field ¶ added in v0.8.2
func (e TimeclockEntryValidationError) Field() string
Field function returns field value.
func (TimeclockEntryValidationError) Key ¶ added in v0.8.2
func (e TimeclockEntryValidationError) Key() bool
Key function returns key value.
func (TimeclockEntryValidationError) Reason ¶ added in v0.8.2
func (e TimeclockEntryValidationError) Reason() string
Reason function returns reason value.
type TimeclockStats ¶ added in v0.8.4
type TimeclockStats struct { Job string `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty" alias:"spent_time_sum"` // @gotags: alias:"spent_time_sum" SpentTimeSum float32 `protobuf:"fixed32,2,opt,name=spent_time_sum,json=spentTimeSum,proto3" json:"spent_time_sum,omitempty" alias:"spent_time_sum"` // @gotags: alias:"spent_time_sum" SpentTimeAvg float32 `protobuf:"fixed32,3,opt,name=spent_time_avg,json=spentTimeAvg,proto3" json:"spent_time_avg,omitempty" alias:"spent_time_avg"` // @gotags: alias:"spent_time_avg" SpentTimeMax float32 `protobuf:"fixed32,4,opt,name=spent_time_max,json=spentTimeMax,proto3" json:"spent_time_max,omitempty" alias:"spent_time_max"` // @gotags: alias:"spent_time_max" // contains filtered or unexported fields }
func (*TimeclockStats) Descriptor
deprecated
added in
v0.8.4
func (*TimeclockStats) Descriptor() ([]byte, []int)
Deprecated: Use TimeclockStats.ProtoReflect.Descriptor instead.
func (*TimeclockStats) GetJob ¶ added in v0.8.4
func (x *TimeclockStats) GetJob() string
func (*TimeclockStats) GetSpentTimeAvg ¶ added in v0.8.4
func (x *TimeclockStats) GetSpentTimeAvg() float32
func (*TimeclockStats) GetSpentTimeMax ¶ added in v0.8.4
func (x *TimeclockStats) GetSpentTimeMax() float32
func (*TimeclockStats) GetSpentTimeSum ¶ added in v0.8.4
func (x *TimeclockStats) GetSpentTimeSum() float32
func (*TimeclockStats) ProtoMessage ¶ added in v0.8.4
func (*TimeclockStats) ProtoMessage()
func (*TimeclockStats) ProtoReflect ¶ added in v0.8.4
func (x *TimeclockStats) ProtoReflect() protoreflect.Message
func (*TimeclockStats) Reset ¶ added in v0.8.4
func (x *TimeclockStats) Reset()
func (*TimeclockStats) String ¶ added in v0.8.4
func (x *TimeclockStats) String() string
func (*TimeclockStats) Validate ¶ added in v0.8.4
func (m *TimeclockStats) Validate() error
Validate checks the field values on TimeclockStats 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 (*TimeclockStats) ValidateAll ¶ added in v0.8.4
func (m *TimeclockStats) ValidateAll() error
ValidateAll checks the field values on TimeclockStats 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 TimeclockStatsMultiError, or nil if none found.
type TimeclockStatsMultiError ¶ added in v0.8.4
type TimeclockStatsMultiError []error
TimeclockStatsMultiError is an error wrapping multiple validation errors returned by TimeclockStats.ValidateAll() if the designated constraints aren't met.
func (TimeclockStatsMultiError) AllErrors ¶ added in v0.8.4
func (m TimeclockStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeclockStatsMultiError) Error ¶ added in v0.8.4
func (m TimeclockStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeclockStatsValidationError ¶ added in v0.8.4
type TimeclockStatsValidationError struct {
// contains filtered or unexported fields
}
TimeclockStatsValidationError is the validation error returned by TimeclockStats.Validate if the designated constraints aren't met.
func (TimeclockStatsValidationError) Cause ¶ added in v0.8.4
func (e TimeclockStatsValidationError) Cause() error
Cause function returns cause value.
func (TimeclockStatsValidationError) Error ¶ added in v0.8.4
func (e TimeclockStatsValidationError) Error() string
Error satisfies the builtin error interface
func (TimeclockStatsValidationError) ErrorName ¶ added in v0.8.4
func (e TimeclockStatsValidationError) ErrorName() string
ErrorName returns error name.
func (TimeclockStatsValidationError) Field ¶ added in v0.8.4
func (e TimeclockStatsValidationError) Field() string
Field function returns field value.
func (TimeclockStatsValidationError) Key ¶ added in v0.8.4
func (e TimeclockStatsValidationError) Key() bool
Key function returns key value.
func (TimeclockStatsValidationError) Reason ¶ added in v0.8.4
func (e TimeclockStatsValidationError) Reason() string
Reason function returns reason value.