Documentation ¶
Index ¶
- Variables
- type Colleague
- func (*Colleague) Descriptor() ([]byte, []int)deprecated
- func (x *Colleague) GetAvatar() *filestore.File
- func (x *Colleague) GetDateofbirth() string
- func (x *Colleague) GetFirstname() string
- func (x *Colleague) GetIdentifier() string
- func (x *Colleague) GetJob() string
- func (x *Colleague) GetJobGrade() int32
- func (x *Colleague) GetJobGradeLabel() string
- func (x *Colleague) GetJobLabel() string
- func (x *Colleague) GetLastname() string
- func (x *Colleague) GetPhoneNumber() string
- func (x *Colleague) GetProps() *JobsUserProps
- func (x *Colleague) GetUserId() int32
- func (*Colleague) ProtoMessage()
- func (x *Colleague) ProtoReflect() protoreflect.Message
- func (x *Colleague) Reset()
- func (x *Colleague) SetJob(job string)
- func (x *Colleague) SetJobGrade(grade int32)
- func (x *Colleague) SetJobGradeLabel(label string)
- func (x *Colleague) SetJobLabel(label string)
- func (x *Colleague) String() string
- func (m *Colleague) Validate() error
- func (m *Colleague) ValidateAll() error
- type ColleagueAbsenceDate
- func (*ColleagueAbsenceDate) Descriptor() ([]byte, []int)deprecated
- func (x *ColleagueAbsenceDate) GetAbsenceBegin() *timestamp.Timestamp
- func (x *ColleagueAbsenceDate) GetAbsenceEnd() *timestamp.Timestamp
- func (*ColleagueAbsenceDate) ProtoMessage()
- func (x *ColleagueAbsenceDate) ProtoReflect() protoreflect.Message
- func (x *ColleagueAbsenceDate) Reset()
- func (x *ColleagueAbsenceDate) String() string
- func (m *ColleagueAbsenceDate) Validate() error
- func (m *ColleagueAbsenceDate) ValidateAll() error
- type ColleagueAbsenceDateMultiError
- type ColleagueAbsenceDateValidationError
- func (e ColleagueAbsenceDateValidationError) Cause() error
- func (e ColleagueAbsenceDateValidationError) Error() string
- func (e ColleagueAbsenceDateValidationError) ErrorName() string
- func (e ColleagueAbsenceDateValidationError) Field() string
- func (e ColleagueAbsenceDateValidationError) Key() bool
- func (e ColleagueAbsenceDateValidationError) Reason() string
- type ColleagueGradeChange
- func (*ColleagueGradeChange) Descriptor() ([]byte, []int)deprecated
- func (x *ColleagueGradeChange) GetGrade() int32
- func (x *ColleagueGradeChange) GetGradeLabel() string
- func (*ColleagueGradeChange) ProtoMessage()
- func (x *ColleagueGradeChange) ProtoReflect() protoreflect.Message
- func (x *ColleagueGradeChange) Reset()
- func (x *ColleagueGradeChange) String() string
- func (m *ColleagueGradeChange) Validate() error
- func (m *ColleagueGradeChange) ValidateAll() error
- type ColleagueGradeChangeMultiError
- type ColleagueGradeChangeValidationError
- func (e ColleagueGradeChangeValidationError) Cause() error
- func (e ColleagueGradeChangeValidationError) Error() string
- func (e ColleagueGradeChangeValidationError) ErrorName() string
- func (e ColleagueGradeChangeValidationError) Field() string
- func (e ColleagueGradeChangeValidationError) Key() bool
- func (e ColleagueGradeChangeValidationError) Reason() string
- type ColleagueMultiError
- type ColleagueValidationError
- type ConductEntry
- func (*ConductEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ConductEntry) GetCreatedAt() *timestamp.Timestamp
- func (x *ConductEntry) GetCreator() *Colleague
- 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() *Colleague
- 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 JobsUserActivity
- func (*JobsUserActivity) Descriptor() ([]byte, []int)deprecated
- func (x *JobsUserActivity) GetActivityType() JobsUserActivityType
- func (x *JobsUserActivity) GetCreatedAt() *timestamp.Timestamp
- func (x *JobsUserActivity) GetData() *JobsUserActivityData
- func (x *JobsUserActivity) GetId() uint64
- func (x *JobsUserActivity) GetJob() string
- func (x *JobsUserActivity) GetReason() string
- func (x *JobsUserActivity) GetSourceUser() *Colleague
- func (x *JobsUserActivity) GetSourceUserId() int32
- func (x *JobsUserActivity) GetTargetUser() *Colleague
- func (x *JobsUserActivity) GetTargetUserId() int32
- func (*JobsUserActivity) ProtoMessage()
- func (x *JobsUserActivity) ProtoReflect() protoreflect.Message
- func (x *JobsUserActivity) Reset()
- func (m *JobsUserActivity) Sanitize() error
- func (x *JobsUserActivity) String() string
- func (m *JobsUserActivity) Validate() error
- func (m *JobsUserActivity) ValidateAll() error
- type JobsUserActivityData
- func (*JobsUserActivityData) Descriptor() ([]byte, []int)deprecated
- func (x *JobsUserActivityData) GetAbsenceDate() *ColleagueAbsenceDate
- func (m *JobsUserActivityData) GetData() isJobsUserActivityData_Data
- func (x *JobsUserActivityData) GetGradeChange() *ColleagueGradeChange
- func (*JobsUserActivityData) ProtoMessage()
- func (x *JobsUserActivityData) ProtoReflect() protoreflect.Message
- func (x *JobsUserActivityData) Reset()
- func (x *JobsUserActivityData) Scan(value any) error
- func (x *JobsUserActivityData) String() string
- func (m *JobsUserActivityData) Validate() error
- func (m *JobsUserActivityData) ValidateAll() error
- func (x *JobsUserActivityData) Value() (driver.Value, error)
- type JobsUserActivityDataMultiError
- type JobsUserActivityDataValidationError
- func (e JobsUserActivityDataValidationError) Cause() error
- func (e JobsUserActivityDataValidationError) Error() string
- func (e JobsUserActivityDataValidationError) ErrorName() string
- func (e JobsUserActivityDataValidationError) Field() string
- func (e JobsUserActivityDataValidationError) Key() bool
- func (e JobsUserActivityDataValidationError) Reason() string
- type JobsUserActivityData_AbsenceDate
- type JobsUserActivityData_GradeChange
- type JobsUserActivityMultiError
- type JobsUserActivityType
- func (JobsUserActivityType) Descriptor() protoreflect.EnumDescriptor
- func (x JobsUserActivityType) Enum() *JobsUserActivityType
- func (JobsUserActivityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x JobsUserActivityType) Number() protoreflect.EnumNumber
- func (x JobsUserActivityType) String() string
- func (JobsUserActivityType) Type() protoreflect.EnumType
- type JobsUserActivityValidationError
- func (e JobsUserActivityValidationError) Cause() error
- func (e JobsUserActivityValidationError) Error() string
- func (e JobsUserActivityValidationError) ErrorName() string
- func (e JobsUserActivityValidationError) Field() string
- func (e JobsUserActivityValidationError) Key() bool
- func (e JobsUserActivityValidationError) Reason() string
- type JobsUserProps
- func (*JobsUserProps) Descriptor() ([]byte, []int)deprecated
- func (x *JobsUserProps) GetAbsenceBegin() *timestamp.Timestamp
- func (x *JobsUserProps) GetAbsenceEnd() *timestamp.Timestamp
- func (x *JobsUserProps) GetJob() string
- func (x *JobsUserProps) GetNote() string
- func (x *JobsUserProps) GetUserId() int32
- func (*JobsUserProps) ProtoMessage()
- func (x *JobsUserProps) ProtoReflect() protoreflect.Message
- func (x *JobsUserProps) Reset()
- func (m *JobsUserProps) Sanitize() error
- func (x *JobsUserProps) String() string
- func (m *JobsUserProps) Validate() error
- func (m *JobsUserProps) ValidateAll() error
- type JobsUserPropsMultiError
- type JobsUserPropsValidationError
- func (e JobsUserPropsValidationError) Cause() error
- func (e JobsUserPropsValidationError) Error() string
- func (e JobsUserPropsValidationError) ErrorName() string
- func (e JobsUserPropsValidationError) Field() string
- func (e JobsUserPropsValidationError) Key() bool
- func (e JobsUserPropsValidationError) 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) GetSpentTime() float32
- func (x *TimeclockEntry) GetStartTime() *timestamp.Timestamp
- func (x *TimeclockEntry) GetUser() *Colleague
- 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 TimeclockMode
- func (TimeclockMode) Descriptor() protoreflect.EnumDescriptor
- func (x TimeclockMode) Enum() *TimeclockMode
- func (TimeclockMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimeclockMode) Number() protoreflect.EnumNumber
- func (x TimeclockMode) String() string
- func (TimeclockMode) Type() protoreflect.EnumType
- 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
- type TimeclockUserMode
- func (TimeclockUserMode) Descriptor() protoreflect.EnumDescriptor
- func (x TimeclockUserMode) Enum() *TimeclockUserMode
- func (TimeclockUserMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimeclockUserMode) Number() protoreflect.EnumNumber
- func (x TimeclockUserMode) String() string
- func (TimeclockUserMode) Type() protoreflect.EnumType
- type TimeclockWeeklyStats
- func (*TimeclockWeeklyStats) Descriptor() ([]byte, []int)deprecated
- func (x *TimeclockWeeklyStats) GetAvg() float32
- func (x *TimeclockWeeklyStats) GetCalendarWeek() int32
- func (x *TimeclockWeeklyStats) GetMax() float32
- func (x *TimeclockWeeklyStats) GetSum() float32
- func (x *TimeclockWeeklyStats) GetYear() int32
- func (*TimeclockWeeklyStats) ProtoMessage()
- func (x *TimeclockWeeklyStats) ProtoReflect() protoreflect.Message
- func (x *TimeclockWeeklyStats) Reset()
- func (x *TimeclockWeeklyStats) String() string
- func (m *TimeclockWeeklyStats) Validate() error
- func (m *TimeclockWeeklyStats) ValidateAll() error
- type TimeclockWeeklyStatsMultiError
- type TimeclockWeeklyStatsValidationError
- func (e TimeclockWeeklyStatsValidationError) Cause() error
- func (e TimeclockWeeklyStatsValidationError) Error() string
- func (e TimeclockWeeklyStatsValidationError) ErrorName() string
- func (e TimeclockWeeklyStatsValidationError) Field() string
- func (e TimeclockWeeklyStatsValidationError) Key() bool
- func (e TimeclockWeeklyStatsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( JobsUserActivityType_name = map[int32]string{ 0: "JOBS_USER_ACTIVITY_TYPE_UNSPECIFIED", 1: "JOBS_USER_ACTIVITY_TYPE_HIRED", 2: "JOBS_USER_ACTIVITY_TYPE_FIRED", 3: "JOBS_USER_ACTIVITY_TYPE_PROMOTED", 4: "JOBS_USER_ACTIVITY_TYPE_DEMOTED", 5: "JOBS_USER_ACTIVITY_TYPE_ABSENCE_DATE", 6: "JOBS_USER_ACTIVITY_TYPE_NOTE", } JobsUserActivityType_value = map[string]int32{ "JOBS_USER_ACTIVITY_TYPE_UNSPECIFIED": 0, "JOBS_USER_ACTIVITY_TYPE_HIRED": 1, "JOBS_USER_ACTIVITY_TYPE_FIRED": 2, "JOBS_USER_ACTIVITY_TYPE_PROMOTED": 3, "JOBS_USER_ACTIVITY_TYPE_DEMOTED": 4, "JOBS_USER_ACTIVITY_TYPE_ABSENCE_DATE": 5, "JOBS_USER_ACTIVITY_TYPE_NOTE": 6, } )
Enum value maps for JobsUserActivityType.
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", 6: "CONDUCT_TYPE_NOTE", } 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, "CONDUCT_TYPE_NOTE": 6, } )
Enum value maps for ConductType.
var ( TimeclockMode_name = map[int32]string{ 0: "TIMECLOCK_MODE_UNSPECIFIED", 1: "TIMECLOCK_MODE_DAILY", 2: "TIMECLOCK_MODE_WEEKLY", 3: "TIMECLOCK_MODE_RANGE", } TimeclockMode_value = map[string]int32{ "TIMECLOCK_MODE_UNSPECIFIED": 0, "TIMECLOCK_MODE_DAILY": 1, "TIMECLOCK_MODE_WEEKLY": 2, "TIMECLOCK_MODE_RANGE": 3, } )
Enum value maps for TimeclockMode.
var ( TimeclockUserMode_name = map[int32]string{ 0: "TIMECLOCK_USER_MODE_UNSPECIFIED", 1: "TIMECLOCK_USER_MODE_SELF", 2: "TIMECLOCK_USER_MODE_ALL", } TimeclockUserMode_value = map[string]int32{ "TIMECLOCK_USER_MODE_UNSPECIFIED": 0, "TIMECLOCK_USER_MODE_SELF": 1, "TIMECLOCK_USER_MODE_ALL": 2, } )
Enum value maps for TimeclockUserMode.
var File_resources_jobs_colleagues_proto protoreflect.FileDescriptor
var File_resources_jobs_conduct_proto protoreflect.FileDescriptor
var File_resources_jobs_timeclock_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Colleague ¶
type Colleague struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" alias:"id"` // @gotags: alias:"id" Identifier *string `protobuf:"bytes,2,opt,name=identifier,proto3,oneof" json:"identifier,omitempty"` Job string `protobuf:"bytes,3,opt,name=job,proto3" json:"job,omitempty"` JobLabel *string `protobuf:"bytes,4,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty"` JobGrade int32 `protobuf:"varint,5,opt,name=job_grade,json=jobGrade,proto3" json:"job_grade,omitempty"` JobGradeLabel *string `protobuf:"bytes,6,opt,name=job_grade_label,json=jobGradeLabel,proto3,oneof" json:"job_grade_label,omitempty"` Firstname string `protobuf:"bytes,7,opt,name=firstname,proto3" json:"firstname,omitempty"` Lastname string `protobuf:"bytes,8,opt,name=lastname,proto3" json:"lastname,omitempty"` Dateofbirth string `protobuf:"bytes,9,opt,name=dateofbirth,proto3" json:"dateofbirth,omitempty"` PhoneNumber *string `protobuf:"bytes,12,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,omitempty"` Avatar *filestore.File `protobuf:"bytes,17,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"` Props *JobsUserProps `protobuf:"bytes,18,opt,name=props,proto3" json:"props,omitempty" alias:"fivenet_jobs_user_props"` // @gotags: alias:"fivenet_jobs_user_props" // contains filtered or unexported fields }
func (*Colleague) Descriptor
deprecated
func (*Colleague) GetDateofbirth ¶
func (*Colleague) GetFirstname ¶
func (*Colleague) GetIdentifier ¶
func (*Colleague) GetJobGrade ¶
func (*Colleague) GetJobGradeLabel ¶
func (*Colleague) GetJobLabel ¶
func (*Colleague) GetLastname ¶
func (*Colleague) GetPhoneNumber ¶
func (*Colleague) GetProps ¶
func (x *Colleague) GetProps() *JobsUserProps
func (*Colleague) ProtoMessage ¶
func (*Colleague) ProtoMessage()
func (*Colleague) ProtoReflect ¶
func (x *Colleague) ProtoReflect() protoreflect.Message
func (*Colleague) SetJobGrade ¶
func (*Colleague) SetJobGradeLabel ¶
func (*Colleague) SetJobLabel ¶
func (*Colleague) Validate ¶
Validate checks the field values on Colleague 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 (*Colleague) ValidateAll ¶
ValidateAll checks the field values on Colleague 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 ColleagueMultiError, or nil if none found.
type ColleagueAbsenceDate ¶
type ColleagueAbsenceDate struct { AbsenceBegin *timestamp.Timestamp `protobuf:"bytes,1,opt,name=absence_begin,json=absenceBegin,proto3" json:"absence_begin,omitempty"` AbsenceEnd *timestamp.Timestamp `protobuf:"bytes,2,opt,name=absence_end,json=absenceEnd,proto3" json:"absence_end,omitempty"` // contains filtered or unexported fields }
func (*ColleagueAbsenceDate) Descriptor
deprecated
func (*ColleagueAbsenceDate) Descriptor() ([]byte, []int)
Deprecated: Use ColleagueAbsenceDate.ProtoReflect.Descriptor instead.
func (*ColleagueAbsenceDate) GetAbsenceBegin ¶
func (x *ColleagueAbsenceDate) GetAbsenceBegin() *timestamp.Timestamp
func (*ColleagueAbsenceDate) GetAbsenceEnd ¶
func (x *ColleagueAbsenceDate) GetAbsenceEnd() *timestamp.Timestamp
func (*ColleagueAbsenceDate) ProtoMessage ¶
func (*ColleagueAbsenceDate) ProtoMessage()
func (*ColleagueAbsenceDate) ProtoReflect ¶
func (x *ColleagueAbsenceDate) ProtoReflect() protoreflect.Message
func (*ColleagueAbsenceDate) Reset ¶
func (x *ColleagueAbsenceDate) Reset()
func (*ColleagueAbsenceDate) String ¶
func (x *ColleagueAbsenceDate) String() string
func (*ColleagueAbsenceDate) Validate ¶
func (m *ColleagueAbsenceDate) Validate() error
Validate checks the field values on ColleagueAbsenceDate 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 (*ColleagueAbsenceDate) ValidateAll ¶
func (m *ColleagueAbsenceDate) ValidateAll() error
ValidateAll checks the field values on ColleagueAbsenceDate 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 ColleagueAbsenceDateMultiError, or nil if none found.
type ColleagueAbsenceDateMultiError ¶
type ColleagueAbsenceDateMultiError []error
ColleagueAbsenceDateMultiError is an error wrapping multiple validation errors returned by ColleagueAbsenceDate.ValidateAll() if the designated constraints aren't met.
func (ColleagueAbsenceDateMultiError) AllErrors ¶
func (m ColleagueAbsenceDateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ColleagueAbsenceDateMultiError) Error ¶
func (m ColleagueAbsenceDateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ColleagueAbsenceDateValidationError ¶
type ColleagueAbsenceDateValidationError struct {
// contains filtered or unexported fields
}
ColleagueAbsenceDateValidationError is the validation error returned by ColleagueAbsenceDate.Validate if the designated constraints aren't met.
func (ColleagueAbsenceDateValidationError) Cause ¶
func (e ColleagueAbsenceDateValidationError) Cause() error
Cause function returns cause value.
func (ColleagueAbsenceDateValidationError) Error ¶
func (e ColleagueAbsenceDateValidationError) Error() string
Error satisfies the builtin error interface
func (ColleagueAbsenceDateValidationError) ErrorName ¶
func (e ColleagueAbsenceDateValidationError) ErrorName() string
ErrorName returns error name.
func (ColleagueAbsenceDateValidationError) Field ¶
func (e ColleagueAbsenceDateValidationError) Field() string
Field function returns field value.
func (ColleagueAbsenceDateValidationError) Key ¶
func (e ColleagueAbsenceDateValidationError) Key() bool
Key function returns key value.
func (ColleagueAbsenceDateValidationError) Reason ¶
func (e ColleagueAbsenceDateValidationError) Reason() string
Reason function returns reason value.
type ColleagueGradeChange ¶
type ColleagueGradeChange struct { Grade int32 `protobuf:"varint,1,opt,name=grade,proto3" json:"grade,omitempty"` GradeLabel string `protobuf:"bytes,2,opt,name=grade_label,json=gradeLabel,proto3" json:"grade_label,omitempty"` // contains filtered or unexported fields }
func (*ColleagueGradeChange) Descriptor
deprecated
func (*ColleagueGradeChange) Descriptor() ([]byte, []int)
Deprecated: Use ColleagueGradeChange.ProtoReflect.Descriptor instead.
func (*ColleagueGradeChange) GetGrade ¶
func (x *ColleagueGradeChange) GetGrade() int32
func (*ColleagueGradeChange) GetGradeLabel ¶
func (x *ColleagueGradeChange) GetGradeLabel() string
func (*ColleagueGradeChange) ProtoMessage ¶
func (*ColleagueGradeChange) ProtoMessage()
func (*ColleagueGradeChange) ProtoReflect ¶
func (x *ColleagueGradeChange) ProtoReflect() protoreflect.Message
func (*ColleagueGradeChange) Reset ¶
func (x *ColleagueGradeChange) Reset()
func (*ColleagueGradeChange) String ¶
func (x *ColleagueGradeChange) String() string
func (*ColleagueGradeChange) Validate ¶
func (m *ColleagueGradeChange) Validate() error
Validate checks the field values on ColleagueGradeChange 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 (*ColleagueGradeChange) ValidateAll ¶
func (m *ColleagueGradeChange) ValidateAll() error
ValidateAll checks the field values on ColleagueGradeChange 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 ColleagueGradeChangeMultiError, or nil if none found.
type ColleagueGradeChangeMultiError ¶
type ColleagueGradeChangeMultiError []error
ColleagueGradeChangeMultiError is an error wrapping multiple validation errors returned by ColleagueGradeChange.ValidateAll() if the designated constraints aren't met.
func (ColleagueGradeChangeMultiError) AllErrors ¶
func (m ColleagueGradeChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ColleagueGradeChangeMultiError) Error ¶
func (m ColleagueGradeChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ColleagueGradeChangeValidationError ¶
type ColleagueGradeChangeValidationError struct {
// contains filtered or unexported fields
}
ColleagueGradeChangeValidationError is the validation error returned by ColleagueGradeChange.Validate if the designated constraints aren't met.
func (ColleagueGradeChangeValidationError) Cause ¶
func (e ColleagueGradeChangeValidationError) Cause() error
Cause function returns cause value.
func (ColleagueGradeChangeValidationError) Error ¶
func (e ColleagueGradeChangeValidationError) Error() string
Error satisfies the builtin error interface
func (ColleagueGradeChangeValidationError) ErrorName ¶
func (e ColleagueGradeChangeValidationError) ErrorName() string
ErrorName returns error name.
func (ColleagueGradeChangeValidationError) Field ¶
func (e ColleagueGradeChangeValidationError) Field() string
Field function returns field value.
func (ColleagueGradeChangeValidationError) Key ¶
func (e ColleagueGradeChangeValidationError) Key() bool
Key function returns key value.
func (ColleagueGradeChangeValidationError) Reason ¶
func (e ColleagueGradeChangeValidationError) Reason() string
Reason function returns reason value.
type ColleagueMultiError ¶
type ColleagueMultiError []error
ColleagueMultiError is an error wrapping multiple validation errors returned by Colleague.ValidateAll() if the designated constraints aren't met.
func (ColleagueMultiError) AllErrors ¶
func (m ColleagueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ColleagueMultiError) Error ¶
func (m ColleagueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ColleagueValidationError ¶
type ColleagueValidationError struct {
// contains filtered or unexported fields
}
ColleagueValidationError is the validation error returned by Colleague.Validate if the designated constraints aren't met.
func (ColleagueValidationError) Cause ¶
func (e ColleagueValidationError) Cause() error
Cause function returns cause value.
func (ColleagueValidationError) Error ¶
func (e ColleagueValidationError) Error() string
Error satisfies the builtin error interface
func (ColleagueValidationError) ErrorName ¶
func (e ColleagueValidationError) ErrorName() string
ErrorName returns error name.
func (ColleagueValidationError) Field ¶
func (e ColleagueValidationError) Field() string
Field function returns field value.
func (ColleagueValidationError) Key ¶
func (e ColleagueValidationError) Key() bool
Key function returns key value.
func (ColleagueValidationError) Reason ¶
func (e ColleagueValidationError) Reason() string
Reason function returns reason value.
type ConductEntry ¶
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 *Colleague `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 *Colleague `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
func (*ConductEntry) Descriptor() ([]byte, []int)
Deprecated: Use ConductEntry.ProtoReflect.Descriptor instead.
func (*ConductEntry) GetCreatedAt ¶
func (x *ConductEntry) GetCreatedAt() *timestamp.Timestamp
func (*ConductEntry) GetCreator ¶
func (x *ConductEntry) GetCreator() *Colleague
func (*ConductEntry) GetCreatorId ¶
func (x *ConductEntry) GetCreatorId() int32
func (*ConductEntry) GetExpiresAt ¶
func (x *ConductEntry) GetExpiresAt() *timestamp.Timestamp
func (*ConductEntry) GetId ¶
func (x *ConductEntry) GetId() uint64
func (*ConductEntry) GetJob ¶
func (x *ConductEntry) GetJob() string
func (*ConductEntry) GetMessage ¶
func (x *ConductEntry) GetMessage() string
func (*ConductEntry) GetTargetUser ¶
func (x *ConductEntry) GetTargetUser() *Colleague
func (*ConductEntry) GetTargetUserId ¶
func (x *ConductEntry) GetTargetUserId() int32
func (*ConductEntry) GetType ¶
func (x *ConductEntry) GetType() ConductType
func (*ConductEntry) GetUpdatedAt ¶
func (x *ConductEntry) GetUpdatedAt() *timestamp.Timestamp
func (*ConductEntry) ProtoMessage ¶
func (*ConductEntry) ProtoMessage()
func (*ConductEntry) ProtoReflect ¶
func (x *ConductEntry) ProtoReflect() protoreflect.Message
func (*ConductEntry) Reset ¶
func (x *ConductEntry) Reset()
func (*ConductEntry) Sanitize ¶
func (m *ConductEntry) Sanitize() error
func (*ConductEntry) String ¶
func (x *ConductEntry) String() string
func (*ConductEntry) Validate ¶
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 ¶
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 ¶
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 ¶
func (m ConductEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConductEntryMultiError) Error ¶
func (m ConductEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConductEntryValidationError ¶
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 ¶
func (e ConductEntryValidationError) Cause() error
Cause function returns cause value.
func (ConductEntryValidationError) Error ¶
func (e ConductEntryValidationError) Error() string
Error satisfies the builtin error interface
func (ConductEntryValidationError) ErrorName ¶
func (e ConductEntryValidationError) ErrorName() string
ErrorName returns error name.
func (ConductEntryValidationError) Field ¶
func (e ConductEntryValidationError) Field() string
Field function returns field value.
func (ConductEntryValidationError) Key ¶
func (e ConductEntryValidationError) Key() bool
Key function returns key value.
func (ConductEntryValidationError) Reason ¶
func (e ConductEntryValidationError) Reason() string
Reason function returns reason value.
type ConductType ¶
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 ConductType_CONDUCT_TYPE_NOTE ConductType = 6 )
func (ConductType) Descriptor ¶
func (ConductType) Descriptor() protoreflect.EnumDescriptor
func (ConductType) Enum ¶
func (x ConductType) Enum() *ConductType
func (ConductType) EnumDescriptor
deprecated
func (ConductType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConductType.Descriptor instead.
func (ConductType) Number ¶
func (x ConductType) Number() protoreflect.EnumNumber
func (ConductType) String ¶
func (x ConductType) String() string
func (ConductType) Type ¶
func (ConductType) Type() protoreflect.EnumType
type JobsUserActivity ¶
type JobsUserActivity 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"` Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"` SourceUserId int32 `protobuf:"varint,5,opt,name=source_user_id,json=sourceUserId,proto3" json:"source_user_id,omitempty"` SourceUser *Colleague `protobuf:"bytes,6,opt,name=source_user,json=sourceUser,proto3" json:"source_user,omitempty" alias:"source_user"` // @gotags: alias:"source_user" TargetUserId int32 `protobuf:"varint,7,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` TargetUser *Colleague `protobuf:"bytes,8,opt,name=target_user,json=targetUser,proto3" json:"target_user,omitempty" alias:"target_user"` // @gotags: alias:"target_user" ActivityType JobsUserActivityType `` /* 139-byte string literal not displayed */ // @sanitize Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"` Data *JobsUserActivityData `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*JobsUserActivity) Descriptor
deprecated
func (*JobsUserActivity) Descriptor() ([]byte, []int)
Deprecated: Use JobsUserActivity.ProtoReflect.Descriptor instead.
func (*JobsUserActivity) GetActivityType ¶
func (x *JobsUserActivity) GetActivityType() JobsUserActivityType
func (*JobsUserActivity) GetCreatedAt ¶
func (x *JobsUserActivity) GetCreatedAt() *timestamp.Timestamp
func (*JobsUserActivity) GetData ¶
func (x *JobsUserActivity) GetData() *JobsUserActivityData
func (*JobsUserActivity) GetId ¶
func (x *JobsUserActivity) GetId() uint64
func (*JobsUserActivity) GetJob ¶
func (x *JobsUserActivity) GetJob() string
func (*JobsUserActivity) GetReason ¶
func (x *JobsUserActivity) GetReason() string
func (*JobsUserActivity) GetSourceUser ¶
func (x *JobsUserActivity) GetSourceUser() *Colleague
func (*JobsUserActivity) GetSourceUserId ¶
func (x *JobsUserActivity) GetSourceUserId() int32
func (*JobsUserActivity) GetTargetUser ¶
func (x *JobsUserActivity) GetTargetUser() *Colleague
func (*JobsUserActivity) GetTargetUserId ¶
func (x *JobsUserActivity) GetTargetUserId() int32
func (*JobsUserActivity) ProtoMessage ¶
func (*JobsUserActivity) ProtoMessage()
func (*JobsUserActivity) ProtoReflect ¶
func (x *JobsUserActivity) ProtoReflect() protoreflect.Message
func (*JobsUserActivity) Reset ¶
func (x *JobsUserActivity) Reset()
func (*JobsUserActivity) Sanitize ¶
func (m *JobsUserActivity) Sanitize() error
func (*JobsUserActivity) String ¶
func (x *JobsUserActivity) String() string
func (*JobsUserActivity) Validate ¶
func (m *JobsUserActivity) Validate() error
Validate checks the field values on JobsUserActivity 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 (*JobsUserActivity) ValidateAll ¶
func (m *JobsUserActivity) ValidateAll() error
ValidateAll checks the field values on JobsUserActivity 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 JobsUserActivityMultiError, or nil if none found.
type JobsUserActivityData ¶
type JobsUserActivityData struct { // Types that are assignable to Data: // // *JobsUserActivityData_AbsenceDate // *JobsUserActivityData_GradeChange Data isJobsUserActivityData_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*JobsUserActivityData) Descriptor
deprecated
func (*JobsUserActivityData) Descriptor() ([]byte, []int)
Deprecated: Use JobsUserActivityData.ProtoReflect.Descriptor instead.
func (*JobsUserActivityData) GetAbsenceDate ¶
func (x *JobsUserActivityData) GetAbsenceDate() *ColleagueAbsenceDate
func (*JobsUserActivityData) GetData ¶
func (m *JobsUserActivityData) GetData() isJobsUserActivityData_Data
func (*JobsUserActivityData) GetGradeChange ¶
func (x *JobsUserActivityData) GetGradeChange() *ColleagueGradeChange
func (*JobsUserActivityData) ProtoMessage ¶
func (*JobsUserActivityData) ProtoMessage()
func (*JobsUserActivityData) ProtoReflect ¶
func (x *JobsUserActivityData) ProtoReflect() protoreflect.Message
func (*JobsUserActivityData) Reset ¶
func (x *JobsUserActivityData) Reset()
func (*JobsUserActivityData) Scan ¶
func (x *JobsUserActivityData) Scan(value any) error
Scan implements driver.Valuer for protobuf JobsUserActivityData.
func (*JobsUserActivityData) String ¶
func (x *JobsUserActivityData) String() string
func (*JobsUserActivityData) Validate ¶
func (m *JobsUserActivityData) Validate() error
Validate checks the field values on JobsUserActivityData 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 (*JobsUserActivityData) ValidateAll ¶
func (m *JobsUserActivityData) ValidateAll() error
ValidateAll checks the field values on JobsUserActivityData 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 JobsUserActivityDataMultiError, or nil if none found.
type JobsUserActivityDataMultiError ¶
type JobsUserActivityDataMultiError []error
JobsUserActivityDataMultiError is an error wrapping multiple validation errors returned by JobsUserActivityData.ValidateAll() if the designated constraints aren't met.
func (JobsUserActivityDataMultiError) AllErrors ¶
func (m JobsUserActivityDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobsUserActivityDataMultiError) Error ¶
func (m JobsUserActivityDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobsUserActivityDataValidationError ¶
type JobsUserActivityDataValidationError struct {
// contains filtered or unexported fields
}
JobsUserActivityDataValidationError is the validation error returned by JobsUserActivityData.Validate if the designated constraints aren't met.
func (JobsUserActivityDataValidationError) Cause ¶
func (e JobsUserActivityDataValidationError) Cause() error
Cause function returns cause value.
func (JobsUserActivityDataValidationError) Error ¶
func (e JobsUserActivityDataValidationError) Error() string
Error satisfies the builtin error interface
func (JobsUserActivityDataValidationError) ErrorName ¶
func (e JobsUserActivityDataValidationError) ErrorName() string
ErrorName returns error name.
func (JobsUserActivityDataValidationError) Field ¶
func (e JobsUserActivityDataValidationError) Field() string
Field function returns field value.
func (JobsUserActivityDataValidationError) Key ¶
func (e JobsUserActivityDataValidationError) Key() bool
Key function returns key value.
func (JobsUserActivityDataValidationError) Reason ¶
func (e JobsUserActivityDataValidationError) Reason() string
Reason function returns reason value.
type JobsUserActivityData_AbsenceDate ¶
type JobsUserActivityData_AbsenceDate struct {
AbsenceDate *ColleagueAbsenceDate `protobuf:"bytes,1,opt,name=absence_date,json=absenceDate,proto3,oneof"`
}
type JobsUserActivityData_GradeChange ¶
type JobsUserActivityData_GradeChange struct {
GradeChange *ColleagueGradeChange `protobuf:"bytes,2,opt,name=grade_change,json=gradeChange,proto3,oneof"`
}
type JobsUserActivityMultiError ¶
type JobsUserActivityMultiError []error
JobsUserActivityMultiError is an error wrapping multiple validation errors returned by JobsUserActivity.ValidateAll() if the designated constraints aren't met.
func (JobsUserActivityMultiError) AllErrors ¶
func (m JobsUserActivityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobsUserActivityMultiError) Error ¶
func (m JobsUserActivityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobsUserActivityType ¶
type JobsUserActivityType int32
const ( JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_UNSPECIFIED JobsUserActivityType = 0 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_HIRED JobsUserActivityType = 1 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_FIRED JobsUserActivityType = 2 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_PROMOTED JobsUserActivityType = 3 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_DEMOTED JobsUserActivityType = 4 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_ABSENCE_DATE JobsUserActivityType = 5 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_NOTE JobsUserActivityType = 6 )
func (JobsUserActivityType) Descriptor ¶
func (JobsUserActivityType) Descriptor() protoreflect.EnumDescriptor
func (JobsUserActivityType) Enum ¶
func (x JobsUserActivityType) Enum() *JobsUserActivityType
func (JobsUserActivityType) EnumDescriptor
deprecated
func (JobsUserActivityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use JobsUserActivityType.Descriptor instead.
func (JobsUserActivityType) Number ¶
func (x JobsUserActivityType) Number() protoreflect.EnumNumber
func (JobsUserActivityType) String ¶
func (x JobsUserActivityType) String() string
func (JobsUserActivityType) Type ¶
func (JobsUserActivityType) Type() protoreflect.EnumType
type JobsUserActivityValidationError ¶
type JobsUserActivityValidationError struct {
// contains filtered or unexported fields
}
JobsUserActivityValidationError is the validation error returned by JobsUserActivity.Validate if the designated constraints aren't met.
func (JobsUserActivityValidationError) Cause ¶
func (e JobsUserActivityValidationError) Cause() error
Cause function returns cause value.
func (JobsUserActivityValidationError) Error ¶
func (e JobsUserActivityValidationError) Error() string
Error satisfies the builtin error interface
func (JobsUserActivityValidationError) ErrorName ¶
func (e JobsUserActivityValidationError) ErrorName() string
ErrorName returns error name.
func (JobsUserActivityValidationError) Field ¶
func (e JobsUserActivityValidationError) Field() string
Field function returns field value.
func (JobsUserActivityValidationError) Key ¶
func (e JobsUserActivityValidationError) Key() bool
Key function returns key value.
func (JobsUserActivityValidationError) Reason ¶
func (e JobsUserActivityValidationError) Reason() string
Reason function returns reason value.
type JobsUserProps ¶
type JobsUserProps struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Job string `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` AbsenceBegin *timestamp.Timestamp `protobuf:"bytes,3,opt,name=absence_begin,json=absenceBegin,proto3,oneof" json:"absence_begin,omitempty"` AbsenceEnd *timestamp.Timestamp `protobuf:"bytes,4,opt,name=absence_end,json=absenceEnd,proto3,oneof" json:"absence_end,omitempty"` // @sanitize: method=StripTags Note *string `protobuf:"bytes,5,opt,name=note,proto3,oneof" json:"note,omitempty"` // contains filtered or unexported fields }
func (*JobsUserProps) Descriptor
deprecated
func (*JobsUserProps) Descriptor() ([]byte, []int)
Deprecated: Use JobsUserProps.ProtoReflect.Descriptor instead.
func (*JobsUserProps) GetAbsenceBegin ¶
func (x *JobsUserProps) GetAbsenceBegin() *timestamp.Timestamp
func (*JobsUserProps) GetAbsenceEnd ¶
func (x *JobsUserProps) GetAbsenceEnd() *timestamp.Timestamp
func (*JobsUserProps) GetJob ¶
func (x *JobsUserProps) GetJob() string
func (*JobsUserProps) GetNote ¶
func (x *JobsUserProps) GetNote() string
func (*JobsUserProps) GetUserId ¶
func (x *JobsUserProps) GetUserId() int32
func (*JobsUserProps) ProtoMessage ¶
func (*JobsUserProps) ProtoMessage()
func (*JobsUserProps) ProtoReflect ¶
func (x *JobsUserProps) ProtoReflect() protoreflect.Message
func (*JobsUserProps) Reset ¶
func (x *JobsUserProps) Reset()
func (*JobsUserProps) Sanitize ¶
func (m *JobsUserProps) Sanitize() error
func (*JobsUserProps) String ¶
func (x *JobsUserProps) String() string
func (*JobsUserProps) Validate ¶
func (m *JobsUserProps) Validate() error
Validate checks the field values on JobsUserProps 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 (*JobsUserProps) ValidateAll ¶
func (m *JobsUserProps) ValidateAll() error
ValidateAll checks the field values on JobsUserProps 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 JobsUserPropsMultiError, or nil if none found.
type JobsUserPropsMultiError ¶
type JobsUserPropsMultiError []error
JobsUserPropsMultiError is an error wrapping multiple validation errors returned by JobsUserProps.ValidateAll() if the designated constraints aren't met.
func (JobsUserPropsMultiError) AllErrors ¶
func (m JobsUserPropsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobsUserPropsMultiError) Error ¶
func (m JobsUserPropsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobsUserPropsValidationError ¶
type JobsUserPropsValidationError struct {
// contains filtered or unexported fields
}
JobsUserPropsValidationError is the validation error returned by JobsUserProps.Validate if the designated constraints aren't met.
func (JobsUserPropsValidationError) Cause ¶
func (e JobsUserPropsValidationError) Cause() error
Cause function returns cause value.
func (JobsUserPropsValidationError) Error ¶
func (e JobsUserPropsValidationError) Error() string
Error satisfies the builtin error interface
func (JobsUserPropsValidationError) ErrorName ¶
func (e JobsUserPropsValidationError) ErrorName() string
ErrorName returns error name.
func (JobsUserPropsValidationError) Field ¶
func (e JobsUserPropsValidationError) Field() string
Field function returns field value.
func (JobsUserPropsValidationError) Key ¶
func (e JobsUserPropsValidationError) Key() bool
Key function returns key value.
func (JobsUserPropsValidationError) Reason ¶
func (e JobsUserPropsValidationError) Reason() string
Reason function returns reason value.
type TimeclockEntry ¶
type TimeclockEntry struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" sql:"primary_key"` // @gotags: sql:"primary_key" Date *timestamp.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty" sql:"primary_key"` // @gotags: sql:"primary_key" User *Colleague `protobuf:"bytes,3,opt,name=user,proto3,oneof" json:"user,omitempty"` StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"` EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` SpentTime float32 `protobuf:"fixed32,6,opt,name=spent_time,json=spentTime,proto3" json:"spent_time,omitempty"` // contains filtered or unexported fields }
func (*TimeclockEntry) Descriptor
deprecated
func (*TimeclockEntry) Descriptor() ([]byte, []int)
Deprecated: Use TimeclockEntry.ProtoReflect.Descriptor instead.
func (*TimeclockEntry) GetDate ¶
func (x *TimeclockEntry) GetDate() *timestamp.Timestamp
func (*TimeclockEntry) GetEndTime ¶
func (x *TimeclockEntry) GetEndTime() *timestamp.Timestamp
func (*TimeclockEntry) GetSpentTime ¶
func (x *TimeclockEntry) GetSpentTime() float32
func (*TimeclockEntry) GetStartTime ¶
func (x *TimeclockEntry) GetStartTime() *timestamp.Timestamp
func (*TimeclockEntry) GetUser ¶
func (x *TimeclockEntry) GetUser() *Colleague
func (*TimeclockEntry) GetUserId ¶
func (x *TimeclockEntry) GetUserId() int32
func (*TimeclockEntry) ProtoMessage ¶
func (*TimeclockEntry) ProtoMessage()
func (*TimeclockEntry) ProtoReflect ¶
func (x *TimeclockEntry) ProtoReflect() protoreflect.Message
func (*TimeclockEntry) Reset ¶
func (x *TimeclockEntry) Reset()
func (*TimeclockEntry) String ¶
func (x *TimeclockEntry) String() string
func (*TimeclockEntry) Validate ¶
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 ¶
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 ¶
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 ¶
func (m TimeclockEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeclockEntryMultiError) Error ¶
func (m TimeclockEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeclockEntryValidationError ¶
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 ¶
func (e TimeclockEntryValidationError) Cause() error
Cause function returns cause value.
func (TimeclockEntryValidationError) Error ¶
func (e TimeclockEntryValidationError) Error() string
Error satisfies the builtin error interface
func (TimeclockEntryValidationError) ErrorName ¶
func (e TimeclockEntryValidationError) ErrorName() string
ErrorName returns error name.
func (TimeclockEntryValidationError) Field ¶
func (e TimeclockEntryValidationError) Field() string
Field function returns field value.
func (TimeclockEntryValidationError) Key ¶
func (e TimeclockEntryValidationError) Key() bool
Key function returns key value.
func (TimeclockEntryValidationError) Reason ¶
func (e TimeclockEntryValidationError) Reason() string
Reason function returns reason value.
type TimeclockMode ¶ added in v0.9.3
type TimeclockMode int32
const ( TimeclockMode_TIMECLOCK_MODE_UNSPECIFIED TimeclockMode = 0 TimeclockMode_TIMECLOCK_MODE_DAILY TimeclockMode = 1 TimeclockMode_TIMECLOCK_MODE_WEEKLY TimeclockMode = 2 TimeclockMode_TIMECLOCK_MODE_RANGE TimeclockMode = 3 )
func (TimeclockMode) Descriptor ¶ added in v0.9.3
func (TimeclockMode) Descriptor() protoreflect.EnumDescriptor
func (TimeclockMode) Enum ¶ added in v0.9.3
func (x TimeclockMode) Enum() *TimeclockMode
func (TimeclockMode) EnumDescriptor
deprecated
added in
v0.9.3
func (TimeclockMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeclockMode.Descriptor instead.
func (TimeclockMode) Number ¶ added in v0.9.3
func (x TimeclockMode) Number() protoreflect.EnumNumber
func (TimeclockMode) String ¶ added in v0.9.3
func (x TimeclockMode) String() string
func (TimeclockMode) Type ¶ added in v0.9.3
func (TimeclockMode) Type() protoreflect.EnumType
type TimeclockStats ¶
type TimeclockStats struct { Job string `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` SpentTimeSum float32 `protobuf:"fixed32,2,opt,name=spent_time_sum,json=spentTimeSum,proto3" json:"spent_time_sum,omitempty"` SpentTimeAvg float32 `protobuf:"fixed32,3,opt,name=spent_time_avg,json=spentTimeAvg,proto3" json:"spent_time_avg,omitempty"` SpentTimeMax float32 `protobuf:"fixed32,4,opt,name=spent_time_max,json=spentTimeMax,proto3" json:"spent_time_max,omitempty"` // contains filtered or unexported fields }
func (*TimeclockStats) Descriptor
deprecated
func (*TimeclockStats) Descriptor() ([]byte, []int)
Deprecated: Use TimeclockStats.ProtoReflect.Descriptor instead.
func (*TimeclockStats) GetJob ¶
func (x *TimeclockStats) GetJob() string
func (*TimeclockStats) GetSpentTimeAvg ¶
func (x *TimeclockStats) GetSpentTimeAvg() float32
func (*TimeclockStats) GetSpentTimeMax ¶
func (x *TimeclockStats) GetSpentTimeMax() float32
func (*TimeclockStats) GetSpentTimeSum ¶
func (x *TimeclockStats) GetSpentTimeSum() float32
func (*TimeclockStats) ProtoMessage ¶
func (*TimeclockStats) ProtoMessage()
func (*TimeclockStats) ProtoReflect ¶
func (x *TimeclockStats) ProtoReflect() protoreflect.Message
func (*TimeclockStats) Reset ¶
func (x *TimeclockStats) Reset()
func (*TimeclockStats) String ¶
func (x *TimeclockStats) String() string
func (*TimeclockStats) Validate ¶
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 ¶
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 ¶
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 ¶
func (m TimeclockStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeclockStatsMultiError) Error ¶
func (m TimeclockStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeclockStatsValidationError ¶
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 ¶
func (e TimeclockStatsValidationError) Cause() error
Cause function returns cause value.
func (TimeclockStatsValidationError) Error ¶
func (e TimeclockStatsValidationError) Error() string
Error satisfies the builtin error interface
func (TimeclockStatsValidationError) ErrorName ¶
func (e TimeclockStatsValidationError) ErrorName() string
ErrorName returns error name.
func (TimeclockStatsValidationError) Field ¶
func (e TimeclockStatsValidationError) Field() string
Field function returns field value.
func (TimeclockStatsValidationError) Key ¶
func (e TimeclockStatsValidationError) Key() bool
Key function returns key value.
func (TimeclockStatsValidationError) Reason ¶
func (e TimeclockStatsValidationError) Reason() string
Reason function returns reason value.
type TimeclockUserMode ¶ added in v0.9.3
type TimeclockUserMode int32
const ( TimeclockUserMode_TIMECLOCK_USER_MODE_UNSPECIFIED TimeclockUserMode = 0 TimeclockUserMode_TIMECLOCK_USER_MODE_SELF TimeclockUserMode = 1 TimeclockUserMode_TIMECLOCK_USER_MODE_ALL TimeclockUserMode = 2 )
func (TimeclockUserMode) Descriptor ¶ added in v0.9.3
func (TimeclockUserMode) Descriptor() protoreflect.EnumDescriptor
func (TimeclockUserMode) Enum ¶ added in v0.9.3
func (x TimeclockUserMode) Enum() *TimeclockUserMode
func (TimeclockUserMode) EnumDescriptor
deprecated
added in
v0.9.3
func (TimeclockUserMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeclockUserMode.Descriptor instead.
func (TimeclockUserMode) Number ¶ added in v0.9.3
func (x TimeclockUserMode) Number() protoreflect.EnumNumber
func (TimeclockUserMode) String ¶ added in v0.9.3
func (x TimeclockUserMode) String() string
func (TimeclockUserMode) Type ¶ added in v0.9.3
func (TimeclockUserMode) Type() protoreflect.EnumType
type TimeclockWeeklyStats ¶
type TimeclockWeeklyStats struct { Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` CalendarWeek int32 `protobuf:"varint,2,opt,name=calendar_week,json=calendarWeek,proto3" json:"calendar_week,omitempty"` Sum float32 `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"` Avg float32 `protobuf:"fixed32,4,opt,name=avg,proto3" json:"avg,omitempty"` Max float32 `protobuf:"fixed32,5,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*TimeclockWeeklyStats) Descriptor
deprecated
func (*TimeclockWeeklyStats) Descriptor() ([]byte, []int)
Deprecated: Use TimeclockWeeklyStats.ProtoReflect.Descriptor instead.
func (*TimeclockWeeklyStats) GetAvg ¶
func (x *TimeclockWeeklyStats) GetAvg() float32
func (*TimeclockWeeklyStats) GetCalendarWeek ¶
func (x *TimeclockWeeklyStats) GetCalendarWeek() int32
func (*TimeclockWeeklyStats) GetMax ¶
func (x *TimeclockWeeklyStats) GetMax() float32
func (*TimeclockWeeklyStats) GetSum ¶
func (x *TimeclockWeeklyStats) GetSum() float32
func (*TimeclockWeeklyStats) GetYear ¶
func (x *TimeclockWeeklyStats) GetYear() int32
func (*TimeclockWeeklyStats) ProtoMessage ¶
func (*TimeclockWeeklyStats) ProtoMessage()
func (*TimeclockWeeklyStats) ProtoReflect ¶
func (x *TimeclockWeeklyStats) ProtoReflect() protoreflect.Message
func (*TimeclockWeeklyStats) Reset ¶
func (x *TimeclockWeeklyStats) Reset()
func (*TimeclockWeeklyStats) String ¶
func (x *TimeclockWeeklyStats) String() string
func (*TimeclockWeeklyStats) Validate ¶
func (m *TimeclockWeeklyStats) Validate() error
Validate checks the field values on TimeclockWeeklyStats 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 (*TimeclockWeeklyStats) ValidateAll ¶
func (m *TimeclockWeeklyStats) ValidateAll() error
ValidateAll checks the field values on TimeclockWeeklyStats 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 TimeclockWeeklyStatsMultiError, or nil if none found.
type TimeclockWeeklyStatsMultiError ¶
type TimeclockWeeklyStatsMultiError []error
TimeclockWeeklyStatsMultiError is an error wrapping multiple validation errors returned by TimeclockWeeklyStats.ValidateAll() if the designated constraints aren't met.
func (TimeclockWeeklyStatsMultiError) AllErrors ¶
func (m TimeclockWeeklyStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeclockWeeklyStatsMultiError) Error ¶
func (m TimeclockWeeklyStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeclockWeeklyStatsValidationError ¶
type TimeclockWeeklyStatsValidationError struct {
// contains filtered or unexported fields
}
TimeclockWeeklyStatsValidationError is the validation error returned by TimeclockWeeklyStats.Validate if the designated constraints aren't met.
func (TimeclockWeeklyStatsValidationError) Cause ¶
func (e TimeclockWeeklyStatsValidationError) Cause() error
Cause function returns cause value.
func (TimeclockWeeklyStatsValidationError) Error ¶
func (e TimeclockWeeklyStatsValidationError) Error() string
Error satisfies the builtin error interface
func (TimeclockWeeklyStatsValidationError) ErrorName ¶
func (e TimeclockWeeklyStatsValidationError) ErrorName() string
ErrorName returns error name.
func (TimeclockWeeklyStatsValidationError) Field ¶
func (e TimeclockWeeklyStatsValidationError) Field() string
Field function returns field value.
func (TimeclockWeeklyStatsValidationError) Key ¶
func (e TimeclockWeeklyStatsValidationError) Key() bool
Key function returns key value.
func (TimeclockWeeklyStatsValidationError) Reason ¶
func (e TimeclockWeeklyStatsValidationError) Reason() string
Reason function returns reason value.