1035 lines
33 KiB
Go
1035 lines
33 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.33.0
|
|
// protoc v4.25.3
|
|
// source: Records.proto
|
|
|
|
package proto
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Gender int32
|
|
|
|
const (
|
|
Gender_MALE Gender = 0
|
|
Gender_FEMALE Gender = 1
|
|
)
|
|
|
|
// Enum value maps for Gender.
|
|
var (
|
|
Gender_name = map[int32]string{
|
|
0: "MALE",
|
|
1: "FEMALE",
|
|
}
|
|
Gender_value = map[string]int32{
|
|
"MALE": 0,
|
|
"FEMALE": 1,
|
|
}
|
|
)
|
|
|
|
func (x Gender) Enum() *Gender {
|
|
p := new(Gender)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Gender) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Gender) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_Records_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (Gender) Type() protoreflect.EnumType {
|
|
return &file_Records_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x Gender) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Gender.Descriptor instead.
|
|
func (Gender) EnumDescriptor() ([]byte, []int) {
|
|
return file_Records_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type Quarter int32
|
|
|
|
const (
|
|
Quarter_Q1 Quarter = 0
|
|
Quarter_Q2 Quarter = 1
|
|
Quarter_Q3 Quarter = 2
|
|
Quarter_Q4 Quarter = 3
|
|
)
|
|
|
|
// Enum value maps for Quarter.
|
|
var (
|
|
Quarter_name = map[int32]string{
|
|
0: "Q1",
|
|
1: "Q2",
|
|
2: "Q3",
|
|
3: "Q4",
|
|
}
|
|
Quarter_value = map[string]int32{
|
|
"Q1": 0,
|
|
"Q2": 1,
|
|
"Q3": 2,
|
|
"Q4": 3,
|
|
}
|
|
)
|
|
|
|
func (x Quarter) Enum() *Quarter {
|
|
p := new(Quarter)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Quarter) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Quarter) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_Records_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (Quarter) Type() protoreflect.EnumType {
|
|
return &file_Records_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x Quarter) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Quarter.Descriptor instead.
|
|
func (Quarter) EnumDescriptor() ([]byte, []int) {
|
|
return file_Records_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type Half int32
|
|
|
|
const (
|
|
Half_FIRST_HALF Half = 0
|
|
Half_SECOND_HALF Half = 1
|
|
)
|
|
|
|
// Enum value maps for Half.
|
|
var (
|
|
Half_name = map[int32]string{
|
|
0: "FIRST_HALF",
|
|
1: "SECOND_HALF",
|
|
}
|
|
Half_value = map[string]int32{
|
|
"FIRST_HALF": 0,
|
|
"SECOND_HALF": 1,
|
|
}
|
|
)
|
|
|
|
func (x Half) Enum() *Half {
|
|
p := new(Half)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Half) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Half) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_Records_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (Half) Type() protoreflect.EnumType {
|
|
return &file_Records_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x Half) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Half.Descriptor instead.
|
|
func (Half) EnumDescriptor() ([]byte, []int) {
|
|
return file_Records_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type Month int32
|
|
|
|
const (
|
|
Month_JANUARY Month = 0
|
|
Month_FEBRUARY Month = 1
|
|
Month_MARCH Month = 2
|
|
Month_APRIL Month = 3
|
|
Month_MAY Month = 4
|
|
Month_JUNE Month = 5
|
|
Month_JULY Month = 6
|
|
Month_AUGUST Month = 7
|
|
Month_SEPTEMBER Month = 8
|
|
Month_OCTOBER Month = 9
|
|
Month_NOVEMBER Month = 10
|
|
Month_DECEMBER Month = 11
|
|
)
|
|
|
|
// Enum value maps for Month.
|
|
var (
|
|
Month_name = map[int32]string{
|
|
0: "JANUARY",
|
|
1: "FEBRUARY",
|
|
2: "MARCH",
|
|
3: "APRIL",
|
|
4: "MAY",
|
|
5: "JUNE",
|
|
6: "JULY",
|
|
7: "AUGUST",
|
|
8: "SEPTEMBER",
|
|
9: "OCTOBER",
|
|
10: "NOVEMBER",
|
|
11: "DECEMBER",
|
|
}
|
|
Month_value = map[string]int32{
|
|
"JANUARY": 0,
|
|
"FEBRUARY": 1,
|
|
"MARCH": 2,
|
|
"APRIL": 3,
|
|
"MAY": 4,
|
|
"JUNE": 5,
|
|
"JULY": 6,
|
|
"AUGUST": 7,
|
|
"SEPTEMBER": 8,
|
|
"OCTOBER": 9,
|
|
"NOVEMBER": 10,
|
|
"DECEMBER": 11,
|
|
}
|
|
)
|
|
|
|
func (x Month) Enum() *Month {
|
|
p := new(Month)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Month) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Month) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_Records_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (Month) Type() protoreflect.EnumType {
|
|
return &file_Records_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x Month) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Month.Descriptor instead.
|
|
func (Month) EnumDescriptor() ([]byte, []int) {
|
|
return file_Records_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type MonthShort int32
|
|
|
|
const (
|
|
MonthShort_JAN MonthShort = 0
|
|
MonthShort_FEB MonthShort = 1
|
|
MonthShort_MAR MonthShort = 2
|
|
MonthShort_APR MonthShort = 3
|
|
MonthShort_MAY_SHORT MonthShort = 4
|
|
MonthShort_JUN MonthShort = 5
|
|
MonthShort_JUL MonthShort = 6
|
|
MonthShort_AUG MonthShort = 7
|
|
MonthShort_SEP MonthShort = 8
|
|
MonthShort_OCT MonthShort = 9
|
|
MonthShort_NOV MonthShort = 10
|
|
MonthShort_DEC MonthShort = 11
|
|
)
|
|
|
|
// Enum value maps for MonthShort.
|
|
var (
|
|
MonthShort_name = map[int32]string{
|
|
0: "JAN",
|
|
1: "FEB",
|
|
2: "MAR",
|
|
3: "APR",
|
|
4: "MAY_SHORT",
|
|
5: "JUN",
|
|
6: "JUL",
|
|
7: "AUG",
|
|
8: "SEP",
|
|
9: "OCT",
|
|
10: "NOV",
|
|
11: "DEC",
|
|
}
|
|
MonthShort_value = map[string]int32{
|
|
"JAN": 0,
|
|
"FEB": 1,
|
|
"MAR": 2,
|
|
"APR": 3,
|
|
"MAY_SHORT": 4,
|
|
"JUN": 5,
|
|
"JUL": 6,
|
|
"AUG": 7,
|
|
"SEP": 8,
|
|
"OCT": 9,
|
|
"NOV": 10,
|
|
"DEC": 11,
|
|
}
|
|
)
|
|
|
|
func (x MonthShort) Enum() *MonthShort {
|
|
p := new(MonthShort)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x MonthShort) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (MonthShort) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_Records_proto_enumTypes[4].Descriptor()
|
|
}
|
|
|
|
func (MonthShort) Type() protoreflect.EnumType {
|
|
return &file_Records_proto_enumTypes[4]
|
|
}
|
|
|
|
func (x MonthShort) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use MonthShort.Descriptor instead.
|
|
func (MonthShort) EnumDescriptor() ([]byte, []int) {
|
|
return file_Records_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type WeekDay int32
|
|
|
|
const (
|
|
WeekDay_SUNDAY WeekDay = 0
|
|
WeekDay_MONDAY WeekDay = 1
|
|
WeekDay_TUESDAY WeekDay = 2
|
|
WeekDay_WEDNESDAY WeekDay = 3
|
|
WeekDay_THURSDAY WeekDay = 4
|
|
WeekDay_FRIDAY WeekDay = 5
|
|
WeekDay_SATURDAY WeekDay = 6
|
|
)
|
|
|
|
// Enum value maps for WeekDay.
|
|
var (
|
|
WeekDay_name = map[int32]string{
|
|
0: "SUNDAY",
|
|
1: "MONDAY",
|
|
2: "TUESDAY",
|
|
3: "WEDNESDAY",
|
|
4: "THURSDAY",
|
|
5: "FRIDAY",
|
|
6: "SATURDAY",
|
|
}
|
|
WeekDay_value = map[string]int32{
|
|
"SUNDAY": 0,
|
|
"MONDAY": 1,
|
|
"TUESDAY": 2,
|
|
"WEDNESDAY": 3,
|
|
"THURSDAY": 4,
|
|
"FRIDAY": 5,
|
|
"SATURDAY": 6,
|
|
}
|
|
)
|
|
|
|
func (x WeekDay) Enum() *WeekDay {
|
|
p := new(WeekDay)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x WeekDay) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (WeekDay) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_Records_proto_enumTypes[5].Descriptor()
|
|
}
|
|
|
|
func (WeekDay) Type() protoreflect.EnumType {
|
|
return &file_Records_proto_enumTypes[5]
|
|
}
|
|
|
|
func (x WeekDay) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use WeekDay.Descriptor instead.
|
|
func (WeekDay) EnumDescriptor() ([]byte, []int) {
|
|
return file_Records_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
type WeekDayShort int32
|
|
|
|
const (
|
|
WeekDayShort_SUN WeekDayShort = 0
|
|
WeekDayShort_MON WeekDayShort = 1
|
|
WeekDayShort_TUE WeekDayShort = 2
|
|
WeekDayShort_WED WeekDayShort = 3
|
|
WeekDayShort_THU WeekDayShort = 4
|
|
WeekDayShort_FRI WeekDayShort = 5
|
|
WeekDayShort_SAT WeekDayShort = 6
|
|
)
|
|
|
|
// Enum value maps for WeekDayShort.
|
|
var (
|
|
WeekDayShort_name = map[int32]string{
|
|
0: "SUN",
|
|
1: "MON",
|
|
2: "TUE",
|
|
3: "WED",
|
|
4: "THU",
|
|
5: "FRI",
|
|
6: "SAT",
|
|
}
|
|
WeekDayShort_value = map[string]int32{
|
|
"SUN": 0,
|
|
"MON": 1,
|
|
"TUE": 2,
|
|
"WED": 3,
|
|
"THU": 4,
|
|
"FRI": 5,
|
|
"SAT": 6,
|
|
}
|
|
)
|
|
|
|
func (x WeekDayShort) Enum() *WeekDayShort {
|
|
p := new(WeekDayShort)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x WeekDayShort) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (WeekDayShort) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_Records_proto_enumTypes[6].Descriptor()
|
|
}
|
|
|
|
func (WeekDayShort) Type() protoreflect.EnumType {
|
|
return &file_Records_proto_enumTypes[6]
|
|
}
|
|
|
|
func (x WeekDayShort) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use WeekDayShort.Descriptor instead.
|
|
func (WeekDayShort) EnumDescriptor() ([]byte, []int) {
|
|
return file_Records_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type Employee struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
EmpId uint32 `protobuf:"varint,1,opt,name=emp_id,json=empId,proto3" json:"emp_id,omitempty"`
|
|
NamePrefix string `protobuf:"bytes,2,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"`
|
|
FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
MiddleInitial string `protobuf:"bytes,4,opt,name=middle_initial,json=middleInitial,proto3" json:"middle_initial,omitempty"`
|
|
LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
Gender Gender `protobuf:"varint,6,opt,name=gender,proto3,enum=Gender" json:"gender,omitempty"`
|
|
Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
|
|
FathersName string `protobuf:"bytes,8,opt,name=fathers_name,json=fathersName,proto3" json:"fathers_name,omitempty"`
|
|
MothersName string `protobuf:"bytes,9,opt,name=mothers_name,json=mothersName,proto3" json:"mothers_name,omitempty"`
|
|
MothersMaidenName string `protobuf:"bytes,10,opt,name=mothers_maiden_name,json=mothersMaidenName,proto3" json:"mothers_maiden_name,omitempty"`
|
|
Birthdate string `protobuf:"bytes,11,opt,name=birthdate,proto3" json:"birthdate,omitempty"`
|
|
BirthTime string `protobuf:"bytes,12,opt,name=birth_time,json=birthTime,proto3" json:"birth_time,omitempty"`
|
|
WeightKg uint32 `protobuf:"varint,13,opt,name=weight_kg,json=weightKg,proto3" json:"weight_kg,omitempty"`
|
|
JoiningDate string `protobuf:"bytes,14,opt,name=joining_date,json=joiningDate,proto3" json:"joining_date,omitempty"`
|
|
JoiningQuarter Quarter `protobuf:"varint,15,opt,name=joining_quarter,json=joiningQuarter,proto3,enum=Quarter" json:"joining_quarter,omitempty"`
|
|
JoiningHalf Half `protobuf:"varint,16,opt,name=joining_half,json=joiningHalf,proto3,enum=Half" json:"joining_half,omitempty"`
|
|
JoiningYear uint32 `protobuf:"varint,17,opt,name=joining_year,json=joiningYear,proto3" json:"joining_year,omitempty"`
|
|
JoiningMonth uint32 `protobuf:"varint,18,opt,name=joining_month,json=joiningMonth,proto3" json:"joining_month,omitempty"`
|
|
JoiningMonthName Month `protobuf:"varint,19,opt,name=joining_month_name,json=joiningMonthName,proto3,enum=Month" json:"joining_month_name,omitempty"`
|
|
JoiningMonthNameShort MonthShort `protobuf:"varint,20,opt,name=joining_month_name_short,json=joiningMonthNameShort,proto3,enum=MonthShort" json:"joining_month_name_short,omitempty"`
|
|
JoiningMonthDay uint32 `protobuf:"varint,21,opt,name=joining_month_day,json=joiningMonthDay,proto3" json:"joining_month_day,omitempty"`
|
|
JoiningWeekDay WeekDay `protobuf:"varint,22,opt,name=joining_week_day,json=joiningWeekDay,proto3,enum=WeekDay" json:"joining_week_day,omitempty"`
|
|
JoiningWeekDayShort WeekDayShort `protobuf:"varint,23,opt,name=joining_week_day_short,json=joiningWeekDayShort,proto3,enum=WeekDayShort" json:"joining_week_day_short,omitempty"`
|
|
YearsOfService float32 `protobuf:"fixed32,24,opt,name=years_of_service,json=yearsOfService,proto3" json:"years_of_service,omitempty"`
|
|
Salary uint32 `protobuf:"varint,25,opt,name=salary,proto3" json:"salary,omitempty"`
|
|
LatestHikePercentage string `protobuf:"bytes,26,opt,name=latest_hike_percentage,json=latestHikePercentage,proto3" json:"latest_hike_percentage,omitempty"`
|
|
Ssn string `protobuf:"bytes,27,opt,name=ssn,proto3" json:"ssn,omitempty"`
|
|
PhoneNumber string `protobuf:"bytes,28,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
|
|
PlaceName string `protobuf:"bytes,29,opt,name=place_name,json=placeName,proto3" json:"place_name,omitempty"`
|
|
County string `protobuf:"bytes,30,opt,name=county,proto3" json:"county,omitempty"`
|
|
City string `protobuf:"bytes,31,opt,name=city,proto3" json:"city,omitempty"`
|
|
State string `protobuf:"bytes,32,opt,name=state,proto3" json:"state,omitempty"`
|
|
Zip uint32 `protobuf:"varint,33,opt,name=zip,proto3" json:"zip,omitempty"`
|
|
Region string `protobuf:"bytes,34,opt,name=region,proto3" json:"region,omitempty"`
|
|
Username string `protobuf:"bytes,35,opt,name=username,proto3" json:"username,omitempty"`
|
|
Password string `protobuf:"bytes,36,opt,name=password,proto3" json:"password,omitempty"`
|
|
}
|
|
|
|
func (x *Employee) Reset() {
|
|
*x = Employee{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_Records_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Employee) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Employee) ProtoMessage() {}
|
|
|
|
func (x *Employee) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Records_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Employee.ProtoReflect.Descriptor instead.
|
|
func (*Employee) Descriptor() ([]byte, []int) {
|
|
return file_Records_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Employee) GetEmpId() uint32 {
|
|
if x != nil {
|
|
return x.EmpId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Employee) GetNamePrefix() string {
|
|
if x != nil {
|
|
return x.NamePrefix
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetFirstName() string {
|
|
if x != nil {
|
|
return x.FirstName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetMiddleInitial() string {
|
|
if x != nil {
|
|
return x.MiddleInitial
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetLastName() string {
|
|
if x != nil {
|
|
return x.LastName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetGender() Gender {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return Gender_MALE
|
|
}
|
|
|
|
func (x *Employee) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetFathersName() string {
|
|
if x != nil {
|
|
return x.FathersName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetMothersName() string {
|
|
if x != nil {
|
|
return x.MothersName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetMothersMaidenName() string {
|
|
if x != nil {
|
|
return x.MothersMaidenName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetBirthdate() string {
|
|
if x != nil {
|
|
return x.Birthdate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetBirthTime() string {
|
|
if x != nil {
|
|
return x.BirthTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetWeightKg() uint32 {
|
|
if x != nil {
|
|
return x.WeightKg
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Employee) GetJoiningDate() string {
|
|
if x != nil {
|
|
return x.JoiningDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetJoiningQuarter() Quarter {
|
|
if x != nil {
|
|
return x.JoiningQuarter
|
|
}
|
|
return Quarter_Q1
|
|
}
|
|
|
|
func (x *Employee) GetJoiningHalf() Half {
|
|
if x != nil {
|
|
return x.JoiningHalf
|
|
}
|
|
return Half_FIRST_HALF
|
|
}
|
|
|
|
func (x *Employee) GetJoiningYear() uint32 {
|
|
if x != nil {
|
|
return x.JoiningYear
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Employee) GetJoiningMonth() uint32 {
|
|
if x != nil {
|
|
return x.JoiningMonth
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Employee) GetJoiningMonthName() Month {
|
|
if x != nil {
|
|
return x.JoiningMonthName
|
|
}
|
|
return Month_JANUARY
|
|
}
|
|
|
|
func (x *Employee) GetJoiningMonthNameShort() MonthShort {
|
|
if x != nil {
|
|
return x.JoiningMonthNameShort
|
|
}
|
|
return MonthShort_JAN
|
|
}
|
|
|
|
func (x *Employee) GetJoiningMonthDay() uint32 {
|
|
if x != nil {
|
|
return x.JoiningMonthDay
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Employee) GetJoiningWeekDay() WeekDay {
|
|
if x != nil {
|
|
return x.JoiningWeekDay
|
|
}
|
|
return WeekDay_SUNDAY
|
|
}
|
|
|
|
func (x *Employee) GetJoiningWeekDayShort() WeekDayShort {
|
|
if x != nil {
|
|
return x.JoiningWeekDayShort
|
|
}
|
|
return WeekDayShort_SUN
|
|
}
|
|
|
|
func (x *Employee) GetYearsOfService() float32 {
|
|
if x != nil {
|
|
return x.YearsOfService
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Employee) GetSalary() uint32 {
|
|
if x != nil {
|
|
return x.Salary
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Employee) GetLatestHikePercentage() string {
|
|
if x != nil {
|
|
return x.LatestHikePercentage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetSsn() string {
|
|
if x != nil {
|
|
return x.Ssn
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetPhoneNumber() string {
|
|
if x != nil {
|
|
return x.PhoneNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetPlaceName() string {
|
|
if x != nil {
|
|
return x.PlaceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetCounty() string {
|
|
if x != nil {
|
|
return x.County
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetCity() string {
|
|
if x != nil {
|
|
return x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetZip() uint32 {
|
|
if x != nil {
|
|
return x.Zip
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Employee) GetRegion() string {
|
|
if x != nil {
|
|
return x.Region
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Employee) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EmployeeList struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Employees []*Employee `protobuf:"bytes,1,rep,name=employees,proto3" json:"employees,omitempty"`
|
|
}
|
|
|
|
func (x *EmployeeList) Reset() {
|
|
*x = EmployeeList{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_Records_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EmployeeList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmployeeList) ProtoMessage() {}
|
|
|
|
func (x *EmployeeList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Records_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EmployeeList.ProtoReflect.Descriptor instead.
|
|
func (*EmployeeList) Descriptor() ([]byte, []int) {
|
|
return file_Records_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *EmployeeList) GetEmployees() []*Employee {
|
|
if x != nil {
|
|
return x.Employees
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_Records_proto protoreflect.FileDescriptor
|
|
|
|
var file_Records_proto_rawDesc = []byte{
|
|
0x0a, 0x0d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
|
0x84, 0x0a, 0x0a, 0x08, 0x45, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x12, 0x15, 0x0a, 0x06,
|
|
0x65, 0x6d, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x65, 0x6d,
|
|
0x70, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x66,
|
|
0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x72,
|
|
0x65, 0x66, 0x69, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e,
|
|
0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x5f, 0x69, 0x6e,
|
|
0x69, 0x74, 0x69, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x69, 0x64,
|
|
0x64, 0x6c, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61,
|
|
0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c,
|
|
0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65,
|
|
0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x07, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72,
|
|
0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69,
|
|
0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x21,
|
|
0x0a, 0x0c, 0x66, 0x61, 0x74, 0x68, 0x65, 0x72, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x61, 0x74, 0x68, 0x65, 0x72, 0x73, 0x4e, 0x61, 0x6d,
|
|
0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x73, 0x5f, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x73,
|
|
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x73, 0x5f,
|
|
0x6d, 0x61, 0x69, 0x64, 0x65, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x11, 0x6d, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x69, 0x64, 0x65, 0x6e,
|
|
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74,
|
|
0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61,
|
|
0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x69, 0x72, 0x74, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65,
|
|
0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x54, 0x69, 0x6d,
|
|
0x65, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6b, 0x67, 0x18, 0x0d,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4b, 0x67, 0x12, 0x21,
|
|
0x0a, 0x0c, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0e,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74,
|
|
0x65, 0x12, 0x31, 0x0a, 0x0f, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x71, 0x75, 0x61,
|
|
0x72, 0x74, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x08, 0x2e, 0x51, 0x75, 0x61,
|
|
0x72, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x51, 0x75, 0x61,
|
|
0x72, 0x74, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0c, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f,
|
|
0x68, 0x61, 0x6c, 0x66, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x05, 0x2e, 0x48, 0x61, 0x6c,
|
|
0x66, 0x52, 0x0b, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x48, 0x61, 0x6c, 0x66, 0x12, 0x21,
|
|
0x0a, 0x0c, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x79, 0x65, 0x61, 0x72, 0x18, 0x11,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x59, 0x65, 0x61,
|
|
0x72, 0x12, 0x23, 0x0a, 0x0d, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x6e,
|
|
0x74, 0x68, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e,
|
|
0x67, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x34, 0x0a, 0x12, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e,
|
|
0x67, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x06, 0x2e, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x52, 0x10, 0x6a, 0x6f, 0x69, 0x6e,
|
|
0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x18,
|
|
0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b,
|
|
0x2e, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x52, 0x15, 0x6a, 0x6f, 0x69,
|
|
0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x68, 0x6f,
|
|
0x72, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f,
|
|
0x6e, 0x74, 0x68, 0x5f, 0x64, 0x61, 0x79, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6a,
|
|
0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x12, 0x32,
|
|
0x0a, 0x10, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x65, 0x6b, 0x5f, 0x64,
|
|
0x61, 0x79, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x08, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x44,
|
|
0x61, 0x79, 0x52, 0x0e, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x65, 0x6b, 0x44,
|
|
0x61, 0x79, 0x12, 0x42, 0x0a, 0x16, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65,
|
|
0x65, 0x6b, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x18, 0x17, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x44, 0x61, 0x79, 0x53, 0x68, 0x6f, 0x72,
|
|
0x74, 0x52, 0x13, 0x6a, 0x6f, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x65, 0x6b, 0x44, 0x61,
|
|
0x79, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x79, 0x65, 0x61, 0x72, 0x73, 0x5f,
|
|
0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x02,
|
|
0x52, 0x0e, 0x79, 0x65, 0x61, 0x72, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
|
0x12, 0x16, 0x0a, 0x06, 0x73, 0x61, 0x6c, 0x61, 0x72, 0x79, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x06, 0x73, 0x61, 0x6c, 0x61, 0x72, 0x79, 0x12, 0x34, 0x0a, 0x16, 0x6c, 0x61, 0x74, 0x65,
|
|
0x73, 0x74, 0x5f, 0x68, 0x69, 0x6b, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61,
|
|
0x67, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74,
|
|
0x48, 0x69, 0x6b, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x10,
|
|
0x0a, 0x03, 0x73, 0x73, 0x6e, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x73, 0x6e,
|
|
0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
|
|
0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d,
|
|
0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x79, 0x18, 0x1e, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69,
|
|
0x74, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x14,
|
|
0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73,
|
|
0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x7a, 0x69, 0x70, 0x18, 0x21, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x03, 0x7a, 0x69, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
|
0x18, 0x22, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61,
|
|
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61,
|
|
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x37, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x6c, 0x6f, 0x79,
|
|
0x65, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x09, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79,
|
|
0x65, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x45, 0x6d, 0x70, 0x6c,
|
|
0x6f, 0x79, 0x65, 0x65, 0x52, 0x09, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x73, 0x2a,
|
|
0x1e, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x4c,
|
|
0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x45, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x01, 0x2a,
|
|
0x29, 0x0a, 0x07, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x12, 0x06, 0x0a, 0x02, 0x51, 0x31,
|
|
0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x51, 0x32, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x51, 0x33,
|
|
0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x51, 0x34, 0x10, 0x03, 0x2a, 0x27, 0x0a, 0x04, 0x48, 0x61,
|
|
0x6c, 0x66, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x49, 0x52, 0x53, 0x54, 0x5f, 0x48, 0x41, 0x4c, 0x46,
|
|
0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x48, 0x41, 0x4c,
|
|
0x46, 0x10, 0x01, 0x2a, 0x99, 0x01, 0x0a, 0x05, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x0b, 0x0a,
|
|
0x07, 0x4a, 0x41, 0x4e, 0x55, 0x41, 0x52, 0x59, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x45,
|
|
0x42, 0x52, 0x55, 0x41, 0x52, 0x59, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x41, 0x52, 0x43,
|
|
0x48, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x50, 0x52, 0x49, 0x4c, 0x10, 0x03, 0x12, 0x07,
|
|
0x0a, 0x03, 0x4d, 0x41, 0x59, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x55, 0x4e, 0x45, 0x10,
|
|
0x05, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x55, 0x4c, 0x59, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x41,
|
|
0x55, 0x47, 0x55, 0x53, 0x54, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x45, 0x50, 0x54, 0x45,
|
|
0x4d, 0x42, 0x45, 0x52, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x43, 0x54, 0x4f, 0x42, 0x45,
|
|
0x52, 0x10, 0x09, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x56, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10,
|
|
0x0a, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x43, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x0b, 0x2a,
|
|
0x7e, 0x0a, 0x0a, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x12, 0x07, 0x0a,
|
|
0x03, 0x4a, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x46, 0x45, 0x42, 0x10, 0x01, 0x12,
|
|
0x07, 0x0a, 0x03, 0x4d, 0x41, 0x52, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x50, 0x52, 0x10,
|
|
0x03, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x41, 0x59, 0x5f, 0x53, 0x48, 0x4f, 0x52, 0x54, 0x10, 0x04,
|
|
0x12, 0x07, 0x0a, 0x03, 0x4a, 0x55, 0x4e, 0x10, 0x05, 0x12, 0x07, 0x0a, 0x03, 0x4a, 0x55, 0x4c,
|
|
0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x55, 0x47, 0x10, 0x07, 0x12, 0x07, 0x0a, 0x03, 0x53,
|
|
0x45, 0x50, 0x10, 0x08, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x43, 0x54, 0x10, 0x09, 0x12, 0x07, 0x0a,
|
|
0x03, 0x4e, 0x4f, 0x56, 0x10, 0x0a, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x45, 0x43, 0x10, 0x0b, 0x2a,
|
|
0x65, 0x0a, 0x07, 0x57, 0x65, 0x65, 0x6b, 0x44, 0x61, 0x79, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55,
|
|
0x4e, 0x44, 0x41, 0x59, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x4f, 0x4e, 0x44, 0x41, 0x59,
|
|
0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x55, 0x45, 0x53, 0x44, 0x41, 0x59, 0x10, 0x02, 0x12,
|
|
0x0d, 0x0a, 0x09, 0x57, 0x45, 0x44, 0x4e, 0x45, 0x53, 0x44, 0x41, 0x59, 0x10, 0x03, 0x12, 0x0c,
|
|
0x0a, 0x08, 0x54, 0x48, 0x55, 0x52, 0x53, 0x44, 0x41, 0x59, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06,
|
|
0x46, 0x52, 0x49, 0x44, 0x41, 0x59, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x41, 0x54, 0x55,
|
|
0x52, 0x44, 0x41, 0x59, 0x10, 0x06, 0x2a, 0x4d, 0x0a, 0x0c, 0x57, 0x65, 0x65, 0x6b, 0x44, 0x61,
|
|
0x79, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x55, 0x4e, 0x10, 0x00, 0x12,
|
|
0x07, 0x0a, 0x03, 0x4d, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x55, 0x45, 0x10,
|
|
0x02, 0x12, 0x07, 0x0a, 0x03, 0x57, 0x45, 0x44, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x48,
|
|
0x55, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x46, 0x52, 0x49, 0x10, 0x05, 0x12, 0x07, 0x0a, 0x03,
|
|
0x53, 0x41, 0x54, 0x10, 0x06, 0x42, 0x08, 0x5a, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62,
|
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_Records_proto_rawDescOnce sync.Once
|
|
file_Records_proto_rawDescData = file_Records_proto_rawDesc
|
|
)
|
|
|
|
func file_Records_proto_rawDescGZIP() []byte {
|
|
file_Records_proto_rawDescOnce.Do(func() {
|
|
file_Records_proto_rawDescData = protoimpl.X.CompressGZIP(file_Records_proto_rawDescData)
|
|
})
|
|
return file_Records_proto_rawDescData
|
|
}
|
|
|
|
var file_Records_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
|
|
var file_Records_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
var file_Records_proto_goTypes = []interface{}{
|
|
(Gender)(0), // 0: Gender
|
|
(Quarter)(0), // 1: Quarter
|
|
(Half)(0), // 2: Half
|
|
(Month)(0), // 3: Month
|
|
(MonthShort)(0), // 4: MonthShort
|
|
(WeekDay)(0), // 5: WeekDay
|
|
(WeekDayShort)(0), // 6: WeekDayShort
|
|
(*Employee)(nil), // 7: Employee
|
|
(*EmployeeList)(nil), // 8: EmployeeList
|
|
}
|
|
var file_Records_proto_depIdxs = []int32{
|
|
0, // 0: Employee.gender:type_name -> Gender
|
|
1, // 1: Employee.joining_quarter:type_name -> Quarter
|
|
2, // 2: Employee.joining_half:type_name -> Half
|
|
3, // 3: Employee.joining_month_name:type_name -> Month
|
|
4, // 4: Employee.joining_month_name_short:type_name -> MonthShort
|
|
5, // 5: Employee.joining_week_day:type_name -> WeekDay
|
|
6, // 6: Employee.joining_week_day_short:type_name -> WeekDayShort
|
|
7, // 7: EmployeeList.employees:type_name -> Employee
|
|
8, // [8:8] is the sub-list for method output_type
|
|
8, // [8:8] is the sub-list for method input_type
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
0, // [0:8] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_Records_proto_init() }
|
|
func file_Records_proto_init() {
|
|
if File_Records_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_Records_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Employee); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_Records_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EmployeeList); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_Records_proto_rawDesc,
|
|
NumEnums: 7,
|
|
NumMessages: 2,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_Records_proto_goTypes,
|
|
DependencyIndexes: file_Records_proto_depIdxs,
|
|
EnumInfos: file_Records_proto_enumTypes,
|
|
MessageInfos: file_Records_proto_msgTypes,
|
|
}.Build()
|
|
File_Records_proto = out.File
|
|
file_Records_proto_rawDesc = nil
|
|
file_Records_proto_goTypes = nil
|
|
file_Records_proto_depIdxs = nil
|
|
}
|