users

package
v0.8.12 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLivemapMarkerColor = "5C7AFF"

Variables

View Source
var (
	UserActivityType_name = map[int32]string{
		0: "USER_ACTIVITY_TYPE_UNSPECIFIED",
		1: "USER_ACTIVITY_TYPE_CHANGED",
		2: "USER_ACTIVITY_TYPE_MENTIONED",
		3: "USER_ACTIVITY_TYPE_CREATED",
	}
	UserActivityType_value = map[string]int32{
		"USER_ACTIVITY_TYPE_UNSPECIFIED": 0,
		"USER_ACTIVITY_TYPE_CHANGED":     1,
		"USER_ACTIVITY_TYPE_MENTIONED":   2,
		"USER_ACTIVITY_TYPE_CREATED":     3,
	}
)

Enum value maps for UserActivityType.

View Source
var File_resources_users_jobs_proto protoreflect.FileDescriptor
View Source
var File_resources_users_users_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DiscordSyncSettings added in v0.8.11

type DiscordSyncSettings struct {
	UserInfoSync bool `protobuf:"varint,1,opt,name=user_info_sync,json=userInfoSync,proto3" json:"user_info_sync,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscordSyncSettings) Descriptor deprecated added in v0.8.11

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

Deprecated: Use DiscordSyncSettings.ProtoReflect.Descriptor instead.

func (*DiscordSyncSettings) GetUserInfoSync added in v0.8.11

func (x *DiscordSyncSettings) GetUserInfoSync() bool

func (*DiscordSyncSettings) ProtoMessage added in v0.8.11

func (*DiscordSyncSettings) ProtoMessage()

func (*DiscordSyncSettings) ProtoReflect added in v0.8.11

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

func (*DiscordSyncSettings) Reset added in v0.8.11

func (x *DiscordSyncSettings) Reset()

func (*DiscordSyncSettings) Scan added in v0.8.11

func (x *DiscordSyncSettings) Scan(value any) error

func (*DiscordSyncSettings) String added in v0.8.11

func (x *DiscordSyncSettings) String() string

func (*DiscordSyncSettings) Validate added in v0.8.11

func (m *DiscordSyncSettings) Validate() error

Validate checks the field values on DiscordSyncSettings 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 (*DiscordSyncSettings) ValidateAll added in v0.8.11

func (m *DiscordSyncSettings) ValidateAll() error

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

func (*DiscordSyncSettings) Value added in v0.8.11

func (x *DiscordSyncSettings) Value() (driver.Value, error)

Scan implements driver.Valuer for protobuf DiscordSyncSettings.

type DiscordSyncSettingsMultiError added in v0.8.11

type DiscordSyncSettingsMultiError []error

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

func (DiscordSyncSettingsMultiError) AllErrors added in v0.8.11

func (m DiscordSyncSettingsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DiscordSyncSettingsMultiError) Error added in v0.8.11

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

type DiscordSyncSettingsValidationError added in v0.8.11

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

DiscordSyncSettingsValidationError is the validation error returned by DiscordSyncSettings.Validate if the designated constraints aren't met.

func (DiscordSyncSettingsValidationError) Cause added in v0.8.11

Cause function returns cause value.

func (DiscordSyncSettingsValidationError) Error added in v0.8.11

Error satisfies the builtin error interface

func (DiscordSyncSettingsValidationError) ErrorName added in v0.8.11

ErrorName returns error name.

func (DiscordSyncSettingsValidationError) Field added in v0.8.11

Field function returns field value.

func (DiscordSyncSettingsValidationError) Key added in v0.8.11

Key function returns key value.

func (DiscordSyncSettingsValidationError) Reason added in v0.8.11

Reason function returns reason value.

type Job added in v0.8.0

type Job struct {
	Name   string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" sql:"primary_key" alias:"name"` // @gotags: sql:"primary_key" alias:"name"
	Label  string      `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Grades []*JobGrade `protobuf:"bytes,3,rep,name=grades,proto3" json:"grades,omitempty"`
	// contains filtered or unexported fields
}

func (*Job) Descriptor deprecated added in v0.8.0

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetGrades added in v0.8.0

func (x *Job) GetGrades() []*JobGrade

func (*Job) GetJob added in v0.8.0

func (x *Job) GetJob() string

func (*Job) GetLabel added in v0.8.0

func (x *Job) GetLabel() string

func (*Job) GetName added in v0.8.0

func (x *Job) GetName() string

func (*Job) ProtoMessage added in v0.8.0

func (*Job) ProtoMessage()

func (*Job) ProtoReflect added in v0.8.0

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

func (*Job) Reset added in v0.8.0

func (x *Job) Reset()

func (*Job) SetJobLabel added in v0.8.0

func (x *Job) SetJobLabel(label string)

func (*Job) String added in v0.8.0

func (x *Job) String() string

func (*Job) Validate added in v0.8.0

func (m *Job) Validate() error

Validate checks the field values on Job 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 (*Job) ValidateAll added in v0.8.0

func (m *Job) ValidateAll() error

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

type JobGrade added in v0.8.0

type JobGrade struct {
	JobName *string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3,oneof" json:"job_name,omitempty"`
	Grade   int32   `protobuf:"varint,2,opt,name=grade,proto3" json:"grade,omitempty"`
	Label   string  `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*JobGrade) Descriptor deprecated added in v0.8.0

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

Deprecated: Use JobGrade.ProtoReflect.Descriptor instead.

func (*JobGrade) GetGrade added in v0.8.0

func (x *JobGrade) GetGrade() int32

func (*JobGrade) GetJobName added in v0.8.0

func (x *JobGrade) GetJobName() string

func (*JobGrade) GetLabel added in v0.8.0

func (x *JobGrade) GetLabel() string

func (*JobGrade) ProtoMessage added in v0.8.0

func (*JobGrade) ProtoMessage()

func (*JobGrade) ProtoReflect added in v0.8.0

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

func (*JobGrade) Reset added in v0.8.0

func (x *JobGrade) Reset()

func (*JobGrade) String added in v0.8.0

func (x *JobGrade) String() string

func (*JobGrade) Validate added in v0.8.0

func (m *JobGrade) Validate() error

Validate checks the field values on JobGrade 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 (*JobGrade) ValidateAll added in v0.8.0

func (m *JobGrade) ValidateAll() error

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

type JobGradeMultiError added in v0.8.0

type JobGradeMultiError []error

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

func (JobGradeMultiError) AllErrors added in v0.8.0

func (m JobGradeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobGradeMultiError) Error added in v0.8.0

func (m JobGradeMultiError) Error() string

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

type JobGradeValidationError added in v0.8.0

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

JobGradeValidationError is the validation error returned by JobGrade.Validate if the designated constraints aren't met.

func (JobGradeValidationError) Cause added in v0.8.0

func (e JobGradeValidationError) Cause() error

Cause function returns cause value.

func (JobGradeValidationError) Error added in v0.8.0

func (e JobGradeValidationError) Error() string

Error satisfies the builtin error interface

func (JobGradeValidationError) ErrorName added in v0.8.0

func (e JobGradeValidationError) ErrorName() string

ErrorName returns error name.

func (JobGradeValidationError) Field added in v0.8.0

func (e JobGradeValidationError) Field() string

Field function returns field value.

func (JobGradeValidationError) Key added in v0.8.0

func (e JobGradeValidationError) Key() bool

Key function returns key value.

func (JobGradeValidationError) Reason added in v0.8.0

func (e JobGradeValidationError) Reason() string

Reason function returns reason value.

type JobMultiError added in v0.8.0

type JobMultiError []error

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

func (JobMultiError) AllErrors added in v0.8.0

func (m JobMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobMultiError) Error added in v0.8.0

func (m JobMultiError) Error() string

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

type JobProps added in v0.8.0

type JobProps struct {
	Job                 string               `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	Theme               string               `protobuf:"bytes,2,opt,name=theme,proto3" json:"theme,omitempty"`
	LivemapMarkerColor  string               `protobuf:"bytes,3,opt,name=livemap_marker_color,json=livemapMarkerColor,proto3" json:"livemap_marker_color,omitempty"`
	QuickButtons        *QuickButtons        `protobuf:"bytes,4,opt,name=quick_buttons,json=quickButtons,proto3" json:"quick_buttons,omitempty"`
	DiscordGuildId      *uint64              `protobuf:"varint,5,opt,name=discord_guild_id,json=discordGuildId,proto3,oneof" json:"discord_guild_id,omitempty"`
	DiscordLastSync     *timestamp.Timestamp `protobuf:"bytes,6,opt,name=discord_last_sync,json=discordLastSync,proto3,oneof" json:"discord_last_sync,omitempty"`
	DiscordSyncSettings *DiscordSyncSettings `protobuf:"bytes,7,opt,name=discord_sync_settings,json=discordSyncSettings,proto3" json:"discord_sync_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*JobProps) Default added in v0.8.0

func (x *JobProps) Default(job string)

func (*JobProps) Descriptor deprecated added in v0.8.0

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

Deprecated: Use JobProps.ProtoReflect.Descriptor instead.

func (*JobProps) GetDiscordGuildId added in v0.8.0

func (x *JobProps) GetDiscordGuildId() uint64

func (*JobProps) GetDiscordLastSync added in v0.8.10

func (x *JobProps) GetDiscordLastSync() *timestamp.Timestamp

func (*JobProps) GetDiscordSyncSettings added in v0.8.11

func (x *JobProps) GetDiscordSyncSettings() *DiscordSyncSettings

func (*JobProps) GetJob added in v0.8.0

func (x *JobProps) GetJob() string

func (*JobProps) GetLivemapMarkerColor added in v0.8.0

func (x *JobProps) GetLivemapMarkerColor() string

func (*JobProps) GetQuickButtons added in v0.8.0

func (x *JobProps) GetQuickButtons() *QuickButtons

func (*JobProps) GetTheme added in v0.8.0

func (x *JobProps) GetTheme() string

func (*JobProps) ProtoMessage added in v0.8.0

func (*JobProps) ProtoMessage()

func (*JobProps) ProtoReflect added in v0.8.0

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

func (*JobProps) Reset added in v0.8.0

func (x *JobProps) Reset()

func (*JobProps) String added in v0.8.0

func (x *JobProps) String() string

func (*JobProps) Validate added in v0.8.0

func (m *JobProps) Validate() error

Validate checks the field values on JobProps 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 (*JobProps) ValidateAll added in v0.8.0

func (m *JobProps) ValidateAll() error

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

type JobPropsMultiError added in v0.8.0

type JobPropsMultiError []error

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

func (JobPropsMultiError) AllErrors added in v0.8.0

func (m JobPropsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobPropsMultiError) Error added in v0.8.0

func (m JobPropsMultiError) Error() string

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

type JobPropsValidationError added in v0.8.0

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

JobPropsValidationError is the validation error returned by JobProps.Validate if the designated constraints aren't met.

func (JobPropsValidationError) Cause added in v0.8.0

func (e JobPropsValidationError) Cause() error

Cause function returns cause value.

func (JobPropsValidationError) Error added in v0.8.0

func (e JobPropsValidationError) Error() string

Error satisfies the builtin error interface

func (JobPropsValidationError) ErrorName added in v0.8.0

func (e JobPropsValidationError) ErrorName() string

ErrorName returns error name.

func (JobPropsValidationError) Field added in v0.8.0

func (e JobPropsValidationError) Field() string

Field function returns field value.

func (JobPropsValidationError) Key added in v0.8.0

func (e JobPropsValidationError) Key() bool

Key function returns key value.

func (JobPropsValidationError) Reason added in v0.8.0

func (e JobPropsValidationError) Reason() string

Reason function returns reason value.

type JobValidationError added in v0.8.0

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

JobValidationError is the validation error returned by Job.Validate if the designated constraints aren't met.

func (JobValidationError) Cause added in v0.8.0

func (e JobValidationError) Cause() error

Cause function returns cause value.

func (JobValidationError) Error added in v0.8.0

func (e JobValidationError) Error() string

Error satisfies the builtin error interface

func (JobValidationError) ErrorName added in v0.8.0

func (e JobValidationError) ErrorName() string

ErrorName returns error name.

func (JobValidationError) Field added in v0.8.0

func (e JobValidationError) Field() string

Field function returns field value.

func (JobValidationError) Key added in v0.8.0

func (e JobValidationError) Key() bool

Key function returns key value.

func (JobValidationError) Reason added in v0.8.0

func (e JobValidationError) Reason() string

Reason function returns reason value.

type License

type License struct {
	Type  string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*License) Descriptor deprecated

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

Deprecated: Use License.ProtoReflect.Descriptor instead.

func (*License) GetLabel

func (x *License) GetLabel() string

func (*License) GetType

func (x *License) GetType() string

func (*License) ProtoMessage

func (*License) ProtoMessage()

func (*License) ProtoReflect

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

func (*License) Reset

func (x *License) Reset()

func (*License) String

func (x *License) String() string

func (*License) Validate

func (m *License) Validate() error

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

func (m *License) ValidateAll() error

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

type LicenseMultiError

type LicenseMultiError []error

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

func (LicenseMultiError) AllErrors

func (m LicenseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LicenseMultiError) Error

func (m LicenseMultiError) Error() string

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

type LicenseValidationError

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

LicenseValidationError is the validation error returned by License.Validate if the designated constraints aren't met.

func (LicenseValidationError) Cause

func (e LicenseValidationError) Cause() error

Cause function returns cause value.

func (LicenseValidationError) Error

func (e LicenseValidationError) Error() string

Error satisfies the builtin error interface

func (LicenseValidationError) ErrorName

func (e LicenseValidationError) ErrorName() string

ErrorName returns error name.

func (LicenseValidationError) Field

func (e LicenseValidationError) Field() string

Field function returns field value.

func (LicenseValidationError) Key

func (e LicenseValidationError) Key() bool

Key function returns key value.

func (LicenseValidationError) Reason

func (e LicenseValidationError) Reason() string

Reason function returns reason value.

type QuickButtons added in v0.8.11

type QuickButtons struct {
	PenaltyCalculator bool `protobuf:"varint,1,opt,name=penalty_calculator,json=penaltyCalculator,proto3" json:"penalty_calculator,omitempty"`
	BodyCheckup       bool `protobuf:"varint,2,opt,name=body_checkup,json=bodyCheckup,proto3" json:"body_checkup,omitempty"`
	// contains filtered or unexported fields
}

func (*QuickButtons) Descriptor deprecated added in v0.8.11

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

Deprecated: Use QuickButtons.ProtoReflect.Descriptor instead.

func (*QuickButtons) GetBodyCheckup added in v0.8.11

func (x *QuickButtons) GetBodyCheckup() bool

func (*QuickButtons) GetPenaltyCalculator added in v0.8.11

func (x *QuickButtons) GetPenaltyCalculator() bool

func (*QuickButtons) ProtoMessage added in v0.8.11

func (*QuickButtons) ProtoMessage()

func (*QuickButtons) ProtoReflect added in v0.8.11

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

func (*QuickButtons) Reset added in v0.8.11

func (x *QuickButtons) Reset()

func (*QuickButtons) Scan added in v0.8.11

func (x *QuickButtons) Scan(value any) error

func (*QuickButtons) String added in v0.8.11

func (x *QuickButtons) String() string

func (*QuickButtons) Validate added in v0.8.11

func (m *QuickButtons) Validate() error

Validate checks the field values on QuickButtons 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 (*QuickButtons) ValidateAll added in v0.8.11

func (m *QuickButtons) ValidateAll() error

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

func (*QuickButtons) Value added in v0.8.11

func (x *QuickButtons) Value() (driver.Value, error)

Scan implements driver.Valuer for protobuf QuickButtons.

type QuickButtonsMultiError added in v0.8.11

type QuickButtonsMultiError []error

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

func (QuickButtonsMultiError) AllErrors added in v0.8.11

func (m QuickButtonsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuickButtonsMultiError) Error added in v0.8.11

func (m QuickButtonsMultiError) Error() string

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

type QuickButtonsValidationError added in v0.8.11

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

QuickButtonsValidationError is the validation error returned by QuickButtons.Validate if the designated constraints aren't met.

func (QuickButtonsValidationError) Cause added in v0.8.11

Cause function returns cause value.

func (QuickButtonsValidationError) Error added in v0.8.11

Error satisfies the builtin error interface

func (QuickButtonsValidationError) ErrorName added in v0.8.11

func (e QuickButtonsValidationError) ErrorName() string

ErrorName returns error name.

func (QuickButtonsValidationError) Field added in v0.8.11

Field function returns field value.

func (QuickButtonsValidationError) Key added in v0.8.11

Key function returns key value.

func (QuickButtonsValidationError) Reason added in v0.8.11

Reason function returns reason value.

type User

type User 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" 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"`
	Sex           *string    `protobuf:"bytes,10,opt,name=sex,proto3,oneof" json:"sex,omitempty"`
	Height        *string    `protobuf:"bytes,11,opt,name=height,proto3,oneof" json:"height,omitempty"`
	PhoneNumber   *string    `protobuf:"bytes,12,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,omitempty"`
	Visum         *int32     `protobuf:"varint,13,opt,name=visum,proto3,oneof" json:"visum,omitempty"`
	Playtime      *int32     `protobuf:"varint,14,opt,name=playtime,proto3,oneof" json:"playtime,omitempty"`
	Props         *UserProps `protobuf:"bytes,15,opt,name=props,proto3" json:"props,omitempty" alias:"fivenet_user_props"`  // @gotags: alias:"fivenet_user_props"
	Licenses      []*License `protobuf:"bytes,16,rep,name=licenses,proto3" json:"licenses,omitempty" alias:"user_licenses"` // @gotags: alias:"user_licenses"
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetDateofbirth

func (x *User) GetDateofbirth() string

func (*User) GetFirstname

func (x *User) GetFirstname() string

func (*User) GetHeight

func (x *User) GetHeight() string

func (*User) GetIdentifier

func (x *User) GetIdentifier() string

func (*User) GetJob

func (x *User) GetJob() string

func (*User) GetJobGrade

func (x *User) GetJobGrade() int32

func (*User) GetJobGradeLabel

func (x *User) GetJobGradeLabel() string

func (*User) GetJobLabel

func (x *User) GetJobLabel() string

func (*User) GetLastname

func (x *User) GetLastname() string

func (*User) GetLicenses

func (x *User) GetLicenses() []*License

func (*User) GetPhoneNumber

func (x *User) GetPhoneNumber() string

func (*User) GetPlaytime

func (x *User) GetPlaytime() int32

func (*User) GetProps

func (x *User) GetProps() *UserProps

func (*User) GetSex

func (x *User) GetSex() string

func (*User) GetUserId

func (x *User) GetUserId() int32

func (*User) GetVisum

func (x *User) GetVisum() int32

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) SetJob added in v0.8.6

func (x *User) SetJob(job string)

func (*User) SetJobGrade added in v0.8.6

func (x *User) SetJobGrade(grade int32)

func (*User) SetJobGradeLabel

func (x *User) SetJobGradeLabel(label string)

func (*User) SetJobLabel

func (x *User) SetJobLabel(label string)

func (*User) String

func (x *User) String() string

func (*User) UserShort

func (x *User) UserShort() *UserShort

func (*User) Validate

func (m *User) Validate() error

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

func (m *User) ValidateAll() error

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

type UserActivity

type UserActivity struct {
	Id   uint64           `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"fivenet_user_activity.id"` // @gotags: alias:"fivenet_user_activity.id"
	Type UserActivityType ``                                                                                            // @gotags: alias:"fivenet_user_activity.type"
	/* 135-byte string literal not displayed */
	CreatedAt *timestamp.Timestamp `` // @gotags: alias:"fivenet_user_activity.created_at"
	/* 129-byte string literal not displayed */
	SourceUser *UserShort `protobuf:"bytes,4,opt,name=source_user,json=sourceUser,proto3" json:"source_user,omitempty" alias:"source_user"` // @gotags: alias:"source_user"
	TargetUser *UserShort `protobuf:"bytes,5,opt,name=target_user,json=targetUser,proto3" json:"target_user,omitempty" alias:"target_user"` // @gotags: alias:"target_user"
	// @sanitize
	Key      string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty" alias:"fivenet_user_activity.key"`                                 // @gotags: alias:"fivenet_user_activity.key"
	OldValue string `protobuf:"bytes,7,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty" alias:"fivenet_user_activity.old_value"` // @gotags: alias:"fivenet_user_activity.old_value"
	NewValue string `protobuf:"bytes,8,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty" alias:"fivenet_user_activity.new_value"` // @gotags: alias:"fivenet_user_activity.new_value"
	// @sanitize
	Reason string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty" alias:"fivenet_user_activity.reason"` // @gotags: alias:"fivenet_user_activity.reason"
	// contains filtered or unexported fields
}

func (*UserActivity) Descriptor deprecated

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

Deprecated: Use UserActivity.ProtoReflect.Descriptor instead.

func (*UserActivity) GetCreatedAt

func (x *UserActivity) GetCreatedAt() *timestamp.Timestamp

func (*UserActivity) GetId

func (x *UserActivity) GetId() uint64

func (*UserActivity) GetKey

func (x *UserActivity) GetKey() string

func (*UserActivity) GetNewValue

func (x *UserActivity) GetNewValue() string

func (*UserActivity) GetOldValue

func (x *UserActivity) GetOldValue() string

func (*UserActivity) GetReason

func (x *UserActivity) GetReason() string

func (*UserActivity) GetSourceUser

func (x *UserActivity) GetSourceUser() *UserShort

func (*UserActivity) GetTargetUser

func (x *UserActivity) GetTargetUser() *UserShort

func (*UserActivity) GetType

func (x *UserActivity) GetType() UserActivityType

func (*UserActivity) ProtoMessage

func (*UserActivity) ProtoMessage()

func (*UserActivity) ProtoReflect

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

func (*UserActivity) Reset

func (x *UserActivity) Reset()

func (*UserActivity) Sanitize added in v0.8.1

func (m *UserActivity) Sanitize() error

func (*UserActivity) String

func (x *UserActivity) String() string

func (*UserActivity) Validate

func (m *UserActivity) Validate() error

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

func (m *UserActivity) ValidateAll() error

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

type UserActivityMultiError

type UserActivityMultiError []error

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

func (UserActivityMultiError) AllErrors

func (m UserActivityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserActivityMultiError) Error

func (m UserActivityMultiError) Error() string

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

type UserActivityType added in v0.8.3

type UserActivityType int32
const (
	UserActivityType_USER_ACTIVITY_TYPE_UNSPECIFIED UserActivityType = 0
	UserActivityType_USER_ACTIVITY_TYPE_CHANGED     UserActivityType = 1
	UserActivityType_USER_ACTIVITY_TYPE_MENTIONED   UserActivityType = 2
	UserActivityType_USER_ACTIVITY_TYPE_CREATED     UserActivityType = 3
)

func (UserActivityType) Descriptor added in v0.8.3

func (UserActivityType) Enum added in v0.8.3

func (UserActivityType) EnumDescriptor deprecated added in v0.8.3

func (UserActivityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserActivityType.Descriptor instead.

func (UserActivityType) Number added in v0.8.3

func (UserActivityType) String added in v0.8.3

func (x UserActivityType) String() string

func (UserActivityType) Type added in v0.8.3

type UserActivityValidationError

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

UserActivityValidationError is the validation error returned by UserActivity.Validate if the designated constraints aren't met.

func (UserActivityValidationError) Cause

Cause function returns cause value.

func (UserActivityValidationError) Error

Error satisfies the builtin error interface

func (UserActivityValidationError) ErrorName

func (e UserActivityValidationError) ErrorName() string

ErrorName returns error name.

func (UserActivityValidationError) Field

Field function returns field value.

func (UserActivityValidationError) Key

Key function returns key value.

func (UserActivityValidationError) Reason

Reason function returns reason value.

type UserMultiError

type UserMultiError []error

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

func (UserMultiError) AllErrors

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error

func (m UserMultiError) Error() string

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

type UserProps

type UserProps struct {
	UserId         int32   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Wanted         *bool   `protobuf:"varint,2,opt,name=wanted,proto3,oneof" json:"wanted,omitempty"`
	JobName        *string `protobuf:"bytes,3,opt,name=job_name,json=jobName,proto3,oneof" json:"job_name,omitempty" alias:"job"` // @gotags: alias:"job"
	Job            *Job    `protobuf:"bytes,4,opt,name=job,proto3,oneof" json:"job,omitempty"`
	JobGradeNumber *int32  `` // @gotags: alias:"job_grade"
	/* 130-byte string literal not displayed */
	JobGrade                *JobGrade `protobuf:"bytes,6,opt,name=job_grade,json=jobGrade,proto3,oneof" json:"job_grade,omitempty"`
	TrafficInfractionPoints *uint32   `` /* 139-byte string literal not displayed */
	OpenFines               *int64    `protobuf:"varint,8,opt,name=open_fines,json=openFines,proto3,oneof" json:"open_fines,omitempty"`
	// contains filtered or unexported fields
}

func (*UserProps) Descriptor deprecated

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

Deprecated: Use UserProps.ProtoReflect.Descriptor instead.

func (*UserProps) GetJob

func (x *UserProps) GetJob() *Job

func (*UserProps) GetJobGrade added in v0.5.1

func (x *UserProps) GetJobGrade() *JobGrade

func (*UserProps) GetJobGradeNumber added in v0.5.1

func (x *UserProps) GetJobGradeNumber() int32

func (*UserProps) GetJobName

func (x *UserProps) GetJobName() string

func (*UserProps) GetOpenFines added in v0.7.3

func (x *UserProps) GetOpenFines() int64

func (*UserProps) GetTrafficInfractionPoints added in v0.6.5

func (x *UserProps) GetTrafficInfractionPoints() uint32

func (*UserProps) GetUserId

func (x *UserProps) GetUserId() int32

func (*UserProps) GetWanted

func (x *UserProps) GetWanted() bool

func (*UserProps) ProtoMessage

func (*UserProps) ProtoMessage()

func (*UserProps) ProtoReflect

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

func (*UserProps) Reset

func (x *UserProps) Reset()

func (*UserProps) String

func (x *UserProps) String() string

func (*UserProps) Validate

func (m *UserProps) Validate() error

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

func (m *UserProps) ValidateAll() error

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

type UserPropsMultiError

type UserPropsMultiError []error

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

func (UserPropsMultiError) AllErrors

func (m UserPropsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserPropsMultiError) Error

func (m UserPropsMultiError) Error() string

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

type UserPropsValidationError

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

UserPropsValidationError is the validation error returned by UserProps.Validate if the designated constraints aren't met.

func (UserPropsValidationError) Cause

func (e UserPropsValidationError) Cause() error

Cause function returns cause value.

func (UserPropsValidationError) Error

func (e UserPropsValidationError) Error() string

Error satisfies the builtin error interface

func (UserPropsValidationError) ErrorName

func (e UserPropsValidationError) ErrorName() string

ErrorName returns error name.

func (UserPropsValidationError) Field

func (e UserPropsValidationError) Field() string

Field function returns field value.

func (UserPropsValidationError) Key

Key function returns key value.

func (UserPropsValidationError) Reason

func (e UserPropsValidationError) Reason() string

Reason function returns reason value.

type UserShort

type UserShort 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" 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"`
	// contains filtered or unexported fields
}

func (*UserShort) Descriptor deprecated

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

Deprecated: Use UserShort.ProtoReflect.Descriptor instead.

func (*UserShort) GetDateofbirth added in v0.7.3

func (x *UserShort) GetDateofbirth() string

func (*UserShort) GetFirstname

func (x *UserShort) GetFirstname() string

func (*UserShort) GetIdentifier

func (x *UserShort) GetIdentifier() string

func (*UserShort) GetJob

func (x *UserShort) GetJob() string

func (*UserShort) GetJobGrade

func (x *UserShort) GetJobGrade() int32

func (*UserShort) GetJobGradeLabel

func (x *UserShort) GetJobGradeLabel() string

func (*UserShort) GetJobLabel

func (x *UserShort) GetJobLabel() string

func (*UserShort) GetLastname

func (x *UserShort) GetLastname() string

func (*UserShort) GetPhoneNumber added in v0.8.1

func (x *UserShort) GetPhoneNumber() string

func (*UserShort) GetUserId

func (x *UserShort) GetUserId() int32

func (*UserShort) ProtoMessage

func (*UserShort) ProtoMessage()

func (*UserShort) ProtoReflect

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

func (*UserShort) Reset

func (x *UserShort) Reset()

func (*UserShort) SetJob added in v0.8.6

func (x *UserShort) SetJob(job string)

func (*UserShort) SetJobGrade added in v0.8.6

func (x *UserShort) SetJobGrade(grade int32)

func (*UserShort) SetJobGradeLabel

func (x *UserShort) SetJobGradeLabel(label string)

func (*UserShort) SetJobLabel

func (x *UserShort) SetJobLabel(label string)

func (*UserShort) String

func (x *UserShort) String() string

func (*UserShort) Validate

func (m *UserShort) Validate() error

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

func (m *UserShort) ValidateAll() error

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

type UserShortMultiError

type UserShortMultiError []error

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

func (UserShortMultiError) AllErrors

func (m UserShortMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserShortMultiError) Error

func (m UserShortMultiError) Error() string

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

type UserShortValidationError

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

UserShortValidationError is the validation error returned by UserShort.Validate if the designated constraints aren't met.

func (UserShortValidationError) Cause

func (e UserShortValidationError) Cause() error

Cause function returns cause value.

func (UserShortValidationError) Error

func (e UserShortValidationError) Error() string

Error satisfies the builtin error interface

func (UserShortValidationError) ErrorName

func (e UserShortValidationError) ErrorName() string

ErrorName returns error name.

func (UserShortValidationError) Field

func (e UserShortValidationError) Field() string

Field function returns field value.

func (UserShortValidationError) Key

Key function returns key value.

func (UserShortValidationError) Reason

func (e UserShortValidationError) Reason() string

Reason function returns reason value.

type UserValidationError

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

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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