blob: 64f2b4a69e7523c74d5a599619ec3dd140c5bb2f [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/talent/v4beta1/job_service.proto
package talent
import (
context "context"
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "github.com/golang/protobuf/ptypes/any"
duration "github.com/golang/protobuf/ptypes/duration"
empty "github.com/golang/protobuf/ptypes/empty"
_ "google.golang.org/genproto/googleapis/api/annotations"
longrunning "google.golang.org/genproto/googleapis/longrunning"
status "google.golang.org/genproto/googleapis/rpc/status"
field_mask "google.golang.org/genproto/protobuf/field_mask"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status1 "google.golang.org/grpc/status"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// An enum that specifies the job attributes that are returned in the
// [MatchingJob.job][google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.job] or
// [ListJobsResponse.jobs][google.cloud.talent.v4beta1.ListJobsResponse.jobs] fields.
type JobView int32
const (
// Default value.
JobView_JOB_VIEW_UNSPECIFIED JobView = 0
// A ID only view of job, with following attributes:
// [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
JobView_JOB_VIEW_ID_ONLY JobView = 1
// A minimal view of the job, with the following attributes:
// [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
// [Job.company][google.cloud.talent.v4beta1.Job.company], [Job.DerivedInfo.locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
JobView_JOB_VIEW_MINIMAL JobView = 2
// A small view of the job, with the following attributes in the search
// results: [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
// [Job.company][google.cloud.talent.v4beta1.Job.company], [Job.DerivedInfo.locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations], [Job.visibility][google.cloud.talent.v4beta1.Job.visibility],
// [Job.language_code][google.cloud.talent.v4beta1.Job.language_code], [Job.description][google.cloud.talent.v4beta1.Job.description].
JobView_JOB_VIEW_SMALL JobView = 3
// All available attributes are included in the search results.
JobView_JOB_VIEW_FULL JobView = 4
)
var JobView_name = map[int32]string{
0: "JOB_VIEW_UNSPECIFIED",
1: "JOB_VIEW_ID_ONLY",
2: "JOB_VIEW_MINIMAL",
3: "JOB_VIEW_SMALL",
4: "JOB_VIEW_FULL",
}
var JobView_value = map[string]int32{
"JOB_VIEW_UNSPECIFIED": 0,
"JOB_VIEW_ID_ONLY": 1,
"JOB_VIEW_MINIMAL": 2,
"JOB_VIEW_SMALL": 3,
"JOB_VIEW_FULL": 4,
}
func (x JobView) String() string {
return proto.EnumName(JobView_name, int32(x))
}
func (JobView) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{0}
}
// A string-represented enumeration of the job search mode. The service
// operate differently for different modes of service.
type SearchJobsRequest_SearchMode int32
const (
// The mode of the search method isn't specified. The default search
// behavior is identical to JOB_SEARCH search behavior.
SearchJobsRequest_SEARCH_MODE_UNSPECIFIED SearchJobsRequest_SearchMode = 0
// The job search matches against all jobs, and featured jobs
// (jobs with promotionValue > 0) are not specially handled.
SearchJobsRequest_JOB_SEARCH SearchJobsRequest_SearchMode = 1
// The job search matches only against featured jobs (jobs with a
// promotionValue > 0). This method doesn't return any jobs having a
// promotionValue <= 0. The search results order is determined by the
// promotionValue (jobs with a higher promotionValue are returned higher up
// in the search results), with relevance being used as a tiebreaker.
SearchJobsRequest_FEATURED_JOB_SEARCH SearchJobsRequest_SearchMode = 2
)
var SearchJobsRequest_SearchMode_name = map[int32]string{
0: "SEARCH_MODE_UNSPECIFIED",
1: "JOB_SEARCH",
2: "FEATURED_JOB_SEARCH",
}
var SearchJobsRequest_SearchMode_value = map[string]int32{
"SEARCH_MODE_UNSPECIFIED": 0,
"JOB_SEARCH": 1,
"FEATURED_JOB_SEARCH": 2,
}
func (x SearchJobsRequest_SearchMode) String() string {
return proto.EnumName(SearchJobsRequest_SearchMode_name, int32(x))
}
func (SearchJobsRequest_SearchMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{7, 0}
}
// Controls whether highly similar jobs are returned next to each other in
// the search results. Jobs are identified as highly similar based on
// their titles, job categories, and locations. Highly similar results are
// clustered so that only one representative job of the cluster is
// displayed to the job seeker higher up in the results, with the other jobs
// being displayed lower down in the results.
type SearchJobsRequest_DiversificationLevel int32
const (
// The diversification level isn't specified.
SearchJobsRequest_DIVERSIFICATION_LEVEL_UNSPECIFIED SearchJobsRequest_DiversificationLevel = 0
// Disables diversification. Jobs that would normally be pushed to the last
// page would not have their positions altered. This may result in highly
// similar jobs appearing in sequence in the search results.
SearchJobsRequest_DISABLED SearchJobsRequest_DiversificationLevel = 1
// Default diversifying behavior. The result list is ordered so that
// highly similar results are pushed to the end of the last page of search
// results. If you are using pageToken to page through the result set,
// latency might be lower but we can't guarantee that all results are
// returned. If you are using page offset, latency might be higher but all
// results are returned.
SearchJobsRequest_SIMPLE SearchJobsRequest_DiversificationLevel = 2
)
var SearchJobsRequest_DiversificationLevel_name = map[int32]string{
0: "DIVERSIFICATION_LEVEL_UNSPECIFIED",
1: "DISABLED",
2: "SIMPLE",
}
var SearchJobsRequest_DiversificationLevel_value = map[string]int32{
"DIVERSIFICATION_LEVEL_UNSPECIFIED": 0,
"DISABLED": 1,
"SIMPLE": 2,
}
func (x SearchJobsRequest_DiversificationLevel) String() string {
return proto.EnumName(SearchJobsRequest_DiversificationLevel_name, int32(x))
}
func (SearchJobsRequest_DiversificationLevel) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{7, 1}
}
// The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression].
type SearchJobsRequest_CustomRankingInfo_ImportanceLevel int32
const (
// Default value if the importance level isn't specified.
SearchJobsRequest_CustomRankingInfo_IMPORTANCE_LEVEL_UNSPECIFIED SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 0
// The given ranking expression is of None importance, existing relevance
// score (determined by API algorithm) dominates job's final ranking
// position.
SearchJobsRequest_CustomRankingInfo_NONE SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 1
// The given ranking expression is of Low importance in terms of job's
// final ranking position compared to existing relevance
// score (determined by API algorithm).
SearchJobsRequest_CustomRankingInfo_LOW SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 2
// The given ranking expression is of Mild importance in terms of job's
// final ranking position compared to existing relevance
// score (determined by API algorithm).
SearchJobsRequest_CustomRankingInfo_MILD SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 3
// The given ranking expression is of Medium importance in terms of job's
// final ranking position compared to existing relevance
// score (determined by API algorithm).
SearchJobsRequest_CustomRankingInfo_MEDIUM SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 4
// The given ranking expression is of High importance in terms of job's
// final ranking position compared to existing relevance
// score (determined by API algorithm).
SearchJobsRequest_CustomRankingInfo_HIGH SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 5
// The given ranking expression is of Extreme importance, and dominates
// job's final ranking position with existing relevance
// score (determined by API algorithm) ignored.
SearchJobsRequest_CustomRankingInfo_EXTREME SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 6
)
var SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name = map[int32]string{
0: "IMPORTANCE_LEVEL_UNSPECIFIED",
1: "NONE",
2: "LOW",
3: "MILD",
4: "MEDIUM",
5: "HIGH",
6: "EXTREME",
}
var SearchJobsRequest_CustomRankingInfo_ImportanceLevel_value = map[string]int32{
"IMPORTANCE_LEVEL_UNSPECIFIED": 0,
"NONE": 1,
"LOW": 2,
"MILD": 3,
"MEDIUM": 4,
"HIGH": 5,
"EXTREME": 6,
}
func (x SearchJobsRequest_CustomRankingInfo_ImportanceLevel) String() string {
return proto.EnumName(SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name, int32(x))
}
func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{7, 0, 0}
}
// Create job request.
type CreateJobRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenant/bar". If tenant id is unspecified a default tenant
// is created. For example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The Job to be created.
Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateJobRequest) Reset() { *m = CreateJobRequest{} }
func (m *CreateJobRequest) String() string { return proto.CompactTextString(m) }
func (*CreateJobRequest) ProtoMessage() {}
func (*CreateJobRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{0}
}
func (m *CreateJobRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateJobRequest.Unmarshal(m, b)
}
func (m *CreateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateJobRequest.Marshal(b, m, deterministic)
}
func (m *CreateJobRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateJobRequest.Merge(m, src)
}
func (m *CreateJobRequest) XXX_Size() int {
return xxx_messageInfo_CreateJobRequest.Size(m)
}
func (m *CreateJobRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateJobRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateJobRequest proto.InternalMessageInfo
func (m *CreateJobRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateJobRequest) GetJob() *Job {
if m != nil {
return m.Job
}
return nil
}
// Get job request.
type GetJobRequest struct {
// Required. The resource name of the job to retrieve.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
// example, "projects/foo/tenants/bar/jobs/baz".
//
// If tenant id is unspecified, the default tenant is used. For
// example, "projects/foo/jobs/bar".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetJobRequest) Reset() { *m = GetJobRequest{} }
func (m *GetJobRequest) String() string { return proto.CompactTextString(m) }
func (*GetJobRequest) ProtoMessage() {}
func (*GetJobRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{1}
}
func (m *GetJobRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetJobRequest.Unmarshal(m, b)
}
func (m *GetJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetJobRequest.Marshal(b, m, deterministic)
}
func (m *GetJobRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetJobRequest.Merge(m, src)
}
func (m *GetJobRequest) XXX_Size() int {
return xxx_messageInfo_GetJobRequest.Size(m)
}
func (m *GetJobRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetJobRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetJobRequest proto.InternalMessageInfo
func (m *GetJobRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Update job request.
type UpdateJobRequest struct {
// Required. The Job to be updated.
Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
// Strongly recommended for the best service experience.
//
// If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
// [job][google.cloud.talent.v4beta1.UpdateJobRequest.job] are updated. Otherwise all the fields are updated.
//
// A field mask to restrict the fields that are updated. Only
// top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateJobRequest) Reset() { *m = UpdateJobRequest{} }
func (m *UpdateJobRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateJobRequest) ProtoMessage() {}
func (*UpdateJobRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{2}
}
func (m *UpdateJobRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateJobRequest.Unmarshal(m, b)
}
func (m *UpdateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateJobRequest.Marshal(b, m, deterministic)
}
func (m *UpdateJobRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateJobRequest.Merge(m, src)
}
func (m *UpdateJobRequest) XXX_Size() int {
return xxx_messageInfo_UpdateJobRequest.Size(m)
}
func (m *UpdateJobRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateJobRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateJobRequest proto.InternalMessageInfo
func (m *UpdateJobRequest) GetJob() *Job {
if m != nil {
return m.Job
}
return nil
}
func (m *UpdateJobRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// Delete job request.
type DeleteJobRequest struct {
// Required. The resource name of the job to be deleted.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
// example, "projects/foo/tenants/bar/jobs/baz".
//
// If tenant id is unspecified, the default tenant is used. For
// example, "projects/foo/jobs/bar".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteJobRequest) Reset() { *m = DeleteJobRequest{} }
func (m *DeleteJobRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteJobRequest) ProtoMessage() {}
func (*DeleteJobRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{3}
}
func (m *DeleteJobRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteJobRequest.Unmarshal(m, b)
}
func (m *DeleteJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteJobRequest.Marshal(b, m, deterministic)
}
func (m *DeleteJobRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteJobRequest.Merge(m, src)
}
func (m *DeleteJobRequest) XXX_Size() int {
return xxx_messageInfo_DeleteJobRequest.Size(m)
}
func (m *DeleteJobRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteJobRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteJobRequest proto.InternalMessageInfo
func (m *DeleteJobRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Batch delete jobs request.
type BatchDeleteJobsRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
// is created. For example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The filter string specifies the jobs to be deleted.
//
// Supported operator: =, AND
//
// The fields eligible for filtering are:
//
// * `companyName` (Required)
// * `requisitionId` (Required)
//
// Sample Query: companyName = "projects/foo/companies/bar" AND
// requisitionId = "req-1"
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchDeleteJobsRequest) Reset() { *m = BatchDeleteJobsRequest{} }
func (m *BatchDeleteJobsRequest) String() string { return proto.CompactTextString(m) }
func (*BatchDeleteJobsRequest) ProtoMessage() {}
func (*BatchDeleteJobsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{4}
}
func (m *BatchDeleteJobsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchDeleteJobsRequest.Unmarshal(m, b)
}
func (m *BatchDeleteJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchDeleteJobsRequest.Marshal(b, m, deterministic)
}
func (m *BatchDeleteJobsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchDeleteJobsRequest.Merge(m, src)
}
func (m *BatchDeleteJobsRequest) XXX_Size() int {
return xxx_messageInfo_BatchDeleteJobsRequest.Size(m)
}
func (m *BatchDeleteJobsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchDeleteJobsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchDeleteJobsRequest proto.InternalMessageInfo
func (m *BatchDeleteJobsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *BatchDeleteJobsRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
// List jobs request.
type ListJobsRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
// is created. For example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The filter string specifies the jobs to be enumerated.
//
// Supported operator: =, AND
//
// The fields eligible for filtering are:
//
// * `companyName` (Required)
// * `requisitionId`
// * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
// OPEN if no value is specified.
//
// Sample Query:
//
// * companyName = "projects/foo/tenants/bar/companies/baz"
// * companyName = "projects/foo/tenants/bar/companies/baz" AND
// requisitionId = "req-1"
// * companyName = "projects/foo/tenants/bar/companies/baz" AND
// status = "EXPIRED"
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// The starting point of a query result.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The maximum number of jobs to be returned per page of results.
//
// If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
// page size is 1000. Otherwise, the maximum allowed page size is 100.
//
// Default is 100 if empty or a number < 1 is specified.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The desired job attributes returned for jobs in the
// search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
// specified.
JobView JobView `protobuf:"varint,5,opt,name=job_view,json=jobView,proto3,enum=google.cloud.talent.v4beta1.JobView" json:"job_view,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListJobsRequest) Reset() { *m = ListJobsRequest{} }
func (m *ListJobsRequest) String() string { return proto.CompactTextString(m) }
func (*ListJobsRequest) ProtoMessage() {}
func (*ListJobsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{5}
}
func (m *ListJobsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListJobsRequest.Unmarshal(m, b)
}
func (m *ListJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListJobsRequest.Marshal(b, m, deterministic)
}
func (m *ListJobsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListJobsRequest.Merge(m, src)
}
func (m *ListJobsRequest) XXX_Size() int {
return xxx_messageInfo_ListJobsRequest.Size(m)
}
func (m *ListJobsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListJobsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListJobsRequest proto.InternalMessageInfo
func (m *ListJobsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListJobsRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListJobsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *ListJobsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListJobsRequest) GetJobView() JobView {
if m != nil {
return m.JobView
}
return JobView_JOB_VIEW_UNSPECIFIED
}
// List jobs response.
type ListJobsResponse struct {
// The Jobs for a given company.
//
// The maximum number of items returned is based on the limit field
// provided in the request.
Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
// A token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Additional information for the API invocation, such as the request
// tracking id.
Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListJobsResponse) Reset() { *m = ListJobsResponse{} }
func (m *ListJobsResponse) String() string { return proto.CompactTextString(m) }
func (*ListJobsResponse) ProtoMessage() {}
func (*ListJobsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{6}
}
func (m *ListJobsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListJobsResponse.Unmarshal(m, b)
}
func (m *ListJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListJobsResponse.Marshal(b, m, deterministic)
}
func (m *ListJobsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListJobsResponse.Merge(m, src)
}
func (m *ListJobsResponse) XXX_Size() int {
return xxx_messageInfo_ListJobsResponse.Size(m)
}
func (m *ListJobsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListJobsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListJobsResponse proto.InternalMessageInfo
func (m *ListJobsResponse) GetJobs() []*Job {
if m != nil {
return m.Jobs
}
return nil
}
func (m *ListJobsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
func (m *ListJobsResponse) GetMetadata() *ResponseMetadata {
if m != nil {
return m.Metadata
}
return nil
}
// The Request body of the `SearchJobs` call.
type SearchJobsRequest struct {
// Required. The resource name of the tenant to search within.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
// is created. For example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Mode of a search.
//
// Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
SearchMode SearchJobsRequest_SearchMode `protobuf:"varint,2,opt,name=search_mode,json=searchMode,proto3,enum=google.cloud.talent.v4beta1.SearchJobsRequest_SearchMode" json:"search_mode,omitempty"`
// Required. The meta information collected about the job searcher, used to improve the
// search quality of the service. The identifiers (such as `user_id`) are
// provided by users, and must be unique and consistent.
RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
// Query used to search against jobs, such as keyword, location filters, etc.
JobQuery *JobQuery `protobuf:"bytes,4,opt,name=job_query,json=jobQuery,proto3" json:"job_query,omitempty"`
// Controls whether to broaden the search when it produces sparse results.
// Broadened queries append results to the end of the matching results
// list.
//
// Defaults to false.
EnableBroadening bool `protobuf:"varint,5,opt,name=enable_broadening,json=enableBroadening,proto3" json:"enable_broadening,omitempty"`
// Controls if the search job request requires the return of a precise
// count of the first 300 results. Setting this to `true` ensures
// consistency in the number of results per page. Best practice is to set this
// value to true if a client allows users to jump directly to a
// non-sequential search results page.
//
// Enabling this flag may adversely impact performance.
//
// Defaults to false.
RequirePreciseResultSize bool `protobuf:"varint,6,opt,name=require_precise_result_size,json=requirePreciseResultSize,proto3" json:"require_precise_result_size,omitempty"`
// An expression specifies a histogram request against matching jobs.
//
// Expression syntax is an aggregation function call with histogram facets and
// other options.
//
// Available aggregation function calls are:
// * `count(string_histogram_facet)`: Count the number of matching entities,
// for each distinct attribute value.
// * `count(numeric_histogram_facet, list of buckets)`: Count the number of
// matching entities within each bucket.
//
// Data types:
//
// * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
// * String: string like "any string with backslash escape for quote(\")."
// * Number: whole number and floating point number like 10, -1 and -0.01.
// * List: list of elements with comma(,) separator surrounded by square
// brackets, for example, [1, 2, 3] and ["one", "two", "three"].
//
// Built-in constants:
//
// * MIN (minimum number similar to java Double.MIN_VALUE)
// * MAX (maximum number similar to java Double.MAX_VALUE)
//
// Built-in functions:
//
// * bucket(start, end[, label]): bucket built-in function creates a bucket
// with range of [start, end). Note that the end is exclusive, for example,
// bucket(1, MAX, "positive number") or bucket(1, 10).
//
// Job histogram facets:
//
// * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
// * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
// "FULL_TIME", "PART_TIME".
// * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
// "MEDIUM", "BIG".
// * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
// in months.
// Must specify list of numeric buckets in spec.
// * publish_time_in_year: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
// in years.
// Must specify list of numeric buckets in spec.
// * degree_types: histogram by the [Job.degree_types][google.cloud.talent.v4beta1.Job.degree_types], for example,
// "Bachelors", "Masters".
// * job_level: histogram by the [Job.job_level][google.cloud.talent.v4beta1.Job.job_level], for example, "Entry
// Level".
// * country: histogram by the country code of jobs, for example, "US", "FR".
// * admin1: histogram by the admin1 code of jobs, which is a global
// placeholder referring to the state, province, or the particular term a
// country uses to define the geographic structure below the country level,
// for example, "CA", "IL".
// * city: histogram by a combination of the "city name, admin1 code". For
// example, "Mountain View, CA", "New York, NY".
// * admin1_country: histogram by a combination of the "admin1 code, country",
// for example, "CA, US", "IL, US".
// * city_coordinate: histogram by the city center's GPS coordinates (latitude
// and longitude), for example, 37.4038522,-122.0987765. Since the
// coordinates of a city center can change, customers may need to refresh
// them periodically.
// * locale: histogram by the [Job.language_code][google.cloud.talent.v4beta1.Job.language_code], for example, "en-US",
// "fr-FR".
// * language: histogram by the language subtag of the [Job.language_code][google.cloud.talent.v4beta1.Job.language_code],
// for example, "en", "fr".
// * category: histogram by the [JobCategory][google.cloud.talent.v4beta1.JobCategory], for example,
// "COMPUTER_AND_IT", "HEALTHCARE".
// * base_compensation_unit: histogram by the
// [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit] of base
// salary, for example, "WEEKLY", "MONTHLY".
// * base_compensation: histogram by the base salary. Must specify list of
// numeric buckets to group results by.
// * annualized_base_compensation: histogram by the base annualized salary.
// Must specify list of numeric buckets to group results by.
// * annualized_total_compensation: histogram by the total annualized salary.
// Must specify list of numeric buckets to group results by.
// * string_custom_attribute: histogram by string [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes].
// Values can be accessed via square bracket notations like
// string_custom_attribute["key1"].
// * numeric_custom_attribute: histogram by numeric [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes].
// Values can be accessed via square bracket notations like
// numeric_custom_attribute["key1"]. Must specify list of numeric buckets to
// group results by.
//
// Example expressions:
//
// * `count(admin1)`
// * `count(base_compensation, [bucket(1000, 10000), bucket(10000, 100000),
// bucket(100000, MAX)])`
// * `count(string_custom_attribute["some-string-custom-attribute"])`
// * `count(numeric_custom_attribute["some-numeric-custom-attribute"],
// [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])`
HistogramQueries []*HistogramQuery `protobuf:"bytes,7,rep,name=histogram_queries,json=histogramQueries,proto3" json:"histogram_queries,omitempty"`
// The desired job attributes returned for jobs in the search response.
// Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
JobView JobView `protobuf:"varint,8,opt,name=job_view,json=jobView,proto3,enum=google.cloud.talent.v4beta1.JobView" json:"job_view,omitempty"`
// An integer that specifies the current offset (that is, starting result
// location, amongst the jobs deemed by the API as relevant) in search
// results. This field is only considered if [page_token][google.cloud.talent.v4beta1.SearchJobsRequest.page_token] is unset.
//
// The maximum allowed value is 5000. Otherwise an error is thrown.
//
// The maximum allowed value is 5000. Otherwise an error is thrown.
//
// For example, 0 means to return results starting from the first matching
// job, and 10 means to return from the 11th job. This can be used for
// pagination, (for example, pageSize = 10 and offset = 10 means to return
// from the second page).
Offset int32 `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"`
// A limit on the number of jobs returned in the search results.
// Increasing this value above the default value of 10 can increase search
// response time. The value can be between 1 and 100.
PageSize int32 `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The token specifying the current offset within
// search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
// an explanation of how to obtain the next set of query results.
PageToken string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The criteria determining how search results are sorted. Default is
// `"relevance desc"`.
//
// Supported options are:
//
// * `"relevance desc"`: By relevance descending, as determined by the API
// algorithms. Relevance thresholding of query results is only available
// with this ordering.
// * `"posting_publish_time desc"`: By [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
// descending.
// * `"posting_update_time desc"`: By [Job.posting_update_time][google.cloud.talent.v4beta1.Job.posting_update_time]
// descending.
// * `"title"`: By [Job.title][google.cloud.talent.v4beta1.Job.title] ascending.
// * `"title desc"`: By [Job.title][google.cloud.talent.v4beta1.Job.title] descending.
// * `"annualized_base_compensation"`: By job's
// [CompensationInfo.annualized_base_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_base_compensation_range] ascending. Jobs
// whose annualized base compensation is unspecified are put at the end of
// search results.
// * `"annualized_base_compensation desc"`: By job's
// [CompensationInfo.annualized_base_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_base_compensation_range] descending. Jobs
// whose annualized base compensation is unspecified are put at the end of
// search results.
// * `"annualized_total_compensation"`: By job's
// [CompensationInfo.annualized_total_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_total_compensation_range] ascending. Jobs
// whose annualized base compensation is unspecified are put at the end of
// search results.
// * `"annualized_total_compensation desc"`: By job's
// [CompensationInfo.annualized_total_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_total_compensation_range] descending. Jobs
// whose annualized base compensation is unspecified are put at the end of
// search results.
// * `"custom_ranking desc"`: By the relevance score adjusted to the
// [SearchJobsRequest.CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] with weight
// factor assigned by
// [SearchJobsRequest.CustomRankingInfo.importance_level][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.importance_level] in descending
// order.
// * Location sorting: Use the special syntax to order jobs by distance:<br>
// `"distance_from('Hawaii')"`: Order by distance from Hawaii.<br>
// `"distance_from(19.89, 155.5)"`: Order by distance from a coordinate.<br>
// `"distance_from('Hawaii'), distance_from('Puerto Rico')"`: Order by
// multiple locations. See details below.<br>
// `"distance_from('Hawaii'), distance_from(19.89, 155.5)"`: Order by
// multiple locations. See details below.<br>
// The string can have a maximum of 256 characters. When multiple distance
// centers are provided, a job that is close to any of the distance centers
// would have a high rank. When a job has multiple locations, the job
// location closest to one of the distance centers will be used. Jobs that
// don't have locations will be ranked at the bottom. Distance is calculated
// with a precision of 11.3 meters (37.4 feet). Diversification strategy is
// still applied unless explicitly disabled in
// [diversification_level][google.cloud.talent.v4beta1.SearchJobsRequest.diversification_level].
OrderBy string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Controls whether highly similar jobs are returned next to each other in
// the search results. Jobs are identified as highly similar based on
// their titles, job categories, and locations. Highly similar results are
// clustered so that only one representative job of the cluster is
// displayed to the job seeker higher up in the results, with the other jobs
// being displayed lower down in the results.
//
// Defaults to [DiversificationLevel.SIMPLE][google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.SIMPLE] if no value
// is specified.
DiversificationLevel SearchJobsRequest_DiversificationLevel `protobuf:"varint,13,opt,name=diversification_level,json=diversificationLevel,proto3,enum=google.cloud.talent.v4beta1.SearchJobsRequest_DiversificationLevel" json:"diversification_level,omitempty"`
// Controls over how job documents get ranked on top of existing relevance
// score (determined by API algorithm).
CustomRankingInfo *SearchJobsRequest_CustomRankingInfo `protobuf:"bytes,14,opt,name=custom_ranking_info,json=customRankingInfo,proto3" json:"custom_ranking_info,omitempty"`
// Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4beta1.Job.title],
// [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
// [Job.qualifications][google.cloud.talent.v4beta1.Job.qualifications]. When disable keyword match is turned off, a
// keyword match returns jobs that do not match given category filters when
// there are matching keywords. For example, for the query "program manager,"
// a result is returned even if the job posting has the title "software
// developer," which doesn't fall into "program manager" ontology, but does
// have "program manager" appearing in its description.
//
// For queries like "cloud" that don't contain title or
// location specific ontology, jobs with "cloud" keyword matches are returned
// regardless of this flag's value.
//
// Use [Company.keyword_searchable_job_custom_attributes][google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes] if
// company-specific globally matched custom field/attribute string values are
// needed. Enabling keyword match improves recall of subsequent search
// requests.
//
// Defaults to false.
DisableKeywordMatch bool `protobuf:"varint,16,opt,name=disable_keyword_match,json=disableKeywordMatch,proto3" json:"disable_keyword_match,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SearchJobsRequest) Reset() { *m = SearchJobsRequest{} }
func (m *SearchJobsRequest) String() string { return proto.CompactTextString(m) }
func (*SearchJobsRequest) ProtoMessage() {}
func (*SearchJobsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{7}
}
func (m *SearchJobsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SearchJobsRequest.Unmarshal(m, b)
}
func (m *SearchJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SearchJobsRequest.Marshal(b, m, deterministic)
}
func (m *SearchJobsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SearchJobsRequest.Merge(m, src)
}
func (m *SearchJobsRequest) XXX_Size() int {
return xxx_messageInfo_SearchJobsRequest.Size(m)
}
func (m *SearchJobsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SearchJobsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SearchJobsRequest proto.InternalMessageInfo
func (m *SearchJobsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *SearchJobsRequest) GetSearchMode() SearchJobsRequest_SearchMode {
if m != nil {
return m.SearchMode
}
return SearchJobsRequest_SEARCH_MODE_UNSPECIFIED
}
func (m *SearchJobsRequest) GetRequestMetadata() *RequestMetadata {
if m != nil {
return m.RequestMetadata
}
return nil
}
func (m *SearchJobsRequest) GetJobQuery() *JobQuery {
if m != nil {
return m.JobQuery
}
return nil
}
func (m *SearchJobsRequest) GetEnableBroadening() bool {
if m != nil {
return m.EnableBroadening
}
return false
}
func (m *SearchJobsRequest) GetRequirePreciseResultSize() bool {
if m != nil {
return m.RequirePreciseResultSize
}
return false
}
func (m *SearchJobsRequest) GetHistogramQueries() []*HistogramQuery {
if m != nil {
return m.HistogramQueries
}
return nil
}
func (m *SearchJobsRequest) GetJobView() JobView {
if m != nil {
return m.JobView
}
return JobView_JOB_VIEW_UNSPECIFIED
}
func (m *SearchJobsRequest) GetOffset() int32 {
if m != nil {
return m.Offset
}
return 0
}
func (m *SearchJobsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *SearchJobsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *SearchJobsRequest) GetOrderBy() string {
if m != nil {
return m.OrderBy
}
return ""
}
func (m *SearchJobsRequest) GetDiversificationLevel() SearchJobsRequest_DiversificationLevel {
if m != nil {
return m.DiversificationLevel
}
return SearchJobsRequest_DIVERSIFICATION_LEVEL_UNSPECIFIED
}
func (m *SearchJobsRequest) GetCustomRankingInfo() *SearchJobsRequest_CustomRankingInfo {
if m != nil {
return m.CustomRankingInfo
}
return nil
}
func (m *SearchJobsRequest) GetDisableKeywordMatch() bool {
if m != nil {
return m.DisableKeywordMatch
}
return false
}
// Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
type SearchJobsRequest_CustomRankingInfo struct {
// Required. Controls over how important the score of
// [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
// ranking position.
//
// An error is thrown if not specified.
ImportanceLevel SearchJobsRequest_CustomRankingInfo_ImportanceLevel `protobuf:"varint,1,opt,name=importance_level,json=importanceLevel,proto3,enum=google.cloud.talent.v4beta1.SearchJobsRequest_CustomRankingInfo_ImportanceLevel" json:"importance_level,omitempty"`
// Required. Controls over how job documents get ranked on top of existing
// relevance score (determined by API algorithm). A combination of the
// ranking expression and relevance score is used to determine job's final
// ranking position.
//
// The syntax for this expression is a subset of Google SQL syntax.
//
// Supported operators are: +, -, *, /, where the left and right side of
// the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] key,
// integer/double value or an expression that can be evaluated to a number.
//
// Parenthesis are supported to adjust calculation precedence. The
// expression must be < 100 characters in length.
//
// The expression is considered invalid for a job if the expression
// references custom attributes that are not populated on the job or if the
// expression results in a divide by zero. If an expression is invalid for a
// job, that job is demoted to the end of the results.
//
// Sample ranking expression
// (year + 25) * 0.25 - (freshness / 0.5)
RankingExpression string `protobuf:"bytes,2,opt,name=ranking_expression,json=rankingExpression,proto3" json:"ranking_expression,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SearchJobsRequest_CustomRankingInfo) Reset() { *m = SearchJobsRequest_CustomRankingInfo{} }
func (m *SearchJobsRequest_CustomRankingInfo) String() string { return proto.CompactTextString(m) }
func (*SearchJobsRequest_CustomRankingInfo) ProtoMessage() {}
func (*SearchJobsRequest_CustomRankingInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{7, 0}
}
func (m *SearchJobsRequest_CustomRankingInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Unmarshal(m, b)
}
func (m *SearchJobsRequest_CustomRankingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Marshal(b, m, deterministic)
}
func (m *SearchJobsRequest_CustomRankingInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Merge(m, src)
}
func (m *SearchJobsRequest_CustomRankingInfo) XXX_Size() int {
return xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Size(m)
}
func (m *SearchJobsRequest_CustomRankingInfo) XXX_DiscardUnknown() {
xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.DiscardUnknown(m)
}
var xxx_messageInfo_SearchJobsRequest_CustomRankingInfo proto.InternalMessageInfo
func (m *SearchJobsRequest_CustomRankingInfo) GetImportanceLevel() SearchJobsRequest_CustomRankingInfo_ImportanceLevel {
if m != nil {
return m.ImportanceLevel
}
return SearchJobsRequest_CustomRankingInfo_IMPORTANCE_LEVEL_UNSPECIFIED
}
func (m *SearchJobsRequest_CustomRankingInfo) GetRankingExpression() string {
if m != nil {
return m.RankingExpression
}
return ""
}
// Response for SearchJob method.
type SearchJobsResponse struct {
// The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
MatchingJobs []*SearchJobsResponse_MatchingJob `protobuf:"bytes,1,rep,name=matching_jobs,json=matchingJobs,proto3" json:"matching_jobs,omitempty"`
// The histogram results that match with specified
// [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
HistogramQueryResults []*HistogramQueryResult `protobuf:"bytes,2,rep,name=histogram_query_results,json=histogramQueryResults,proto3" json:"histogram_query_results,omitempty"`
// The token that specifies the starting position of the next page of results.
// This field is empty if there are no more results.
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// The location filters that the service applied to the specified query. If
// any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
// [Location.LocationType.LOCATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED].
LocationFilters []*Location `protobuf:"bytes,4,rep,name=location_filters,json=locationFilters,proto3" json:"location_filters,omitempty"`
// An estimation of the number of jobs that match the specified query.
//
// This number isn't guaranteed to be accurate. For accurate results,
// see [SearchJobsRequest.require_precise_result_size][google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size].
EstimatedTotalSize int32 `protobuf:"varint,5,opt,name=estimated_total_size,json=estimatedTotalSize,proto3" json:"estimated_total_size,omitempty"`
// The precise result count, which is available only if the client set
// [SearchJobsRequest.require_precise_result_size][google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size] to `true`, or if the
// response is the last page of results. Otherwise, the value is `-1`.
TotalSize int32 `protobuf:"varint,6,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// Additional information for the API invocation, such as the request
// tracking id.
Metadata *ResponseMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
// If query broadening is enabled, we may append additional results from the
// broadened query. This number indicates how many of the jobs returned in the
// jobs field are from the broadened query. These results are always at the
// end of the jobs list. In particular, a value of 0, or if the field isn't
// set, all the jobs in the jobs list are from the original
// (without broadening) query. If this field is non-zero, subsequent requests
// with offset after this result set should contain all broadened results.
BroadenedQueryJobsCount int32 `protobuf:"varint,8,opt,name=broadened_query_jobs_count,json=broadenedQueryJobsCount,proto3" json:"broadened_query_jobs_count,omitempty"`
// The spell checking result, and correction.
SpellCorrection *SpellingCorrection `protobuf:"bytes,9,opt,name=spell_correction,json=spellCorrection,proto3" json:"spell_correction,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SearchJobsResponse) Reset() { *m = SearchJobsResponse{} }
func (m *SearchJobsResponse) String() string { return proto.CompactTextString(m) }
func (*SearchJobsResponse) ProtoMessage() {}
func (*SearchJobsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{8}
}
func (m *SearchJobsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SearchJobsResponse.Unmarshal(m, b)
}
func (m *SearchJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SearchJobsResponse.Marshal(b, m, deterministic)
}
func (m *SearchJobsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SearchJobsResponse.Merge(m, src)
}
func (m *SearchJobsResponse) XXX_Size() int {
return xxx_messageInfo_SearchJobsResponse.Size(m)
}
func (m *SearchJobsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SearchJobsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SearchJobsResponse proto.InternalMessageInfo
func (m *SearchJobsResponse) GetMatchingJobs() []*SearchJobsResponse_MatchingJob {
if m != nil {
return m.MatchingJobs
}
return nil
}
func (m *SearchJobsResponse) GetHistogramQueryResults() []*HistogramQueryResult {
if m != nil {
return m.HistogramQueryResults
}
return nil
}
func (m *SearchJobsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
func (m *SearchJobsResponse) GetLocationFilters() []*Location {
if m != nil {
return m.LocationFilters
}
return nil
}
func (m *SearchJobsResponse) GetEstimatedTotalSize() int32 {
if m != nil {
return m.EstimatedTotalSize
}
return 0
}
func (m *SearchJobsResponse) GetTotalSize() int32 {
if m != nil {
return m.TotalSize
}
return 0
}
func (m *SearchJobsResponse) GetMetadata() *ResponseMetadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *SearchJobsResponse) GetBroadenedQueryJobsCount() int32 {
if m != nil {
return m.BroadenedQueryJobsCount
}
return 0
}
func (m *SearchJobsResponse) GetSpellCorrection() *SpellingCorrection {
if m != nil {
return m.SpellCorrection
}
return nil
}
// Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse].
type SearchJobsResponse_MatchingJob struct {
// Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
// A summary of the job with core information that's displayed on the search
// results listing page.
JobSummary string `protobuf:"bytes,2,opt,name=job_summary,json=jobSummary,proto3" json:"job_summary,omitempty"`
// Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
// closely matching a search query's keywords, if available. The matching
// query keywords are enclosed in HTML bold tags.
JobTitleSnippet string `protobuf:"bytes,3,opt,name=job_title_snippet,json=jobTitleSnippet,proto3" json:"job_title_snippet,omitempty"`
// Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
// fields that most closely match a search query's keywords, if available.
// All HTML tags in the original fields are stripped when returned in this
// field, and matching query keywords are enclosed in HTML bold tags.
SearchTextSnippet string `protobuf:"bytes,4,opt,name=search_text_snippet,json=searchTextSnippet,proto3" json:"search_text_snippet,omitempty"`
// Commute information which is generated based on specified
// [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
CommuteInfo *SearchJobsResponse_CommuteInfo `protobuf:"bytes,5,opt,name=commute_info,json=commuteInfo,proto3" json:"commute_info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SearchJobsResponse_MatchingJob) Reset() { *m = SearchJobsResponse_MatchingJob{} }
func (m *SearchJobsResponse_MatchingJob) String() string { return proto.CompactTextString(m) }
func (*SearchJobsResponse_MatchingJob) ProtoMessage() {}
func (*SearchJobsResponse_MatchingJob) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{8, 0}
}
func (m *SearchJobsResponse_MatchingJob) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SearchJobsResponse_MatchingJob.Unmarshal(m, b)
}
func (m *SearchJobsResponse_MatchingJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SearchJobsResponse_MatchingJob.Marshal(b, m, deterministic)
}
func (m *SearchJobsResponse_MatchingJob) XXX_Merge(src proto.Message) {
xxx_messageInfo_SearchJobsResponse_MatchingJob.Merge(m, src)
}
func (m *SearchJobsResponse_MatchingJob) XXX_Size() int {
return xxx_messageInfo_SearchJobsResponse_MatchingJob.Size(m)
}
func (m *SearchJobsResponse_MatchingJob) XXX_DiscardUnknown() {
xxx_messageInfo_SearchJobsResponse_MatchingJob.DiscardUnknown(m)
}
var xxx_messageInfo_SearchJobsResponse_MatchingJob proto.InternalMessageInfo
func (m *SearchJobsResponse_MatchingJob) GetJob() *Job {
if m != nil {
return m.Job
}
return nil
}
func (m *SearchJobsResponse_MatchingJob) GetJobSummary() string {
if m != nil {
return m.JobSummary
}
return ""
}
func (m *SearchJobsResponse_MatchingJob) GetJobTitleSnippet() string {
if m != nil {
return m.JobTitleSnippet
}
return ""
}
func (m *SearchJobsResponse_MatchingJob) GetSearchTextSnippet() string {
if m != nil {
return m.SearchTextSnippet
}
return ""
}
func (m *SearchJobsResponse_MatchingJob) GetCommuteInfo() *SearchJobsResponse_CommuteInfo {
if m != nil {
return m.CommuteInfo
}
return nil
}
// Commute details related to this job.
type SearchJobsResponse_CommuteInfo struct {
// Location used as the destination in the commute calculation.
JobLocation *Location `protobuf:"bytes,1,opt,name=job_location,json=jobLocation,proto3" json:"job_location,omitempty"`
// The number of seconds required to travel to the job location from the
// query location. A duration of 0 seconds indicates that the job isn't
// reachable within the requested duration, but was returned as part of an
// expanded query.
TravelDuration *duration.Duration `protobuf:"bytes,2,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SearchJobsResponse_CommuteInfo) Reset() { *m = SearchJobsResponse_CommuteInfo{} }
func (m *SearchJobsResponse_CommuteInfo) String() string { return proto.CompactTextString(m) }
func (*SearchJobsResponse_CommuteInfo) ProtoMessage() {}
func (*SearchJobsResponse_CommuteInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{8, 1}
}
func (m *SearchJobsResponse_CommuteInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SearchJobsResponse_CommuteInfo.Unmarshal(m, b)
}
func (m *SearchJobsResponse_CommuteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SearchJobsResponse_CommuteInfo.Marshal(b, m, deterministic)
}
func (m *SearchJobsResponse_CommuteInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_SearchJobsResponse_CommuteInfo.Merge(m, src)
}
func (m *SearchJobsResponse_CommuteInfo) XXX_Size() int {
return xxx_messageInfo_SearchJobsResponse_CommuteInfo.Size(m)
}
func (m *SearchJobsResponse_CommuteInfo) XXX_DiscardUnknown() {
xxx_messageInfo_SearchJobsResponse_CommuteInfo.DiscardUnknown(m)
}
var xxx_messageInfo_SearchJobsResponse_CommuteInfo proto.InternalMessageInfo
func (m *SearchJobsResponse_CommuteInfo) GetJobLocation() *Location {
if m != nil {
return m.JobLocation
}
return nil
}
func (m *SearchJobsResponse_CommuteInfo) GetTravelDuration() *duration.Duration {
if m != nil {
return m.TravelDuration
}
return nil
}
// Request to create a batch of jobs.
type BatchCreateJobsRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
// is created. For example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The jobs to be created.
Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchCreateJobsRequest) Reset() { *m = BatchCreateJobsRequest{} }
func (m *BatchCreateJobsRequest) String() string { return proto.CompactTextString(m) }
func (*BatchCreateJobsRequest) ProtoMessage() {}
func (*BatchCreateJobsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{9}
}
func (m *BatchCreateJobsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchCreateJobsRequest.Unmarshal(m, b)
}
func (m *BatchCreateJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchCreateJobsRequest.Marshal(b, m, deterministic)
}
func (m *BatchCreateJobsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchCreateJobsRequest.Merge(m, src)
}
func (m *BatchCreateJobsRequest) XXX_Size() int {
return xxx_messageInfo_BatchCreateJobsRequest.Size(m)
}
func (m *BatchCreateJobsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchCreateJobsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchCreateJobsRequest proto.InternalMessageInfo
func (m *BatchCreateJobsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *BatchCreateJobsRequest) GetJobs() []*Job {
if m != nil {
return m.Jobs
}
return nil
}
// Request to update a batch of jobs.
type BatchUpdateJobsRequest struct {
// Required. The resource name of the tenant under which the job is created.
//
// The format is "projects/{project_id}/tenants/{tenant_id}". For example,
// "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
// is created. For example, "projects/foo".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The jobs to be updated.
Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"`
// Strongly recommended for the best service experience. Be aware that it will
// also increase latency when checking the status of a batch operation.
//
// If [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in
// [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the fields are updated.
//
// A field mask to restrict the fields that are updated. Only
// top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported.
//
// If [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4beta1.Job] inside
// [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult]
// will only contains fields that is updated, plus the Id of the Job.
// Otherwise, [Job][google.cloud.talent.v4beta1.Job] will include all fields, which can yield a very
// large response.
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchUpdateJobsRequest) Reset() { *m = BatchUpdateJobsRequest{} }
func (m *BatchUpdateJobsRequest) String() string { return proto.CompactTextString(m) }
func (*BatchUpdateJobsRequest) ProtoMessage() {}
func (*BatchUpdateJobsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{10}
}
func (m *BatchUpdateJobsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchUpdateJobsRequest.Unmarshal(m, b)
}
func (m *BatchUpdateJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchUpdateJobsRequest.Marshal(b, m, deterministic)
}
func (m *BatchUpdateJobsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchUpdateJobsRequest.Merge(m, src)
}
func (m *BatchUpdateJobsRequest) XXX_Size() int {
return xxx_messageInfo_BatchUpdateJobsRequest.Size(m)
}
func (m *BatchUpdateJobsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchUpdateJobsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchUpdateJobsRequest proto.InternalMessageInfo
func (m *BatchUpdateJobsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *BatchUpdateJobsRequest) GetJobs() []*Job {
if m != nil {
return m.Jobs
}
return nil
}
func (m *BatchUpdateJobsRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// The result of [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] or
// [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to
// replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
type JobOperationResult struct {
// List of job mutation results from a batch mutate operation. It can change
// until operation status is FINISHED, FAILED or CANCELLED.
JobResults []*JobOperationResult_JobResult `protobuf:"bytes,1,rep,name=job_results,json=jobResults,proto3" json:"job_results,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *JobOperationResult) Reset() { *m = JobOperationResult{} }
func (m *JobOperationResult) String() string { return proto.CompactTextString(m) }
func (*JobOperationResult) ProtoMessage() {}
func (*JobOperationResult) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{11}
}
func (m *JobOperationResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_JobOperationResult.Unmarshal(m, b)
}
func (m *JobOperationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_JobOperationResult.Marshal(b, m, deterministic)
}
func (m *JobOperationResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_JobOperationResult.Merge(m, src)
}
func (m *JobOperationResult) XXX_Size() int {
return xxx_messageInfo_JobOperationResult.Size(m)
}
func (m *JobOperationResult) XXX_DiscardUnknown() {
xxx_messageInfo_JobOperationResult.DiscardUnknown(m)
}
var xxx_messageInfo_JobOperationResult proto.InternalMessageInfo
func (m *JobOperationResult) GetJobResults() []*JobOperationResult_JobResult {
if m != nil {
return m.JobResults
}
return nil
}
// Mutation result of a job.
type JobOperationResult_JobResult struct {
// Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
// [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
// and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], use getJob method to retrieve
// detailed information of the created/updated job.
Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
// The status of the job processed. This field is populated if the
// processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *JobOperationResult_JobResult) Reset() { *m = JobOperationResult_JobResult{} }
func (m *JobOperationResult_JobResult) String() string { return proto.CompactTextString(m) }
func (*JobOperationResult_JobResult) ProtoMessage() {}
func (*JobOperationResult_JobResult) Descriptor() ([]byte, []int) {
return fileDescriptor_0dfa8e10f7799e35, []int{11, 0}
}
func (m *JobOperationResult_JobResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_JobOperationResult_JobResult.Unmarshal(m, b)
}
func (m *JobOperationResult_JobResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_JobOperationResult_JobResult.Marshal(b, m, deterministic)
}
func (m *JobOperationResult_JobResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_JobOperationResult_JobResult.Merge(m, src)
}
func (m *JobOperationResult_JobResult) XXX_Size() int {
return xxx_messageInfo_JobOperationResult_JobResult.Size(m)
}
func (m *JobOperationResult_JobResult) XXX_DiscardUnknown() {
xxx_messageInfo_JobOperationResult_JobResult.DiscardUnknown(m)
}
var xxx_messageInfo_JobOperationResult_JobResult proto.InternalMessageInfo
func (m *JobOperationResult_JobResult) GetJob() *Job {
if m != nil {
return m.Job
}
return nil
}
func (m *JobOperationResult_JobResult) GetStatus() *status.Status {
if m != nil {
return m.Status
}
return nil
}
func init() {
proto.RegisterEnum("google.cloud.talent.v4beta1.JobView", JobView_name, JobView_value)
proto.RegisterEnum("google.cloud.talent.v4beta1.SearchJobsRequest_SearchMode", SearchJobsRequest_SearchMode_name, SearchJobsRequest_SearchMode_value)
proto.RegisterEnum("google.cloud.talent.v4beta1.SearchJobsRequest_DiversificationLevel", SearchJobsRequest_DiversificationLevel_name, SearchJobsRequest_DiversificationLevel_value)
proto.RegisterEnum("google.cloud.talent.v4beta1.SearchJobsRequest_CustomRankingInfo_ImportanceLevel", SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name, SearchJobsRequest_CustomRankingInfo_ImportanceLevel_value)
proto.RegisterType((*CreateJobRequest)(nil), "google.cloud.talent.v4beta1.CreateJobRequest")
proto.RegisterType((*GetJobRequest)(nil), "google.cloud.talent.v4beta1.GetJobRequest")
proto.RegisterType((*UpdateJobRequest)(nil), "google.cloud.talent.v4beta1.UpdateJobRequest")
proto.RegisterType((*DeleteJobRequest)(nil), "google.cloud.talent.v4beta1.DeleteJobRequest")
proto.RegisterType((*BatchDeleteJobsRequest)(nil), "google.cloud.talent.v4beta1.BatchDeleteJobsRequest")
proto.RegisterType((*ListJobsRequest)(nil), "google.cloud.talent.v4beta1.ListJobsRequest")
proto.RegisterType((*ListJobsResponse)(nil), "google.cloud.talent.v4beta1.ListJobsResponse")
proto.RegisterType((*SearchJobsRequest)(nil), "google.cloud.talent.v4beta1.SearchJobsRequest")
proto.RegisterType((*SearchJobsRequest_CustomRankingInfo)(nil), "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo")
proto.RegisterType((*SearchJobsResponse)(nil), "google.cloud.talent.v4beta1.SearchJobsResponse")
proto.RegisterType((*SearchJobsResponse_MatchingJob)(nil), "google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob")
proto.RegisterType((*SearchJobsResponse_CommuteInfo)(nil), "google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo")
proto.RegisterType((*BatchCreateJobsRequest)(nil), "google.cloud.talent.v4beta1.BatchCreateJobsRequest")
proto.RegisterType((*BatchUpdateJobsRequest)(nil), "google.cloud.talent.v4beta1.BatchUpdateJobsRequest")
proto.RegisterType((*JobOperationResult)(nil), "google.cloud.talent.v4beta1.JobOperationResult")
proto.RegisterType((*JobOperationResult_JobResult)(nil), "google.cloud.talent.v4beta1.JobOperationResult.JobResult")
}
func init() {
proto.RegisterFile("google/cloud/talent/v4beta1/job_service.proto", fileDescriptor_0dfa8e10f7799e35)
}
var fileDescriptor_0dfa8e10f7799e35 = []byte{
// 2217 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0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 0xef, 0x3c, 0x4c, 0x25, 0x85, 0x1c, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// JobServiceClient is the client API for JobService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type JobServiceClient interface {
// Creates a new job.
//
// Typically, the job becomes searchable within 10 seconds, but it may take
// up to 5 minutes.
CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error)
// Begins executing a batch create jobs operation.
BatchCreateJobs(ctx context.Context, in *BatchCreateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Retrieves the specified job, whose status is OPEN or recently EXPIRED
// within the last 90 days.
GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error)
// Updates specified job.
//
// Typically, updated contents become visible in search results within 10
// seconds, but it may take up to 5 minutes.
UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error)
// Begins executing a batch update jobs operation.
BatchUpdateJobs(ctx context.Context, in *BatchUpdateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Deletes the specified job.
//
// Typically, the job becomes unsearchable within 10 seconds, but it may take
// up to 5 minutes.
DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// Lists jobs by filter.
ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error)
// Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
//
// This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
// present in the database, and only returns jobs that the caller has
// permission to search against.
SearchJobs(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error)
// Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
//
// This API call is intended for the use case of targeting passive job
// seekers (for example, job seekers who have signed up to receive email
// alerts about potential job opportunities), and has different algorithmic
// adjustments that are targeted to passive job seekers.
//
// This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
// present in the database, and only returns jobs the caller has
// permission to search against.
SearchJobsForAlert(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error)
}
type jobServiceClient struct {
cc grpc.ClientConnInterface
}
func NewJobServiceClient(cc grpc.ClientConnInterface) JobServiceClient {
return &jobServiceClient{cc}
}
func (c *jobServiceClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) {
out := new(Job)
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/CreateJob", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *jobServiceClient) BatchCreateJobs(ctx context.Context, in *BatchCreateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
out := new(longrunning.Operation)
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/BatchCreateJobs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *jobServiceClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) {
out := new(Job)
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/GetJob", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *jobServiceClient) UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) {
out := new(Job)
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/UpdateJob", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *jobServiceClient) BatchUpdateJobs(ctx context.Context, in *BatchUpdateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
out := new(longrunning.Operation)
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/BatchUpdateJobs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *jobServiceClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/DeleteJob", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *jobServiceClient) BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/BatchDeleteJobs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *jobServiceClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) {
out := new(ListJobsResponse)
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/ListJobs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *jobServiceClient) SearchJobs(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error) {
out := new(SearchJobsResponse)
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/SearchJobs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *jobServiceClient) SearchJobsForAlert(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error) {
out := new(SearchJobsResponse)
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/SearchJobsForAlert", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// JobServiceServer is the server API for JobService service.
type JobServiceServer interface {
// Creates a new job.
//
// Typically, the job becomes searchable within 10 seconds, but it may take
// up to 5 minutes.
CreateJob(context.Context, *CreateJobRequest) (*Job, error)
// Begins executing a batch create jobs operation.
BatchCreateJobs(context.Context, *BatchCreateJobsRequest) (*longrunning.Operation, error)
// Retrieves the specified job, whose status is OPEN or recently EXPIRED
// within the last 90 days.
GetJob(context.Context, *GetJobRequest) (*Job, error)
// Updates specified job.
//
// Typically, updated contents become visible in search results within 10
// seconds, but it may take up to 5 minutes.
UpdateJob(context.Context, *UpdateJobRequest) (*Job, error)
// Begins executing a batch update jobs operation.
BatchUpdateJobs(context.Context, *BatchUpdateJobsRequest) (*longrunning.Operation, error)
// Deletes the specified job.
//
// Typically, the job becomes unsearchable within 10 seconds, but it may take
// up to 5 minutes.
DeleteJob(context.Context, *DeleteJobRequest) (*empty.Empty, error)
// Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
BatchDeleteJobs(context.Context, *BatchDeleteJobsRequest) (*empty.Empty, error)
// Lists jobs by filter.
ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
// Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
//
// This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
// present in the database, and only returns jobs that the caller has
// permission to search against.
SearchJobs(context.Context, *SearchJobsRequest) (*SearchJobsResponse, error)
// Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
//
// This API call is intended for the use case of targeting passive job
// seekers (for example, job seekers who have signed up to receive email
// alerts about potential job opportunities), and has different algorithmic
// adjustments that are targeted to passive job seekers.
//
// This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
// present in the database, and only returns jobs the caller has
// permission to search against.
SearchJobsForAlert(context.Context, *SearchJobsRequest) (*SearchJobsResponse, error)
}
// UnimplementedJobServiceServer can be embedded to have forward compatible implementations.
type UnimplementedJobServiceServer struct {
}
func (*UnimplementedJobServiceServer) CreateJob(ctx context.Context, req *CreateJobRequest) (*Job, error) {
return nil, status1.Errorf(codes.Unimplemented, "method CreateJob not implemented")
}
func (*UnimplementedJobServiceServer) BatchCreateJobs(ctx context.Context, req *BatchCreateJobsRequest) (*longrunning.Operation, error) {
return nil, status1.Errorf(codes.Unimplemented, "method BatchCreateJobs not implemented")
}
func (*UnimplementedJobServiceServer) GetJob(ctx context.Context, req *GetJobRequest) (*Job, error) {
return nil, status1.Errorf(codes.Unimplemented, "method GetJob not implemented")
}
func (*UnimplementedJobServiceServer) UpdateJob(ctx context.Context, req *UpdateJobRequest) (*Job, error) {
return nil, status1.Errorf(codes.Unimplemented, "method UpdateJob not implemented")
}
func (*UnimplementedJobServiceServer) BatchUpdateJobs(ctx context.Context, req *BatchUpdateJobsRequest) (*longrunning.Operation, error) {
return nil, status1.Errorf(codes.Unimplemented, "method BatchUpdateJobs not implemented")
}
func (*UnimplementedJobServiceServer) DeleteJob(ctx context.Context, req *DeleteJobRequest) (*empty.Empty, error) {
return nil, status1.Errorf(codes.Unimplemented, "method DeleteJob not implemented")
}
func (*UnimplementedJobServiceServer) BatchDeleteJobs(ctx context.Context, req *BatchDeleteJobsRequest) (*empty.Empty, error) {
return nil, status1.Errorf(codes.Unimplemented, "method BatchDeleteJobs not implemented")
}
func (*UnimplementedJobServiceServer) ListJobs(ctx context.Context, req *ListJobsRequest) (*ListJobsResponse, error) {
return nil, status1.Errorf(codes.Unimplemented, "method ListJobs not implemented")
}
func (*UnimplementedJobServiceServer) SearchJobs(ctx context.Context, req *SearchJobsRequest) (*SearchJobsResponse, error) {
return nil, status1.Errorf(codes.Unimplemented, "method SearchJobs not implemented")
}
func (*UnimplementedJobServiceServer) SearchJobsForAlert(ctx context.Context, req *SearchJobsRequest) (*SearchJobsResponse, error) {
return nil, status1.Errorf(codes.Unimplemented, "method SearchJobsForAlert not implemented")
}
func RegisterJobServiceServer(s *grpc.Server, srv JobServiceServer) {
s.RegisterService(&_JobService_serviceDesc, srv)
}
func _JobService_CreateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateJobRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(JobServiceServer).CreateJob(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.talent.v4beta1.JobService/CreateJob",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JobServiceServer).CreateJob(ctx, req.(*CreateJobRequest))
}
return interceptor(ctx, in, info, handler)
}
func _JobService_BatchCreateJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchCreateJobsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(JobServiceServer).BatchCreateJobs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.talent.v4beta1.JobService/BatchCreateJobs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JobServiceServer).BatchCreateJobs(ctx, req.(*BatchCreateJobsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _JobService_GetJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetJobRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(JobServiceServer).GetJob(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.talent.v4beta1.JobService/GetJob",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JobServiceServer).GetJob(ctx, req.(*GetJobRequest))
}
return interceptor(ctx, in, info, handler)
}
func _JobService_UpdateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateJobRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(JobServiceServer).UpdateJob(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.talent.v4beta1.JobService/UpdateJob",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JobServiceServer).UpdateJob(ctx, req.(*UpdateJobRequest))
}
return interceptor(ctx, in, info, handler)
}
func _JobService_BatchUpdateJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchUpdateJobsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(JobServiceServer).BatchUpdateJobs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.talent.v4beta1.JobService/BatchUpdateJobs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JobServiceServer).BatchUpdateJobs(ctx, req.(*BatchUpdateJobsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _JobService_DeleteJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteJobRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(JobServiceServer).DeleteJob(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.talent.v4beta1.JobService/DeleteJob",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JobServiceServer).DeleteJob(ctx, req.(*DeleteJobRequest))
}
return interceptor(ctx, in, info, handler)
}
func _JobService_BatchDeleteJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchDeleteJobsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(JobServiceServer).BatchDeleteJobs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.talent.v4beta1.JobService/BatchDeleteJobs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JobServiceServer).BatchDeleteJobs(ctx, req.(*BatchDeleteJobsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _JobService_ListJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListJobsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(JobServiceServer).ListJobs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.talent.v4beta1.JobService/ListJobs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JobServiceServer).ListJobs(ctx, req.(*ListJobsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _JobService_SearchJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SearchJobsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(JobServiceServer).SearchJobs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.talent.v4beta1.JobService/SearchJobs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JobServiceServer).SearchJobs(ctx, req.(*SearchJobsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _JobService_SearchJobsForAlert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SearchJobsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(JobServiceServer).SearchJobsForAlert(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.talent.v4beta1.JobService/SearchJobsForAlert",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(JobServiceServer).SearchJobsForAlert(ctx, req.(*SearchJobsRequest))
}
return interceptor(ctx, in, info, handler)
}
var _JobService_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.talent.v4beta1.JobService",
HandlerType: (*JobServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateJob",
Handler: _JobService_CreateJob_Handler,
},
{
MethodName: "BatchCreateJobs",
Handler: _JobService_BatchCreateJobs_Handler,
},
{
MethodName: "GetJob",
Handler: _JobService_GetJob_Handler,
},
{
MethodName: "UpdateJob",
Handler: _JobService_UpdateJob_Handler,
},
{
MethodName: "BatchUpdateJobs",
Handler: _JobService_BatchUpdateJobs_Handler,
},
{
MethodName: "DeleteJob",
Handler: _JobService_DeleteJob_Handler,
},
{
MethodName: "BatchDeleteJobs",
Handler: _JobService_BatchDeleteJobs_Handler,
},
{
MethodName: "ListJobs",
Handler: _JobService_ListJobs_Handler,
},
{
MethodName: "SearchJobs",
Handler: _JobService_SearchJobs_Handler,
},
{
MethodName: "SearchJobsForAlert",
Handler: _JobService_SearchJobsForAlert_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/talent/v4beta1/job_service.proto",
}