1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/talent/v4beta1/job_service.proto 3 4package talent 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 _ "github.com/golang/protobuf/ptypes/any" 13 duration "github.com/golang/protobuf/ptypes/duration" 14 empty "github.com/golang/protobuf/ptypes/empty" 15 _ "google.golang.org/genproto/googleapis/api/annotations" 16 longrunning "google.golang.org/genproto/googleapis/longrunning" 17 status "google.golang.org/genproto/googleapis/rpc/status" 18 field_mask "google.golang.org/genproto/protobuf/field_mask" 19 grpc "google.golang.org/grpc" 20 codes "google.golang.org/grpc/codes" 21 status1 "google.golang.org/grpc/status" 22) 23 24// Reference imports to suppress errors if they are not otherwise used. 25var _ = proto.Marshal 26var _ = fmt.Errorf 27var _ = math.Inf 28 29// This is a compile-time assertion to ensure that this generated file 30// is compatible with the proto package it is being compiled against. 31// A compilation error at this line likely means your copy of the 32// proto package needs to be updated. 33const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 34 35// An enum that specifies the job attributes that are returned in the 36// [MatchingJob.job][google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.job] or 37// [ListJobsResponse.jobs][google.cloud.talent.v4beta1.ListJobsResponse.jobs] fields. 38type JobView int32 39 40const ( 41 // Default value. 42 JobView_JOB_VIEW_UNSPECIFIED JobView = 0 43 // A ID only view of job, with following attributes: 44 // [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]. 45 JobView_JOB_VIEW_ID_ONLY JobView = 1 46 // A minimal view of the job, with the following attributes: 47 // [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], 48 // [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]. 49 JobView_JOB_VIEW_MINIMAL JobView = 2 50 // A small view of the job, with the following attributes in the search 51 // 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], 52 // [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], 53 // [Job.language_code][google.cloud.talent.v4beta1.Job.language_code], [Job.description][google.cloud.talent.v4beta1.Job.description]. 54 JobView_JOB_VIEW_SMALL JobView = 3 55 // All available attributes are included in the search results. 56 JobView_JOB_VIEW_FULL JobView = 4 57) 58 59var JobView_name = map[int32]string{ 60 0: "JOB_VIEW_UNSPECIFIED", 61 1: "JOB_VIEW_ID_ONLY", 62 2: "JOB_VIEW_MINIMAL", 63 3: "JOB_VIEW_SMALL", 64 4: "JOB_VIEW_FULL", 65} 66 67var JobView_value = map[string]int32{ 68 "JOB_VIEW_UNSPECIFIED": 0, 69 "JOB_VIEW_ID_ONLY": 1, 70 "JOB_VIEW_MINIMAL": 2, 71 "JOB_VIEW_SMALL": 3, 72 "JOB_VIEW_FULL": 4, 73} 74 75func (x JobView) String() string { 76 return proto.EnumName(JobView_name, int32(x)) 77} 78 79func (JobView) EnumDescriptor() ([]byte, []int) { 80 return fileDescriptor_0dfa8e10f7799e35, []int{0} 81} 82 83// A string-represented enumeration of the job search mode. The service 84// operate differently for different modes of service. 85type SearchJobsRequest_SearchMode int32 86 87const ( 88 // The mode of the search method isn't specified. The default search 89 // behavior is identical to JOB_SEARCH search behavior. 90 SearchJobsRequest_SEARCH_MODE_UNSPECIFIED SearchJobsRequest_SearchMode = 0 91 // The job search matches against all jobs, and featured jobs 92 // (jobs with promotionValue > 0) are not specially handled. 93 SearchJobsRequest_JOB_SEARCH SearchJobsRequest_SearchMode = 1 94 // The job search matches only against featured jobs (jobs with a 95 // promotionValue > 0). This method doesn't return any jobs having a 96 // promotionValue <= 0. The search results order is determined by the 97 // promotionValue (jobs with a higher promotionValue are returned higher up 98 // in the search results), with relevance being used as a tiebreaker. 99 SearchJobsRequest_FEATURED_JOB_SEARCH SearchJobsRequest_SearchMode = 2 100) 101 102var SearchJobsRequest_SearchMode_name = map[int32]string{ 103 0: "SEARCH_MODE_UNSPECIFIED", 104 1: "JOB_SEARCH", 105 2: "FEATURED_JOB_SEARCH", 106} 107 108var SearchJobsRequest_SearchMode_value = map[string]int32{ 109 "SEARCH_MODE_UNSPECIFIED": 0, 110 "JOB_SEARCH": 1, 111 "FEATURED_JOB_SEARCH": 2, 112} 113 114func (x SearchJobsRequest_SearchMode) String() string { 115 return proto.EnumName(SearchJobsRequest_SearchMode_name, int32(x)) 116} 117 118func (SearchJobsRequest_SearchMode) EnumDescriptor() ([]byte, []int) { 119 return fileDescriptor_0dfa8e10f7799e35, []int{7, 0} 120} 121 122// Controls whether highly similar jobs are returned next to each other in 123// the search results. Jobs are identified as highly similar based on 124// their titles, job categories, and locations. Highly similar results are 125// clustered so that only one representative job of the cluster is 126// displayed to the job seeker higher up in the results, with the other jobs 127// being displayed lower down in the results. 128type SearchJobsRequest_DiversificationLevel int32 129 130const ( 131 // The diversification level isn't specified. 132 SearchJobsRequest_DIVERSIFICATION_LEVEL_UNSPECIFIED SearchJobsRequest_DiversificationLevel = 0 133 // Disables diversification. Jobs that would normally be pushed to the last 134 // page would not have their positions altered. This may result in highly 135 // similar jobs appearing in sequence in the search results. 136 SearchJobsRequest_DISABLED SearchJobsRequest_DiversificationLevel = 1 137 // Default diversifying behavior. The result list is ordered so that 138 // highly similar results are pushed to the end of the last page of search 139 // results. If you are using pageToken to page through the result set, 140 // latency might be lower but we can't guarantee that all results are 141 // returned. If you are using page offset, latency might be higher but all 142 // results are returned. 143 SearchJobsRequest_SIMPLE SearchJobsRequest_DiversificationLevel = 2 144) 145 146var SearchJobsRequest_DiversificationLevel_name = map[int32]string{ 147 0: "DIVERSIFICATION_LEVEL_UNSPECIFIED", 148 1: "DISABLED", 149 2: "SIMPLE", 150} 151 152var SearchJobsRequest_DiversificationLevel_value = map[string]int32{ 153 "DIVERSIFICATION_LEVEL_UNSPECIFIED": 0, 154 "DISABLED": 1, 155 "SIMPLE": 2, 156} 157 158func (x SearchJobsRequest_DiversificationLevel) String() string { 159 return proto.EnumName(SearchJobsRequest_DiversificationLevel_name, int32(x)) 160} 161 162func (SearchJobsRequest_DiversificationLevel) EnumDescriptor() ([]byte, []int) { 163 return fileDescriptor_0dfa8e10f7799e35, []int{7, 1} 164} 165 166// The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression]. 167type SearchJobsRequest_CustomRankingInfo_ImportanceLevel int32 168 169const ( 170 // Default value if the importance level isn't specified. 171 SearchJobsRequest_CustomRankingInfo_IMPORTANCE_LEVEL_UNSPECIFIED SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 0 172 // The given ranking expression is of None importance, existing relevance 173 // score (determined by API algorithm) dominates job's final ranking 174 // position. 175 SearchJobsRequest_CustomRankingInfo_NONE SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 1 176 // The given ranking expression is of Low importance in terms of job's 177 // final ranking position compared to existing relevance 178 // score (determined by API algorithm). 179 SearchJobsRequest_CustomRankingInfo_LOW SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 2 180 // The given ranking expression is of Mild importance in terms of job's 181 // final ranking position compared to existing relevance 182 // score (determined by API algorithm). 183 SearchJobsRequest_CustomRankingInfo_MILD SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 3 184 // The given ranking expression is of Medium importance in terms of job's 185 // final ranking position compared to existing relevance 186 // score (determined by API algorithm). 187 SearchJobsRequest_CustomRankingInfo_MEDIUM SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 4 188 // The given ranking expression is of High importance in terms of job's 189 // final ranking position compared to existing relevance 190 // score (determined by API algorithm). 191 SearchJobsRequest_CustomRankingInfo_HIGH SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 5 192 // The given ranking expression is of Extreme importance, and dominates 193 // job's final ranking position with existing relevance 194 // score (determined by API algorithm) ignored. 195 SearchJobsRequest_CustomRankingInfo_EXTREME SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 6 196) 197 198var SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name = map[int32]string{ 199 0: "IMPORTANCE_LEVEL_UNSPECIFIED", 200 1: "NONE", 201 2: "LOW", 202 3: "MILD", 203 4: "MEDIUM", 204 5: "HIGH", 205 6: "EXTREME", 206} 207 208var SearchJobsRequest_CustomRankingInfo_ImportanceLevel_value = map[string]int32{ 209 "IMPORTANCE_LEVEL_UNSPECIFIED": 0, 210 "NONE": 1, 211 "LOW": 2, 212 "MILD": 3, 213 "MEDIUM": 4, 214 "HIGH": 5, 215 "EXTREME": 6, 216} 217 218func (x SearchJobsRequest_CustomRankingInfo_ImportanceLevel) String() string { 219 return proto.EnumName(SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name, int32(x)) 220} 221 222func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) EnumDescriptor() ([]byte, []int) { 223 return fileDescriptor_0dfa8e10f7799e35, []int{7, 0, 0} 224} 225 226// Create job request. 227type CreateJobRequest struct { 228 // Required. The resource name of the tenant under which the job is created. 229 // 230 // The format is "projects/{project_id}/tenants/{tenant_id}". For example, 231 // "projects/foo/tenant/bar". If tenant id is unspecified a default tenant 232 // is created. For example, "projects/foo". 233 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 234 // Required. The Job to be created. 235 Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` 236 XXX_NoUnkeyedLiteral struct{} `json:"-"` 237 XXX_unrecognized []byte `json:"-"` 238 XXX_sizecache int32 `json:"-"` 239} 240 241func (m *CreateJobRequest) Reset() { *m = CreateJobRequest{} } 242func (m *CreateJobRequest) String() string { return proto.CompactTextString(m) } 243func (*CreateJobRequest) ProtoMessage() {} 244func (*CreateJobRequest) Descriptor() ([]byte, []int) { 245 return fileDescriptor_0dfa8e10f7799e35, []int{0} 246} 247 248func (m *CreateJobRequest) XXX_Unmarshal(b []byte) error { 249 return xxx_messageInfo_CreateJobRequest.Unmarshal(m, b) 250} 251func (m *CreateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 252 return xxx_messageInfo_CreateJobRequest.Marshal(b, m, deterministic) 253} 254func (m *CreateJobRequest) XXX_Merge(src proto.Message) { 255 xxx_messageInfo_CreateJobRequest.Merge(m, src) 256} 257func (m *CreateJobRequest) XXX_Size() int { 258 return xxx_messageInfo_CreateJobRequest.Size(m) 259} 260func (m *CreateJobRequest) XXX_DiscardUnknown() { 261 xxx_messageInfo_CreateJobRequest.DiscardUnknown(m) 262} 263 264var xxx_messageInfo_CreateJobRequest proto.InternalMessageInfo 265 266func (m *CreateJobRequest) GetParent() string { 267 if m != nil { 268 return m.Parent 269 } 270 return "" 271} 272 273func (m *CreateJobRequest) GetJob() *Job { 274 if m != nil { 275 return m.Job 276 } 277 return nil 278} 279 280// Get job request. 281type GetJobRequest struct { 282 // Required. The resource name of the job to retrieve. 283 // 284 // The format is 285 // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For 286 // example, "projects/foo/tenants/bar/jobs/baz". 287 // 288 // If tenant id is unspecified, the default tenant is used. For 289 // example, "projects/foo/jobs/bar". 290 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 291 XXX_NoUnkeyedLiteral struct{} `json:"-"` 292 XXX_unrecognized []byte `json:"-"` 293 XXX_sizecache int32 `json:"-"` 294} 295 296func (m *GetJobRequest) Reset() { *m = GetJobRequest{} } 297func (m *GetJobRequest) String() string { return proto.CompactTextString(m) } 298func (*GetJobRequest) ProtoMessage() {} 299func (*GetJobRequest) Descriptor() ([]byte, []int) { 300 return fileDescriptor_0dfa8e10f7799e35, []int{1} 301} 302 303func (m *GetJobRequest) XXX_Unmarshal(b []byte) error { 304 return xxx_messageInfo_GetJobRequest.Unmarshal(m, b) 305} 306func (m *GetJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 307 return xxx_messageInfo_GetJobRequest.Marshal(b, m, deterministic) 308} 309func (m *GetJobRequest) XXX_Merge(src proto.Message) { 310 xxx_messageInfo_GetJobRequest.Merge(m, src) 311} 312func (m *GetJobRequest) XXX_Size() int { 313 return xxx_messageInfo_GetJobRequest.Size(m) 314} 315func (m *GetJobRequest) XXX_DiscardUnknown() { 316 xxx_messageInfo_GetJobRequest.DiscardUnknown(m) 317} 318 319var xxx_messageInfo_GetJobRequest proto.InternalMessageInfo 320 321func (m *GetJobRequest) GetName() string { 322 if m != nil { 323 return m.Name 324 } 325 return "" 326} 327 328// Update job request. 329type UpdateJobRequest struct { 330 // Required. The Job to be updated. 331 Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` 332 // Strongly recommended for the best service experience. 333 // 334 // If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in 335 // [job][google.cloud.talent.v4beta1.UpdateJobRequest.job] are updated. Otherwise all the fields are updated. 336 // 337 // A field mask to restrict the fields that are updated. Only 338 // top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported. 339 UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 340 XXX_NoUnkeyedLiteral struct{} `json:"-"` 341 XXX_unrecognized []byte `json:"-"` 342 XXX_sizecache int32 `json:"-"` 343} 344 345func (m *UpdateJobRequest) Reset() { *m = UpdateJobRequest{} } 346func (m *UpdateJobRequest) String() string { return proto.CompactTextString(m) } 347func (*UpdateJobRequest) ProtoMessage() {} 348func (*UpdateJobRequest) Descriptor() ([]byte, []int) { 349 return fileDescriptor_0dfa8e10f7799e35, []int{2} 350} 351 352func (m *UpdateJobRequest) XXX_Unmarshal(b []byte) error { 353 return xxx_messageInfo_UpdateJobRequest.Unmarshal(m, b) 354} 355func (m *UpdateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 356 return xxx_messageInfo_UpdateJobRequest.Marshal(b, m, deterministic) 357} 358func (m *UpdateJobRequest) XXX_Merge(src proto.Message) { 359 xxx_messageInfo_UpdateJobRequest.Merge(m, src) 360} 361func (m *UpdateJobRequest) XXX_Size() int { 362 return xxx_messageInfo_UpdateJobRequest.Size(m) 363} 364func (m *UpdateJobRequest) XXX_DiscardUnknown() { 365 xxx_messageInfo_UpdateJobRequest.DiscardUnknown(m) 366} 367 368var xxx_messageInfo_UpdateJobRequest proto.InternalMessageInfo 369 370func (m *UpdateJobRequest) GetJob() *Job { 371 if m != nil { 372 return m.Job 373 } 374 return nil 375} 376 377func (m *UpdateJobRequest) GetUpdateMask() *field_mask.FieldMask { 378 if m != nil { 379 return m.UpdateMask 380 } 381 return nil 382} 383 384// Delete job request. 385type DeleteJobRequest struct { 386 // Required. The resource name of the job to be deleted. 387 // 388 // The format is 389 // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For 390 // example, "projects/foo/tenants/bar/jobs/baz". 391 // 392 // If tenant id is unspecified, the default tenant is used. For 393 // example, "projects/foo/jobs/bar". 394 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 395 XXX_NoUnkeyedLiteral struct{} `json:"-"` 396 XXX_unrecognized []byte `json:"-"` 397 XXX_sizecache int32 `json:"-"` 398} 399 400func (m *DeleteJobRequest) Reset() { *m = DeleteJobRequest{} } 401func (m *DeleteJobRequest) String() string { return proto.CompactTextString(m) } 402func (*DeleteJobRequest) ProtoMessage() {} 403func (*DeleteJobRequest) Descriptor() ([]byte, []int) { 404 return fileDescriptor_0dfa8e10f7799e35, []int{3} 405} 406 407func (m *DeleteJobRequest) XXX_Unmarshal(b []byte) error { 408 return xxx_messageInfo_DeleteJobRequest.Unmarshal(m, b) 409} 410func (m *DeleteJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 411 return xxx_messageInfo_DeleteJobRequest.Marshal(b, m, deterministic) 412} 413func (m *DeleteJobRequest) XXX_Merge(src proto.Message) { 414 xxx_messageInfo_DeleteJobRequest.Merge(m, src) 415} 416func (m *DeleteJobRequest) XXX_Size() int { 417 return xxx_messageInfo_DeleteJobRequest.Size(m) 418} 419func (m *DeleteJobRequest) XXX_DiscardUnknown() { 420 xxx_messageInfo_DeleteJobRequest.DiscardUnknown(m) 421} 422 423var xxx_messageInfo_DeleteJobRequest proto.InternalMessageInfo 424 425func (m *DeleteJobRequest) GetName() string { 426 if m != nil { 427 return m.Name 428 } 429 return "" 430} 431 432// Batch delete jobs request. 433type BatchDeleteJobsRequest struct { 434 // Required. The resource name of the tenant under which the job is created. 435 // 436 // The format is "projects/{project_id}/tenants/{tenant_id}". For example, 437 // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant 438 // is created. For example, "projects/foo". 439 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 440 // Required. The filter string specifies the jobs to be deleted. 441 // 442 // Supported operator: =, AND 443 // 444 // The fields eligible for filtering are: 445 // 446 // * `companyName` (Required) 447 // * `requisitionId` (Required) 448 // 449 // Sample Query: companyName = "projects/foo/companies/bar" AND 450 // requisitionId = "req-1" 451 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 452 XXX_NoUnkeyedLiteral struct{} `json:"-"` 453 XXX_unrecognized []byte `json:"-"` 454 XXX_sizecache int32 `json:"-"` 455} 456 457func (m *BatchDeleteJobsRequest) Reset() { *m = BatchDeleteJobsRequest{} } 458func (m *BatchDeleteJobsRequest) String() string { return proto.CompactTextString(m) } 459func (*BatchDeleteJobsRequest) ProtoMessage() {} 460func (*BatchDeleteJobsRequest) Descriptor() ([]byte, []int) { 461 return fileDescriptor_0dfa8e10f7799e35, []int{4} 462} 463 464func (m *BatchDeleteJobsRequest) XXX_Unmarshal(b []byte) error { 465 return xxx_messageInfo_BatchDeleteJobsRequest.Unmarshal(m, b) 466} 467func (m *BatchDeleteJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 468 return xxx_messageInfo_BatchDeleteJobsRequest.Marshal(b, m, deterministic) 469} 470func (m *BatchDeleteJobsRequest) XXX_Merge(src proto.Message) { 471 xxx_messageInfo_BatchDeleteJobsRequest.Merge(m, src) 472} 473func (m *BatchDeleteJobsRequest) XXX_Size() int { 474 return xxx_messageInfo_BatchDeleteJobsRequest.Size(m) 475} 476func (m *BatchDeleteJobsRequest) XXX_DiscardUnknown() { 477 xxx_messageInfo_BatchDeleteJobsRequest.DiscardUnknown(m) 478} 479 480var xxx_messageInfo_BatchDeleteJobsRequest proto.InternalMessageInfo 481 482func (m *BatchDeleteJobsRequest) GetParent() string { 483 if m != nil { 484 return m.Parent 485 } 486 return "" 487} 488 489func (m *BatchDeleteJobsRequest) GetFilter() string { 490 if m != nil { 491 return m.Filter 492 } 493 return "" 494} 495 496// List jobs request. 497type ListJobsRequest struct { 498 // Required. The resource name of the tenant under which the job is created. 499 // 500 // The format is "projects/{project_id}/tenants/{tenant_id}". For example, 501 // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant 502 // is created. For example, "projects/foo". 503 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 504 // Required. The filter string specifies the jobs to be enumerated. 505 // 506 // Supported operator: =, AND 507 // 508 // The fields eligible for filtering are: 509 // 510 // * `companyName` (Required) 511 // * `requisitionId` 512 // * `status` Available values: OPEN, EXPIRED, ALL. Defaults to 513 // OPEN if no value is specified. 514 // 515 // Sample Query: 516 // 517 // * companyName = "projects/foo/tenants/bar/companies/baz" 518 // * companyName = "projects/foo/tenants/bar/companies/baz" AND 519 // requisitionId = "req-1" 520 // * companyName = "projects/foo/tenants/bar/companies/baz" AND 521 // status = "EXPIRED" 522 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 523 // The starting point of a query result. 524 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 525 // The maximum number of jobs to be returned per page of results. 526 // 527 // 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 528 // page size is 1000. Otherwise, the maximum allowed page size is 100. 529 // 530 // Default is 100 if empty or a number < 1 is specified. 531 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 532 // The desired job attributes returned for jobs in the 533 // search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is 534 // specified. 535 JobView JobView `protobuf:"varint,5,opt,name=job_view,json=jobView,proto3,enum=google.cloud.talent.v4beta1.JobView" json:"job_view,omitempty"` 536 XXX_NoUnkeyedLiteral struct{} `json:"-"` 537 XXX_unrecognized []byte `json:"-"` 538 XXX_sizecache int32 `json:"-"` 539} 540 541func (m *ListJobsRequest) Reset() { *m = ListJobsRequest{} } 542func (m *ListJobsRequest) String() string { return proto.CompactTextString(m) } 543func (*ListJobsRequest) ProtoMessage() {} 544func (*ListJobsRequest) Descriptor() ([]byte, []int) { 545 return fileDescriptor_0dfa8e10f7799e35, []int{5} 546} 547 548func (m *ListJobsRequest) XXX_Unmarshal(b []byte) error { 549 return xxx_messageInfo_ListJobsRequest.Unmarshal(m, b) 550} 551func (m *ListJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 552 return xxx_messageInfo_ListJobsRequest.Marshal(b, m, deterministic) 553} 554func (m *ListJobsRequest) XXX_Merge(src proto.Message) { 555 xxx_messageInfo_ListJobsRequest.Merge(m, src) 556} 557func (m *ListJobsRequest) XXX_Size() int { 558 return xxx_messageInfo_ListJobsRequest.Size(m) 559} 560func (m *ListJobsRequest) XXX_DiscardUnknown() { 561 xxx_messageInfo_ListJobsRequest.DiscardUnknown(m) 562} 563 564var xxx_messageInfo_ListJobsRequest proto.InternalMessageInfo 565 566func (m *ListJobsRequest) GetParent() string { 567 if m != nil { 568 return m.Parent 569 } 570 return "" 571} 572 573func (m *ListJobsRequest) GetFilter() string { 574 if m != nil { 575 return m.Filter 576 } 577 return "" 578} 579 580func (m *ListJobsRequest) GetPageToken() string { 581 if m != nil { 582 return m.PageToken 583 } 584 return "" 585} 586 587func (m *ListJobsRequest) GetPageSize() int32 { 588 if m != nil { 589 return m.PageSize 590 } 591 return 0 592} 593 594func (m *ListJobsRequest) GetJobView() JobView { 595 if m != nil { 596 return m.JobView 597 } 598 return JobView_JOB_VIEW_UNSPECIFIED 599} 600 601// List jobs response. 602type ListJobsResponse struct { 603 // The Jobs for a given company. 604 // 605 // The maximum number of items returned is based on the limit field 606 // provided in the request. 607 Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` 608 // A token to retrieve the next page of results. 609 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 610 // Additional information for the API invocation, such as the request 611 // tracking id. 612 Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` 613 XXX_NoUnkeyedLiteral struct{} `json:"-"` 614 XXX_unrecognized []byte `json:"-"` 615 XXX_sizecache int32 `json:"-"` 616} 617 618func (m *ListJobsResponse) Reset() { *m = ListJobsResponse{} } 619func (m *ListJobsResponse) String() string { return proto.CompactTextString(m) } 620func (*ListJobsResponse) ProtoMessage() {} 621func (*ListJobsResponse) Descriptor() ([]byte, []int) { 622 return fileDescriptor_0dfa8e10f7799e35, []int{6} 623} 624 625func (m *ListJobsResponse) XXX_Unmarshal(b []byte) error { 626 return xxx_messageInfo_ListJobsResponse.Unmarshal(m, b) 627} 628func (m *ListJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 629 return xxx_messageInfo_ListJobsResponse.Marshal(b, m, deterministic) 630} 631func (m *ListJobsResponse) XXX_Merge(src proto.Message) { 632 xxx_messageInfo_ListJobsResponse.Merge(m, src) 633} 634func (m *ListJobsResponse) XXX_Size() int { 635 return xxx_messageInfo_ListJobsResponse.Size(m) 636} 637func (m *ListJobsResponse) XXX_DiscardUnknown() { 638 xxx_messageInfo_ListJobsResponse.DiscardUnknown(m) 639} 640 641var xxx_messageInfo_ListJobsResponse proto.InternalMessageInfo 642 643func (m *ListJobsResponse) GetJobs() []*Job { 644 if m != nil { 645 return m.Jobs 646 } 647 return nil 648} 649 650func (m *ListJobsResponse) GetNextPageToken() string { 651 if m != nil { 652 return m.NextPageToken 653 } 654 return "" 655} 656 657func (m *ListJobsResponse) GetMetadata() *ResponseMetadata { 658 if m != nil { 659 return m.Metadata 660 } 661 return nil 662} 663 664// The Request body of the `SearchJobs` call. 665type SearchJobsRequest struct { 666 // Required. The resource name of the tenant to search within. 667 // 668 // The format is "projects/{project_id}/tenants/{tenant_id}". For example, 669 // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant 670 // is created. For example, "projects/foo". 671 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 672 // Mode of a search. 673 // 674 // Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH]. 675 SearchMode SearchJobsRequest_SearchMode `protobuf:"varint,2,opt,name=search_mode,json=searchMode,proto3,enum=google.cloud.talent.v4beta1.SearchJobsRequest_SearchMode" json:"search_mode,omitempty"` 676 // Required. The meta information collected about the job searcher, used to improve the 677 // search quality of the service. The identifiers (such as `user_id`) are 678 // provided by users, and must be unique and consistent. 679 RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"` 680 // Query used to search against jobs, such as keyword, location filters, etc. 681 JobQuery *JobQuery `protobuf:"bytes,4,opt,name=job_query,json=jobQuery,proto3" json:"job_query,omitempty"` 682 // Controls whether to broaden the search when it produces sparse results. 683 // Broadened queries append results to the end of the matching results 684 // list. 685 // 686 // Defaults to false. 687 EnableBroadening bool `protobuf:"varint,5,opt,name=enable_broadening,json=enableBroadening,proto3" json:"enable_broadening,omitempty"` 688 // Controls if the search job request requires the return of a precise 689 // count of the first 300 results. Setting this to `true` ensures 690 // consistency in the number of results per page. Best practice is to set this 691 // value to true if a client allows users to jump directly to a 692 // non-sequential search results page. 693 // 694 // Enabling this flag may adversely impact performance. 695 // 696 // Defaults to false. 697 RequirePreciseResultSize bool `protobuf:"varint,6,opt,name=require_precise_result_size,json=requirePreciseResultSize,proto3" json:"require_precise_result_size,omitempty"` 698 // An expression specifies a histogram request against matching jobs. 699 // 700 // Expression syntax is an aggregation function call with histogram facets and 701 // other options. 702 // 703 // Available aggregation function calls are: 704 // * `count(string_histogram_facet)`: Count the number of matching entities, 705 // for each distinct attribute value. 706 // * `count(numeric_histogram_facet, list of buckets)`: Count the number of 707 // matching entities within each bucket. 708 // 709 // Data types: 710 // 711 // * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+. 712 // * String: string like "any string with backslash escape for quote(\")." 713 // * Number: whole number and floating point number like 10, -1 and -0.01. 714 // * List: list of elements with comma(,) separator surrounded by square 715 // brackets, for example, [1, 2, 3] and ["one", "two", "three"]. 716 // 717 // Built-in constants: 718 // 719 // * MIN (minimum number similar to java Double.MIN_VALUE) 720 // * MAX (maximum number similar to java Double.MAX_VALUE) 721 // 722 // Built-in functions: 723 // 724 // * bucket(start, end[, label]): bucket built-in function creates a bucket 725 // with range of [start, end). Note that the end is exclusive, for example, 726 // bucket(1, MAX, "positive number") or bucket(1, 10). 727 // 728 // Job histogram facets: 729 // 730 // * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name]. 731 // * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example, 732 // "FULL_TIME", "PART_TIME". 733 // * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL", 734 // "MEDIUM", "BIG". 735 // * publish_time_in_month: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time] 736 // in months. 737 // Must specify list of numeric buckets in spec. 738 // * publish_time_in_year: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time] 739 // in years. 740 // Must specify list of numeric buckets in spec. 741 // * degree_types: histogram by the [Job.degree_types][google.cloud.talent.v4beta1.Job.degree_types], for example, 742 // "Bachelors", "Masters". 743 // * job_level: histogram by the [Job.job_level][google.cloud.talent.v4beta1.Job.job_level], for example, "Entry 744 // Level". 745 // * country: histogram by the country code of jobs, for example, "US", "FR". 746 // * admin1: histogram by the admin1 code of jobs, which is a global 747 // placeholder referring to the state, province, or the particular term a 748 // country uses to define the geographic structure below the country level, 749 // for example, "CA", "IL". 750 // * city: histogram by a combination of the "city name, admin1 code". For 751 // example, "Mountain View, CA", "New York, NY". 752 // * admin1_country: histogram by a combination of the "admin1 code, country", 753 // for example, "CA, US", "IL, US". 754 // * city_coordinate: histogram by the city center's GPS coordinates (latitude 755 // and longitude), for example, 37.4038522,-122.0987765. Since the 756 // coordinates of a city center can change, customers may need to refresh 757 // them periodically. 758 // * locale: histogram by the [Job.language_code][google.cloud.talent.v4beta1.Job.language_code], for example, "en-US", 759 // "fr-FR". 760 // * language: histogram by the language subtag of the [Job.language_code][google.cloud.talent.v4beta1.Job.language_code], 761 // for example, "en", "fr". 762 // * category: histogram by the [JobCategory][google.cloud.talent.v4beta1.JobCategory], for example, 763 // "COMPUTER_AND_IT", "HEALTHCARE". 764 // * base_compensation_unit: histogram by the 765 // [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit] of base 766 // salary, for example, "WEEKLY", "MONTHLY". 767 // * base_compensation: histogram by the base salary. Must specify list of 768 // numeric buckets to group results by. 769 // * annualized_base_compensation: histogram by the base annualized salary. 770 // Must specify list of numeric buckets to group results by. 771 // * annualized_total_compensation: histogram by the total annualized salary. 772 // Must specify list of numeric buckets to group results by. 773 // * string_custom_attribute: histogram by string [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes]. 774 // Values can be accessed via square bracket notations like 775 // string_custom_attribute["key1"]. 776 // * numeric_custom_attribute: histogram by numeric [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes]. 777 // Values can be accessed via square bracket notations like 778 // numeric_custom_attribute["key1"]. Must specify list of numeric buckets to 779 // group results by. 780 // 781 // Example expressions: 782 // 783 // * `count(admin1)` 784 // * `count(base_compensation, [bucket(1000, 10000), bucket(10000, 100000), 785 // bucket(100000, MAX)])` 786 // * `count(string_custom_attribute["some-string-custom-attribute"])` 787 // * `count(numeric_custom_attribute["some-numeric-custom-attribute"], 788 // [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` 789 HistogramQueries []*HistogramQuery `protobuf:"bytes,7,rep,name=histogram_queries,json=histogramQueries,proto3" json:"histogram_queries,omitempty"` 790 // The desired job attributes returned for jobs in the search response. 791 // Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified. 792 JobView JobView `protobuf:"varint,8,opt,name=job_view,json=jobView,proto3,enum=google.cloud.talent.v4beta1.JobView" json:"job_view,omitempty"` 793 // An integer that specifies the current offset (that is, starting result 794 // location, amongst the jobs deemed by the API as relevant) in search 795 // results. This field is only considered if [page_token][google.cloud.talent.v4beta1.SearchJobsRequest.page_token] is unset. 796 // 797 // The maximum allowed value is 5000. Otherwise an error is thrown. 798 // 799 // For example, 0 means to return results starting from the first matching 800 // job, and 10 means to return from the 11th job. This can be used for 801 // pagination, (for example, pageSize = 10 and offset = 10 means to return 802 // from the second page). 803 Offset int32 `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"` 804 // A limit on the number of jobs returned in the search results. 805 // Increasing this value above the default value of 10 can increase search 806 // response time. The value can be between 1 and 100. 807 PageSize int32 `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 808 // The token specifying the current offset within 809 // search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for 810 // an explanation of how to obtain the next set of query results. 811 PageToken string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 812 // The criteria determining how search results are sorted. Default is 813 // `"relevance desc"`. 814 // 815 // Supported options are: 816 // 817 // * `"relevance desc"`: By relevance descending, as determined by the API 818 // algorithms. Relevance thresholding of query results is only available 819 // with this ordering. 820 // * `"posting_publish_time desc"`: By [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time] 821 // descending. 822 // * `"posting_update_time desc"`: By [Job.posting_update_time][google.cloud.talent.v4beta1.Job.posting_update_time] 823 // descending. 824 // * `"title"`: By [Job.title][google.cloud.talent.v4beta1.Job.title] ascending. 825 // * `"title desc"`: By [Job.title][google.cloud.talent.v4beta1.Job.title] descending. 826 // * `"annualized_base_compensation"`: By job's 827 // [CompensationInfo.annualized_base_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_base_compensation_range] ascending. Jobs 828 // whose annualized base compensation is unspecified are put at the end of 829 // search results. 830 // * `"annualized_base_compensation desc"`: By job's 831 // [CompensationInfo.annualized_base_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_base_compensation_range] descending. Jobs 832 // whose annualized base compensation is unspecified are put at the end of 833 // search results. 834 // * `"annualized_total_compensation"`: By job's 835 // [CompensationInfo.annualized_total_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_total_compensation_range] ascending. Jobs 836 // whose annualized base compensation is unspecified are put at the end of 837 // search results. 838 // * `"annualized_total_compensation desc"`: By job's 839 // [CompensationInfo.annualized_total_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_total_compensation_range] descending. Jobs 840 // whose annualized base compensation is unspecified are put at the end of 841 // search results. 842 // * `"custom_ranking desc"`: By the relevance score adjusted to the 843 // [SearchJobsRequest.CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] with weight 844 // factor assigned by 845 // [SearchJobsRequest.CustomRankingInfo.importance_level][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.importance_level] in descending 846 // order. 847 // * Location sorting: Use the special syntax to order jobs by distance:<br> 848 // `"distance_from('Hawaii')"`: Order by distance from Hawaii.<br> 849 // `"distance_from(19.89, 155.5)"`: Order by distance from a coordinate.<br> 850 // `"distance_from('Hawaii'), distance_from('Puerto Rico')"`: Order by 851 // multiple locations. See details below.<br> 852 // `"distance_from('Hawaii'), distance_from(19.89, 155.5)"`: Order by 853 // multiple locations. See details below.<br> 854 // The string can have a maximum of 256 characters. When multiple distance 855 // centers are provided, a job that is close to any of the distance centers 856 // would have a high rank. When a job has multiple locations, the job 857 // location closest to one of the distance centers will be used. Jobs that 858 // don't have locations will be ranked at the bottom. Distance is calculated 859 // with a precision of 11.3 meters (37.4 feet). Diversification strategy is 860 // still applied unless explicitly disabled in 861 // [diversification_level][google.cloud.talent.v4beta1.SearchJobsRequest.diversification_level]. 862 OrderBy string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` 863 // Controls whether highly similar jobs are returned next to each other in 864 // the search results. Jobs are identified as highly similar based on 865 // their titles, job categories, and locations. Highly similar results are 866 // clustered so that only one representative job of the cluster is 867 // displayed to the job seeker higher up in the results, with the other jobs 868 // being displayed lower down in the results. 869 // 870 // Defaults to [DiversificationLevel.SIMPLE][google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.SIMPLE] if no value 871 // is specified. 872 DiversificationLevel SearchJobsRequest_DiversificationLevel `protobuf:"varint,13,opt,name=diversification_level,json=diversificationLevel,proto3,enum=google.cloud.talent.v4beta1.SearchJobsRequest_DiversificationLevel" json:"diversification_level,omitempty"` 873 // Controls over how job documents get ranked on top of existing relevance 874 // score (determined by API algorithm). 875 CustomRankingInfo *SearchJobsRequest_CustomRankingInfo `protobuf:"bytes,14,opt,name=custom_ranking_info,json=customRankingInfo,proto3" json:"custom_ranking_info,omitempty"` 876 // Controls whether to disable exact keyword match on [Job.title][google.cloud.talent.v4beta1.Job.title], 877 // [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], 878 // [Job.qualifications][google.cloud.talent.v4beta1.Job.qualifications]. When disable keyword match is turned off, a 879 // keyword match returns jobs that do not match given category filters when 880 // there are matching keywords. For example, for the query "program manager," 881 // a result is returned even if the job posting has the title "software 882 // developer," which doesn't fall into "program manager" ontology, but does 883 // have "program manager" appearing in its description. 884 // 885 // For queries like "cloud" that don't contain title or 886 // location specific ontology, jobs with "cloud" keyword matches are returned 887 // regardless of this flag's value. 888 // 889 // Use [Company.keyword_searchable_job_custom_attributes][google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes] if 890 // company-specific globally matched custom field/attribute string values are 891 // needed. Enabling keyword match improves recall of subsequent search 892 // requests. 893 // 894 // Defaults to false. 895 DisableKeywordMatch bool `protobuf:"varint,16,opt,name=disable_keyword_match,json=disableKeywordMatch,proto3" json:"disable_keyword_match,omitempty"` 896 XXX_NoUnkeyedLiteral struct{} `json:"-"` 897 XXX_unrecognized []byte `json:"-"` 898 XXX_sizecache int32 `json:"-"` 899} 900 901func (m *SearchJobsRequest) Reset() { *m = SearchJobsRequest{} } 902func (m *SearchJobsRequest) String() string { return proto.CompactTextString(m) } 903func (*SearchJobsRequest) ProtoMessage() {} 904func (*SearchJobsRequest) Descriptor() ([]byte, []int) { 905 return fileDescriptor_0dfa8e10f7799e35, []int{7} 906} 907 908func (m *SearchJobsRequest) XXX_Unmarshal(b []byte) error { 909 return xxx_messageInfo_SearchJobsRequest.Unmarshal(m, b) 910} 911func (m *SearchJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 912 return xxx_messageInfo_SearchJobsRequest.Marshal(b, m, deterministic) 913} 914func (m *SearchJobsRequest) XXX_Merge(src proto.Message) { 915 xxx_messageInfo_SearchJobsRequest.Merge(m, src) 916} 917func (m *SearchJobsRequest) XXX_Size() int { 918 return xxx_messageInfo_SearchJobsRequest.Size(m) 919} 920func (m *SearchJobsRequest) XXX_DiscardUnknown() { 921 xxx_messageInfo_SearchJobsRequest.DiscardUnknown(m) 922} 923 924var xxx_messageInfo_SearchJobsRequest proto.InternalMessageInfo 925 926func (m *SearchJobsRequest) GetParent() string { 927 if m != nil { 928 return m.Parent 929 } 930 return "" 931} 932 933func (m *SearchJobsRequest) GetSearchMode() SearchJobsRequest_SearchMode { 934 if m != nil { 935 return m.SearchMode 936 } 937 return SearchJobsRequest_SEARCH_MODE_UNSPECIFIED 938} 939 940func (m *SearchJobsRequest) GetRequestMetadata() *RequestMetadata { 941 if m != nil { 942 return m.RequestMetadata 943 } 944 return nil 945} 946 947func (m *SearchJobsRequest) GetJobQuery() *JobQuery { 948 if m != nil { 949 return m.JobQuery 950 } 951 return nil 952} 953 954func (m *SearchJobsRequest) GetEnableBroadening() bool { 955 if m != nil { 956 return m.EnableBroadening 957 } 958 return false 959} 960 961func (m *SearchJobsRequest) GetRequirePreciseResultSize() bool { 962 if m != nil { 963 return m.RequirePreciseResultSize 964 } 965 return false 966} 967 968func (m *SearchJobsRequest) GetHistogramQueries() []*HistogramQuery { 969 if m != nil { 970 return m.HistogramQueries 971 } 972 return nil 973} 974 975func (m *SearchJobsRequest) GetJobView() JobView { 976 if m != nil { 977 return m.JobView 978 } 979 return JobView_JOB_VIEW_UNSPECIFIED 980} 981 982func (m *SearchJobsRequest) GetOffset() int32 { 983 if m != nil { 984 return m.Offset 985 } 986 return 0 987} 988 989func (m *SearchJobsRequest) GetPageSize() int32 { 990 if m != nil { 991 return m.PageSize 992 } 993 return 0 994} 995 996func (m *SearchJobsRequest) GetPageToken() string { 997 if m != nil { 998 return m.PageToken 999 } 1000 return "" 1001} 1002 1003func (m *SearchJobsRequest) GetOrderBy() string { 1004 if m != nil { 1005 return m.OrderBy 1006 } 1007 return "" 1008} 1009 1010func (m *SearchJobsRequest) GetDiversificationLevel() SearchJobsRequest_DiversificationLevel { 1011 if m != nil { 1012 return m.DiversificationLevel 1013 } 1014 return SearchJobsRequest_DIVERSIFICATION_LEVEL_UNSPECIFIED 1015} 1016 1017func (m *SearchJobsRequest) GetCustomRankingInfo() *SearchJobsRequest_CustomRankingInfo { 1018 if m != nil { 1019 return m.CustomRankingInfo 1020 } 1021 return nil 1022} 1023 1024func (m *SearchJobsRequest) GetDisableKeywordMatch() bool { 1025 if m != nil { 1026 return m.DisableKeywordMatch 1027 } 1028 return false 1029} 1030 1031// Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. 1032type SearchJobsRequest_CustomRankingInfo struct { 1033 // Required. Controls over how important the score of 1034 // [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final 1035 // ranking position. 1036 // 1037 // An error is thrown if not specified. 1038 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"` 1039 // Required. Controls over how job documents get ranked on top of existing relevance 1040 // score (determined by API algorithm). A combination of the ranking 1041 // expression and relevance score is used to determine job's final ranking 1042 // position. 1043 // 1044 // The syntax for this expression is a subset of Google SQL syntax. 1045 // 1046 // Supported operators are: +, -, *, /, where the left and right side of 1047 // the operator is either a numeric [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] key, 1048 // integer/double value or an expression that can be evaluated to a number. 1049 // 1050 // Parenthesis are supported to adjust calculation precedence. The 1051 // expression must be < 100 characters in length. 1052 // 1053 // The expression is considered invalid for a job if the expression 1054 // references custom attributes that are not populated on the job or if the 1055 // expression results in a divide by zero. If an expression is invalid for a 1056 // job, that job is demoted to the end of the results. 1057 // 1058 // Sample ranking expression 1059 // (year + 25) * 0.25 - (freshness / 0.5) 1060 RankingExpression string `protobuf:"bytes,2,opt,name=ranking_expression,json=rankingExpression,proto3" json:"ranking_expression,omitempty"` 1061 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1062 XXX_unrecognized []byte `json:"-"` 1063 XXX_sizecache int32 `json:"-"` 1064} 1065 1066func (m *SearchJobsRequest_CustomRankingInfo) Reset() { *m = SearchJobsRequest_CustomRankingInfo{} } 1067func (m *SearchJobsRequest_CustomRankingInfo) String() string { return proto.CompactTextString(m) } 1068func (*SearchJobsRequest_CustomRankingInfo) ProtoMessage() {} 1069func (*SearchJobsRequest_CustomRankingInfo) Descriptor() ([]byte, []int) { 1070 return fileDescriptor_0dfa8e10f7799e35, []int{7, 0} 1071} 1072 1073func (m *SearchJobsRequest_CustomRankingInfo) XXX_Unmarshal(b []byte) error { 1074 return xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Unmarshal(m, b) 1075} 1076func (m *SearchJobsRequest_CustomRankingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1077 return xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Marshal(b, m, deterministic) 1078} 1079func (m *SearchJobsRequest_CustomRankingInfo) XXX_Merge(src proto.Message) { 1080 xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Merge(m, src) 1081} 1082func (m *SearchJobsRequest_CustomRankingInfo) XXX_Size() int { 1083 return xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Size(m) 1084} 1085func (m *SearchJobsRequest_CustomRankingInfo) XXX_DiscardUnknown() { 1086 xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.DiscardUnknown(m) 1087} 1088 1089var xxx_messageInfo_SearchJobsRequest_CustomRankingInfo proto.InternalMessageInfo 1090 1091func (m *SearchJobsRequest_CustomRankingInfo) GetImportanceLevel() SearchJobsRequest_CustomRankingInfo_ImportanceLevel { 1092 if m != nil { 1093 return m.ImportanceLevel 1094 } 1095 return SearchJobsRequest_CustomRankingInfo_IMPORTANCE_LEVEL_UNSPECIFIED 1096} 1097 1098func (m *SearchJobsRequest_CustomRankingInfo) GetRankingExpression() string { 1099 if m != nil { 1100 return m.RankingExpression 1101 } 1102 return "" 1103} 1104 1105// Response for SearchJob method. 1106type SearchJobsResponse struct { 1107 // The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. 1108 MatchingJobs []*SearchJobsResponse_MatchingJob `protobuf:"bytes,1,rep,name=matching_jobs,json=matchingJobs,proto3" json:"matching_jobs,omitempty"` 1109 // The histogram results that match with specified 1110 // [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries]. 1111 HistogramQueryResults []*HistogramQueryResult `protobuf:"bytes,2,rep,name=histogram_query_results,json=histogramQueryResults,proto3" json:"histogram_query_results,omitempty"` 1112 // The token that specifies the starting position of the next page of results. 1113 // This field is empty if there are no more results. 1114 NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1115 // The location filters that the service applied to the specified query. If 1116 // any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is 1117 // [Location.LocationType.LOCATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED]. 1118 LocationFilters []*Location `protobuf:"bytes,4,rep,name=location_filters,json=locationFilters,proto3" json:"location_filters,omitempty"` 1119 // An estimation of the number of jobs that match the specified query. 1120 // 1121 // This number isn't guaranteed to be accurate. For accurate results, 1122 // see [SearchJobsRequest.require_precise_result_size][google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size]. 1123 EstimatedTotalSize int32 `protobuf:"varint,5,opt,name=estimated_total_size,json=estimatedTotalSize,proto3" json:"estimated_total_size,omitempty"` 1124 // The precise result count, which is available only if the client set 1125 // [SearchJobsRequest.require_precise_result_size][google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size] to `true`, or if the 1126 // response is the last page of results. Otherwise, the value is `-1`. 1127 TotalSize int32 `protobuf:"varint,6,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` 1128 // Additional information for the API invocation, such as the request 1129 // tracking id. 1130 Metadata *ResponseMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` 1131 // If query broadening is enabled, we may append additional results from the 1132 // broadened query. This number indicates how many of the jobs returned in the 1133 // jobs field are from the broadened query. These results are always at the 1134 // end of the jobs list. In particular, a value of 0, or if the field isn't 1135 // set, all the jobs in the jobs list are from the original 1136 // (without broadening) query. If this field is non-zero, subsequent requests 1137 // with offset after this result set should contain all broadened results. 1138 BroadenedQueryJobsCount int32 `protobuf:"varint,8,opt,name=broadened_query_jobs_count,json=broadenedQueryJobsCount,proto3" json:"broadened_query_jobs_count,omitempty"` 1139 // The spell checking result, and correction. 1140 SpellCorrection *SpellingCorrection `protobuf:"bytes,9,opt,name=spell_correction,json=spellCorrection,proto3" json:"spell_correction,omitempty"` 1141 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1142 XXX_unrecognized []byte `json:"-"` 1143 XXX_sizecache int32 `json:"-"` 1144} 1145 1146func (m *SearchJobsResponse) Reset() { *m = SearchJobsResponse{} } 1147func (m *SearchJobsResponse) String() string { return proto.CompactTextString(m) } 1148func (*SearchJobsResponse) ProtoMessage() {} 1149func (*SearchJobsResponse) Descriptor() ([]byte, []int) { 1150 return fileDescriptor_0dfa8e10f7799e35, []int{8} 1151} 1152 1153func (m *SearchJobsResponse) XXX_Unmarshal(b []byte) error { 1154 return xxx_messageInfo_SearchJobsResponse.Unmarshal(m, b) 1155} 1156func (m *SearchJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1157 return xxx_messageInfo_SearchJobsResponse.Marshal(b, m, deterministic) 1158} 1159func (m *SearchJobsResponse) XXX_Merge(src proto.Message) { 1160 xxx_messageInfo_SearchJobsResponse.Merge(m, src) 1161} 1162func (m *SearchJobsResponse) XXX_Size() int { 1163 return xxx_messageInfo_SearchJobsResponse.Size(m) 1164} 1165func (m *SearchJobsResponse) XXX_DiscardUnknown() { 1166 xxx_messageInfo_SearchJobsResponse.DiscardUnknown(m) 1167} 1168 1169var xxx_messageInfo_SearchJobsResponse proto.InternalMessageInfo 1170 1171func (m *SearchJobsResponse) GetMatchingJobs() []*SearchJobsResponse_MatchingJob { 1172 if m != nil { 1173 return m.MatchingJobs 1174 } 1175 return nil 1176} 1177 1178func (m *SearchJobsResponse) GetHistogramQueryResults() []*HistogramQueryResult { 1179 if m != nil { 1180 return m.HistogramQueryResults 1181 } 1182 return nil 1183} 1184 1185func (m *SearchJobsResponse) GetNextPageToken() string { 1186 if m != nil { 1187 return m.NextPageToken 1188 } 1189 return "" 1190} 1191 1192func (m *SearchJobsResponse) GetLocationFilters() []*Location { 1193 if m != nil { 1194 return m.LocationFilters 1195 } 1196 return nil 1197} 1198 1199func (m *SearchJobsResponse) GetEstimatedTotalSize() int32 { 1200 if m != nil { 1201 return m.EstimatedTotalSize 1202 } 1203 return 0 1204} 1205 1206func (m *SearchJobsResponse) GetTotalSize() int32 { 1207 if m != nil { 1208 return m.TotalSize 1209 } 1210 return 0 1211} 1212 1213func (m *SearchJobsResponse) GetMetadata() *ResponseMetadata { 1214 if m != nil { 1215 return m.Metadata 1216 } 1217 return nil 1218} 1219 1220func (m *SearchJobsResponse) GetBroadenedQueryJobsCount() int32 { 1221 if m != nil { 1222 return m.BroadenedQueryJobsCount 1223 } 1224 return 0 1225} 1226 1227func (m *SearchJobsResponse) GetSpellCorrection() *SpellingCorrection { 1228 if m != nil { 1229 return m.SpellCorrection 1230 } 1231 return nil 1232} 1233 1234// Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse]. 1235type SearchJobsResponse_MatchingJob struct { 1236 // Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. 1237 Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` 1238 // A summary of the job with core information that's displayed on the search 1239 // results listing page. 1240 JobSummary string `protobuf:"bytes,2,opt,name=job_summary,json=jobSummary,proto3" json:"job_summary,omitempty"` 1241 // Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most 1242 // closely matching a search query's keywords, if available. The matching 1243 // query keywords are enclosed in HTML bold tags. 1244 JobTitleSnippet string `protobuf:"bytes,3,opt,name=job_title_snippet,json=jobTitleSnippet,proto3" json:"job_title_snippet,omitempty"` 1245 // Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar 1246 // fields that most closely match a search query's keywords, if available. 1247 // All HTML tags in the original fields are stripped when returned in this 1248 // field, and matching query keywords are enclosed in HTML bold tags. 1249 SearchTextSnippet string `protobuf:"bytes,4,opt,name=search_text_snippet,json=searchTextSnippet,proto3" json:"search_text_snippet,omitempty"` 1250 // Commute information which is generated based on specified 1251 // [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter]. 1252 CommuteInfo *SearchJobsResponse_CommuteInfo `protobuf:"bytes,5,opt,name=commute_info,json=commuteInfo,proto3" json:"commute_info,omitempty"` 1253 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1254 XXX_unrecognized []byte `json:"-"` 1255 XXX_sizecache int32 `json:"-"` 1256} 1257 1258func (m *SearchJobsResponse_MatchingJob) Reset() { *m = SearchJobsResponse_MatchingJob{} } 1259func (m *SearchJobsResponse_MatchingJob) String() string { return proto.CompactTextString(m) } 1260func (*SearchJobsResponse_MatchingJob) ProtoMessage() {} 1261func (*SearchJobsResponse_MatchingJob) Descriptor() ([]byte, []int) { 1262 return fileDescriptor_0dfa8e10f7799e35, []int{8, 0} 1263} 1264 1265func (m *SearchJobsResponse_MatchingJob) XXX_Unmarshal(b []byte) error { 1266 return xxx_messageInfo_SearchJobsResponse_MatchingJob.Unmarshal(m, b) 1267} 1268func (m *SearchJobsResponse_MatchingJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1269 return xxx_messageInfo_SearchJobsResponse_MatchingJob.Marshal(b, m, deterministic) 1270} 1271func (m *SearchJobsResponse_MatchingJob) XXX_Merge(src proto.Message) { 1272 xxx_messageInfo_SearchJobsResponse_MatchingJob.Merge(m, src) 1273} 1274func (m *SearchJobsResponse_MatchingJob) XXX_Size() int { 1275 return xxx_messageInfo_SearchJobsResponse_MatchingJob.Size(m) 1276} 1277func (m *SearchJobsResponse_MatchingJob) XXX_DiscardUnknown() { 1278 xxx_messageInfo_SearchJobsResponse_MatchingJob.DiscardUnknown(m) 1279} 1280 1281var xxx_messageInfo_SearchJobsResponse_MatchingJob proto.InternalMessageInfo 1282 1283func (m *SearchJobsResponse_MatchingJob) GetJob() *Job { 1284 if m != nil { 1285 return m.Job 1286 } 1287 return nil 1288} 1289 1290func (m *SearchJobsResponse_MatchingJob) GetJobSummary() string { 1291 if m != nil { 1292 return m.JobSummary 1293 } 1294 return "" 1295} 1296 1297func (m *SearchJobsResponse_MatchingJob) GetJobTitleSnippet() string { 1298 if m != nil { 1299 return m.JobTitleSnippet 1300 } 1301 return "" 1302} 1303 1304func (m *SearchJobsResponse_MatchingJob) GetSearchTextSnippet() string { 1305 if m != nil { 1306 return m.SearchTextSnippet 1307 } 1308 return "" 1309} 1310 1311func (m *SearchJobsResponse_MatchingJob) GetCommuteInfo() *SearchJobsResponse_CommuteInfo { 1312 if m != nil { 1313 return m.CommuteInfo 1314 } 1315 return nil 1316} 1317 1318// Commute details related to this job. 1319type SearchJobsResponse_CommuteInfo struct { 1320 // Location used as the destination in the commute calculation. 1321 JobLocation *Location `protobuf:"bytes,1,opt,name=job_location,json=jobLocation,proto3" json:"job_location,omitempty"` 1322 // The number of seconds required to travel to the job location from the 1323 // query location. A duration of 0 seconds indicates that the job isn't 1324 // reachable within the requested duration, but was returned as part of an 1325 // expanded query. 1326 TravelDuration *duration.Duration `protobuf:"bytes,2,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"` 1327 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1328 XXX_unrecognized []byte `json:"-"` 1329 XXX_sizecache int32 `json:"-"` 1330} 1331 1332func (m *SearchJobsResponse_CommuteInfo) Reset() { *m = SearchJobsResponse_CommuteInfo{} } 1333func (m *SearchJobsResponse_CommuteInfo) String() string { return proto.CompactTextString(m) } 1334func (*SearchJobsResponse_CommuteInfo) ProtoMessage() {} 1335func (*SearchJobsResponse_CommuteInfo) Descriptor() ([]byte, []int) { 1336 return fileDescriptor_0dfa8e10f7799e35, []int{8, 1} 1337} 1338 1339func (m *SearchJobsResponse_CommuteInfo) XXX_Unmarshal(b []byte) error { 1340 return xxx_messageInfo_SearchJobsResponse_CommuteInfo.Unmarshal(m, b) 1341} 1342func (m *SearchJobsResponse_CommuteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1343 return xxx_messageInfo_SearchJobsResponse_CommuteInfo.Marshal(b, m, deterministic) 1344} 1345func (m *SearchJobsResponse_CommuteInfo) XXX_Merge(src proto.Message) { 1346 xxx_messageInfo_SearchJobsResponse_CommuteInfo.Merge(m, src) 1347} 1348func (m *SearchJobsResponse_CommuteInfo) XXX_Size() int { 1349 return xxx_messageInfo_SearchJobsResponse_CommuteInfo.Size(m) 1350} 1351func (m *SearchJobsResponse_CommuteInfo) XXX_DiscardUnknown() { 1352 xxx_messageInfo_SearchJobsResponse_CommuteInfo.DiscardUnknown(m) 1353} 1354 1355var xxx_messageInfo_SearchJobsResponse_CommuteInfo proto.InternalMessageInfo 1356 1357func (m *SearchJobsResponse_CommuteInfo) GetJobLocation() *Location { 1358 if m != nil { 1359 return m.JobLocation 1360 } 1361 return nil 1362} 1363 1364func (m *SearchJobsResponse_CommuteInfo) GetTravelDuration() *duration.Duration { 1365 if m != nil { 1366 return m.TravelDuration 1367 } 1368 return nil 1369} 1370 1371// Request to create a batch of jobs. 1372type BatchCreateJobsRequest struct { 1373 // Required. The resource name of the tenant under which the job is created. 1374 // 1375 // The format is "projects/{project_id}/tenants/{tenant_id}". For example, 1376 // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant 1377 // is created. For example, "projects/foo". 1378 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1379 // Required. The jobs to be created. 1380 Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"` 1381 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1382 XXX_unrecognized []byte `json:"-"` 1383 XXX_sizecache int32 `json:"-"` 1384} 1385 1386func (m *BatchCreateJobsRequest) Reset() { *m = BatchCreateJobsRequest{} } 1387func (m *BatchCreateJobsRequest) String() string { return proto.CompactTextString(m) } 1388func (*BatchCreateJobsRequest) ProtoMessage() {} 1389func (*BatchCreateJobsRequest) Descriptor() ([]byte, []int) { 1390 return fileDescriptor_0dfa8e10f7799e35, []int{9} 1391} 1392 1393func (m *BatchCreateJobsRequest) XXX_Unmarshal(b []byte) error { 1394 return xxx_messageInfo_BatchCreateJobsRequest.Unmarshal(m, b) 1395} 1396func (m *BatchCreateJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1397 return xxx_messageInfo_BatchCreateJobsRequest.Marshal(b, m, deterministic) 1398} 1399func (m *BatchCreateJobsRequest) XXX_Merge(src proto.Message) { 1400 xxx_messageInfo_BatchCreateJobsRequest.Merge(m, src) 1401} 1402func (m *BatchCreateJobsRequest) XXX_Size() int { 1403 return xxx_messageInfo_BatchCreateJobsRequest.Size(m) 1404} 1405func (m *BatchCreateJobsRequest) XXX_DiscardUnknown() { 1406 xxx_messageInfo_BatchCreateJobsRequest.DiscardUnknown(m) 1407} 1408 1409var xxx_messageInfo_BatchCreateJobsRequest proto.InternalMessageInfo 1410 1411func (m *BatchCreateJobsRequest) GetParent() string { 1412 if m != nil { 1413 return m.Parent 1414 } 1415 return "" 1416} 1417 1418func (m *BatchCreateJobsRequest) GetJobs() []*Job { 1419 if m != nil { 1420 return m.Jobs 1421 } 1422 return nil 1423} 1424 1425// Request to update a batch of jobs. 1426type BatchUpdateJobsRequest struct { 1427 // Required. The resource name of the tenant under which the job is created. 1428 // 1429 // The format is "projects/{project_id}/tenants/{tenant_id}". For example, 1430 // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant 1431 // is created. For example, "projects/foo". 1432 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1433 // Required. The jobs to be updated. 1434 Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"` 1435 // Strongly recommended for the best service experience. Be aware that it will 1436 // also increase latency when checking the status of a batch operation. 1437 // 1438 // If [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask] is provided, only the specified fields in 1439 // [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the fields are updated. 1440 // 1441 // A field mask to restrict the fields that are updated. Only 1442 // top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported. 1443 // 1444 // If [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask] is provided, The [Job][google.cloud.talent.v4beta1.Job] inside 1445 // [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult] 1446 // will only contains fields that is updated, plus the Id of the Job. 1447 // Otherwise, [Job][google.cloud.talent.v4beta1.Job] will include all fields, which can yield a very 1448 // large response. 1449 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1450 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1451 XXX_unrecognized []byte `json:"-"` 1452 XXX_sizecache int32 `json:"-"` 1453} 1454 1455func (m *BatchUpdateJobsRequest) Reset() { *m = BatchUpdateJobsRequest{} } 1456func (m *BatchUpdateJobsRequest) String() string { return proto.CompactTextString(m) } 1457func (*BatchUpdateJobsRequest) ProtoMessage() {} 1458func (*BatchUpdateJobsRequest) Descriptor() ([]byte, []int) { 1459 return fileDescriptor_0dfa8e10f7799e35, []int{10} 1460} 1461 1462func (m *BatchUpdateJobsRequest) XXX_Unmarshal(b []byte) error { 1463 return xxx_messageInfo_BatchUpdateJobsRequest.Unmarshal(m, b) 1464} 1465func (m *BatchUpdateJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1466 return xxx_messageInfo_BatchUpdateJobsRequest.Marshal(b, m, deterministic) 1467} 1468func (m *BatchUpdateJobsRequest) XXX_Merge(src proto.Message) { 1469 xxx_messageInfo_BatchUpdateJobsRequest.Merge(m, src) 1470} 1471func (m *BatchUpdateJobsRequest) XXX_Size() int { 1472 return xxx_messageInfo_BatchUpdateJobsRequest.Size(m) 1473} 1474func (m *BatchUpdateJobsRequest) XXX_DiscardUnknown() { 1475 xxx_messageInfo_BatchUpdateJobsRequest.DiscardUnknown(m) 1476} 1477 1478var xxx_messageInfo_BatchUpdateJobsRequest proto.InternalMessageInfo 1479 1480func (m *BatchUpdateJobsRequest) GetParent() string { 1481 if m != nil { 1482 return m.Parent 1483 } 1484 return "" 1485} 1486 1487func (m *BatchUpdateJobsRequest) GetJobs() []*Job { 1488 if m != nil { 1489 return m.Jobs 1490 } 1491 return nil 1492} 1493 1494func (m *BatchUpdateJobsRequest) GetUpdateMask() *field_mask.FieldMask { 1495 if m != nil { 1496 return m.UpdateMask 1497 } 1498 return nil 1499} 1500 1501// The result of [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] or 1502// [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to 1503// replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success. 1504type JobOperationResult struct { 1505 // List of job mutation results from a batch mutate operation. It can change 1506 // until operation status is FINISHED, FAILED or CANCELLED. 1507 JobResults []*JobOperationResult_JobResult `protobuf:"bytes,1,rep,name=job_results,json=jobResults,proto3" json:"job_results,omitempty"` 1508 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1509 XXX_unrecognized []byte `json:"-"` 1510 XXX_sizecache int32 `json:"-"` 1511} 1512 1513func (m *JobOperationResult) Reset() { *m = JobOperationResult{} } 1514func (m *JobOperationResult) String() string { return proto.CompactTextString(m) } 1515func (*JobOperationResult) ProtoMessage() {} 1516func (*JobOperationResult) Descriptor() ([]byte, []int) { 1517 return fileDescriptor_0dfa8e10f7799e35, []int{11} 1518} 1519 1520func (m *JobOperationResult) XXX_Unmarshal(b []byte) error { 1521 return xxx_messageInfo_JobOperationResult.Unmarshal(m, b) 1522} 1523func (m *JobOperationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1524 return xxx_messageInfo_JobOperationResult.Marshal(b, m, deterministic) 1525} 1526func (m *JobOperationResult) XXX_Merge(src proto.Message) { 1527 xxx_messageInfo_JobOperationResult.Merge(m, src) 1528} 1529func (m *JobOperationResult) XXX_Size() int { 1530 return xxx_messageInfo_JobOperationResult.Size(m) 1531} 1532func (m *JobOperationResult) XXX_DiscardUnknown() { 1533 xxx_messageInfo_JobOperationResult.DiscardUnknown(m) 1534} 1535 1536var xxx_messageInfo_JobOperationResult proto.InternalMessageInfo 1537 1538func (m *JobOperationResult) GetJobResults() []*JobOperationResult_JobResult { 1539 if m != nil { 1540 return m.JobResults 1541 } 1542 return nil 1543} 1544 1545// Mutation result of a job. 1546type JobOperationResult_JobResult struct { 1547 // Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name], 1548 // [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code] 1549 // and [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], use getJob method to retrieve 1550 // detailed information of the created/updated job. 1551 Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` 1552 // The status of the job processed. This field is populated if the 1553 // processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails. 1554 Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 1555 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1556 XXX_unrecognized []byte `json:"-"` 1557 XXX_sizecache int32 `json:"-"` 1558} 1559 1560func (m *JobOperationResult_JobResult) Reset() { *m = JobOperationResult_JobResult{} } 1561func (m *JobOperationResult_JobResult) String() string { return proto.CompactTextString(m) } 1562func (*JobOperationResult_JobResult) ProtoMessage() {} 1563func (*JobOperationResult_JobResult) Descriptor() ([]byte, []int) { 1564 return fileDescriptor_0dfa8e10f7799e35, []int{11, 0} 1565} 1566 1567func (m *JobOperationResult_JobResult) XXX_Unmarshal(b []byte) error { 1568 return xxx_messageInfo_JobOperationResult_JobResult.Unmarshal(m, b) 1569} 1570func (m *JobOperationResult_JobResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1571 return xxx_messageInfo_JobOperationResult_JobResult.Marshal(b, m, deterministic) 1572} 1573func (m *JobOperationResult_JobResult) XXX_Merge(src proto.Message) { 1574 xxx_messageInfo_JobOperationResult_JobResult.Merge(m, src) 1575} 1576func (m *JobOperationResult_JobResult) XXX_Size() int { 1577 return xxx_messageInfo_JobOperationResult_JobResult.Size(m) 1578} 1579func (m *JobOperationResult_JobResult) XXX_DiscardUnknown() { 1580 xxx_messageInfo_JobOperationResult_JobResult.DiscardUnknown(m) 1581} 1582 1583var xxx_messageInfo_JobOperationResult_JobResult proto.InternalMessageInfo 1584 1585func (m *JobOperationResult_JobResult) GetJob() *Job { 1586 if m != nil { 1587 return m.Job 1588 } 1589 return nil 1590} 1591 1592func (m *JobOperationResult_JobResult) GetStatus() *status.Status { 1593 if m != nil { 1594 return m.Status 1595 } 1596 return nil 1597} 1598 1599func init() { 1600 proto.RegisterEnum("google.cloud.talent.v4beta1.JobView", JobView_name, JobView_value) 1601 proto.RegisterEnum("google.cloud.talent.v4beta1.SearchJobsRequest_SearchMode", SearchJobsRequest_SearchMode_name, SearchJobsRequest_SearchMode_value) 1602 proto.RegisterEnum("google.cloud.talent.v4beta1.SearchJobsRequest_DiversificationLevel", SearchJobsRequest_DiversificationLevel_name, SearchJobsRequest_DiversificationLevel_value) 1603 proto.RegisterEnum("google.cloud.talent.v4beta1.SearchJobsRequest_CustomRankingInfo_ImportanceLevel", SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name, SearchJobsRequest_CustomRankingInfo_ImportanceLevel_value) 1604 proto.RegisterType((*CreateJobRequest)(nil), "google.cloud.talent.v4beta1.CreateJobRequest") 1605 proto.RegisterType((*GetJobRequest)(nil), "google.cloud.talent.v4beta1.GetJobRequest") 1606 proto.RegisterType((*UpdateJobRequest)(nil), "google.cloud.talent.v4beta1.UpdateJobRequest") 1607 proto.RegisterType((*DeleteJobRequest)(nil), "google.cloud.talent.v4beta1.DeleteJobRequest") 1608 proto.RegisterType((*BatchDeleteJobsRequest)(nil), "google.cloud.talent.v4beta1.BatchDeleteJobsRequest") 1609 proto.RegisterType((*ListJobsRequest)(nil), "google.cloud.talent.v4beta1.ListJobsRequest") 1610 proto.RegisterType((*ListJobsResponse)(nil), "google.cloud.talent.v4beta1.ListJobsResponse") 1611 proto.RegisterType((*SearchJobsRequest)(nil), "google.cloud.talent.v4beta1.SearchJobsRequest") 1612 proto.RegisterType((*SearchJobsRequest_CustomRankingInfo)(nil), "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo") 1613 proto.RegisterType((*SearchJobsResponse)(nil), "google.cloud.talent.v4beta1.SearchJobsResponse") 1614 proto.RegisterType((*SearchJobsResponse_MatchingJob)(nil), "google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob") 1615 proto.RegisterType((*SearchJobsResponse_CommuteInfo)(nil), "google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo") 1616 proto.RegisterType((*BatchCreateJobsRequest)(nil), "google.cloud.talent.v4beta1.BatchCreateJobsRequest") 1617 proto.RegisterType((*BatchUpdateJobsRequest)(nil), "google.cloud.talent.v4beta1.BatchUpdateJobsRequest") 1618 proto.RegisterType((*JobOperationResult)(nil), "google.cloud.talent.v4beta1.JobOperationResult") 1619 proto.RegisterType((*JobOperationResult_JobResult)(nil), "google.cloud.talent.v4beta1.JobOperationResult.JobResult") 1620} 1621 1622func init() { 1623 proto.RegisterFile("google/cloud/talent/v4beta1/job_service.proto", fileDescriptor_0dfa8e10f7799e35) 1624} 1625 1626var fileDescriptor_0dfa8e10f7799e35 = []byte{ 1627 // 2217 bytes of a gzipped FileDescriptorProto 1628 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4b, 0x73, 0x1b, 0x59, 1629 0x15, 0xa6, 0x25, 0x3f, 0x8f, 0x62, 0xbb, 0x7d, 0x93, 0x19, 0x2b, 0xf2, 0x0c, 0x71, 0x7a, 0xc8, 1630 0x94, 0x71, 0x62, 0x69, 0x46, 0x19, 0x2a, 0x95, 0xa4, 0xa6, 0x40, 0x2f, 0x27, 0x0a, 0x92, 0x6d, 1631 0x5a, 0xce, 0x83, 0x14, 0x45, 0x4f, 0x4b, 0xba, 0x96, 0xdb, 0x6e, 0xf5, 0xed, 0xe9, 0xbe, 0xb2, 1632 0xe3, 0x81, 0x54, 0x51, 0xc0, 0x82, 0x05, 0x3b, 0x96, 0x53, 0xc5, 0x82, 0xbf, 0x30, 0x0b, 0x16, 1633 0x2c, 0x58, 0x4f, 0x16, 0x4c, 0x01, 0x3b, 0x53, 0x54, 0xcd, 0x22, 0xff, 0x80, 0x1d, 0x2b, 0xea, 1634 0x3e, 0xba, 0x25, 0xb5, 0x15, 0x3d, 0x12, 0xa6, 0x60, 0xa7, 0x7b, 0xce, 0x77, 0x6e, 0x9f, 0xc7, 1635 0x77, 0xcf, 0x7d, 0x08, 0x36, 0x5b, 0x84, 0xb4, 0x6c, 0x9c, 0x69, 0xd8, 0xa4, 0xd3, 0xcc, 0x50, 1636 0xd3, 0xc6, 0x0e, 0xcd, 0x1c, 0x7f,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, 0xda, 0x91, 0x2e, 0x69, 0xbf, 0x56, 0x40, 0x2d, 0x78, 0xd8, 1648 0xa4, 0xf8, 0x01, 0xa9, 0xeb, 0xf8, 0xd3, 0x0e, 0xf6, 0x29, 0xba, 0x05, 0x33, 0xae, 0xe9, 0x61, 1649 0x87, 0x26, 0x95, 0x35, 0x65, 0x7d, 0x3e, 0x7f, 0xe5, 0xeb, 0x5c, 0xec, 0xdf, 0xb9, 0xcb, 0x68, 1650 0xe5, 0x90, 0xd4, 0xfd, 0xb4, 0x98, 0xca, 0x74, 0x2d, 0x3f, 0xdd, 0x20, 0xed, 0x0c, 0xb3, 0x93, 1651 0x70, 0x74, 0x0b, 0xe2, 0x87, 0xa4, 0x9e, 0x8c, 0xad, 0x29, 0xeb, 0x89, 0xec, 0x5a, 0x7a, 0x08, 1652 0x99, 0xd2, 0x0f, 0x48, 0x3d, 0x1f, 0xff, 0x3a, 0x17, 0xd3, 0x99, 0x85, 0x56, 0x84, 0x85, 0x7b, 1653 0x98, 0xf6, 0xb8, 0x70, 0x13, 0xa6, 0x1c, 0xb3, 0x8d, 0xfb, 0x1d, 0x80, 0x57, 0x3a, 0xc0, 0xc1, 1654 0xda, 0x6f, 0x14, 0x50, 0x1f, 0xba, 0xcd, 0x68, 0x30, 0xdc, 0x27, 0x65, 0x52, 0x9f, 0xd0, 0x5d, 1655 0x48, 0x74, 0xf8, 0x64, 0x3c, 0x91, 0x32, 0xa8, 0x54, 0x30, 0x41, 0x90, 0xeb, 0xf4, 0x16, 0xcb, 1656 0x75, 0xd5, 0xf4, 0x8f, 0x74, 0x10, 0x70, 0xf6, 0x5b, 0xbb, 0x07, 0x6a, 0x11, 0xdb, 0xb8, 0xcf, 1657 0x93, 0xd7, 0x8a, 0xc9, 0x81, 0xb7, 0xf3, 0x26, 0x6d, 0x1c, 0x84, 0xb3, 0xf9, 0x6f, 0x5c, 0xa5, 1658 0x55, 0x98, 0x11, 0x0b, 0x82, 0xc7, 0x34, 0x2f, 0x42,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 1714 0xd4, 0xef, 0x63, 0x90, 0xe8, 0xe1, 0x0d, 0xca, 0x4e, 0x74, 0x90, 0x16, 0x67, 0xe8, 0x2b, 0x90, 1715 0xe0, 0x97, 0xcc, 0x4e, 0xbb, 0x6d, 0x7a, 0xa7, 0xf2, 0x5c, 0x04, 0x87, 0xa4, 0x5e, 0x13, 0x12, 1716 0xb4, 0x01, 0xcb, 0x0c, 0x40, 0x2d, 0x6a, 0x63, 0xc3, 0x77, 0x2c, 0xd7, 0xc5, 0x54, 0xb2, 0x62, 1717 0xe9, 0x90, 0xd4, 0xf7, 0x98, 0xbc, 0x26, 0xc4, 0x28, 0x0d, 0x17, 0xe5, 0x31, 0x85, 0x32, 0x1a, 1718 0x05, 0xe8, 0x29, 0x8e, 0x5e, 0x16, 0xaa, 0x3d, 0xfc, 0x8c, 0x06, 0xf8, 0x9f, 0xc2, 0x05, 0x76, 1719 0x45, 0xec, 0x50, 0x2c, 0x3a, 0xfc, 0x34, 0xf7, 0x7c, 0xe2, 0xb5, 0x53, 0x10, 0x73, 0xf0, 0xe6, 1720 0x9e, 0x68, 0x74, 0x07, 0xa9, 0xcf, 0x15, 0x48, 0xf4, 0x28, 0xd1, 0x7d, 0xb8, 0xc0, 0x62, 0x09, 1721 0xc8, 0x27, 0x33, 0x35, 0x26, 0x67, 0x59, 0x9e, 0x82, 0x01, 0xca, 0xc3, 0x12, 0xf5, 0xcc, 0x63, 1722 0x6c, 0x1b, 0xc1, 0x35, 0x50, 0x5e, 0x3f, 0x2e, 0x9f, 0xbb, 0x7e, 0x14, 0x25, 0x40, 0x5f, 0x14, 1723 0x16, 0xc1, 0x58, 0xfb, 0xad, 0x22, 0x6f, 0x0e, 0xe1, 0xf5, 0xee, 0xcd, 0x0f, 0x8a, 0xb7, 0xe5, 1724 0x01, 0x39, 0x36, 0xde, 0x01, 0x59, 0xec, 0x07, 0xdc, 0x44, 0xfb, 0x32, 0x70, 0x27, 0xbc, 0xa0, 1725 0xfd, 0x2f, 0xdd, 0x89, 0x5e, 0xee, 0xe2, 0x13, 0x5d, 0xee, 0xfe, 0xa9, 0x00, 0x7a, 0x40, 0xea, 1726 0x3b, 0xc1, 0xfd, 0x5e, 0x34, 0x38, 0x76, 0x8c, 0x66, 0xf5, 0x0f, 0xda, 0xa7, 0x68, 0xd5, 0xb7, 1727 0x47, 0x79, 0x15, 0x99, 0x85, 0xaf, 0x1d, 0xd1, 0x46, 0xd9, 0x3a, 0x91, 0xbd, 0x33, 0x75, 0x04, 1728 0xf3, 0xa1, 0xe2, 0xb5, 0x56, 0xe2, 0x06, 0xcc, 0x88, 0x8b, 0xbf, 0x64, 0x12, 0x0a, 0xcc, 0x3c, 1729 0xb7, 0x91, 0xae, 0x71, 0x8d, 0x2e, 0x11, 0x1b, 0xc7, 0x30, 0x2b, 0x8f, 0x87, 0x28, 0x09, 0x97, 1730 0xd8, 0x06, 0xf8, 0xa8, 0x5c, 0x7a, 0x1c, 0xd9, 0xcb, 0x2e, 0x81, 0x1a, 0x6a, 0xca, 0x45, 0x63, 1731 0x67, 0xbb, 0xf2, 0x63, 0x55, 0xe9, 0x93, 0x56, 0xcb, 0xdb, 0xe5, 0x6a, 0xae, 0xa2, 0xc6, 0x10, 1732 0x82, 0xc5, 0x50, 0x5a, 0xab, 0xe6, 0x2a, 0x15, 0x35, 0x8e, 0x96, 0x61, 0x21, 0x94, 0x6d, 0x3d, 1733 0xac, 0x54, 0xd4, 0xa9, 0xec, 0x5f, 0x10, 0xc0, 0x03, 0x52, 0xaf, 0x89, 0x27, 0x29, 0xf4, 0xa5, 1734 0x02, 0xf3, 0x21, 0x79, 0xd1, 0xf0, 0x06, 0x1b, 0x7d, 0xc3, 0x48, 0x8d, 0x4c, 0x8b, 0x76, 0x74, 1735 0x96, 0x03, 0x41, 0xa4, 0x1b, 0x87, 0xa4, 0xfe, 0xcb, 0xbf, 0xbf, 0xfc, 0x5d, 0xec, 0x89, 0x76, 1736 0x3d, 0x7c, 0xdb, 0xf9, 0x99, 0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79, 0x94, 0xc7, 0xda, 0x9d, 0xc9, 0xa3, 0x0c, 1759 0x9c, 0x64, 0xd1, 0x7e, 0x4f, 0xfb, 0x60, 0xdc, 0x68, 0x7b, 0xcc, 0x52, 0xf6, 0x8b, 0xdc, 0xc5, 1760 0x01, 0xc7, 0xda, 0xbf, 0xe5, 0x6a, 0x07, 0x94, 0xba, 0xfe, 0x9d, 0x4c, 0xe6, 0xe4, 0xe4, 0x24, 1761 0x7a, 0xe6, 0x35, 0x3b, 0xf4, 0x40, 0xfc, 0x01, 0xb5, 0xe9, 0xda, 0x26, 0xdd, 0x27, 0x5e, 0xfb, 1762 0xc6, 0x28, 0x38, 0xfb, 0x48, 0xfe, 0x39, 0x5c, 0x69, 0x90, 0xf6, 0xb0, 0x0c, 0xe5, 0x97, 0xba, 1763 0x07, 0xae, 0x5d, 0xb6, 0xb0, 0x77, 0x95, 0xa7, 0x39, 0x89, 0x6f, 0x11, 0xdb, 0x74, 0x5a, 0x69, 1764 0xe2, 0xb5, 0x32, 0x2d, 0xec, 0xf0, 0x65, 0x9f, 0xe9, 0x7e, 0x6a, 0xe0, 0x3f, 0x62, 0x77, 0xc5, 1765 0xf0, 0x0f, 0xb1, 0x78, 0x61, 0xaf, 0x56, 0x9f, 0xe1, 0x36, 0x37, 0xff, 0x13, 0x00, 0x00, 0xff, 1766 0xff, 0xef, 0x3c, 0x4c, 0x25, 0x85, 0x1c, 0x00, 0x00, 1767} 1768 1769// Reference imports to suppress errors if they are not otherwise used. 1770var _ context.Context 1771var _ grpc.ClientConnInterface 1772 1773// This is a compile-time assertion to ensure that this generated file 1774// is compatible with the grpc package it is being compiled against. 1775const _ = grpc.SupportPackageIsVersion6 1776 1777// JobServiceClient is the client API for JobService service. 1778// 1779// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1780type JobServiceClient interface { 1781 // Creates a new job. 1782 // 1783 // Typically, the job becomes searchable within 10 seconds, but it may take 1784 // up to 5 minutes. 1785 CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) 1786 // Begins executing a batch create jobs operation. 1787 BatchCreateJobs(ctx context.Context, in *BatchCreateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1788 // Retrieves the specified job, whose status is OPEN or recently EXPIRED 1789 // within the last 90 days. 1790 GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) 1791 // Updates specified job. 1792 // 1793 // Typically, updated contents become visible in search results within 10 1794 // seconds, but it may take up to 5 minutes. 1795 UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) 1796 // Begins executing a batch update jobs operation. 1797 BatchUpdateJobs(ctx context.Context, in *BatchUpdateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1798 // Deletes the specified job. 1799 // 1800 // Typically, the job becomes unsearchable within 10 seconds, but it may take 1801 // up to 5 minutes. 1802 DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) 1803 // Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter. 1804 BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error) 1805 // Lists jobs by filter. 1806 ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) 1807 // Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. 1808 // 1809 // This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs 1810 // present in the database, and only returns jobs that the caller has 1811 // permission to search against. 1812 SearchJobs(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error) 1813 // Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. 1814 // 1815 // This API call is intended for the use case of targeting passive job 1816 // seekers (for example, job seekers who have signed up to receive email 1817 // alerts about potential job opportunities), and has different algorithmic 1818 // adjustments that are targeted to passive job seekers. 1819 // 1820 // This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs 1821 // present in the database, and only returns jobs the caller has 1822 // permission to search against. 1823 SearchJobsForAlert(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error) 1824} 1825 1826type jobServiceClient struct { 1827 cc grpc.ClientConnInterface 1828} 1829 1830func NewJobServiceClient(cc grpc.ClientConnInterface) JobServiceClient { 1831 return &jobServiceClient{cc} 1832} 1833 1834func (c *jobServiceClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) { 1835 out := new(Job) 1836 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/CreateJob", in, out, opts...) 1837 if err != nil { 1838 return nil, err 1839 } 1840 return out, nil 1841} 1842 1843func (c *jobServiceClient) BatchCreateJobs(ctx context.Context, in *BatchCreateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1844 out := new(longrunning.Operation) 1845 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/BatchCreateJobs", in, out, opts...) 1846 if err != nil { 1847 return nil, err 1848 } 1849 return out, nil 1850} 1851 1852func (c *jobServiceClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) { 1853 out := new(Job) 1854 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/GetJob", in, out, opts...) 1855 if err != nil { 1856 return nil, err 1857 } 1858 return out, nil 1859} 1860 1861func (c *jobServiceClient) UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) { 1862 out := new(Job) 1863 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/UpdateJob", in, out, opts...) 1864 if err != nil { 1865 return nil, err 1866 } 1867 return out, nil 1868} 1869 1870func (c *jobServiceClient) BatchUpdateJobs(ctx context.Context, in *BatchUpdateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1871 out := new(longrunning.Operation) 1872 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/BatchUpdateJobs", in, out, opts...) 1873 if err != nil { 1874 return nil, err 1875 } 1876 return out, nil 1877} 1878 1879func (c *jobServiceClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 1880 out := new(empty.Empty) 1881 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/DeleteJob", in, out, opts...) 1882 if err != nil { 1883 return nil, err 1884 } 1885 return out, nil 1886} 1887 1888func (c *jobServiceClient) BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 1889 out := new(empty.Empty) 1890 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/BatchDeleteJobs", in, out, opts...) 1891 if err != nil { 1892 return nil, err 1893 } 1894 return out, nil 1895} 1896 1897func (c *jobServiceClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) { 1898 out := new(ListJobsResponse) 1899 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/ListJobs", in, out, opts...) 1900 if err != nil { 1901 return nil, err 1902 } 1903 return out, nil 1904} 1905 1906func (c *jobServiceClient) SearchJobs(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error) { 1907 out := new(SearchJobsResponse) 1908 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/SearchJobs", in, out, opts...) 1909 if err != nil { 1910 return nil, err 1911 } 1912 return out, nil 1913} 1914 1915func (c *jobServiceClient) SearchJobsForAlert(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error) { 1916 out := new(SearchJobsResponse) 1917 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/SearchJobsForAlert", in, out, opts...) 1918 if err != nil { 1919 return nil, err 1920 } 1921 return out, nil 1922} 1923 1924// JobServiceServer is the server API for JobService service. 1925type JobServiceServer interface { 1926 // Creates a new job. 1927 // 1928 // Typically, the job becomes searchable within 10 seconds, but it may take 1929 // up to 5 minutes. 1930 CreateJob(context.Context, *CreateJobRequest) (*Job, error) 1931 // Begins executing a batch create jobs operation. 1932 BatchCreateJobs(context.Context, *BatchCreateJobsRequest) (*longrunning.Operation, error) 1933 // Retrieves the specified job, whose status is OPEN or recently EXPIRED 1934 // within the last 90 days. 1935 GetJob(context.Context, *GetJobRequest) (*Job, error) 1936 // Updates specified job. 1937 // 1938 // Typically, updated contents become visible in search results within 10 1939 // seconds, but it may take up to 5 minutes. 1940 UpdateJob(context.Context, *UpdateJobRequest) (*Job, error) 1941 // Begins executing a batch update jobs operation. 1942 BatchUpdateJobs(context.Context, *BatchUpdateJobsRequest) (*longrunning.Operation, error) 1943 // Deletes the specified job. 1944 // 1945 // Typically, the job becomes unsearchable within 10 seconds, but it may take 1946 // up to 5 minutes. 1947 DeleteJob(context.Context, *DeleteJobRequest) (*empty.Empty, error) 1948 // Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter. 1949 BatchDeleteJobs(context.Context, *BatchDeleteJobsRequest) (*empty.Empty, error) 1950 // Lists jobs by filter. 1951 ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) 1952 // Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. 1953 // 1954 // This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs 1955 // present in the database, and only returns jobs that the caller has 1956 // permission to search against. 1957 SearchJobs(context.Context, *SearchJobsRequest) (*SearchJobsResponse, error) 1958 // Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. 1959 // 1960 // This API call is intended for the use case of targeting passive job 1961 // seekers (for example, job seekers who have signed up to receive email 1962 // alerts about potential job opportunities), and has different algorithmic 1963 // adjustments that are targeted to passive job seekers. 1964 // 1965 // This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs 1966 // present in the database, and only returns jobs the caller has 1967 // permission to search against. 1968 SearchJobsForAlert(context.Context, *SearchJobsRequest) (*SearchJobsResponse, error) 1969} 1970 1971// UnimplementedJobServiceServer can be embedded to have forward compatible implementations. 1972type UnimplementedJobServiceServer struct { 1973} 1974 1975func (*UnimplementedJobServiceServer) CreateJob(ctx context.Context, req *CreateJobRequest) (*Job, error) { 1976 return nil, status1.Errorf(codes.Unimplemented, "method CreateJob not implemented") 1977} 1978func (*UnimplementedJobServiceServer) BatchCreateJobs(ctx context.Context, req *BatchCreateJobsRequest) (*longrunning.Operation, error) { 1979 return nil, status1.Errorf(codes.Unimplemented, "method BatchCreateJobs not implemented") 1980} 1981func (*UnimplementedJobServiceServer) GetJob(ctx context.Context, req *GetJobRequest) (*Job, error) { 1982 return nil, status1.Errorf(codes.Unimplemented, "method GetJob not implemented") 1983} 1984func (*UnimplementedJobServiceServer) UpdateJob(ctx context.Context, req *UpdateJobRequest) (*Job, error) { 1985 return nil, status1.Errorf(codes.Unimplemented, "method UpdateJob not implemented") 1986} 1987func (*UnimplementedJobServiceServer) BatchUpdateJobs(ctx context.Context, req *BatchUpdateJobsRequest) (*longrunning.Operation, error) { 1988 return nil, status1.Errorf(codes.Unimplemented, "method BatchUpdateJobs not implemented") 1989} 1990func (*UnimplementedJobServiceServer) DeleteJob(ctx context.Context, req *DeleteJobRequest) (*empty.Empty, error) { 1991 return nil, status1.Errorf(codes.Unimplemented, "method DeleteJob not implemented") 1992} 1993func (*UnimplementedJobServiceServer) BatchDeleteJobs(ctx context.Context, req *BatchDeleteJobsRequest) (*empty.Empty, error) { 1994 return nil, status1.Errorf(codes.Unimplemented, "method BatchDeleteJobs not implemented") 1995} 1996func (*UnimplementedJobServiceServer) ListJobs(ctx context.Context, req *ListJobsRequest) (*ListJobsResponse, error) { 1997 return nil, status1.Errorf(codes.Unimplemented, "method ListJobs not implemented") 1998} 1999func (*UnimplementedJobServiceServer) SearchJobs(ctx context.Context, req *SearchJobsRequest) (*SearchJobsResponse, error) { 2000 return nil, status1.Errorf(codes.Unimplemented, "method SearchJobs not implemented") 2001} 2002func (*UnimplementedJobServiceServer) SearchJobsForAlert(ctx context.Context, req *SearchJobsRequest) (*SearchJobsResponse, error) { 2003 return nil, status1.Errorf(codes.Unimplemented, "method SearchJobsForAlert not implemented") 2004} 2005 2006func RegisterJobServiceServer(s *grpc.Server, srv JobServiceServer) { 2007 s.RegisterService(&_JobService_serviceDesc, srv) 2008} 2009 2010func _JobService_CreateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2011 in := new(CreateJobRequest) 2012 if err := dec(in); err != nil { 2013 return nil, err 2014 } 2015 if interceptor == nil { 2016 return srv.(JobServiceServer).CreateJob(ctx, in) 2017 } 2018 info := &grpc.UnaryServerInfo{ 2019 Server: srv, 2020 FullMethod: "/google.cloud.talent.v4beta1.JobService/CreateJob", 2021 } 2022 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2023 return srv.(JobServiceServer).CreateJob(ctx, req.(*CreateJobRequest)) 2024 } 2025 return interceptor(ctx, in, info, handler) 2026} 2027 2028func _JobService_BatchCreateJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2029 in := new(BatchCreateJobsRequest) 2030 if err := dec(in); err != nil { 2031 return nil, err 2032 } 2033 if interceptor == nil { 2034 return srv.(JobServiceServer).BatchCreateJobs(ctx, in) 2035 } 2036 info := &grpc.UnaryServerInfo{ 2037 Server: srv, 2038 FullMethod: "/google.cloud.talent.v4beta1.JobService/BatchCreateJobs", 2039 } 2040 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2041 return srv.(JobServiceServer).BatchCreateJobs(ctx, req.(*BatchCreateJobsRequest)) 2042 } 2043 return interceptor(ctx, in, info, handler) 2044} 2045 2046func _JobService_GetJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2047 in := new(GetJobRequest) 2048 if err := dec(in); err != nil { 2049 return nil, err 2050 } 2051 if interceptor == nil { 2052 return srv.(JobServiceServer).GetJob(ctx, in) 2053 } 2054 info := &grpc.UnaryServerInfo{ 2055 Server: srv, 2056 FullMethod: "/google.cloud.talent.v4beta1.JobService/GetJob", 2057 } 2058 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2059 return srv.(JobServiceServer).GetJob(ctx, req.(*GetJobRequest)) 2060 } 2061 return interceptor(ctx, in, info, handler) 2062} 2063 2064func _JobService_UpdateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2065 in := new(UpdateJobRequest) 2066 if err := dec(in); err != nil { 2067 return nil, err 2068 } 2069 if interceptor == nil { 2070 return srv.(JobServiceServer).UpdateJob(ctx, in) 2071 } 2072 info := &grpc.UnaryServerInfo{ 2073 Server: srv, 2074 FullMethod: "/google.cloud.talent.v4beta1.JobService/UpdateJob", 2075 } 2076 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2077 return srv.(JobServiceServer).UpdateJob(ctx, req.(*UpdateJobRequest)) 2078 } 2079 return interceptor(ctx, in, info, handler) 2080} 2081 2082func _JobService_BatchUpdateJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2083 in := new(BatchUpdateJobsRequest) 2084 if err := dec(in); err != nil { 2085 return nil, err 2086 } 2087 if interceptor == nil { 2088 return srv.(JobServiceServer).BatchUpdateJobs(ctx, in) 2089 } 2090 info := &grpc.UnaryServerInfo{ 2091 Server: srv, 2092 FullMethod: "/google.cloud.talent.v4beta1.JobService/BatchUpdateJobs", 2093 } 2094 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2095 return srv.(JobServiceServer).BatchUpdateJobs(ctx, req.(*BatchUpdateJobsRequest)) 2096 } 2097 return interceptor(ctx, in, info, handler) 2098} 2099 2100func _JobService_DeleteJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2101 in := new(DeleteJobRequest) 2102 if err := dec(in); err != nil { 2103 return nil, err 2104 } 2105 if interceptor == nil { 2106 return srv.(JobServiceServer).DeleteJob(ctx, in) 2107 } 2108 info := &grpc.UnaryServerInfo{ 2109 Server: srv, 2110 FullMethod: "/google.cloud.talent.v4beta1.JobService/DeleteJob", 2111 } 2112 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2113 return srv.(JobServiceServer).DeleteJob(ctx, req.(*DeleteJobRequest)) 2114 } 2115 return interceptor(ctx, in, info, handler) 2116} 2117 2118func _JobService_BatchDeleteJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2119 in := new(BatchDeleteJobsRequest) 2120 if err := dec(in); err != nil { 2121 return nil, err 2122 } 2123 if interceptor == nil { 2124 return srv.(JobServiceServer).BatchDeleteJobs(ctx, in) 2125 } 2126 info := &grpc.UnaryServerInfo{ 2127 Server: srv, 2128 FullMethod: "/google.cloud.talent.v4beta1.JobService/BatchDeleteJobs", 2129 } 2130 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2131 return srv.(JobServiceServer).BatchDeleteJobs(ctx, req.(*BatchDeleteJobsRequest)) 2132 } 2133 return interceptor(ctx, in, info, handler) 2134} 2135 2136func _JobService_ListJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2137 in := new(ListJobsRequest) 2138 if err := dec(in); err != nil { 2139 return nil, err 2140 } 2141 if interceptor == nil { 2142 return srv.(JobServiceServer).ListJobs(ctx, in) 2143 } 2144 info := &grpc.UnaryServerInfo{ 2145 Server: srv, 2146 FullMethod: "/google.cloud.talent.v4beta1.JobService/ListJobs", 2147 } 2148 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2149 return srv.(JobServiceServer).ListJobs(ctx, req.(*ListJobsRequest)) 2150 } 2151 return interceptor(ctx, in, info, handler) 2152} 2153 2154func _JobService_SearchJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2155 in := new(SearchJobsRequest) 2156 if err := dec(in); err != nil { 2157 return nil, err 2158 } 2159 if interceptor == nil { 2160 return srv.(JobServiceServer).SearchJobs(ctx, in) 2161 } 2162 info := &grpc.UnaryServerInfo{ 2163 Server: srv, 2164 FullMethod: "/google.cloud.talent.v4beta1.JobService/SearchJobs", 2165 } 2166 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2167 return srv.(JobServiceServer).SearchJobs(ctx, req.(*SearchJobsRequest)) 2168 } 2169 return interceptor(ctx, in, info, handler) 2170} 2171 2172func _JobService_SearchJobsForAlert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2173 in := new(SearchJobsRequest) 2174 if err := dec(in); err != nil { 2175 return nil, err 2176 } 2177 if interceptor == nil { 2178 return srv.(JobServiceServer).SearchJobsForAlert(ctx, in) 2179 } 2180 info := &grpc.UnaryServerInfo{ 2181 Server: srv, 2182 FullMethod: "/google.cloud.talent.v4beta1.JobService/SearchJobsForAlert", 2183 } 2184 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2185 return srv.(JobServiceServer).SearchJobsForAlert(ctx, req.(*SearchJobsRequest)) 2186 } 2187 return interceptor(ctx, in, info, handler) 2188} 2189 2190var _JobService_serviceDesc = grpc.ServiceDesc{ 2191 ServiceName: "google.cloud.talent.v4beta1.JobService", 2192 HandlerType: (*JobServiceServer)(nil), 2193 Methods: []grpc.MethodDesc{ 2194 { 2195 MethodName: "CreateJob", 2196 Handler: _JobService_CreateJob_Handler, 2197 }, 2198 { 2199 MethodName: "BatchCreateJobs", 2200 Handler: _JobService_BatchCreateJobs_Handler, 2201 }, 2202 { 2203 MethodName: "GetJob", 2204 Handler: _JobService_GetJob_Handler, 2205 }, 2206 { 2207 MethodName: "UpdateJob", 2208 Handler: _JobService_UpdateJob_Handler, 2209 }, 2210 { 2211 MethodName: "BatchUpdateJobs", 2212 Handler: _JobService_BatchUpdateJobs_Handler, 2213 }, 2214 { 2215 MethodName: "DeleteJob", 2216 Handler: _JobService_DeleteJob_Handler, 2217 }, 2218 { 2219 MethodName: "BatchDeleteJobs", 2220 Handler: _JobService_BatchDeleteJobs_Handler, 2221 }, 2222 { 2223 MethodName: "ListJobs", 2224 Handler: _JobService_ListJobs_Handler, 2225 }, 2226 { 2227 MethodName: "SearchJobs", 2228 Handler: _JobService_SearchJobs_Handler, 2229 }, 2230 { 2231 MethodName: "SearchJobsForAlert", 2232 Handler: _JobService_SearchJobsForAlert_Handler, 2233 }, 2234 }, 2235 Streams: []grpc.StreamDesc{}, 2236 Metadata: "google/cloud/talent/v4beta1/job_service.proto", 2237} 2238