// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v5.29.3 // source: visionCareer.proto package pbvisionCareerpub import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 User struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // required TargetRole string `protobuf:"bytes,2,opt,name=targetRole,proto3" json:"targetRole,omitempty"` ResumePath string `protobuf:"bytes,3,opt,name=resumePath,proto3" json:"resumePath,omitempty"` WorkExperience string `protobuf:"bytes,4,opt,name=workExperience,proto3" json:"workExperience,omitempty"` WorkFormat string `protobuf:"bytes,5,opt,name=workFormat,proto3" json:"workFormat,omitempty"` SalaryRange string `protobuf:"bytes,6,opt,name=salaryRange,proto3" json:"salaryRange,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *User) Reset() { *x = User{} mi := &file_visionCareer_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *User) String() string { return protoimpl.X.MessageStringOf(x) } func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use User.ProtoReflect.Descriptor instead. func (*User) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{0} } func (x *User) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *User) GetTargetRole() string { if x != nil { return x.TargetRole } return "" } func (x *User) GetResumePath() string { if x != nil { return x.ResumePath } return "" } func (x *User) GetWorkExperience() string { if x != nil { return x.WorkExperience } return "" } func (x *User) GetWorkFormat() string { if x != nil { return x.WorkFormat } return "" } func (x *User) GetSalaryRange() string { if x != nil { return x.SalaryRange } return "" } type Pagination struct { state protoimpl.MessageState `protogen:"open.v1"` PageSize int32 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Pagination) Reset() { *x = Pagination{} mi := &file_visionCareer_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Pagination) String() string { return protoimpl.X.MessageStringOf(x) } func (*Pagination) ProtoMessage() {} func (x *Pagination) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Pagination.ProtoReflect.Descriptor instead. func (*Pagination) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{1} } func (x *Pagination) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *Pagination) GetPage() int32 { if x != nil { return x.Page } return 0 } type PaginationMeta struct { state protoimpl.MessageState `protogen:"open.v1"` PageSize int32 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` TotalPages int32 `protobuf:"varint,3,opt,name=totalPages,proto3" json:"totalPages,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PaginationMeta) Reset() { *x = PaginationMeta{} mi := &file_visionCareer_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PaginationMeta) String() string { return protoimpl.X.MessageStringOf(x) } func (*PaginationMeta) ProtoMessage() {} func (x *PaginationMeta) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PaginationMeta.ProtoReflect.Descriptor instead. func (*PaginationMeta) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{2} } func (x *PaginationMeta) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *PaginationMeta) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *PaginationMeta) GetTotalPages() int32 { if x != nil { return x.TotalPages } return 0 } type FilterValue struct { state protoimpl.MessageState `protogen:"open.v1"` From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Equal string `protobuf:"bytes,3,opt,name=equal,proto3" json:"equal,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FilterValue) Reset() { *x = FilterValue{} mi := &file_visionCareer_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FilterValue) String() string { return protoimpl.X.MessageStringOf(x) } func (*FilterValue) ProtoMessage() {} func (x *FilterValue) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FilterValue.ProtoReflect.Descriptor instead. func (*FilterValue) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{3} } func (x *FilterValue) GetFrom() string { if x != nil { return x.From } return "" } func (x *FilterValue) GetTo() string { if x != nil { return x.To } return "" } func (x *FilterValue) GetEqual() string { if x != nil { return x.Equal } return "" } type Sort struct { state protoimpl.MessageState `protogen:"open.v1"` Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Direction string `protobuf:"bytes,2,opt,name=direction,proto3" json:"direction,omitempty"` // "ASC" or "DESC" unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Sort) Reset() { *x = Sort{} mi := &file_visionCareer_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Sort) String() string { return protoimpl.X.MessageStringOf(x) } func (*Sort) ProtoMessage() {} func (x *Sort) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Sort.ProtoReflect.Descriptor instead. func (*Sort) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{4} } func (x *Sort) GetField() string { if x != nil { return x.Field } return "" } func (x *Sort) GetDirection() string { if x != nil { return x.Direction } return "" } type FieldValue struct { state protoimpl.MessageState `protogen:"open.v1"` Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FieldValue) Reset() { *x = FieldValue{} mi := &file_visionCareer_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FieldValue) String() string { return protoimpl.X.MessageStringOf(x) } func (*FieldValue) ProtoMessage() {} func (x *FieldValue) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FieldValue.ProtoReflect.Descriptor instead. func (*FieldValue) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{5} } func (x *FieldValue) GetField() string { if x != nil { return x.Field } return "" } func (x *FieldValue) GetValue() string { if x != nil { return x.Value } return "" } type IdName struct { state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *IdName) Reset() { *x = IdName{} mi := &file_visionCareer_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *IdName) String() string { return protoimpl.X.MessageStringOf(x) } func (*IdName) ProtoMessage() {} func (x *IdName) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use IdName.ProtoReflect.Descriptor instead. func (*IdName) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{6} } func (x *IdName) GetId() string { if x != nil { return x.Id } return "" } func (x *IdName) GetName() string { if x != nil { return x.Name } return "" } type UpsertUserDataRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpsertUserDataRequest) Reset() { *x = UpsertUserDataRequest{} mi := &file_visionCareer_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpsertUserDataRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpsertUserDataRequest) ProtoMessage() {} func (x *UpsertUserDataRequest) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpsertUserDataRequest.ProtoReflect.Descriptor instead. func (*UpsertUserDataRequest) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{7} } func (x *UpsertUserDataRequest) GetData() *User { if x != nil { return x.Data } return nil } type GetUserVacanciesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserID int64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"` // required unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetUserVacanciesRequest) Reset() { *x = GetUserVacanciesRequest{} mi := &file_visionCareer_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetUserVacanciesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUserVacanciesRequest) ProtoMessage() {} func (x *GetUserVacanciesRequest) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetUserVacanciesRequest.ProtoReflect.Descriptor instead. func (*GetUserVacanciesRequest) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{8} } func (x *GetUserVacanciesRequest) GetUserID() int64 { if x != nil { return x.UserID } return 0 } type UpsertUserDataResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // "success" | "error" unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpsertUserDataResponse) Reset() { *x = UpsertUserDataResponse{} mi := &file_visionCareer_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpsertUserDataResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpsertUserDataResponse) ProtoMessage() {} func (x *UpsertUserDataResponse) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpsertUserDataResponse.ProtoReflect.Descriptor instead. func (*UpsertUserDataResponse) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{9} } func (x *UpsertUserDataResponse) GetStatus() string { if x != nil { return x.Status } return "" } type GetUserVacanciesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // "success" | "error" Items []string `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetUserVacanciesResponse) Reset() { *x = GetUserVacanciesResponse{} mi := &file_visionCareer_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetUserVacanciesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUserVacanciesResponse) ProtoMessage() {} func (x *GetUserVacanciesResponse) ProtoReflect() protoreflect.Message { mi := &file_visionCareer_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetUserVacanciesResponse.ProtoReflect.Descriptor instead. func (*GetUserVacanciesResponse) Descriptor() ([]byte, []int) { return file_visionCareer_proto_rawDescGZIP(), []int{10} } func (x *GetUserVacanciesResponse) GetStatus() string { if x != nil { return x.Status } return "" } func (x *GetUserVacanciesResponse) GetItems() []string { if x != nil { return x.Items } return nil } var File_visionCareer_proto protoreflect.FileDescriptor const file_visionCareer_proto_rawDesc = "" + "\n" + "\x12visionCareer.proto\x12\x11pbvisionCareerpub\"\xc0\x01\n" + "\x04User\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1e\n" + "\n" + "targetRole\x18\x02 \x01(\tR\n" + "targetRole\x12\x1e\n" + "\n" + "resumePath\x18\x03 \x01(\tR\n" + "resumePath\x12&\n" + "\x0eworkExperience\x18\x04 \x01(\tR\x0eworkExperience\x12\x1e\n" + "\n" + "workFormat\x18\x05 \x01(\tR\n" + "workFormat\x12 \n" + "\vsalaryRange\x18\x06 \x01(\tR\vsalaryRange\"<\n" + "\n" + "Pagination\x12\x1a\n" + "\bpageSize\x18\x01 \x01(\x05R\bpageSize\x12\x12\n" + "\x04page\x18\x02 \x01(\x05R\x04page\"`\n" + "\x0ePaginationMeta\x12\x1a\n" + "\bpageSize\x18\x01 \x01(\x05R\bpageSize\x12\x12\n" + "\x04page\x18\x02 \x01(\x05R\x04page\x12\x1e\n" + "\n" + "totalPages\x18\x03 \x01(\x05R\n" + "totalPages\"G\n" + "\vFilterValue\x12\x12\n" + "\x04from\x18\x01 \x01(\tR\x04from\x12\x0e\n" + "\x02to\x18\x02 \x01(\tR\x02to\x12\x14\n" + "\x05equal\x18\x03 \x01(\tR\x05equal\":\n" + "\x04Sort\x12\x14\n" + "\x05field\x18\x01 \x01(\tR\x05field\x12\x1c\n" + "\tdirection\x18\x02 \x01(\tR\tdirection\"8\n" + "\n" + "FieldValue\x12\x14\n" + "\x05field\x18\x01 \x01(\tR\x05field\x12\x14\n" + "\x05value\x18\x02 \x01(\tR\x05value\",\n" + "\x06IdName\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\"D\n" + "\x15UpsertUserDataRequest\x12+\n" + "\x04data\x18\x01 \x01(\v2\x17.pbvisionCareerpub.UserR\x04data\"1\n" + "\x17GetUserVacanciesRequest\x12\x16\n" + "\x06userID\x18\x01 \x01(\x03R\x06userID\"0\n" + "\x16UpsertUserDataResponse\x12\x16\n" + "\x06status\x18\x01 \x01(\tR\x06status\"H\n" + "\x18GetUserVacanciesResponse\x12\x16\n" + "\x06status\x18\x01 \x01(\tR\x06status\x12\x14\n" + "\x05items\x18\x02 \x03(\tR\x05items2\xee\x01\n" + "\x18VisionCareerApiServiceV1\x12e\n" + "\x0eUpsertUserData\x12(.pbvisionCareerpub.UpsertUserDataRequest\x1a).pbvisionCareerpub.UpsertUserDataResponse\x12k\n" + "\x10GetUserVacancies\x12*.pbvisionCareerpub.GetUserVacanciesRequest\x1a+.pbvisionCareerpub.GetUserVacanciesResponseB\x16Z\x14./;pbvisionCareerpubb\x06proto3" var ( file_visionCareer_proto_rawDescOnce sync.Once file_visionCareer_proto_rawDescData []byte ) func file_visionCareer_proto_rawDescGZIP() []byte { file_visionCareer_proto_rawDescOnce.Do(func() { file_visionCareer_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_visionCareer_proto_rawDesc), len(file_visionCareer_proto_rawDesc))) }) return file_visionCareer_proto_rawDescData } var file_visionCareer_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_visionCareer_proto_goTypes = []any{ (*User)(nil), // 0: pbvisionCareerpub.User (*Pagination)(nil), // 1: pbvisionCareerpub.Pagination (*PaginationMeta)(nil), // 2: pbvisionCareerpub.PaginationMeta (*FilterValue)(nil), // 3: pbvisionCareerpub.FilterValue (*Sort)(nil), // 4: pbvisionCareerpub.Sort (*FieldValue)(nil), // 5: pbvisionCareerpub.FieldValue (*IdName)(nil), // 6: pbvisionCareerpub.IdName (*UpsertUserDataRequest)(nil), // 7: pbvisionCareerpub.UpsertUserDataRequest (*GetUserVacanciesRequest)(nil), // 8: pbvisionCareerpub.GetUserVacanciesRequest (*UpsertUserDataResponse)(nil), // 9: pbvisionCareerpub.UpsertUserDataResponse (*GetUserVacanciesResponse)(nil), // 10: pbvisionCareerpub.GetUserVacanciesResponse } var file_visionCareer_proto_depIdxs = []int32{ 0, // 0: pbvisionCareerpub.UpsertUserDataRequest.data:type_name -> pbvisionCareerpub.User 7, // 1: pbvisionCareerpub.VisionCareerApiServiceV1.UpsertUserData:input_type -> pbvisionCareerpub.UpsertUserDataRequest 8, // 2: pbvisionCareerpub.VisionCareerApiServiceV1.GetUserVacancies:input_type -> pbvisionCareerpub.GetUserVacanciesRequest 9, // 3: pbvisionCareerpub.VisionCareerApiServiceV1.UpsertUserData:output_type -> pbvisionCareerpub.UpsertUserDataResponse 10, // 4: pbvisionCareerpub.VisionCareerApiServiceV1.GetUserVacancies:output_type -> pbvisionCareerpub.GetUserVacanciesResponse 3, // [3:5] is the sub-list for method output_type 1, // [1:3] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_visionCareer_proto_init() } func file_visionCareer_proto_init() { if File_visionCareer_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_visionCareer_proto_rawDesc), len(file_visionCareer_proto_rawDesc)), NumEnums: 0, NumMessages: 11, NumExtensions: 0, NumServices: 1, }, GoTypes: file_visionCareer_proto_goTypes, DependencyIndexes: file_visionCareer_proto_depIdxs, MessageInfos: file_visionCareer_proto_msgTypes, }.Build() File_visionCareer_proto = out.File file_visionCareer_proto_goTypes = nil file_visionCareer_proto_depIdxs = nil }