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