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